]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
dynarray: Implement begin/end functions in the spirit of C++
[thirdparty/glibc.git] / ChangeLog
1 2017-06-13 Florian Weimer <fweimer@redhat.com>
2
3 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
4 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
5 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
6 begin/end.
7 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
8 dynarray_int_end.
9 (test_str): Test dynarray_str_begin, dynarray_str_end.
10
11 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
12
13 [BZ #21573]
14 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
15 $(common-objpfx)bits/std_abs.h.
16 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
17 New target.
18 * config.make.in (c++-bits-std_abs-h): New.
19 * configure.ac (find_cxx_header): Use "\,$1," with sed.
20 (CXX_BITS_STD_ABS_H): New.
21 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
22 * configure: Regenerated.
23
24 2017-06-13 Zack Weinberg <zackw@panix.com>
25
26 * posix/bits/cpu-set.h: Correct indentation of preprocessor
27 directives.
28
29 2017-06-12 Zack Weinberg <zackw@panix.com>
30
31 * bits/sched.h: Remove __need_schedparam logic and replace with a
32 normal multiple-include guard. Change field name in struct
33 sched_param from __sched_priority to sched_priority. Delete
34 everything under #ifndef __cpu_set_t_defined.
35 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
36 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
37
38 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
39 For compatibility, #define sched_priority to itself, and #define
40 __sched_priority as sched_priority.
41 * posix/bits/cpu-set.h: New file containing, verbatim, the code
42 that was under #ifndef __cpu_set_t_defined in
43 sysdeps/unix/sysv/linux/bits/sched.h.
44 * include/bits/cpu-set.h: New wrapper.
45 * posix/Makefile: Install bits/cpu-set.h.
46
47 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
48 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
49 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50
51 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
52 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
53 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
54 * math/libm-test-isfinite.inc (finite_test): Likewise.
55 * math/libm-test-lgamma.inc (gamma_test): Likewise.
56 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
57 (nexttoward_test_data}: Likewise.
58 * math/libm-test-remainder.inc (drem_test): Likewise.
59 * math/libm-test-scalb.inc (scalb_test): Likewise.
60 (scalb_test_data): Likewise.
61 * math/libm-test-significand.inc (significand_test): Likewise.
62 (significand_test_data): Likewise.
63 * math/libm-test-support.c (check_complex): Replace __complex__
64 FLOAT with CFLOAT to get the support for old compiler.
65 * math/libm-test-support.h (check_complex): Likewise.
66 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
67 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
68 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
69 * math/test-float128.h: New file.
70 * math/test-math-floatn.h: New file.
71
72 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
73
74 * include/float.h: Allow the definition of macros prefixed with
75 FLT128 even if _ISOMAC is defined, but provided that
76 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
77
78 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
79
80 * manual/math.texi (Mathematics): Add description for _FloatN and
81 _FloatNx types and mentions that they are not support in glibc for
82 any architecture, so far.
83 * manual/arith.texi (wcstof, wcstold): Replace the mention to
84 stdlib.h with wchar.h.
85 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
86 (Printing of Floats): Add description for strfromfN.
87
88 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
89 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
90 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
91
92 * include/gmp.h (__mpn_construct_float128): New declaration.
93 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
94 (__strtof128_l): New declaration.
95 (__strtof128_nan): Likewise.
96 (__wcstof128_nan): Likewise.
97 (__strtof128_internal): Likewise.
98 (____strtof128_l_internal): Likewise.
99 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
100 (__wcstof128_l): New declaration.
101 (__wcstof128_internal): Likewise.
102
103 * stdlib/Makefile (bug-strtod2): Link libm too.
104
105 * stdlib/stdlib.h (strtof128): New declaration.
106 (strtof128_l): Likewise.
107
108 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
109 tst-strtod.h macros to ensure float128 gets tested too.
110
111 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
112
113 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
114 tests.
115 (IF_FLOAT128): New macro.
116 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
117 the tests.
118 (STRTOD_TEST_FOREACH): Likewise.
119
120 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
121 wcstof128 functions into libc.
122
123 * sysdeps/ieee754/float128/Versions: Add exports for the above
124 new functions.
125
126 * sysdeps/ieee754/float128/mpn2float128.c: New file.
127 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
128 * sysdeps/ieee754/float128/strtof128.c: New file.
129 * sysdeps/ieee754/float128/strtof128_l.c: New file.
130 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
131 * sysdeps/ieee754/float128/wcstof128.c: New file.
132 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
133 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
134 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
135 (CFLAGS-wcstof128_l): Likewise.
136
137 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
138 (wcstof128): New declaration.
139 (wcstof128_l): Likewise.
140
141 2017-06-12 Joseph Myers <joseph@codesourcery.com>
142
143 [BZ #21552]
144 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
145 not [__USE_XOPEN].
146 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
147
148 [BZ #21550]
149 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
150
151 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
152
153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
154 strcpy-sse2 and stpcpy-sse2.
155 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
156 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
157 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
158 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
159 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
160 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
161 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
162 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
163 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
164 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
165 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
166 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
167 (libc_hidden_def): Always defined as empty.
168 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
169 Always Defined as empty.
170
171 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
172
173 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
174
175 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
176
177 [BZ #15105]
178 [BZ #19463]
179 * include/string.h: Add internal redirect for __stpcpy.
180 * string/Makefile: Remove bits/string2.h.
181 * string/string.h: Update comment.
182 * string/string-inlines.c: Remove bits/string2.h include and comment.
183 * string/bits/string2.h: Remove file.
184
185 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
186
187 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
188 * sunrpc/clnt_gen.c (clnt_create): Likewise.
189 * sunrpc/des_impl.c (_des_crypt): Likewise.
190 * sunrpc/key_call.c (key_gendes): Likewise.
191 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
192 * sunrpc/svc_simple.c (universal): Likewise.
193 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
194 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
195 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
196
197 2017-06-10 Zack Weinberg <zackw@panix.com>
198
199 * stdlib/errno.h: Correct an outdated comment.
200
201 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
202
203 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
204 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
205 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
206 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
207 New file. Invoke newly supported sysconf values for powerpc,
208 and report results. If none are supported, report so.
209 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
210 tst-sysconf.
211
212 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
213
214 * include/sys/auxv.h (__getauxval): Add a prototype and its
215 libc_hidden_proto.
216 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
217
218 2017-06-09 Joseph Myers <joseph@codesourcery.com>
219
220 [BZ #21561]
221 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
222 [__USE_XOPEN_EXTENDED].
223 (id_t): Likewise.
224 (include of <bits/types/siginfo_t.h): Likewise.
225 (waitid): Likewise.
226 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
227 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
228 (WEXITED): Likewise.
229 (WCONTINUED): Likewise.
230 (WNOWAIT): Likewise.
231 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
232 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
233 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
234
235 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
236 libc.so PLT entry optional.
237 (__gtsf2): Likewise.
238 (__unorddf2): Likewise.
239 (__unordsf2): Likewise.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
241 New optional libc.so PLT entry.
242
243 [BZ #21554]
244 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
245 not [__USE_XOPEN].
246
247 [BZ #21560]
248 * posix/sys/wait.h: Condition include of <signal.h> on
249 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
250 unconditionally.
251 [!__pid_t_defined] (pid_t): Define typedef.
252
253 2017-06-09 Zack Weinberg <zackw@panix.com>
254
255 * include/errno.h (__errno_location): Use __attribute_const__
256 instead of bare __attribute__.
257
258 2017-06-09 Zack Weinberg <zackw@panix.com>
259
260 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
261 (common-generated): Add libc-modules.h and libc-modules.stmp in a
262 more appropriate location. Also add dl-tunable-list.h and
263 dl-tunable-list.stmp.
264
265 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
266
267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
268
269 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
270
271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
272 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
274 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
275 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
276 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
277 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
278 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
279 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
280 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
281 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
282
283 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
284
285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
286 memrchr-sse2 and memrchr-avx2.
287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
288 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
289 __memrchr_sse2.
290 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
291 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
292 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
293
294 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
295
296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
297 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
298 wcschr-sse2 and wcschr-avx2.
299 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
300 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
301 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
302 __wcschr_sse2.
303 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
304 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
305 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
306 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
307 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
308 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
309 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
310 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
311 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
312 * sysdeps/x86_64/multiarch/strchr.S: Removed.
313
314 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
315
316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
317 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
318 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
320 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
321 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
322 __wcslen_sse2 and __wcsnlen_avx2.
323 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
324 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
325 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
326 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
327 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
328 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
329 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
330 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
331 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
332 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
333 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
334 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
335 vzeroupper is preferred and AVX unaligned load is fast.
336
337 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
338
339 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
340 USE_AS_WMEMCHR is defined.
341 (PCMPEQ): Likewise.
342 (memchr): Renamed to ...
343 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
344 Replace pcmpeqb with PCMPEQ.
345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
346 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
347 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
348 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
349 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
350 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
351 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
352 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
353 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
354 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
355 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
356 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
357 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
359 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
360 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
361 __wmemchr_sse2.
362
363 2017-06-09 Florian Weimer <fweimer@redhat.com>
364
365 * malloc/Makefile (test-srcs): Remove tst-dynarray,
366 tst-dynarray-fail.
367
368 2017-06-09 Florian Weimer <fweimer@redhat.com>
369
370 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
371 * support/support_test_verify_impl.c
372 (support_test_verify_exit_impl): Split from
373 support_test_verify_impl.
374 * support/check.h (TEST_VERIFY): Drop status argument from
375 support_test_verify_impl call.
376 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
377 (support_test_verify_impl): Remove status argument.
378 (support_test_verify_exit_impl): Declare.
379
380 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
381
382 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
383 mention of magic numbers in comments.
384 (_dl_procinfo): Fix undefined behavior
385
386 2017-06-08 Joseph Myers <joseph@codesourcery.com>
387
388 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
389 [XPG4].
390 (WEXITED): Likewise.
391 (WSTOPPED): Likewise.
392 (WCONTINUED): Likewise.
393 (WNOHANG): Likewise.
394 (WNOWAIT): Likewise.
395 (idtype_t): Likewise.
396 (P_ALL): Likewise.
397 (P_PID): Likewise.
398 (P_PGID): Likewise.
399 (id_t): Likewise.
400 (siginfo_t): Likewise.
401 (wait3): Likewise.
402 (waitid): Likewise.
403 (signal.h): Do not allow header for [XPG4].
404 (sys/resource.h): Likewise.
405 (si_*): Do not allow for [XPG4].
406 (W*): Likewise.
407 (P_*): Likewise.
408 (BUS_): Likewise.
409 (CLD_): Likewise.
410 (FPE_): Likewise.
411 (ILL_): Likewise.
412 (POLL_): Likewise.
413 (SEGV_): Likewise.
414 (SI_): Likewise.
415 (TRAP_): Likewise.
416 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
417 variable.
418
419 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
420
421 [BZ #21528]
422 * elf/dl-minimal.c (__strtoul_internal): Removed.
423 (strtoul): Likewise.
424 * elf/dl-misc.c (_dl_strtoul): New function.
425 * elf/dl-tunables.c (tunables_strtoul): Removed.
426 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
427 * elf/rtld.c (process_envvars): Likewise.
428 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
429 Likewise.
430 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
431
432 2017-06-08 Zack Weinberg <zackw@panix.com>
433
434 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
435 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
436 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
437 * wctype/bits/wctype-wchar.h: New file holding declarations shared
438 between wctype.h and wchar.h.
439
440 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
441 Install them.
442
443 * include/bits/types/FILE.h, include/bits/types/__FILE.h
444 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
445 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
446 New wrappers.
447 * include/stdio.h, include/wchar.h, include/wctype.h:
448 No need to handle __need macros.
449
450 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
451 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
452 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
453 * wcsmbs/wchar.h, wctype/wctype.h
454 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
455 Use the new files instead of __need macros.
456
457 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
458
459 * string/test-memrchr.c (test_main): Add tests for len == 0
460 and tests for positions close to the beginning, which are
461 equivalent to positions close to the end for memchr.
462
463 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
464
465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
466 comments.
467 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
468 instead of wmemset.h.
469 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
470 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
471 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
472
473 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
474
475 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
476 spec->info.is_binary128 to zero.
477 * stdio-common/printf.h (printf_info): Add new member is_binary128
478 to indicate that the number being converted to string is compatible
479 with the IEC 60559 binary128 format.
480 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
481 _Float128 numbers.
482 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
483 ldbl-128/printf_fphex_macros.h
484 (__printf_fphex): Add code to deal with _Float128 numbers.
485 * stdio-common/printf_size.c (__printf_size): Likewise.
486 * stdio-common/vfprintf.c (process_arg): Initialize member
487 info.is_binary128 to zero.
488 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
489 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
490 (strfromf128): New declaration.
491 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
492 to one.
493 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
494 * sysdeps/ieee754/float128/Versions: Likewise.
495 * sysdeps/ieee754/float128/strfromf128.c: New file.
496
497 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
498
499 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
500 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
501 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
502 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
503 (PRINT_FPHEX): New function-like macro that can be used for long
504 double, as well as for _Float128
505
506 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
507
508 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
509 (__printf_fp_l): Use the new macro to avoid duplicating code.
510 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
511 (__printf_fphex): Use the new macro to avoid duplicating code.
512 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
513 (__printf_size): Use the new macro to avoid duplicating code.
514
515 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
516
517 * include/gmp.h: Include bits/floatn.h
518 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
519 * stdlib/gmp-impl.h: Also check if alloca is not defined before
520 including stack-alloc.h. It could have been defined by other header
521 which not necessarily defines HAVE_ALLOCA.
522 * sysdeps/ieee754/float128/Makefile: New file.
523 * sysdeps/ieee754/float128/float1282mpn.c: New file.
524 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
525 redefining __mpn_extract_long_double to __mpn_extract_float128, then
526 redefine __mpn_extract_long_double to __mpn_extract_float128.
527 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
528 _Float128 to allow float128_private.h overrides.
529
530 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
531
532 * stdlib/fpioconst.h: Include bits/floatn.h.
533 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
534 power of ten table should be.
535 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
536 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
537 to include larger tables when _Float128 support is enabled.
538 (_fpioconst_pow10): Likewise.
539
540 2017-06-07 Joseph Myers <joseph@codesourcery.com>
541
542 * include/bits/types/clock_t.h: Use #include <path> instead of
543 #include "../../path".
544 * include/bits/types/clockid_t.h: Likewise.
545 * include/bits/types/struct_iovec.h: Likewise.
546 * include/bits/types/struct_itimerspec.h: Likewise.
547 * include/bits/types/struct_osockaddr.h: Likewise.
548 * include/bits/types/struct_sigstack.h: Likewise.
549 * include/bits/types/struct_timespec.h: Likewise.
550 * include/bits/types/struct_timeval.h: Likewise.
551 * include/bits/types/struct_tm.h: Likewise.
552 * include/bits/types/time_t.h: Likewise.
553 * include/bits/types/timer_t.h: Likewise.
554
555 [BZ #14096]
556 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
557 America/New_York.
558
559 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
560
561 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
562 into ...
563 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
564 ifunc-sse4_1.h.
565
566 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
567
568 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
569 Remove check for NULL 'buf'.
570 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
571
572 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
573
574 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
575 include test-skeleton.c.
576 Include support/check.h and support/test-driver.c.
577
578 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
579
580 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
581 (_dl_aarch64_cap_flags): New array.
582 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
583 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
584 functions.
585
586 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
587 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
588 Likewise.
589 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
590 up hwcap and hwcap_mask.
591
592 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
593 (init_cpu_features): Use glibc.tune.hwcap_mask.
594 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
595
596 * elf/dl-hwcaps.h: New file.
597 * elf/dl-hwcaps.c: Include it.
598 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
599 glibc.tune.hwcap_mask.
600 * elf/dl-cache.c: Include dl-hwcaps.h.
601 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
602 glibc.tune.hwcap_mask.
603 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
604 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
605 _dl_hwcap_mask.
606 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
607 _dl_hwcap_mask.
608 (process_envvars)[HAVE_TUNABLES]: Likewise.
609 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
610 Likewise.
611 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
612 initialize dl_hwcap_mask when tunables are enabled.
613
614 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
615 guard.
616 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
617
618 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
619 * scripts/gen-tunables.awk: Include dl-procinfo.h.
620 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
621
622 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
623 * elf/dl-tunables.c: Likewise.
624 (do_tunable_update_val): New function.
625 (__tunable_set_val): New function.
626 (__tunable_get_val): Call CB only if the tunable was externally
627 initialized.
628 (tunables_strtoul): Replace strval with initialized.
629 * elf/dl-tunables.h (strval): Replace with a bool initialized.
630 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
631 prevent collision.
632 (__tunable_set_val): New function.
633 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
634 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
635 (TUNABLE_SET_VAL): Remove.
636 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
637 * README.tunables: Document the new macros.
638 * malloc/arena.c (ptmalloc_init): Adjust.
639
640 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
641
642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
643 wcsnlen-sse4_1 and wcsnlen-c.
644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
645 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
646 __wcsnlen_sse2.
647 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
648 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
649 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
650 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
651 * sysdeps/x86_64/wcsnlen.S: Removed.
652
653 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
654
655 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
656 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
657 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
658 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
659
660 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
661
662 * NEWS: Mention new spinlock implementation.
663 * include/atomic.h:
664 (__atomic_val_bysize): Cast type to omit volatile qualifier.
665 (atomic_exchange_acq): Likewise.
666 (atomic_load_relaxed): Likewise.
667 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
668 * nptl/pthread_spin_init.c (pthread_spin_init):
669 Use atomic_store_relaxed.
670 * nptl/pthread_spin_lock.c (pthread_spin_lock):
671 Use C11-like atomic macros.
672 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
673 Likewise.
674 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
675 Use atomic_store_release.
676 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
677 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
678 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
679 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
680 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
681 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
682 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
683 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
684 * sysdeps/alpha/atomic-machine.h: Likewise.
685 * sysdeps/arm/atomic-machine.h: Likewise.
686 * sysdeps/i386/atomic-machine.h: Likewise.
687 * sysdeps/ia64/atomic-machine.h: Likewise.
688 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
689 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
690 * sysdeps/microblaze/atomic-machine.h: Likewise.
691 * sysdeps/mips/atomic-machine.h: Likewise.
692 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
693 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
694 * sysdeps/s390/atomic-machine.h: Likewise.
695 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
696 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
697 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
698 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
699 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
700 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
701 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
702 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
703 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
704 * sysdeps/x86_64/atomic-machine.h: Likewise.
705
706 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
707
708 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
709 and use it instead of dl_x86_cpu_features.
710 (handle_intel): Replace maxidx with cpu_features. Pass
711 cpu_features to intel_check_word.
712 (__cache_sysconf): Pass cpu_features to handle_intel.
713 (init_cacheinfo): Likewise. Use cpu_features instead of
714 dl_x86_cpu_features.
715
716 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
720 memcmp-avx2 and wmemcmp-avx2.
721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
722 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
723 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
724 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
725 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
726 2 machines if AVX unaligned load is fast and vzeroupper is
727 preferred.
728 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
729 2 machines if AVX unaligned load is fast and vzeroupper is
730 preferred.
731
732 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
733
734 * include/wchar.h (__wmemset_chk): New.
735 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
736 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
737 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
738 (WMEMSET_CHK_SYMBOL): Likewise.
739 (WMEMSET_SYMBOL): Likewise.
740 (__wmemset): Add hidden definition.
741 (wmemset): Add weak hidden definition.
742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
743 wmemset_chk-nonshared.
744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
745 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
746 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
747 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
748 and __wmemset_chk_avx512_unaligned.
749 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
750 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
751 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
752 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
753 (WMEMSET_SYMBOL): Likewise.
754 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
755 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
756 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
757 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
758 (WMEMSET_SYMBOL): Likewise.
759 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
760 (WMEMSET_CHK_SYMBOL): New.
761 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
762 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
763 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
764 (libc_hidden_builtin_def): Also define __GI_wmemset and
765 __GI___wmemset.
766 (weak_alias): New.
767 * sysdeps/x86_64/multiarch/wmemset.c: New file.
768 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
769 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
770 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
771 * sysdeps/x86_64/wmemset.c: Likewise.
772 * sysdeps/x86_64/wmemset_chk.c: Likewise.
773
774 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
775 H.J. Lu <hongjiu.lu@intel.com>
776
777 * sysdeps/x86/init-arch.h (PASTER1): New.
778 (EVALUATOR1): Likewise.
779 (PASTER2): Likewise.
780 (EVALUATOR2): Likewise.
781 (REDIRECT_NAME): Likewise.
782 (OPTIMIZE): Likewise.
783 (IFUNC_SELECTOR): Likewise.
784
785 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
786
787 * sysdeps/x86_64/strlen.S (PMINU): New.
788 (PCMPEQ): Likewise.
789 (SHIFT_RETURN): Likewise.
790 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
791 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
792 pminub with PCMPEQ and PMINU.
793 * sysdeps/x86_64/wcsnlen.S: New file.
794
795 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
796
797 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
798 the lower 32 bits. Remove redundant instructions.
799
800 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
803 0 as the high part of offset.
804 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
805
806 2017-06-05 Joseph Myers <joseph@codesourcery.com>
807
808 [BZ #21538]
809 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
810 [__USE_UNIX98].
811 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
812 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
813 Likewise.
814 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
815 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
816 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
817 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
818 Likewise.
819
820 [BZ #21517]
821 * bits/types/stack_t.h (stack_t): Remove struct tag.
822 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
823 Likewise.
824 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
825 Likewise.
826 * debug/segfault.c (install_handler): Use stack_t instead of
827 struct sigaltstack.
828 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
829 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
830 * include/signal.h (__sigaltstack): Likwise.
831 * signal/sigaltstack.c (__sigaltstack): Likewise.
832 * signal/signal.h (sigaltstack): Likewise.
833 * sysdeps/mach/hurd/i386/signal-defines.sym
834 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
835 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
836 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
837 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
838 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
839 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
840 elf_prstatus): Likewise.
841 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
842 Likewise.
843 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
844 Likewise.
845 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
846 Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
848 elf_prstatus): Likewise.
849 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
850 Likewise.
851 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
852 Likewise.
853
854 2017-06-04 Zack Weinberg <zackw@panix.com>
855
856 * sysdeps/gnu/errlist.c: Regenerate.
857
858 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
859
860 * benchtests/bench-memchr.c (do_test): Print out both length
861 and position.
862 (test_main): Also test the position close to the beginning for
863 memrchr.
864
865 2017-06-04 Zack Weinberg <zackw@panix.com>
866
867 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
868 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
869 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
870 * nis/nis_destroygroup.c, nis/nis_domain_of.c
871 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
872 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
873 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
874 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
875 * nis/nis_print_group_entry.c, nis/nis_remove.c
876 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
877 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
878 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
879 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
880 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
881 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
882 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
883 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
884 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
885 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
886 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
887 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
888 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
889 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
890 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
891 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
892 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
893 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
894 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
895 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
896
897 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
898 abi-versions.h as well as shlib-compat.h.
899 * sunrpc/get_myaddr.c: Remove obsolete comment.
900 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
901 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
902 * resolv/res_libc.c: Include shlib-compat.h only once.
903
904 2017-06-03 Florian Weimer <fweimer@redhat.com>
905
906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
907 of strdup.
908
909 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
910
911 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
912 Set to the 3/4 of the total shared cache size.
913
914 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
915
916 * manual/errno.texi: Remove redundant error strings.
917 * manual/macros.texi (@errno): Render the error string in every
918 description.
919
920 2017-06-02 Joseph Myers <joseph@codesourcery.com>
921
922 [BZ #21543]
923 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
924 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
925 [__USE_XOPEN_EXTENDED].
926
927 2017-06-02 Florian Weimer <fweimer@redhat.com>
928
929 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
930 strdupa.
931 (getcanonname): Use __strdup instead of strdup.
932
933 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
934
935 * misc/Makefile (CFLAGS-preadv2.c): New rule.
936 (CFLAGS-preadv64v2.c): Likewise.
937 (CFLAGS-pwritev2.c): Likewise.
938 (CFLAGS-pwritev64v2.c): Likewise.
939
940 2017-06-02 Florian Weimer <fweimer@redhat.com>
941
942 Test res_init with several configuration files.
943 * resolv/Makefile [build-shared] (tests-internal): Add
944 tst-resolv-res_init, tst-resolv-res_init-thread.
945 (tst-resolv-res_init): Link against libdl, libresolv.
946 (tst-resolv-res_init-thread): Link against libdl, libresolv,
947 libpthread.
948 * resolv/tst-resolv-res_init.c: New file.
949 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
950 * resolv/tst-resolv-res_init-thread.c: Likewise.
951 * support/Makefile (libsupport-routines): Add support-xstat,
952 support_can_chroot, support_capture_subprocess_check,
953 support_isolate_in_subprocess, support_shared_allocate,
954 support_write_file_string, xchroot, xmkdir, xopen.
955 * support/capture_subprocess.h (enum support_capture_allow): Define.
956 (support_capture_subprocess_check): Declare.
957 * support/namespace.h (support_can_chroot)
958 (support_isolate_in_subprocess): Declare.
959 * support/support-xstat.c: New file.
960 * support/support.h (support_shared_allocate, support_shared_free)
961 (support_write_file_string): Declare.
962 * support/support_can_chroot.c: New file.
963 * support/support_capture_subprocess_check.c: Likewise.
964 * support/support_isolate_in_subprocess.c: Likewise.
965 * support/support_shared_allocate.c: Likewise.
966 * support/support_write_file_string.c: Likewise.
967 * support/xchroot.c: Likwise.
968 * support/xmkdir.c: Likwise.
969 * support/xopen.c: Likwise.
970 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
971
972 2017-06-02 Florian Weimer <fweimer@redhat.com>
973
974 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
975 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
976
977 2017-06-02 Florian Weimer <fweimer@redhat.com>
978
979 * malloc/Makefile (routines): Add dynarray_at_failure,
980 dynarray_emplace_enlarge, dynarray_finalize.
981 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
982 tst-dynarray-at-fail.
983 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
984 (tests-special): Add tst-dynarray-mem.out,
985 tst-dynarray-mem-fail.out.
986 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
987 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
988 mtrace.
989 * malloc/Versions (__libc_dynarray_at_failure)
990 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
991 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
992 GLIBC_PRIVATE.
993 * malloc/dynarray.h: New file.
994 * malloc/dynarray-skeleton.c: Likewise.
995 * malloc/dynarray_at_failure.c: Likewise.
996 * malloc/dynarray_emplace_enlarge.c: Likewise.
997 * malloc/dynarray_finalize.c: Likewise.
998 * malloc/dynarray_resize.c: Likewise.
999 * malloc/dynarray_resize_clear.c: Likewise.
1000 * malloc/tst-dynarray.c: Likewise.
1001 * malloc/tst-dynarray-fail.c: Likewise.
1002 * malloc/tst-dynarray-at-fail.c: Likewise.
1003 * malloc/tst-dynarray-shared.h: Likewise.
1004 * support/Makefile (libsupport-routines): Add
1005 support_capture_subprocess, xdup2, xpipe.
1006 (tests): Add tst-support_capture_subprocess.
1007 * support/capture_subprocess.h: New file.
1008 * support/support_capture_subprocess.c: Likewise.
1009 * support/tst-support_capture_subprocess.c: Likewise.
1010 * support/xdup2.c: Likewise.
1011 * support/xpipe.c: Likewise.
1012 * support/xunistd.h (xdup2, xpipe): Declare.
1013
1014 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1015
1016 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
1017 macros MAX and MIN.
1018
1019 2017-06-01 Joseph Myers <joseph@codesourcery.com>
1020
1021 * conform/data/signal.h-data (sa_sigaction): Do not expect for
1022 [XPG4].
1023 (SA_SIGINFO): Likewise.
1024 (SA_ONSTACK): Likewise.
1025 (SA_RESETHAND): Likewise.
1026 (SA_RESTART): Likewise.
1027 (SA_NOCLDWAIT): Likewise.
1028 (SA_NODEFER): Likewise.
1029 (SS_ONSTACK): Likewise.
1030 (SS_DISABLE): Likewise.
1031 (MINSIGSTKSZ): Likewise.
1032 (SIGSTKSZ): Likewise.
1033 (ucontext_t): Likewise.
1034 (stack_t): Likewise.
1035 (struct sigstack): Likewise.
1036 (SI_USER): Do not expect for [XPG4 || XPG42].
1037 (SI_QUEUE): Likewise.
1038 (SI_TIMER): Likewise.
1039 (SI_ASYNCIO): Likewise.
1040 (SI_MESGQ): Likewise.
1041 (bsd_signal): Do not expect for [XPG4].
1042 (killpg): Likewise.
1043 (sigaltstack): Likewise.
1044 (sighold): Likewise.
1045 (sigignore): Likewise.
1046 (siginterrupt): Likewise.
1047 (sigpause): Likewise.
1048 (sigrelse): Likewise.
1049 (sigset): Likewise.
1050 (sigwait): Do not expect for [XPG4 || XPG42].
1051
1052 2017-06-01 Zack Weinberg <zackw@panix.com>
1053
1054 [BZ #21514]
1055 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
1056 pointing to the generated file in <builddir>/misc/bits/syscall.h.
1057
1058 2017-06-01 Joseph Myers <joseph@codesourcery.com>
1059
1060 [BZ #21457]
1061 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
1062 NGREG to __NGREG if [__USE_MISC].
1063 (gregset_t): Define using __NGREG.
1064 (__ctx): New macro.
1065 (mcontext_t): Use __ctx in defining fields.
1066 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
1067 define NGREG to __NGREG if [__USE_MISC].
1068 (gregset_t): Define using __NGREG.
1069 (__ctx): New macro.
1070 (__ctxt): Likewise.
1071 (fpregset_t): Use __ctx and __ctxt in defining fields.
1072 (mcontext_t): Likewise.
1073 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
1074 define NGREG to __NGREG if [__USE_MISC].
1075 (gregset_t): Define using __NGREG.
1076 (__ctx): New macro.
1077 (mcontext_t): Use __ctx in defining fields.
1078 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
1079 define NGREG to __NGREG if [__USE_MISC].
1080 (gregset_t): Define using __NGREG.
1081 (__ctx): New macro.
1082 (fpregset_t): Use __ctx in defining fields.
1083 (mcontext_t): Likewise.
1084 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
1085 __NGREG and define NGREG to __NGREG if [__USE_MISC].
1086 (gregset_t): Define using __NGREG.
1087 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1088 [__USE_MISC].
1089 (fpregset_t): Define using __NFPREG.
1090 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
1091 __NGREG and define NGREG to __NGREG if [__USE_MISC].
1092 (gregset_t): Define using __NGREG.
1093 (__ctx): New macro.
1094 (fpregset_t): Use __ctx in defining fields.
1095 (mcontext_t): Likewise.
1096 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
1097 __NGREG and define NGREG to __NGREG if [__USE_MISC].
1098 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1099 [__USE_MISC].
1100 (gregset_t): Define using __NGREG.
1101 (__ctx): New macro.
1102 (fpregset_t): Use __ctx in defining fields.
1103 (mcontext_t): Likewise.
1104 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
1105 (mcontext_t): Use __ctx in defining fields.
1106 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
1107 macro.
1108 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
1109 __NGREG if [__USE_MISC].
1110 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
1111 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
1112 (mcontext_t): Likewise.
1113 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
1114 __NGREG if [__USE_MISC].
1115 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
1116 to __NFPREG if [__USE_MISC].
1117 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
1118 to __NVRREG if [__USE_MISC].
1119 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
1120 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
1121 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
1122 [__WORDSIZE != 32] (vrregset_t): Likewise.
1123 [__WORDSIZE != 32] (mcontext_t): Likewise.
1124 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
1125 (__psw_t): Use __ctx in defining fields.
1126 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
1127 [__USE_MISC].
1128 (gregset_t): Define using __NGREG.
1129 (fpreg_t): Use __ctx in defining fields.
1130 (fpregset_t): Likewise.
1131 (mcontext_t): Likewise.
1132 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
1133 __NGREG and define NGREG to __NGREG if [__USE_MISC].
1134 (gregset_t): Define using __NGREG.
1135 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1136 [__USE_MISC].
1137 (fpregset_t): Define using __NFPREG.
1138 (__ctx): New macro.
1139 (mcontext_t): Use __ctx in defining fields.
1140 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
1141 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1142 __NGREG if [__USE_MISC].
1143 [__x86_64__] (gregset_t): Define using __NGREG.
1144 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
1145 [__x86_64__] (struct _libc_fpstate): Likewise.
1146 [__x86_64__] (mcontext_t): Likewise.
1147 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1148 __NGREG if [__USE_MISC].
1149 [!__x86_64__] (gregset_t): Define using __NGREG.
1150 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
1151 [!__x86_64__] (struct _libc_fpstate): Likewise.
1152 [!__x86_64__] (mcontext_t): Likewise.
1153
1154 2017-06-01 Zack Weinberg <zackw@panix.com>
1155
1156 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
1157 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
1158 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
1159 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
1160 libpthread.so no longer references __errno_location.
1161
1162 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1163
1164 * NEWS: Add note about pwritev2 and preadv2 inclusion.
1165 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
1166 pwritev64v2.
1167 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
1168 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
1169 pwritev64v2.
1170 * misc/preadv2.c: New file.
1171 * misc/preadv64v2.c: Likewise.
1172 * misc/pwritev2.c: Likewise.
1173 * misc/pwritev64v2.c: Likewise.
1174 * misc/tst-preadvwritev2.c: Likewise.
1175 * misc/tst-preadvwritev64v2.c: Likewise.
1176 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
1177 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
1178 prototype.
1179 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
1180 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
1181 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
1182 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
1183 (PWRITEV): Likewise.
1184 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
1185 ENOSYS.
1186 * nptl/tst-cancel4.c (tf_pwritev2): New test.
1187 (tf_preadv2): Likewise.
1188 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
1189 * sysdeps/posix/preadv2.c: Likewise.
1190 * sysdeps/posix/preadv64v2.c: Likewise.
1191 * sysdeps/posix/pwritev2.c: Likewise.
1192 * sysdeps/posix/pwritev64v2.c: Likewise.
1193 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
1194 support in kernel.
1195 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
1196 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
1197 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
1198 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
1199 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
1200 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1201 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1202 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1203 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
1204 support flags on Linux.
1205 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
1206 preadv2, preadv64v2, pwritev2, pwritev64v2.
1207 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
1208 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
1209 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
1210 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1211 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1212 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1213 Likewise.
1214 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1215 Likewise.
1216 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1217 Likewise.
1218 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1219 Likewise.
1220 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1221 Likewise.
1222 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1223 Likewise.
1224 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1225 Likewise.
1226 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1228 (GLIBC_2.26): Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1230 (GLIBC_2.26): Likewise.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1234 (GLIBC_2.26): Likewise.
1235 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1236 Likewise.
1237 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1238 Likewise.
1239 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1240 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1241 Likewise.
1242 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1243 Likewise.
1244 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1245 Likewise.
1246 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1247 Likewise.
1248 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1249 Likewise.
1250 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1251 Likewise.
1252 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1253 Likewise.
1254
1255 2017-05-31 Andreas Schwab <schwab@suse.de>
1256
1257 * nptl/tst-fork3.c: Include <support/test-driver.c>.
1258 (main): Rename to do_test and make static.
1259
1260 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1261
1262 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1263 ARCH_INIT_CPU_FEATURES.
1264 (LIBC_START_MAIN): Call it.
1265 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1266 (__libc_start_main): Remove.
1267 (ARCH_INIT_CPU_FEATURES): New macro.
1268 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1269 (ARCH_INIT_CPU_FEATURES): New macro.
1270
1271 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
1272 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1273
1274 * include/stdlib.h (__libc_reallocarray): New declaration.
1275 * malloc/Makefile (routines): Add reallocarray.
1276 (tests): Add tst-reallocarray.c.
1277 * malloc/Versions: Add reallocarray and __libc_reallocarray.
1278 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1279 function.
1280 * malloc/malloc.h (reallocarray): New declaration.
1281 * stdlib/stdlib.h (reallocarray): Likewise.
1282 * malloc/reallocarray.c: New file.
1283 * malloc/tst-reallocarray.c: New test file.
1284 * manual/memory.texi: Document reallocarray.
1285 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1286 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1287 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1288 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1289 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1290 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1291 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1292 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1293 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1294 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1295 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1298 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1300 Likewise.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1302 Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1305 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1306 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1307 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1308 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1309 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1312 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1313 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1314 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1315
1316 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1319 the lower 32 bits.
1320
1321 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
1322
1323 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1324 $(build-pie-default) = yes]: Define.
1325
1326 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 * string/test-memchr.c (test_main): Add tests for n == 0.
1329
1330 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1331
1332 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1333 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1334 (tests-internal): ... here.
1335
1336 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1337 H.J. Lu <hongjiu.lu@intel.com>
1338
1339 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1340 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1341 (__tunable_set_val): Likewise.
1342
1343 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1346 dl-tunables.list in subdirectories.
1347
1348 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1349 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1350 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1351
1352 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1353 (SNANF128): New macro.
1354 * math/e_sqrtf128.c: New file.
1355 * math/s_fmaxmag_template.c: Include math_private.h in order to
1356 make inline expansion of fabs128().
1357 * math/s_fminmag_template.c: Likewise.
1358
1359 * sysdeps/ieee754/float128/e_acosf128.c: New file.
1360 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1361 * sysdeps/ieee754/float128/e_asinf128.c: New file.
1362 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1363 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1364 * sysdeps/ieee754/float128/e_coshf128.c: New file.
1365 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1366 * sysdeps/ieee754/float128/e_expf128.c: New file.
1367 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1368 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1369 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1370 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1371 * sysdeps/ieee754/float128/e_j0f128.c: New file.
1372 * sysdeps/ieee754/float128/e_j1f128.c: New file.
1373 * sysdeps/ieee754/float128/e_jnf128.c: New file.
1374 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1375 * sysdeps/ieee754/float128/e_log10f128.c: New file.
1376 * sysdeps/ieee754/float128/e_log2f128.c: New file.
1377 * sysdeps/ieee754/float128/e_logf128.c: New file.
1378 * sysdeps/ieee754/float128/e_powf128.c: New file.
1379 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1380 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1381 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1382 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1383 * sysdeps/ieee754/float128/float128_private.h: New file.
1384 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1385 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1386 * sysdeps/ieee754/float128/k_cosf128.c: New file.
1387 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1388 * sysdeps/ieee754/float128/k_sinf128.c: New file.
1389 * sysdeps/ieee754/float128/k_tanf128.c: New file.
1390 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1391 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
1392 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
1393 * sysdeps/ieee754/float128/s_atanf128.c: New file.
1394 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
1395 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
1396 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
1397 * sysdeps/ieee754/float128/s_cosf128.c: New file.
1398 * sysdeps/ieee754/float128/s_erff128.c: New file.
1399 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
1400 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
1401 * sysdeps/ieee754/float128/s_finitef128.c: New file.
1402 * sysdeps/ieee754/float128/s_floorf128.c: New file.
1403 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
1404 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
1405 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
1406 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
1407 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
1408 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
1409 * sysdeps/ieee754/float128/s_isinff128.c: New file.
1410 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
1411 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
1412 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
1413 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
1414 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
1415 * sysdeps/ieee754/float128/s_logbf128.c: New file.
1416 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
1417 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
1418 * sysdeps/ieee754/float128/s_modff128.c: New file.
1419 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
1420 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
1421 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
1422 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
1423 * sysdeps/ieee754/float128/s_remquof128.c: New file.
1424 * sysdeps/ieee754/float128/s_rintf128.c: New file.
1425 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
1426 * sysdeps/ieee754/float128/s_roundf128.c: New file.
1427 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
1428 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
1429 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
1430 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
1431 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
1432 * sysdeps/ieee754/float128/s_significandf128.c: New file.
1433 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
1434 * sysdeps/ieee754/float128/s_sinf128.c: New file.
1435 * sysdeps/ieee754/float128/s_tanf128.c: New file.
1436 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
1437 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
1438 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
1439 * sysdeps/ieee754/float128/s_truncf128.c: New file.
1440 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
1441 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
1442 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
1443 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
1444
1445 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
1446 (__iscanonicalf128): Define as a macro.
1447
1448 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
1449
1450 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
1451 (memmove): Use MEMMOVE for name.
1452 (memcpy): Use MEMCPY for name. Change internal labels
1453 to external labels.
1454 * sysdeps/aarch64/multiarch/Makefile: New file.
1455 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
1456 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
1457 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1458 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
1459 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
1460 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1461
1462 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
1463
1464 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1465 (_dl_arm_cap_flags): Fix array subscript.
1466 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1467 Fix count.
1468
1469 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
1470
1471 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
1472
1473 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
1474
1475 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
1476 (is_amd): Likewise.
1477 (max_cpuid): Likewise.
1478 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
1479 (init_cacheinfo): Likewise.
1480
1481 2017-05-23 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #21511]
1484 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
1485 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
1486 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
1487 !__USE_XOPEN2K) || __USE_MISC].
1488 * conform/data/signal.h-data (struct sigstack): Expect type only
1489 if [!XOPEN2K8 && !POSIX2008].
1490 (sigstack): Expect function only if [XPG42 || UNIX98].
1491
1492 [BZ #21457]
1493 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
1494 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1495 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1496 <bits/types/__sigset_t.h>.
1497 (ucontext_t): Use sigset_t instead of __sigset_t.
1498 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
1499 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1500 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1501 <bits/types/__sigset_t.h>.
1502 (ucontext_t): Use sigset_t instead of __sigset_t.
1503 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
1504 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1505 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1506 <bits/types/__sigset_t.h>.
1507 (ucontext_t): Use sigset_t instead of __sigset_t.
1508 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
1509 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1510 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1511 <bits/types/__sigset_t.h>.
1512 (ucontext_t): Use sigset_t instead of __sigset_t.
1513 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
1514 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1515 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1516 <bits/types/__sigset_t.h>.
1517 (ucontext_t): Use sigset_t instead of __sigset_t.
1518 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1519 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1520 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1521 <bits/types/__sigset_t.h>.
1522 (ucontext_t): Use sigset_t instead of __sigset_t.
1523 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1524 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1525 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1526 <bits/types/__sigset_t.h>.
1527 (ucontext_t): Use sigset_t instead of __sigset_t.
1528 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1529 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1530 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1531 <bits/types/__sigset_t.h>.
1532 (ucontext_t): Use sigset_t instead of __sigset_t.
1533 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1534 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1535 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1536 <bits/types/__sigset_t.h>.
1537 (ucontext_t): Use sigset_t instead of __sigset_t.
1538 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1539 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1540 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
1541 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1542 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1543 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1544 <bits/types/__sigset_t.h>.
1545 (ucontext_t): Use sigset_t instead of __sigset_t.
1546 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1547 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1548 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1549 <bits/types/__sigset_t.h>.
1550 (ucontext_t): Use sigset_t instead of __sigset_t.
1551 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1552 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1553 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1554 <bits/types/__sigset_t.h>.
1555 (ucontext_t): Use sigset_t instead of __sigset_t.
1556 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1557 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1558 <bits/ss_flags.h>.
1559 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1560 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1561 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1562 <bits/types/__sigset_t.h>.
1563 (ucontext_t): Use sigset_t instead of __sigset_t.
1564 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1565 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1566 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1567 <bits/types/__sigset_t.h>.
1568 (ucontext_t): Use sigset_t instead of __sigset_t.
1569 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1570 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1571 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1572 <bits/types/__sigset_t.h>.
1573 (ucontext_t): Use sigset_t instead of __sigset_t.
1574 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1575 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1576 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1577 <bits/types/__sigset_t.h>.
1578 (ucontext_t): Use sigset_t instead of __sigset_t.
1579 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1580 <bits/types.h>.
1581 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1582 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1583 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
1584 <bits/types/__sigset_t.h>.
1585 (ucontext_t): Use sigset_t instead of __sigset_t.
1586
1587 2017-05-22 Zack Weinberg <zackw@panix.com>
1588
1589 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1590 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1591 bits/siginfo-arch.h, only if not already defined.
1592 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1593 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1594 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1595 Likewise.
1596
1597 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1598 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1599 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1600 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1601 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1602 Unconditionally define __SI_* macros.
1603
1604 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1605
1606 [BZ #21393]
1607 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1608 and add a check for dup3 failure.
1609 * libio/freopen64.c (freopen64): Likewise.
1610 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1611 libsupport.
1612 (do_test_bz21398): New test.
1613 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1614
1615 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1616
1617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1618 Remove invalid comment.
1619
1620 2017-05-21 Zack Weinberg <zackw@panix.com>
1621
1622 * signal/Makefile (headers): Add bits/types/sigval_t.h.
1623
1624 2017-05-20 Zack Weinberg <zackw@panix.com>
1625
1626 * bits/sigevent-consts.h
1627 * bits/siginfo-consts.h
1628 * bits/types/__sigset_t.h
1629 * bits/types/sigevent_t.h
1630 * bits/types/siginfo_t.h
1631 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1632 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1633 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1634 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1635 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1636 New system-dependent bits headers.
1637
1638 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1639 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1640 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1641 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1642 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1644 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1645 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1646 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1647 New Linux-only system-dependent bits headers.
1648
1649 * signal/bits/types/sig_atomic_t.h
1650 * signal/bits/types/sigset_t.h
1651 * signal/bits/types/sigval_t.h:
1652 New non-system-dependent bits headers.
1653
1654 * sysdeps/generic/sigsetops.h
1655 * sysdeps/unix/sysv/linux/sigsetops.h:
1656 New internal headers.
1657
1658 * include/bits/types/sig_atomic_t.h
1659 * include/bits/types/sigset_t.h
1660 * include/bits/types/sigval_t.h:
1661 New wrappers.
1662
1663 * signal/sigsetops.h
1664 * bits/siginfo.h
1665 * bits/sigset.h
1666 * sysdeps/unix/sysv/linux/bits/siginfo.h
1667 * sysdeps/unix/sysv/linux/bits/sigset.h
1668 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1669 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1670 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1671 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1672 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1673 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1674 Deleted.
1675
1676 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1677 Update lists of installed headers.
1678
1679 * posix/bits/types.h: Define __sig_atomic_t here.
1680 * signal/signal.h: Use the new bits headers; no need to handle
1681 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
1682 to define sigmask.
1683 * include/signal.h: No need to handle __need_sig_atomic_t
1684 nor __need_sigset_t. Don't define __sigemptyset.
1685
1686 * io/sys/poll.h, setjmp/setjmp.h
1687 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1688 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1689 * sysdeps/mach/hurd/i386/bits/sigcontext.h
1690 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1691 * sysdeps/pthread/bits/sigthread.h
1692 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1693 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1694 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1695 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1696 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1697 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1698 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1700 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1701 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1702 Use bits/types/__sigset_t.h.
1703
1704 * misc/sys/select.h, posix/spawn.h
1705 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1706 * sysdeps/unix/sysv/linux/sys/epoll.h
1707 * sysdeps/unix/sysv/linux/sys/signalfd.h:
1708 Use bits/types/sigset_t.h.
1709
1710 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1711 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1712 * socket/sys/socket.h: Don't include bits/sigset.h.
1713
1714 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1715 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1716 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1717 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1718 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1719 * sysdeps/unix/sysv/linux/nptl-signals.h:
1720 Include sigsetops.h.
1721
1722 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1723 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1724 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1725 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1726 now return no value.
1727
1728 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1729 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1730 "sigsetops.h".
1731
1732 * signal/sigsetops.c: Explicitly define __sigismember,
1733 __sigaddset, and __sigdelset as compatibility symbols.
1734
1735 * signal/Versions: Correct commentary on __sigpause,
1736 __sigaddset, __sigdelset, __sigismember.
1737
1738 * inet/rcmd.c: Include sigsetops.h. Convert old code using
1739 __sigblock/__sigsetmask to use __sigprocmask and friends.
1740
1741 * resolv/resolv.h: Remove __need_res_state logic.
1742 Move definition of res_state and related constants to ...
1743 * resolv/bits/types/res_state.h: ...this new file.
1744 * resolv/Makefile: Install bits/types/res_state.h.
1745 * include/bits/types/res_state.h: New wrapper.
1746 * include/list.h: Remove __need_list_t logic.
1747 Move definition of list_t to ...
1748 * include/list_t.h: ...this new file.
1749
1750 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1751 instead of list.h and resolv.h.
1752
1753 * resolv/resolv.h: Remove __need_res_state logic.
1754 Move definition of res_state and related constants to ...
1755 * resolv/bits/types/res_state.h: ...this new file.
1756 * resolv/Makefile: Install bits/types/res_state.h.
1757 * include/bits/types/res_state.h: New wrapper.
1758 * include/list.h: Remove __need_list_t logic.
1759 Move definition of list_t to ...
1760 * include/list_t.h: ...this new file.
1761
1762 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1763 instead of list.h and resolv.h.
1764
1765 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
1766
1767 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1768
1769 2017-05-20 Zack Weinberg <zackw@panix.com>
1770
1771 * sysdeps/arm/sysdep.h
1772 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1773
1774 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1775 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1776 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1777 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1778 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1779 * sysdeps/arm/armv6t2/strlen.S
1780 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1781 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1782 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1783 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1784 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1785 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1786
1787 2017-05-20 Zack Weinberg <zackw@panix.com>
1788
1789 Remove the NaCl port.
1790 * sysdeps/arm/nacl: Remove directory and contents.
1791 * sysdeps/nacl: Remove directory and contents.
1792 * abi-tags: Remove .*-.*-nacl.* entry.
1793
1794 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
1795
1796 * manual/errno.texi: Convert @comment-based errno documentation to
1797 @errno.
1798 * manual/macros.texi (@errno): New macro. Consolidate errors,
1799 their values, and messages, adding the error string to the Concept
1800 Index. Provide a warning in the comment about external (to the
1801 manual) dependencies.
1802 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1803 * sysdeps/mach/hurd/errnos.awk: Likewise.
1804
1805 2017-05-19 Joseph Myers <joseph@codesourcery.com>
1806
1807 * bits/ss_flags.h: New file.
1808 * bits/types/stack_t.h: Likewise.
1809 * include/bits/types/struct_sigstack.h: Likewise.
1810 * signal/bits/types/struct_sigstack.h: Likewise.
1811 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1812 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1813 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1814 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1815 bits/types/stack_t.h and bits/ss_flags.h.
1816 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1817 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1818 <bits/ss_flags.h>.
1819 * bits/sigstack.h (struct sigstack): Remove.
1820 (stack_t): Likewise.
1821 (SS_ONSTACK): Likewise.
1822 (SS_DISABLE): Likewise.
1823 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1824 (struct sigstack): Likewise.
1825 (stack_t): Likewise.
1826 (SS_ONSTACK): Likewise.
1827 (SS_DISABLE): Likewise.
1828 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1829 Likewise.
1830 (stack_t): Likewise.
1831 (SS_ONSTACK): Likewise.
1832 (SS_DISABLE): Likewise.
1833 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1834 Likewise.
1835 (stack_t): Likewise.
1836 (SS_ONSTACK): Likewise.
1837 (SS_DISABLE): Likewise.
1838 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1839 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1840 Likewise.
1841 (stack_t): Likewise.
1842 (SS_ONSTACK): Likewise.
1843 (SS_DISABLE): Likewise.
1844 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1845 (struct sigstack): Likewise.
1846 (stack_t): Likewise.
1847 (SS_ONSTACK): Likewise.
1848 (SS_DISABLE): Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1850 Likewise.
1851 (stack_t): Likewise.
1852 (SS_ONSTACK): Likewise.
1853 (SS_DISABLE): Likewise.
1854 * sysdeps/arm/sys/ucontext.h: Include
1855 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1856 <bits/ss_flags.h>.
1857 * sysdeps/generic/sys/ucontext.h: Likewise.
1858 * sysdeps/i386/sys/ucontext.h: Likewise.
1859 * sysdeps/m68k/sys/ucontext.h: Likewise.
1860 * sysdeps/mips/sys/ucontext.h: Likewise.
1861 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1862 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1863 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1864 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1865 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1866 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1867 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1868 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1869 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1870 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1871 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1872 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1873 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1874 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1875 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1876
1877 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1880 "edx + ecx - 16" to avoid possible addition overflow.
1881 * sysdeps/x86_64/memchr.S (memchr): Likewise.
1882
1883 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1884
1885 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1886 (CFLAGS-splice.c): Likewise.
1887 (CFLAGS-open_by_handle_at.c): Likewise.
1888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1889 (CFLAGS-splice.c): Likewise.
1890 (CFLAGS-open_by_handle_at.c): Likewise.
1891
1892 2017-05-19 Joseph Myers <joseph@codesourcery.com>
1893
1894 * scripts/versions.awk: Generate ldbl-compat-choose.h.
1895 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1896 <ldbl-compat-choose.h>.
1897 (maybe_long_double_symbol): New macro.
1898 [!declare_mgen_alias] (declare_mgen_alias): Use
1899 maybe_long_double_symbol.
1900 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1901 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1905 * Makerules [$(build-shared) = yes && !avoid-generated]
1906 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1907 [$(build-shared) = yes && !avoid-generated]
1908 ($(common-objpfx)ldbl-compat-choose.h): New target.
1909
1910 * scripts/versions.awk: Generate first-versions.h.
1911 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1912 <first-versions.h>.
1913 (LDOUBLE_cabsl_libm_version): Remove macro.
1914 (LDOUBLE_cargl_libm_version): Likewise.
1915 (LDOUBLE_cimagl_libm_version): Likewise.
1916 (LDOUBLE_conjl_libm_version): Likewise.
1917 (LDOUBLE_creall_libm_version): Likewise.
1918 (LDOUBLE_cacosl_libm_version): Likewise.
1919 (LDOUBLE_cacoshl_libm_version): Likewise.
1920 (LDOUBLE_ccosl_libm_version): Likewise.
1921 (LDOUBLE_ccoshl_libm_version): Likewise.
1922 (LDOUBLE_casinl_libm_version): Likewise.
1923 (LDOUBLE_csinl_libm_version): Likewise.
1924 (LDOUBLE_casinhl_libm_version): Likewise.
1925 (LDOUBLE_csinhl_libm_version): Likewise.
1926 (LDOUBLE_catanl_libm_version): Likewise.
1927 (LDOUBLE_catanhl_libm_version): Likewise.
1928 (LDOUBLE_ctanl_libm_version): Likewise.
1929 (LDOUBLE_ctanhl_libm_version): Likewise.
1930 (LDOUBLE_cexpl_libm_version): Likewise.
1931 (LDOUBLE_clogl_libm_version): Likewise.
1932 (LDOUBLE_cprojl_libm_version): Likewise.
1933 (LDOUBLE_csqrtl_libm_version): Likewise.
1934 (LDOUBLE_cpowl_libm_version): Likewise.
1935 (LDOUBLE_clog10l_libm_version): Likewise.
1936 (LDOUBLE___clog10l_libm_version): Likewise.
1937 (LDOUBLE_fdiml_libm_version): Likewise.
1938 (LDOUBLE_fmaxl_libm_version): Likewise.
1939 (LDOUBLE_fminl_libm_version): Likewise.
1940 (LDOUBLE_ilogbl_libm_version): Likewise.
1941 (LDOUBLE_nanl_libm_version): Likewise.
1942 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1943 FIRST_VERSION_libm_* macros.
1944 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1945 * Makerules [$(build-shared) = yes && !avoid-generated]
1946 (before-compile): Add $(common-objpfx)first-versions.h.
1947 [$(build-shared) = yes && !avoid-generated]
1948 ($(common-objpfx)first-versions.h): New target.
1949 ($(common-objpfx)sysd-versions): Depend on and change to rule for
1950 building $(common-objpfx)versions.stmp.
1951
1952 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1953
1954 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1955 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1956 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1957 auto-generation list.
1958
1959 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1960 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1961 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1962 from auto-generation list.
1963
1964 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1965 open_by_handle_at.
1966 (CFLAGS-open_by_handle_at.c): New flag.
1967 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1968 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1969 file.
1970 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1971
1972 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1973 (CFLAGS-splice.c): New flag.
1974 * sysdeps/unix/sysv/linux/splice.c: New file.
1975 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1976 auto-generation syscall list.
1977 * misc/Makefile (CFLAGS-splice.c): New rule.
1978
1979 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1980 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1981 auto-generation syscall list.
1982 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1983 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1984
1985 * misc/Makefile (CFLAGS-fsync.c): New flag.
1986 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1987 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1988 syscall list.
1989 * sysdeps/unix/sysv/linux/fsync.c: New file.
1990 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1991 (__errno_location): Remove.
1992
1993 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1994 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1995 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1996 list.
1997 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1998
1999 * misc/Makefile (CFLAGS-msync.c): New rule.
2000 * nptl/Makefile (CFLAGS-msync.c): Likewise.
2001 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
2002 * sysdeps/unix/sysv/linux/msync.c: New file.
2003
2004 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
2005 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
2006 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
2007 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2008 (CFLAGS-sigsuspend.c): Remove rule.
2009
2010 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
2011 (CFLAGS-tee.c): New rule.
2012 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
2013 auto-generated list.
2014 * sysdeps/unix/sysv/linux/tee.c: New file.
2015
2016 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
2017 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
2018 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
2019 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
2020 auto-generated list.
2021
2022 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
2023 auto-generated list.
2024 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
2027 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2028 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2029
2030 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
2031 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
2032 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
2033 (__NR_pause): Undefine.
2034 * sysdeps/unix/sysv/linux/pause.c: New file.
2035 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
2036 auto-generation list.
2037 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
2038 Remove rule.
2039 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
2040
2041 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
2042
2043 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
2044 comments.
2045
2046 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
2047
2048 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
2049 LD_HWCAP_MASK.
2050
2051 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
2052
2053 * manual/conf.texi: Convert @tables of annotated @items to
2054 @vtables.
2055 * manual/lang.texi: Likewise.
2056 * manual/pattern.texi: Likewise.
2057 * manual/resource.texi: Likewise.
2058 * manual/socket.texi: Likewise.
2059
2060 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
2061
2062 * manual/crypt.texi: Move a comment out of an @*x list.
2063 * manual/filesys.texi: Refactor some comments, one of which looks
2064 like a standard. Fix incorrectly separated standards.
2065 * manual/locale.texi: Invert an annotation.
2066 * manual/resource.texi: Fix incorrectly separated standards.
2067 * manual/time.texi: Refactor a @vtable that obscures an
2068 annotation.
2069 * manual/users.texi: Refactor multiple headers to occupy a single
2070 @comment.
2071
2072 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2073
2074 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2075 (sysdep_routines): Add memcmp-power8.
2076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2077 (memcmp): Add __memcmp_power8 to list of memcmp functions.
2078 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
2079 (memcmp): Add __memcmp_power8 to ifunc list.
2080 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
2081 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
2082
2083 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2084 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2085
2086 * math/math.h (__MATH_TG): Extend the conditions to add
2087 _Float128 support.
2088 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
2089
2090 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
2091
2092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2093 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
2094 s_cosf-ppc64.
2095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
2096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
2097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
2098 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2099
2100 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2101
2102 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
2103 (gen-libm-calls): Add e_exp2F to use the template.
2104 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
2105 * math/e_exp2_template.c: New file, renamed from
2106 math/e_exp2l.c, and made into a template.
2107 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
2108
2109 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2110
2111 * elf/dl-tunable-types.h (tunable_type_code_t): New type
2112 TUNABLE_TYPE_UINT_64.
2113 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
2114 Simplify computation of overflow.
2115 (tunable_set_val_if_valid_range_signed,
2116 tunable_set_val_if_valid_range_unsigned): Remove and replace
2117 with this...
2118 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
2119 (tunable_initialize): Adjust. Add uint64_t support.
2120 (__tunable_set_val): Add uint64_t support.
2121 * README.tunables: Document it.
2122
2123 * scripts/gen-tunables.awk: Recognize 'default' keyword in
2124 dl-tunables.list.
2125 * README.tunables: Document it.
2126
2127 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2128
2129 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
2130 * sysdeps/posix/preadv64.c: Likewise.
2131 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2132 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
2133 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
2134 * sysdeps/posix/pwritev64.c: Likewise.
2135 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2136 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
2137 * sysdeps/posix/preadv_common.c: New file.
2138 * sysdeps/posix/pwritev_common.c: Likewise.
2139
2140 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2141
2142 * sysdeps/generic/math-type-macros-float128.h
2143 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
2144 wrapper templates.
2145
2146 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2147 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2148
2149 * include/complex.h (__kernel_casinhf128): New declaration.
2150 * include/float.h: New file.
2151 * include/math.h (__finitef128): Add a hidden def.
2152 (__isinff128): Likewise.
2153 (__isnanf128): Likewise.
2154 (__fpclassify): Likewise.
2155 (__issignalling): Likewise.
2156 (__expf128): Likewise.
2157 (__expm1f128): Likewise.
2158
2159 * sysdeps/generic/fix-fp-int-convert-overflow.h:
2160 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
2161 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
2162
2163 * sysdeps/generic/math-type-macros-float128.h: New file.
2164
2165 * sysdeps/generic/math_private.h: Include bits/floatn.h and
2166 math_private_calls.h for _Float128.
2167 (__isinff128): New inline implementation used when GCC < 7.0,
2168 since in this case __builtin_isinf_sign is broken.
2169 (fabsf128): New inline implementation that calls the builtin.
2170 (__EXPR_FLT128): New macro.
2171 (min_of_type): Optionally include _Float128 types too.
2172
2173 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
2174 Declare for _Float128.
2175 (__kernel_rem_pio2): Likewise.
2176
2177 * sysdeps/ieee754/ldbl-opt/s_sin.c:
2178 (__DECL_SIMD_sincos_disablef128): New macro.
2179
2180 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2181
2182 * math/math.h: Include bits/math-finite.h for float128.
2183 (__MATH_DECLARING_FLOATN): Define to control declaration of
2184 float128 functions.
2185 * math/bits/math-finite.h (pow10): Do not declare for float128.
2186 (gamma): Likewise.
2187 (scalb): Likewise.
2188
2189 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2190 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2191
2192 * bits/floatn.h: New file.
2193 * bits/huge_val_flt128.h: Likewise.
2194
2195 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
2196 (__DECL_SIMD_sinf128): Likewise.
2197 (__DECL_SIMD_sincosf128): Likewise.
2198 (__DECL_SIMD_logf128): Likewise.
2199 (__DECL_SIMD_expf128): Likewise.
2200 (__DECL_SIMD_powf128): Likewise.
2201
2202 * math/Makefile (headers): Install bits/floatn.h and
2203 bits/huge_val_flt128.h.
2204
2205 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
2206 defined.
2207
2208 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
2209 (isnan, gamma, nexttoward, scalb): Only define if not
2210 __MATH_DECLARING_FLOATN.
2211 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2212 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2213 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2214 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2215
2216 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2217 Include bits/cmathcalls.h to get the declarations of _Float128
2218 versions of complex functions.
2219 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2220 Define macro.
2221
2222 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2223 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2224 get the declarations of _Float128 versions of math functions.
2225 (__MATH_DECLARING_FLOATN): New macro to control declaration of
2226 _FloatN types.
2227 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2228 is type-generic, so use it without __MATH_TG.
2229 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2230 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
2231 _Float128 type and GCC < 7.0, otherwise use the builtin.
2232 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2233 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2234 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2235 New _GNU_SOURCE enabled macros.
2236
2237 2017-05-12 Joseph Myers <joseph@codesourcery.com>
2238
2239 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2240 (signbitf): Likewise.
2241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2242 Likewise.
2243 (signbitl): Likewise.
2244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2245 Likewise.
2246 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2247 (signbitl): Likewise.
2248 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2249
2250 2017-05-12 Florian Weimer <fweimer@redhat.com>
2251
2252 [BZ #21386]
2253 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2254 parent PID. The assertion in the child is incorrect with PID
2255 namespaces.
2256
2257 2017-05-12 Joseph Myers <joseph@codesourcery.com>
2258
2259 * sysdeps/unix/sysv/linux/kernel-features.h
2260 (__ASSUME_STATFS_F_FLAGS): Remove macro.
2261 * sysdeps/unix/sysv/linux/internal_statvfs.c
2262 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2263
2264 2017-05-11 Zack Weinberg <zackw@panix.com>
2265
2266 * Makerules: New subdir configuration variables 'tests-internal'
2267 and 'test-internal-extras'. Test files in these categories will
2268 still be compiled with MODULE_NAME=nonlib. Test files in the
2269 existing categories (tests, xtests, test-srcs, test-extras) are
2270 now compiled with MODULE_NAME=testsuite.
2271 New subdir configuration variable 'modules-names-tests'. Files
2272 which are in both 'modules-names' and 'modules-names-tests' will
2273 be compiled with MODULE_NAME=testsuite instead of
2274 MODULE_NAME=extramodules.
2275 (gen-as-const-headers): Move to tests-internal.
2276 (do-tests-clean, common-mostlyclean): Support tests-internal.
2277 * Makeconfig (built-modules): Add testsuite.
2278 * Makefile: Change libof-check-installed-headers-c and
2279 libof-check-installed-headers-cxx to 'testsuite'.
2280 * Rules: Likewise. Support tests-internal.
2281 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2282 Remove extra-modules.mk.
2283
2284 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2285 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2286 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2287 very top of the file and rationalize their order.
2288 If MODULE_NAME is not defined at all, define IS_IN to always be
2289 false, and don't define _ISOMAC.
2290 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2291 true, define _ISOMAC and suppress everything else in this file,
2292 starting with the inclusion of config.h.
2293 Do check for inappropriate definitions of __OPTIMIZE__ and
2294 __FAST_MATH__ here, but only if _ISOMAC is not defined.
2295 Correct some out-of-date commentary.
2296
2297 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2298 and _Mlong_double_ before including math.h.
2299 * include/string.h: If _ISOMAC is defined, don't expose
2300 _STRING_ARCH_unaligned. Move a comment to a more appropriate
2301 location.
2302
2303 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2304 * include/time.h, include/unistd.h, include/wchar.h: No need to
2305 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2306
2307 * misc/sys/cdefs.h (__NTHNL): New macro.
2308 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2309 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2310
2311 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2312 defined, for HAVE_TUNABLES.
2313 * inet/tst-checks-posix.c: No need to define _ISOMAC.
2314 * intl/tst-gettext2.c: Provide own definition of N_.
2315 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2316 * math/test-signgam-main.c: No need to define _ISOMAC.
2317 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2318 * stdlib/tst-strtod1i.c: ...this new file.
2319 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2320 Split tests of __strtod_internal to...
2321 * stdlib/tst-strtod5i.c: ...this new file.
2322 * string/test-string.h: Include stdint.h. Duplicate definition of
2323 inhibit_loop_to_libcall here (from libc-symbols.h).
2324 * string/test-strstr.c: Provide dummy definition of
2325 libc_hidden_builtin_def when including strstr.c.
2326 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2327 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2328 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2329 Don't include init-arch.h.
2330 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2331 Don't include init-arch.h.
2332
2333 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2334 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2335 unload, unload2, circleload1, neededtest, neededtest2,
2336 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2337 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2338 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2339 ifunc tests to tests-internal.
2340 Don't add $(modules-names) to test-extras.
2341 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2342 Add tst-deadline to tests-static-internal.
2343 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2344 tests-internal.
2345 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2346 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2347 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2348 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2349 tst-sem12-static, and tst-stackguard1-static to tests-internal.
2350 Link tests-internal with libpthread also.
2351 Don't add $(modules-names) to test-extras.
2352 * nss/Makefile: Move tst-field to tests-internal.
2353 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2354 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2355 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2356 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2357 tests-internal.
2358 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2359 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2360 test-get_hwcap-static to tests-internal.
2361 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2362 tests-internal.
2363 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2364 modules-names-tests.
2365
2366 2017-05-11 Zack Weinberg <zackw@panix.com>
2367
2368 * libio/libio.h: Condition dummy definition of _IO_lock_t on
2369 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2370 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2371 _IO_funlockfile, and _IO_ftrylockfile. Only define
2372 _IO_cleanup_region_start and _IO_cleanup_region_end if not
2373 already defined.
2374 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2375 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2376 appropriately.
2377 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2378 Define _IO_lock_t_defined after defining _IO_lock_t.
2379
2380 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2381
2382 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2383 void* for argument type and use VDSO_SYMBOL macro.
2384 (is_sigtramp_address_rt): Likewise.
2385 (__backtrace): Setup expected frame pointer address for signal
2386 handling.
2387 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2388 void* for argumetn type and use VSDO_SYMBOL macro.
2389 (__backtrace): Setup expected frame pointer address for signal
2390 handling.
2391
2392 * sysdeps/unix/sysv/linux/writev.c: New file.
2393
2394 * sysdeps/unix/sysv/linux/readv.c: New file.
2395
2396 * include/unistd.h (write): Add hidden proto.
2397 * io/Makefile (CFLAGS-write.c): New define.
2398 * nptl/Makefile (CFLAGS-write.c): Likewise.
2399 * sysdeps/unix/sysv/linux/write.c: New file.
2400
2401 [BZ #21428]
2402 * include/unistd.h (read): Add hidden proto.
2403 * io/Makefile (CFLAGS-read.c): New define.
2404 * nptl/Makefile (CFLAGS-read.c): Likewise.
2405 * sysdeps/unix/sysv/linux/read.c: New file.
2406
2407 * io/Makefile (CFLAGS-creat.c): New rule.
2408 (CFLAGS-creat64.c): Likewise.
2409 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
2410 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
2411 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
2412 * sysdeps/unix/sysv/linux/creat.c: New file.
2413 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
2414 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
2415 auto-generated list.
2416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2417
2418 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
2419 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
2420 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
2421 * sysdeps/unix/sysv/linux/open.c: New file.
2422 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
2423 iff __WORDSIZE != 64 and use __NR_openat when available.
2424 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
2425 from auto-generated list.
2426
2427 * nptl/Makefile (CFLAGS-close.c): New flag.
2428 * sysdeps/unix/sysv/linux/close.c: New file.
2429
2430 2017-05-11 DJ Delorie <dj@redhat.com>
2431
2432 * MAINTAINERS: New. Points to wiki.
2433
2434 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
2435
2436 * scripts/gen-tunables.awk: Add attribute_relro to
2437 tunable_list.
2438
2439 2017-05-11 Joseph Myers <joseph@codesourcery.com>
2440
2441 [BZ #21457]
2442 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
2443 (R1): Likewise.
2444 (R2): Likewise.
2445 (R3): Likewise.
2446 (R4): Likewise.
2447 (R5): Likewise.
2448 (R6): Likewise.
2449 (R7): Likewise.
2450 (R8): Likewise.
2451 (R9): Likewise.
2452 (R10): Likewise.
2453 (R11): Likewise.
2454 (R12): Likewise.
2455 (R13): Likewise.
2456 (R14): Likewise.
2457 (R15): Likewise.
2458 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
2459 (REG_FS): Likewise.
2460 (REG_ES): Likewise.
2461 (REG_DS): Likewise.
2462 (REG_EDI): Likewise.
2463 (REG_ESI): Likewise.
2464 (REG_EBP): Likewise.
2465 (REG_ESP): Likewise.
2466 (REG_EBX): Likewise.
2467 (REG_EDX): Likewise.
2468 (REG_ECX): Likewise.
2469 (REG_EAX): Likewise.
2470 (REG_TRAPNO): Likewise.
2471 (REG_ERR): Likewise.
2472 (REG_EIP): Likewise.
2473 (REG_CS): Likewise.
2474 (REG_EFL): Likewise.
2475 (REG_UESP): Likewise.
2476 (REG_SS): Likewise.
2477 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
2478 (R_D1): Likewise.
2479 (R_D2): Likewise.
2480 (R_D3): Likewise.
2481 (R_D4): Likewise.
2482 (R_D5): Likewise.
2483 (R_D6): Likewise.
2484 (R_D7): Likewise.
2485 (R_A0): Likewise.
2486 (R_A1): Likewise.
2487 (R_A2): Likewise.
2488 (R_A3): Likewise.
2489 (R_A4): Likewise.
2490 (R_A5): Likewise.
2491 (R_A6): Likewise.
2492 (R_A7): Likewise.
2493 (R_SP): Likewise.
2494 (R_PC): Likewise.
2495 (R_PS): Likewise.
2496 (fpregset_t): Likewise.
2497 (MCONTEXT_VERSION): Likewise.
2498 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
2499 (CTX_AT): Likewise.
2500 (CTX_V0): Likewise.
2501 (CTX_V1): Likewise.
2502 (CTX_A0): Likewise.
2503 (CTX_A1): Likewise.
2504 (CTX_A2): Likewise.
2505 (CTX_A3): Likewise.
2506 (CTX_T0): Likewise.
2507 (CTX_T1): Likewise.
2508 (CTX_T2): Likewise.
2509 (CTX_T3): Likewise.
2510 (CTX_T4): Likewise.
2511 (CTX_T5): Likewise.
2512 (CTX_T6): Likewise.
2513 (CTX_T7): Likewise.
2514 (CTX_S0): Likewise.
2515 (CTX_S1): Likewise.
2516 (CTX_S2): Likewise.
2517 (CTX_S3): Likewise.
2518 (CTX_S4): Likewise.
2519 (CTX_S5): Likewise.
2520 (CTX_S6): Likewise.
2521 (CTX_S7): Likewise.
2522 (CTX_T8): Likewise.
2523 (CTX_T9): Likewise.
2524 (CTX_K0): Likewise.
2525 (CTX_K1): Likewise.
2526 (CTX_GP): Likewise.
2527 (CTX_SP): Likewise.
2528 (CTX_S8): Likewise.
2529 (CTX_RA): Likewise.
2530 (CTX_MDLO): Likewise.
2531 (CTX_MDHI): Likewise.
2532 (CTX_CAUSE): Likewise.
2533 (CTX_EPC): Likewise.
2534 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
2535 inclusion of <sys/procfs.h> on [__USE_MISC].
2536 (greg_t): Condition on [__USE_MISC].
2537 (gregset_t): Likewise.
2538 (fpregset_t): Likewise.
2539 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2540 (NGREG): Likewise.
2541 (gregset_t): Likewise.
2542 (REG_R0): Likewise.
2543 (REG_R1): Likewise.
2544 (REG_R2): Likewise.
2545 (REG_R3): Likewise.
2546 (REG_R4): Likewise.
2547 (REG_R5): Likewise.
2548 (REG_R6): Likewise.
2549 (REG_R7): Likewise.
2550 (REG_R8): Likewise.
2551 (REG_R9): Likewise.
2552 (REG_R10): Likewise.
2553 (REG_R11): Likewise.
2554 (REG_R12): Likewise.
2555 (REG_R13): Likewise.
2556 (REG_R14): Likewise.
2557 (REG_R15): Likewise.
2558 (struct _libc_fpstate): Likewise.
2559 (fpregset_t): Likewise.
2560 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2561 (NFPREG): Likewise.
2562 (gregset_t): Likewise.
2563 (fpregset_t): Likewise.
2564 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2565 (R_D1): Likewise.
2566 (R_D2): Likewise.
2567 (R_D3): Likewise.
2568 (R_D4): Likewise.
2569 (R_D5): Likewise.
2570 (R_D6): Likewise.
2571 (R_D7): Likewise.
2572 (R_A0): Likewise.
2573 (R_A1): Likewise.
2574 (R_A2): Likewise.
2575 (R_A3): Likewise.
2576 (R_A4): Likewise.
2577 (R_A5): Likewise.
2578 (R_A6): Likewise.
2579 (R_A7): Likewise.
2580 (R_SP): Likewise.
2581 (R_PC): Likewise.
2582 (R_PS): Likewise.
2583 (fpregset_t): Likewise.
2584 (MCONTEXT_VERSION): Likewise.
2585 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2586 Likewise.
2587 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2588 (REG_R1): Likewise.
2589 (REG_R2): Likewise.
2590 (REG_R3): Likewise.
2591 (REG_R4): Likewise.
2592 (REG_R5): Likewise.
2593 (REG_R6): Likewise.
2594 (REG_R7): Likewise.
2595 (REG_R8): Likewise.
2596 (REG_R9): Likewise.
2597 (REG_R10): Likewise.
2598 (REG_R11): Likewise.
2599 (REG_R12): Likewise.
2600 (REG_R13): Likewise.
2601 (REG_R14): Likewise.
2602 (REG_R15): Likewise.
2603 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2604 of <arch/abi.h> on [__USE_MISC].
2605 (greg_t): Condition on [__USE_MISC].
2606 (NGREG): Likewise.
2607 (gregset_t): Likewise.
2608
2609 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2610
2611 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2612 (__pthread_rwlock_arch_t): Remove __data definition.
2613 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2614 (__pthread_rwlock_arch_t): Likewise.
2615
2616 2017-05-11 Florian Weimer <fweimer@redhat.com>
2617
2618 * resolv/inet_pton.c: Reformat in GNU style. Remove
2619 internal_function on static functions.
2620
2621 2017-05-11 Florian Weimer <fweimer@redhat.com>
2622
2623 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2624 from format_ai_flags.
2625 (format_ai_flags): New function. Incorporate flag formatting code
2626 from format_ai_one.
2627 (format_ai_canonname): New function.
2628 (format_ai_one): Remove flags parameter.
2629 (format_ai_family): Likewise.
2630 (support_format_addrinfo): Call format_ai_flags,
2631 format_ai_canonname.
2632 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2633 check_ai.
2634 (check_ai): Call check_ai_hints.
2635 (do_test): Add AI_CANONNAME tests.
2636
2637 2017-05-11 Florian Weimer <fweimer@redhat.com>
2638
2639 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2640 (gaih_inet): Likewise.
2641
2642 2017-05-10 Andreas Schwab <schwab@suse.de>
2643
2644 * nptl/tst-fork1.c: Include <support/test-driver.c>.
2645 (main): Rename to do_test and make static.
2646
2647 2017-05-10 Joseph Myers <joseph@codesourcery.com>
2648
2649 * string/rawmemchr.c: Include <libc-diag.h>.
2650 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2651 with size (size_t)-1.
2652
2653 2017-05-09 Joseph Myers <joseph@codesourcery.com>
2654
2655 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2656 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2657 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2658
2659 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2660 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2661 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2662 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2663 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2664 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2665 * sysdeps/unix/sysv/linux/kernel-features.h
2666 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2667 socket syscalls.
2668 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2669 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2670 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2671 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2672 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2673 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2674 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2675 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2676 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2677 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2678 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2679 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2680 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2681 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2682 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2683
2684 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2685
2686 * posix/Makefile (headers): Add pthreadtypes-arch.h and
2687 thread-shared-types.h.
2688 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2689 specific thread definition.
2690 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2691 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2692 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2693 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2694 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2695 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2696 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2697 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2698 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2699 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2700 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2701 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2702 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2703 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2704 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2705 thread definition between POSIX and C11.
2706 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2707 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2708 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2709 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2710 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2711 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2712 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2713 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2714 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2715 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2716 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2717 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2718 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2719 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2720 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2721 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2722 definitions shared across all architectures.
2723
2724 2017-05-09 Joseph Myers <joseph@codesourcery.com>
2725
2726 * sysdeps/unix/sysv/linux/kernel-features.h
2727 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2728 (__ASSUME_SENDMMSG): Likewise.
2729 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2730 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2731 sendmmsg syscall if that can be assumed to be present, socketcall
2732 otherwise, with no fallback for runtime failure.
2733
2734 * sysdeps/unix/sysv/linux/kernel-features.h
2735 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2736 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2737 (__ASSUME_RECVMMSG): Likewise.
2738 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2739 recvmmsg syscall if it can be assumed to be present, socketcall
2740 otherwise, with no fallback for runtime failure.
2741
2742 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2743 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2744
2745 * bits/libc-header-start.h:
2746 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2747 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2748 * manual/creature.texi: Likewise.
2749
2750 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2751 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2752
2753 * math/Makefile:
2754 (type-float128-suffix): New variable
2755 (type-float128-routines): Likewise
2756 (type-float128-yes): Likewise
2757 (types): Append float128 if supported
2758 (types-basic): New variable to control the use of templates for
2759 float, double, and long double, but not for float128 or newer types.
2760 (type-basic-foreach): Likewise.
2761
2762 * sysdeps/ieee754/float128/Makeconfig: New file.
2763 * sysdeps/ieee754/float128/Versions: New file.
2764
2765 2017-05-09 Joseph Myers <joseph@codesourcery.com>
2766
2767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2768 Remove macro.
2769 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2770 prlimit64 is always available and does not give an ENOSYS error.
2771 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2772 unconditional.
2773 [!__NR_prlimit64]: Remove conditional code.
2774 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2775 prlimit64 is always available and does not give an ENOSYS error.
2776 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2777
2778 2017-05-09 Zack Weinberg <zackw@panix.com>
2779
2780 * sunrpc/tst-xdrmem2.c: Include stdint.h.
2781
2782 2017-05-09 Florian Weimer <fweimer@redhat.com>
2783
2784 [BZ #21474]
2785 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2786 (__res_maybe_init): Likewise.
2787
2788 2017-05-09 Zack Weinberg <zackw@panix.com>
2789
2790 * extra-modules.mk: Delete file.
2791 * cppflags-iterator.mk: Rename to ...
2792 * libof-iterator.mk: ...this. Adjust comments.
2793
2794 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2795 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2796 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2797 Use libof-iterator.mk instead of cppflags-iterator.mk or
2798 extra-modules.mk.
2799
2800 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2801 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2802
2803 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2804
2805 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2806
2807 2017-05-08 Carlos O'Donell <carlos@redhat.com>
2808
2809 * stdio-common/vfprintf.c (EXTSIZ): Define.
2810 (vfprintf): Use EXTSIZ.
2811 (printf_positional): Likewise.
2812
2813 2017-05-08 Joseph Myers <joseph@codesourcery.com>
2814
2815 * sysdeps/unix/sysv/linux/kernel-features.h
2816 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2817 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2818 <kernel-features.h>.
2819 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2820
2821 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2822 (__ASSUME_GETCPU_SYSCALL): Remove macro.
2823
2824 2017-05-08 Florian Weimer <fweimer@redhat.com>
2825
2826 Prevent multiple deletion of temporary files.
2827 * support/temp_file.c (struct temp_name_list): Add owner member.
2828 (add_temp_file): Record owner.
2829 (support_delete_temp_files): Delete file only if owner matches.
2830 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2831 (do_prepare): Use create_temp_file instead of add_temp_file.
2832 Initialize temp_fd1, temp_fd2.
2833 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
2834 framework remove the temporary files.
2835 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2836 (do_prepare): Use create_temp_file instead of add_temp_file.
2837 Initialize temp_fd1, temp_fd2, temp_fd3.
2838 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
2839 the test framework remove the temporary files.
2840 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2841 deletion.
2842 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2843 temporary directory. It is removed by the test framework.
2844 * dirent/tst-scandir.c (do_test): Likewise.
2845
2846 2017-05-08 Florian Weimer <fweimer@redhat.com>
2847
2848 Delete temporary files in LIFO order.
2849 * support/temp_file.c (struct temp_name_list): Replace q member
2850 with next.
2851 (add_temp_file): Add new file to front of linked list.
2852 (support_delete_temp_files): Use next member.
2853 (support_print_temp_files): Likewise.
2854
2855 2017-05-08 Florian Weimer <fweimer@redhat.com>
2856
2857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2858 sys/ultrasound.h.
2859 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2860
2861 2017-05-08 Joseph Myers <joseph@codesourcery.com>
2862
2863 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2864 Remove.
2865 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2866 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2867 (arch_minimum_kernel): Remove.
2868 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2869 * README: Update statement about Linux kernel requirements.
2870
2871 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2872
2873 * manual/llio.texi: Add preadv and pwritev documentation.
2874
2875 2017-05-04 Joseph Myers <joseph@codesourcery.com>
2876
2877 [BZ #21455]
2878 * bits/stdint-intn.h: New file.
2879 * bits/stdint-uintn.h: Likewise.
2880 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2881 bits/stdint-uintn.h.
2882 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2883 <stdint.h>.
2884 * posix/sys/types.h: Include <bits/stdint-intn.h>.
2885 (__int8_t_defined): Do not define here.
2886 (int8_t): Likewise.
2887 (int16_t): Likewise.
2888 (int32_t): Likewise.
2889 (int64_t): Likewise.
2890 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2891 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2892 <stdint.h>.
2893 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2894 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2895 <bits/stdint-uintn.h>.
2896 (int8_t): Do not define here.
2897 (int16_t): Likewise.
2898 (int32_t): Likewise.
2899 (int64_t): Likewise.
2900 (uint8_t): Likewise.
2901 (uint16_t): Likewise.
2902 (uint32_t): Likewise.
2903 (uint64_t): Likewise.
2904 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2905 variable.
2906 (test-xfail-XPG42/netdb.h/conform): Likewise.
2907 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2908 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2909 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2910 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2911
2912 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2913
2914 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2915 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2916 the above.
2917 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2919
2920 2017-05-04 Joseph Myers <joseph@codesourcery.com>
2921
2922 [BZ #21445]
2923 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2924
2925 [BZ #21457]
2926 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2927 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2928 __glibc_reserved1.
2929 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2930 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2931 (struct _fpxreg): Likewise.
2932 [!__x86_64__] (struct _fpstate): Rename field reserved to
2933 __glibc_reserved1. Rename field padding to __glibc_reserved2.
2934 [__x86_64__] (struct _fpstate): Rename field padding to
2935 __glibc_reserved1.
2936 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2937 Rename field reserved2 to __glibc_reserved2.
2938 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2939 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2940 __glibc_reserved1.
2941 [__x86_64__] (struct _libc_fpstate): Rename field padding to
2942 __glibc_reserved1.
2943
2944 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2945
2946 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2947 variable name.
2948
2949 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 [BZ #21391]
2952 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2953 Only call init_cpu_features.
2954 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2955 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2956 * sysdeps/i386/dl-procinfo.h: Removed.
2957 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2958 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
2959 <sysdeps/x86/dl-procinfo.h>.
2960 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2961 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2962 Include <sysdeps/x86/dl-procinfo.h> instead of
2963 <sysdeps/generic/dl-procinfo.h>.
2964 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2965 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2966 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2967 (bit_cpu_MOVBE): Likewise.
2968 (bit_cpu_BMI1): Likewise.
2969 (bit_cpu_BMI2): Likewise.
2970 (index_cpu_BMI1): Likewise.
2971 (index_cpu_BMI2): Likewise.
2972 (index_cpu_LZCNT): Likewise.
2973 (index_cpu_MOVBE): Likewise.
2974 (index_cpu_POPCNT): Likewise.
2975 (reg_BMI1): Likewise.
2976 (reg_BMI2): Likewise.
2977 (reg_LZCNT): Likewise.
2978 (reg_MOVBE): Likewise.
2979 (reg_POPCNT): Likewise.
2980 * sysdeps/x86/dl-hwcap.h: New file.
2981 * sysdeps/x86/dl-procinfo.h: Likewise.
2982 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2983 (_dl_x86_platforms): Likewise.
2984
2985 2017-05-03 DJ Delorie <dj@redhat.com>
2986
2987 [BZ #21411]
2988 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2989
2990 2017-05-03 Phil Blundell <pb@pbcl.net>
2991
2992 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2993 comments.
2994
2995 2017-05-03 Carlos O'Donell <carlos@redhat.com>
2996
2997 [BZ #20116]
2998 * nptl/pthread_create.c: Expand comments to describe
2999 semaphore-like and mutex-like uses of PD->lock.
3000
3001 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3002
3003 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
3004 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
3005 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
3006 auto-generation list.
3007 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3008 epoll_wait.
3009 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
3010 Remove epoll_wait.
3011
3012 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3013 osf_select.
3014 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
3015 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
3016 osf_select from auto-generation list.
3017 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3018 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3019 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
3020 * sysdeps/unix/sysv/linux/select.c: New file.
3021
3022 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
3023 * sysdeps/unix/sysv/linux/poll.c: New file.
3024 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
3025 auto-generation list.
3026
3027 2017-05-03 Joseph Myers <joseph@codesourcery.com>
3028
3029 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
3030 New macro.
3031
3032 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
3033
3034 [BZ #21179]
3035 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
3036 R_SPARC_REGISTER relocations.
3037
3038 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3039
3040 * include/unistd.h (__pread): Add libc_hidden_proto.
3041 (__pread64): Likewise.
3042 (__pwrite): Likewise.
3043 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
3044 (__pread64): Remove.
3045 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
3046 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
3047 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
3048
3049 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3050
3051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3052
3053 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3054
3055 * nptl/tst-cancel4-common.c: Use libsupport.
3056 * nptl/tst-cancel4-common.h: Likewise.
3057 * nptl/tst-cancel4.c (tf_read): Likewise.
3058 (tf_readv): Likewise.
3059 (tf_write): Likewise.
3060 (tf_writev): Likewise.
3061 (tf_sleep): Likewise.
3062 (tf_usleep): Likewise.
3063 (tf_nanosleep): Likewise.
3064 (tf_select): Likewise.
3065 (tf_pselect): Likewise.
3066 (tf_poll): Likewise.
3067 (tf_ppoll): Likewise.
3068 (tf_wait): Likewise.
3069 (tf_waitpid): Likewise.
3070 (tf_waitid): Likewise.
3071 (tf_sigpause): Likewise.
3072 (tf_sigsuspend): Likewise.
3073 (tf_sigwait): Likewise.
3074 (tf_sigwaitinfo): Likewise.
3075 (tf_sigtimedwait): Likewise.
3076 (tf_pause): Likewise.
3077 (tf_accept): Likewise.
3078 (tf_send): Likewise.
3079 (tf_recv): Likewise.
3080 (tf_recvfrom): Likewise.
3081 (tf_recvmsg): Likewise.
3082 (tf_open): Likewise.
3083 (tf_close): Likewise.
3084 (tf_pread): Likewise.
3085 (tf_pwrite): Likewise.
3086 (tf_preadv): Likewise.
3087 (tf_pwritev): Likewise.
3088 (tf_fsync): Likewise.
3089 (tf_fdatasync): Likewise.
3090 (tf_msync): Likewise.
3091 (tf_sendto): Likewise.
3092 (tf_sendmsg): Likewise.
3093 (tf_creat): Likewise.
3094 (tf_connect): Likewise.
3095 (tf_tcdrain): Likewise.
3096 (tf_msgrcv): Likewise.
3097 (tf_msgsnd): Likewise.
3098 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
3099 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
3100
3101 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
3102 expected arguments.
3103 (do_test): Adapt to use libsupport.
3104
3105 2017-05-01 Joseph Myers <joseph@codesourcery.com>
3106
3107 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
3108
3109 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
3110 (PF_MAX): Set to 44.
3111 (AF_SMC): New macro.
3112
3113 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3114 kernel version to 4.11.
3115
3116 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3117
3118 [BZ #21280]
3119 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
3120 signal of subnormals and adjust the exponent of power of 2 down
3121 when low part has opposite sign.
3122
3123 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3124
3125 * sysdeps/powerpc/powerpc64le/Implies: New file.
3126 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
3127 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
3128 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
3129 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
3130 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
3131 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
3132 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
3133 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
3134 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
3135 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
3136 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
3137 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
3138 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
3139 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
3140 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
3141 * sysdeps/powerpc/preconfigure: New file.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
3144
3145 2017-04-28 Joseph Myers <joseph@codesourcery.com>
3146
3147 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
3148 inclusion.
3149 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
3150 Remove.
3151
3152 2017-04-27 Joseph Myers <joseph@codesourcery.com>
3153
3154 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
3155 (XPG3): Rename standard to XPG4.
3156 * conform/Makefile: Likewise.
3157 * conform/list-header-symbols.pl: Likewise.
3158 * conform/data/aio.h-data: Likewise.
3159 * conform/data/arpa/inet.h-data: Likewise.
3160 * conform/data/complex.h-data: Likewise.
3161 * conform/data/ctype.h-data: Likewise.
3162 * conform/data/dlfcn.h-data: Likewise.
3163 * conform/data/fcntl.h-data: Likewise.
3164 * conform/data/fenv.h-data: Likewise.
3165 * conform/data/float.h-data: Likewise.
3166 * conform/data/fmtmsg.h-data: Likewise.
3167 * conform/data/ftw.h-data: Likewise.
3168 * conform/data/grp.h-data: Likewise.
3169 * conform/data/inttypes.h-data: Likewise.
3170 * conform/data/iso646.h-data: Likewise.
3171 * conform/data/langinfo.h-data: Likewise.
3172 * conform/data/libgen.h-data: Likewise.
3173 * conform/data/limits.h-data: Likewise.
3174 * conform/data/locale.h-data: Likewise.
3175 * conform/data/math.h-data: Likewise.
3176 * conform/data/mqueue.h-data: Likewise.
3177 * conform/data/ndbm.h-data: Likewise.
3178 * conform/data/net/if.h-data: Likewise.
3179 * conform/data/netdb.h-data: Likewise.
3180 * conform/data/netinet/in.h-data: Likewise.
3181 * conform/data/poll.h-data: Likewise.
3182 * conform/data/pthread.h-data: Likewise.
3183 * conform/data/pwd.h-data: Likewise.
3184 * conform/data/sched.h-data: Likewise.
3185 * conform/data/search.h-data: Likewise.
3186 * conform/data/semaphore.h-data: Likewise.
3187 * conform/data/signal.h-data: Likewise.
3188 * conform/data/spawn.h-data: Likewise.
3189 * conform/data/stdbool.h-data: Likewise.
3190 * conform/data/stdint.h-data: Likewise.
3191 * conform/data/stdio.h-data: Likewise.
3192 * conform/data/stdlib.h-data: Likewise.
3193 * conform/data/string.h-data: Likewise.
3194 * conform/data/strings.h-data: Likewise.
3195 * conform/data/stropts.h-data: Likewise.
3196 * conform/data/sys/mman.h-data: Likewise.
3197 * conform/data/sys/resource.h-data: Likewise.
3198 * conform/data/sys/select.h-data: Likewise.
3199 * conform/data/sys/socket.h-data: Likewise.
3200 * conform/data/sys/stat.h-data: Likewise.
3201 * conform/data/sys/statvfs.h-data: Likewise.
3202 * conform/data/sys/time.h-data: Likewise.
3203 * conform/data/sys/timeb.h-data: Likewise.
3204 * conform/data/sys/types.h-data: Likewise.
3205 * conform/data/sys/uio.h-data: Likewise.
3206 * conform/data/sys/un.h-data: Likewise.
3207 * conform/data/sys/wait.h-data: Likewise.
3208 * conform/data/syslog.h-data: Likewise.
3209 * conform/data/termios.h-data: Likewise.
3210 * conform/data/tgmath.h-data: Likewise.
3211 * conform/data/time.h-data: Likewise.
3212 * conform/data/ucontext.h-data: Likewise.
3213 * conform/data/unistd.h-data: Likewise.
3214 * conform/data/utmpx.h-data: Likewise.
3215 * conform/data/varargs.h-data: Likewise.
3216 * conform/data/wchar.h-data: Likewise.
3217 * conform/data/wctype.h-data: Likewise.
3218
3219 2017-04-26 Joseph Myers <joseph@codesourcery.com>
3220
3221 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3222 version to 7 branch.
3223
3224 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
3225
3226 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3227 earlyclobber to output operand of sqrt insn.
3228 (__ieee754_sqrtf): Ditto.
3229
3230 2017-04-25 Joseph Myers <joseph@codesourcery.com>
3231
3232 [BZ #21426]
3233 * misc/bits/types/struct_iovec.h: New file.
3234 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3235 * include/bits/types/struct_iovec.h: New file.
3236 * bits/uio.h (struct iovec): Replace by inclusion of
3237 <bits/types/struct_iovec.h>.
3238 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3239 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3240 of <sys/uio.h>.
3241 * nptl/tst-cancel4.c: Include <sys/uio.h>
3242 * posix/test-errno.c: Likewise.
3243 * support/resolv_test.c: Likewise.
3244 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3245 Remove.
3246 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3247 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3248 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3249
3250 * conform/data/sys/socket.h-data (*_t): Allow.
3251
3252 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3253
3254 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3255 assignment.
3256
3257 2017-04-24 Daurnimator <quae@daurnimator.com>
3258 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3259
3260 [BZ #21340]
3261 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3262 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3263 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3264 valid flags.
3265 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3266 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3267 POSIX_SPAWN_SETSID.
3268 * sysdeps/posix/spawni.c (__spawni): Likewise.
3269 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3270 * NEWS: Add note about POSIX_SPAWN_SETSID support.
3271
3272 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3273
3274 * sysdeps/generic/math_private.h: Move the declaration of many
3275 functions to sysdeps/generic/math_private_calls.h.
3276 * sysdeps/generic/math_private_calls.h: New file with the
3277 declarations of the functions removed from math_private.h
3278 macroized by floating-point type.
3279
3280 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3281
3282 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3283 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3284 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3285 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3286 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3287 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3288
3289 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3290
3291 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3292 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3293 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3294 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3295 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3296 New Define.
3297
3298 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3299
3300 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3301 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3302 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3303 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3304 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3305 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3306
3307 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3308
3309 * sysdeps/s390/multiarch/ifunc-resolve.h
3310 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3311 * sysdeps/s390/multiarch/8bit-generic.c
3312 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3313 define ifunc resolvers.
3314
3315 2017-04-21 Florian Weimer <fweimer@redhat.com>
3316
3317 [BZ #20424]
3318 * manual/memory.texi (Replacing malloc): New section.
3319 (Allocating Storage For Program Data): Reference it.
3320 (The GNU Allocator): Likewise.
3321
3322 2017-04-20 Joseph Myers <joseph@codesourcery.com>
3323
3324 * stdlib/Versions (__strtod_internal): List explicitly, not as
3325 wildcard.
3326 (__strtof_internal): Likewise.
3327 (__strtold_internal): Likewise.
3328 (__strtol_internal): Likewise.
3329 (__strtoll_internal): Likewise.
3330 (__strtoul_internal): Likewise.
3331 (__strtoull_internal): Likewise.
3332 (__strtoq_internal): Likewise.
3333 (__strtouq_internal): Likewise.
3334 * wcsmbs/Versions (__wcstod_internal): Likewise.
3335 (__wcstof_internal): Likewise.
3336 (__wcstold_internal): Likewise.
3337 (__wcstol_internal): Likewise.
3338 (__wcstoll_internal): Likewise.
3339 (__wcstoul_internal): Likewise.
3340 (__wcstoull_internal): Likewise.
3341
3342 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3343
3344 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3345 struct timespec definition.
3346
3347 2017-04-19 Florian Weimer <fweimer@redhat.com>
3348
3349 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3350
3351 2017-04-19 Florian Weimer <fweimer@redhat.com>
3352
3353 * inet/rcmd.c (rresvport_af): Fix typo in comment.
3354 * inet/rexec.c (rexec_af): Likewise.
3355
3356 2017-04-19 Zack Weinberg <zackw@panix.com>
3357
3358 * posix/tst-mmap-offset.c: Include stdint.h.
3359 * resolv/tst-ns_name_compress.c: Include string.h.
3360 * resolv/tst-resolv-edns.c: Include resolv.h.
3361
3362 2017-04-19 Florian Weimer <fweimer@redhat.com>
3363
3364 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3365 with __glibc_likely.
3366 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3367 Replace __builtin_expect with __glibc_unlikely.
3368 * resolv/res_init.c (__res_vinit): Likewise.
3369 * resolv/res_query.c (__libc_res_nquery): Likewise.
3370 * resolv/res_send.c (__libc_res_nsend): Likewise.
3371
3372 2017-04-19 Florian Weimer <fweimer@redhat.com>
3373
3374 [BZ #15722]
3375 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3376 with SOCK_CLOEXEC.
3377 * resolv/res_send.c (send_vc, reopen): Likewise.
3378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3379 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3380 Likewise.
3381 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3382 * inet/rexec.c (rexec_af): Add comment.
3383 * inet/rcmd.c (rresvport_af): Likewise.
3384
3385 2017-04-19 Florian Weimer <fweimer@redhat.com>
3386
3387 * nscd/connections.c (have_accept4): Removed definition.
3388 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3389 accept4 works.
3390 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3391 ia64 because that was the first version with accept4 support.
3392 * support/Makefile (libsupport-routines): Add xaccept4.
3393 * support/xsocket.h (xaccept4): Declare.
3394 * support/xaccept4.c: New file.
3395 * socket/tst-accept4.c: New file.
3396 * socket/Makefile (tests): Add tst-accept4.
3397 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
3398 definition.
3399 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
3400 comment.
3401 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
3402 implementation is available.
3403 (accept4): Use the system call if available, otherwise use the
3404 socket call.
3405 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
3406 Set to 3.2.18.
3407 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3408 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
3409 accept4 is unconditionally available in later 3.2 stable kernels.
3410 (__ASSUME_ACCEPT4_SYSCALL): Define.
3411 * sysdeps/unix/sysv/linux/kernel-features.h
3412 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
3413 definitions.
3414 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3415 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
3416
3417 2017-04-18 Joseph Myers <joseph@codesourcery.com>
3418
3419 * conform/Makefile (tests-special): Do not make addition of
3420 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
3421 (generated): Do not make addition of $(conformtest-header-base)
3422 conditional on [$(cross-compiling) = no].
3423
3424 [BZ #21267]
3425 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
3426 if defined by <asm/socket.h> and not previously defined.
3427 (IOCSIZE_SHIFT): Likewise.
3428 (IOC_IN): Likewise.
3429 (IOC_INOUT): Likewise.
3430 (IOC_OUT): Likewise.
3431
3432 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 [BZ #21396]
3435 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3436 Prefer_No_AVX512 if AVX512ER isn't available.
3437 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
3438 (index_arch_Prefer_No_AVX512): Likewise.
3439 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
3440 AVX512 version if Prefer_No_AVX512 is set.
3441 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
3442 Likewise.
3443 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
3444 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
3445 Likewise.
3446 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3447 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
3448 Likewise.
3449 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
3450 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
3451 Likewise.
3452
3453 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
3454
3455 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3456 Prefer_No_VZEROUPPER if AVX512ER is available.
3457 * sysdeps/x86/cpu-features.h
3458 (bit_cpu_AVX512PF): New.
3459 (bit_cpu_AVX512ER): Likewise.
3460 (bit_cpu_AVX512CD): Likewise.
3461 (bit_cpu_AVX512BW): Likewise.
3462 (bit_cpu_AVX512VL): Likewise.
3463 (index_cpu_AVX512PF): Likewise.
3464 (index_cpu_AVX512ER): Likewise.
3465 (index_cpu_AVX512CD): Likewise.
3466 (index_cpu_AVX512BW): Likewise.
3467 (index_cpu_AVX512VL): Likewise.
3468 (reg_AVX512PF): Likewise.
3469 (reg_AVX512ER): Likewise.
3470 (reg_AVX512CD): Likewise.
3471 (reg_AVX512BW): Likewise.
3472 (reg_AVX512VL): Likewise.
3473
3474 2017-04-18 Florian Weimer <fweimer@redhat.com>
3475
3476 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
3477 O_CLOEXEC is defined.
3478 * include/fcntl.h (__have_o_cloexec): Remove declaration.
3479 * io/Makefile (aux): Remove.
3480 * io/have_o_cloexec.c: Remove file.
3481 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
3482 defined and works.
3483 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
3484 defined.
3485 * login/utmp_file.c (O_flags): Remove definition.
3486 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
3487 O_CLOEXEC works.
3488 (pututline_file): Likewise.
3489 * malloc/mtrace.c: Assume that O_CLOEXEC works.
3490 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
3491 definition.
3492 (internal_setgrent): Assume that O_CLOEXEC works.
3493 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
3494 Remove definition.
3495 (internal_setgrent): Assume that O_CLOEXEC works.
3496 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
3497 definition.
3498 (internal_setpwent): Assume that O_CLOEXEC works.
3499 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
3500 definition.
3501 (internal_setspent): Assume that O_CLOEXEC works.
3502 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
3503 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
3504 O_CLOEXEC is defined and works.
3505 * nss/Makefile (libnss_files-routines): Remove
3506 files-have_o_cloexec.
3507 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
3508 defined.
3509 * nss/nss_files/files-XXX.c (internal_setent): Assume that
3510 O_CLOEXEC is defined and works.
3511 * nss/nss_files/files-alias.c (internal_setent): Likewise.
3512 * nss/nss_files/files-have_o_cloexec.c: Remove.
3513 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
3514 defined.
3515 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
3516 and works.
3517 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
3518 definition.
3519 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
3520 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
3521 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
3522 (__opendirat, __opendir): Adjust opendir_oflags call.
3523 (check_have_o_cloexec): Remove.
3524 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
3525 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
3526 defined.
3527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
3528 Remove definition.
3529
3530 2017-04-18 Florian Weimer <fweimer@redhat.com>
3531
3532 * include/unistd.h (__have_dup3): Remove declaration.
3533 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
3534 dup3 is available.
3535 * libio/freopen64.c (freopen64): Likewise.
3536 * socket/Makefile (aux): Remove have_sock_cloexec.
3537 * socket/have_sock_cloexec.c: Remove file.
3538 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3539 definition.
3540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3541 Likewise.
3542 * sysdeps/nacl/kernel-features.h: Update comment.
3543
3544 2017-04-18 Florian Weimer <fweimer@redhat.com>
3545
3546 * include/unistd.h (__have_pipe2): Remove declaration.
3547 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3548 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3549 available.
3550 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3551 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3552 Remove definition.
3553
3554 2017-04-18 Florian Weimer <fweimer@redhat.com>
3555
3556 * malloc/malloc.c (cfree): Turn into compat symbol.
3557 (__cfree): Remove alias.
3558 * stdlib/stdlib.h (cfree): Remove declaration.
3559 * malloc/malloc.h (cfree): Likewise.
3560 * manual/memory.texi (Freeing after Malloc): Remove cfree.
3561 * malloc/Versions (GLIBC_2.26): Add.
3562
3563 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3564
3565 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3566 (sysdep_routines): Add strrchr-power8.
3567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3568 (strrchr): Add __strrchr_power8 to list of strrchr functions.
3569 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3570 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3571 (strrchr): Add __strrchr_power8 to ifunc list.
3572 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3573
3574 2017-04-17 Rabin Vincent <rabinv@axis.com>
3575
3576 [BZ #21357]
3577 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3578 Call free() outside of mutex.
3579
3580 2017-04-13 Florian Weimer <fweimer@redhat.com>
3581
3582 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3583 is defined.
3584 * elf/rtld.c (process_envvars): Likewise.
3585 * sysdeps/posix/shm_open.c (shm_open): Likewise.
3586 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
3587 O_NOFOLLOW directly.
3588 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3589
3590 2017-04-13 Florian Weimer <fweimer@redhat.com>
3591
3592 [BZ #21369]
3593 Remove EDNS fallback.
3594 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3595 handling.
3596 * resolv/res_send.c (send_dg): Likewise.
3597 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3598 "tcp." prefixes.
3599 (do_test): Send a "formerr."-prefixed query in an attempt to
3600 trigger EDNS fallback.
3601
3602 2017-04-13 Florian Weimer <fweimer@redhat.com>
3603
3604 [BZ #21361]
3605 Limit EDNS buffer size to 1200 bytes.
3606 * include/resolv.h (__res_nopt): Remove declaration.
3607 * resolv/Makefile (tests): tst-resolv-edns.
3608 (tst-resolv-edns): Link with -lresolv, -lpthread.
3609 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3610 interval [512, 1200].
3611 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3612 we can resize the buffer.
3613 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3614 (__res_nopt): Declare.
3615 * resolv/tst-resolv-edns.c: New file.
3616 * resolv/resolv_test.h (struct resolv_edns_info): Define.
3617 (struct resolv_response_context): Add edns member.
3618 * resolv/resolv_test.c (struct query_info): Add edns member.
3619 (parse_query): Extract EDNS information from the query.
3620 (server_thread_udp_process_one): Propagate EDNS data.
3621 (server_thread_tcp_client): Likewise.
3622
3623 2017-04-13 Florian Weimer <fweimer@redhat.com>
3624
3625 [BZ #21359]
3626 * resolv/ns_name.c (ns_name_pack): Do not require an additional
3627 byte in the destination buffer. Avoid out-of-bounds pointer
3628 arithmetic.
3629 * resolv/Makefile (tests): Add tst-ns_name_compress.
3630 (tst-ns_name_compress): Link with -lresolv.
3631 * resolv/tst-ns_name_compress.c: New file.
3632 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3633 (response): Recognize LONG_NAME.
3634 (do_test): Add LONG_NAME tests.
3635 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3636 for ns_name_unpack. Add tests for ns_name_pton and
3637 ns_name_compress.
3638
3639 2017-04-13 Florian Weimer <fweimer@redhat.com>
3640
3641 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3642 (res_nisourserver): Remove definition.
3643 (p_section, res_npquery, res_nisourserver): Remove declaration.
3644 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3645 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3646 ... here.
3647 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3648 <resolv.h>.
3649 * resolv/res_query.c: Likewise.
3650 * resolv/res_debug.c (p_section): Define as static.
3651
3652 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3653
3654 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3655 strncat-power8.
3656 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3657 __strncat_power8 to ifunc list.
3658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3659 (strncat): Add __strncat_power8 to list of strncat functions.
3660 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3661
3662 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3663
3664 [BZ #21270]
3665 * posix/tst-mmap-offset.c (do_prepare): New function.
3666 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3667 (do_test_bz21270): New function.
3668 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3669 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3670 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3671 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3672 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3673 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3674 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3675 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3676 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3677 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3678 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3679 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3680 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3681 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3682 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3683 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3684 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3685 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3686 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3687 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3688 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3689 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3690 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3691 from auto-generation list.
3692 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3694 * sysdeps/unix/sysv/linux/mmap.c: New file.
3695 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3696 offsets and support for mmap2 syscall.
3697
3698 * posix/globtest.sh: Add cleanup routine on trap 0.
3699
3700 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
3701
3702 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3703 implementation-specific function name and remove unneeded
3704 macros definition.
3705 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3706 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3707 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3708 name if not defined and pass as parameter to macros accordingly.
3709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3710 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3711
3712 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3713 implementation-specific function name and remove unneeded
3714 macros definition.
3715 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3717 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3719 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3720 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3721 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3722 name if not defined and pass as parameter to macros accordingly.
3723 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3724 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3726 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3727 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3728 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3729
3730 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3731 implementation-specific function name and remove unneeded macros
3732 definition.
3733 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3734 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3735 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3736 function name if not defined and pass as parameter to macros
3737 accordingly.
3738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3739 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3740
3741 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3742 implementation-specific function name and remove unneeded macros
3743 definition.
3744 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3745 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3746 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3747 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3748 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3749 not defined and pass as parameter to macros accordingly.
3750 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3751 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3752 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3753 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3754
3755 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3756 strcasestr implementation name and remove unneeded macros definition.
3757 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3758 strstr implementation name and remove unneeded macros definition.
3759 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3760 name if not defined and pass as parameter to macros accordingly.
3761 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3762
3763 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3764 implementation-specific function name and remove unneeded macros
3765 definition.
3766 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3767 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3770 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3771 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3772 function name if not defined and pass as parameter to macros
3773 accordingly.
3774 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3775 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3777 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3778
3779 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3780 the strlen implementation name and remove unneeded macros definition.
3781 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3782 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3783 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3784 the strnlen implementation name and remove unneeded macros definition.
3785 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3786 name if not defined and pass as parameter to macros accordingly.
3787 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3788 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3789 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3790
3791 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3792 the implementation-specific function name and remove unneeded
3793 macros definition.
3794 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3795 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3796 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3797 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3798 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3799 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3800 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3801 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3802 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3803 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3804 name if not defined and pass as parameter to macros accordingly.
3805 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3806 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3807 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3808 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3809 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3810 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3811 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3812 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3813
3814 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3815 implementation-specific function name and remove unneeded macros
3816 definition.
3817 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3818 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3819 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3820 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3821 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3822 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3823 function name if not defined.
3824 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3825 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3826
3827 2017-04-11 Paul Clarke <pc@us.ibm.com>
3828
3829 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3830 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3831 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
3832 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3833
3834 2017-04-11 Florian Weimer <fweimer@redhat.com>
3835 Zack Weinberg <zackw@panix.com>
3836
3837 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3838 readdir64 as thread-safe. Update warning about readdir_r.
3839
3840 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3841
3842 * sysdeps/unix/sysv/linux/x86/Implies: New file.
3843 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3844 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3845 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3846 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3847 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3848 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3849
3850 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 * sysdeps/i386/dl-procinfo.c: Include
3853 <sysdeps/x86/dl-procinfo.c>.
3854 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3855 * sysdeps/x86/dl-procinfo.c: New file.
3856
3857 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3858
3859 * sysdeps/generic/math_private.h: Remove declarations of
3860 many functions that are already declared in math.h.
3861 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3862 declaration for __frexpl.
3863 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3864 the declarations for __scalbnl and fabsl.
3865
3866 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
3867
3868 [BZ #20831]
3869 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3870 of __mprotect to change protection on the excess portion
3871 to disallow all access.
3872
3873 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
3874
3875 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3876 HAS_CPU_FEATURE to check for SSE.
3877 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3878 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3879 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3880 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3881 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3882 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3883 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3884 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3885 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3886 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3887 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3888 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3889 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3890 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3891 (index_cpu_SSE): Likewise.
3892 (reg_SSE): Likewise.
3893
3894 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
3895
3896 * posix/getopt1.c: Include <config.h>, not "config.h".
3897
3898 2017-04-07 Zack Weinberg <zackw@panix.com>
3899
3900 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3901 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3902 Mention in top-of-file boilerplate that these files are shared
3903 with gnulib.
3904 * posix/getopt.h, posix/bits/getopt_posix.h:
3905 Mention in top-of-file boilerplate that these files are NOT shared
3906 with gnulib, unlike the rest of the getopt implementation.
3907
3908 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3909 New files, intended to be shared with gnulib.
3910 * posix/bits/getopt_posix.h:
3911 New file, not intended to be shared with gnulib.
3912 * posix/getopt.h: Now just includes features.h,
3913 bits/getopt_core.h, and bits/getopt_ext.h. Will
3914 no longer be shared with gnulib.
3915 * include/bits/getopt_core.h, include/bits/getopt_ext.h
3916 * include/bits/getopt_posix.h: New wrappers.
3917 * posix/Makefile: Install new headers.
3918 * posix/unistd.h, libio/stdio.h:
3919 Include bits/getopt_posix.h instead of getopt.h.
3920
3921 * include/libc-symbols.h: For gnulib compatibility, define
3922 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3923 _GL_ATTRIBUTE_CONST.
3924 * posix/getopt.c (_getopt_initialize): Mark argc and argv
3925 parameters with _GL_UNUSED.
3926
3927 * posix/getopt.c: When used standalone, define __libc_use_alloca
3928 as always false and alloca to abort if called.
3929 (process_long_option): Rewrite handling of ambiguous long options
3930 to use a single boolean vector, not a linked list; use
3931 __libc_use_alloca to decide whether to allocate this using alloca.
3932 * posix/tst-getopt_long1.c: Adjust text of expected error message.
3933
3934 * posix/getopt.c (process_long_option): New function split out
3935 from _getopt_internal_r.
3936 (_getopt_internal_r): Replace both copies of the long-option
3937 processing code with calls to process_long_option.
3938 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3939 (do_test): Differentiate argv[0] in the two subtests.
3940
3941 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3942 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3943 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3944
3945 * posix/getopt.h: Add backup definition of __nonnull for
3946 consistency with gnulib. Define __getopt_argv_const to const
3947 if not already defined.
3948 (getopt): Update doc comment from gnulib. Prototype
3949 unconditionally. Add __nonnull annotation.
3950 (__posix_getopt): Add __nonnull annotation.
3951 (getopt_long, getopt_long_only): Use __getopt_argv_const in
3952 prototypes for consistency with gnulib. Add __nonnull
3953 annotations.
3954 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3955 (getopt_internal): Change 'argv' argument to type 'char **'.
3956 Remove now-unnecessary casts.
3957 (getopt, __posix_getopt): Eliminate repetition with a macro.
3958 Cast 'argv' to 'char **' when calling _getopt_internal.
3959 * posix/getopt1.c (getopt_long, getopt_long_only):
3960 Use __getopt_argv_const for consistency with gnulib.
3961 Cast 'argv' to 'char **' when calling _getopt_internal.
3962 (_getopt_long_r, _getopt_long_only_r):
3963 Change 'argv' argument to type 'char **'.
3964 (main): Constify 'long_options'.
3965 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3966 (_getopt_long_r, _getopt_long_only_r):
3967 Change 'argv' argument to type 'char **'.
3968
3969 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3970 (locked_vfxprintf): New helper function. Handle arbitrary
3971 multibyte strings, not just ASCII.
3972 * include/stdio.h: Declare __fxprintf_nocancel.
3973 * posix/getopt.c: When _LIBC is defined, define fprintf to
3974 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3975 to _IO_funlockfile. When neither _LIBC nor
3976 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3977 funlockfile as no-ops.
3978 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3979 the standalone error-printing code can now be used for libc as
3980 well. Add an flockfile/funlockfile pair around one case where
3981 the error message is printed in several chunks. Don't use fputc.
3982 * posix/tst-getopt-cancel.c: New test.
3983 * posix/Makefile: Run it.
3984
3985 * posix/getopt.c (_getopt_internal_r): Don't increment
3986 d->optind a second time when reporting ambiguous -W options.
3987
3988 * posix/getopt_int.h: Include getopt.h.
3989 Use impl-namespace names for all arguments to _getopt_internal and
3990 _getopt_internal_r.
3991 Declare __ordering enum outside the struct.
3992 Harmonize comments with gnulib.
3993 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3994 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
3995 #ifdef TEST block and make unconditional. Do not define NULL.
3996 * posix/getopt.c: Partial merge from gnulib, covering the
3997 initial includes and global declarations, commentary, and
3998 a couple of semantically-neutral code changes.
3999
4000 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
4001 Use '...' instead of `...' for quotation marks inside
4002 comments and strings.
4003
4004 * config.h.in (USE_NONOPTION_FLAGS): Remove.
4005 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
4006 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4007 * posix/getopt_int.h: Likewise.
4008 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
4009 __libc_argc and __libc_argv externs, which were only used by
4010 #ifdef USE_NONOPTION_FLAGS blocks.
4011 * posix/getopt_init.c: Remove file.
4012 * posix/Makefile (routines): Remove getopt_init.
4013 * include/getopt.h: Don't declare __getopt_initialize_environment.
4014 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
4015 a comment.
4016
4017 2017-04-07 Florian Weimer <fweimer@redhat.com>
4018
4019 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
4020
4021 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4022
4023 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
4024 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
4025 to __wrap_.udiv.
4026 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
4027 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
4028
4029 * sysdeps/i386/symbol-hacks.h: New file.
4030 * sysdeps/m68k/symbol-hacks.h: New file.
4031 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
4032 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
4033 * sysdeps/unix/sysv/linux/i386/Makefile
4034 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4035 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4036 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4037 * sysdeps/unix/sysv/linux/m68k/Makefile
4038 [$(subdir) = csu] (sysdep_routines): Likewise.
4039 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4040 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4042 [$(subdir) = csu] (sysdep_routines): Likewise.
4043 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4044 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4045 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4046 [$(subdir) = csu] (sysdep_routines): Likewise.
4047 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4048 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4049 * sysdeps/wordsize-32/Makefile: Remove file.
4050 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
4051 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
4052
4053 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
4056 (TEST_FUNCTION_ARGV): New.
4057
4058 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4059
4060 * elf/next.c: Import support/test-driver.c instead of
4061 test-skeleton.c and delete TEST_FUNCTION macro definition.
4062 * elf/nodelete.c: Likewise.
4063 * elf/order2.c: Likewise.
4064 * elf/tst-_dl_addr_inside_object.c: Likewise.
4065 * elf/tst-addr1.c: Likewise.
4066 * elf/tst-align.c: Likewise.
4067 * elf/tst-align2.c: Likewise.
4068 * elf/tst-audit11.c: Likewise.
4069 * elf/tst-audit12.c: Likewise.
4070 * elf/tst-audit2.c: Likewise.
4071 * elf/tst-audit9.c: Likewise.
4072 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
4073 * elf/tst-deep1.c: Likewise.
4074 * elf/tst-dl-iter-static.c: Likewise.
4075 * elf/tst-dlmodcount.c: Likewise.
4076 * elf/tst-dlmopen1.c: Likewise.
4077 * elf/tst-dlmopen2.c: Likewise.
4078 * elf/tst-dlmopen3.c: Likewise.
4079 * elf/tst-dlopen-aout.c: Likewise.
4080 * elf/tst-dlopenrpath.c: Likewise.
4081 * elf/tst-dlsym-error.c: Likewise.
4082 * elf/tst-execstack-needed.c: Likewise.
4083 * elf/tst-execstack-prog.c: Likewise.
4084 * elf/tst-execstack.c: Likewise.
4085 * elf/tst-global1.c: Likewise.
4086 * elf/tst-gnu2-tls1.c: Likewise.
4087 * elf/tst-latepthread.c: Likewise.
4088 * elf/tst-leaks1.c: Likewise.
4089 * elf/tst-linkall-static.c: Likewise.
4090 (do_test): New function.
4091 * elf/tst-nodelete-opened.c: Likewise.
4092 * elf/tst-nodelete.cc: Likewise.
4093 * elf/tst-nodelete2.c: Likewise.
4094 * elf/tst-noload.c: Likewise.
4095 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
4096 * elf/tst-order-main.c: Likewise.
4097 * elf/tst-pathopt.c: Likewise.
4098 * elf/tst-pie2.c: Likewise.
4099 * elf/tst-piemod1.c: Likewise.
4100 * elf/tst-prelink.c: Likewise.
4101 * elf/tst-protected1a.c: Likewise.
4102 * elf/tst-protected1b.c: Likewise.
4103 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
4104 and define _GNU_SOURCE macro.
4105 (cmdline_process_function): New function.
4106 * elf/tst-relsort1.c: Likewise.
4107 * elf/tst-stackguard1.c: Likewise, import getopt.h,
4108 and define _GNU_SOURCE macro.
4109 (cmdline_process_function): New function.
4110 * elf/tst-thrlock.c: Likewise.
4111 * elf/tst-tls-dlinfo.c: Likewise.
4112 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
4113 * elf/tst-tls1.c: Likewise.
4114 * elf/tst-tls10.c: Likewise.
4115 * elf/tst-tls11.c: Likewise.
4116 * elf/tst-tls12.c: Likewise.
4117 * elf/tst-tls13.c: Likewise.
4118 * elf/tst-tls14.c: Likewise.
4119 * elf/tst-tls15.c: Likewise.
4120 * elf/tst-tls16.c: Likewise.
4121 * elf/tst-tls17.c: Likewise.
4122 * elf/tst-tls18.c: Likewise.
4123 * elf/tst-tls19.c: Likewise.
4124 * elf/tst-tls2.c: Likewise.
4125 * elf/tst-tls3.c: Likewise.
4126 * elf/tst-tls4.c: Likewise.
4127 * elf/tst-tls5.c: Likewise.
4128 * elf/tst-tls6.c: Likewise.
4129 * elf/tst-tls7.c: Likewise.
4130 * elf/tst-tls8.c: Likewise.
4131 * elf/tst-tls9.c: Likewise.
4132 * elf/tst-tlsalign-extern.c: Likewise.
4133 * elf/tst-tlsalign.c: Likewise.
4134 * elf/tst-unique1.c: Likewise.
4135 * elf/tst-unique2.c: Likewise.
4136 * elf/vismain.c: Likewise.
4137
4138 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4139
4140 * string/test-strnlen.c (do_page_tests): New function
4141 to check length of strings ending at the page boundary.
4142 (test_main): Added call to the do_page_tests function.
4143
4144 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4145 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4146
4147 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4148 (sysdep_routines): Add strnlen-power8.
4149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4150 (strnlen): Add __strnlen_power8 to list of strnlen functions.
4151 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
4152 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
4153 (__strnlen): Add __strnlen_power8 to ifunc list.
4154 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
4155
4156 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4157
4158 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4159 the TEST_FUNCTION macro definition.
4160 * wcsmbs/tst-mbrtowc2.c: Likewise.
4161 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4162 * wcsmbs/tst-wchar-h.c: Likewise.
4163 * wcsmbs/tst-wcpncpy.c: Likewise.
4164 * wcsmbs/tst-wcrtomb.c: Likewise.
4165 * wcsmbs/tst-wcsnlen.c: Likewise.
4166 * wcsmbs/tst-wcstof.c: Likewise.
4167
4168 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4169
4170 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
4171 CALL_THREAD_FCT macro usage.
4172 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
4173 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
4174 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
4175
4176 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
4177 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4178 (__ASSUME_REQUEUE_PI): Likewise.
4179 * sysdeps/unix/sysv/linux/kernel-features.h
4180 (__ASSUME_REQUEUE_PI): Likewise.
4181 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4182 (__ASSUME_REQUEUE_PI): Likewise.
4183 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4184 (__ASSUME_REQUEUE_PI): Likewise.
4185 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4186 (__ASSUME_REQUEUE_PI): Likewise.
4187
4188 2017-04-04 Florian Weimer <fweimer@redhat.com>
4189
4190 * resolv/tst-resolv-canonname.c: New file.
4191 * resolv/Makefile (tests): Add tst-resolv-canonname.
4192 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
4193
4194 2017-04-04 Florian Weimer <fweimer@redhat.com>
4195
4196 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
4197 Declare.
4198 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
4199 (NS_MAXCDNAME): Remove definition.
4200 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4201 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
4202 (NS_MAXCDNAME): Remove definition.
4203 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4204
4205 2017-04-04 Florian Weimer <fweimer@redhat.com>
4206
4207 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
4208 call whose result is not used.
4209
4210 2017-04-04 Florian Weimer <fweimer@redhat.com>
4211
4212 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4213 * resolv/Makefile (tests): Add tst-ns_name.
4214 (tst-ns_name): Link with -lresolv.
4215 (tst-ns_name.out): Depend on the input data file.
4216
4217 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
4218
4219 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4220 Clobber also r14.
4221
4222 2017-04-03 Mike Frysinger <vapier@gentoo.org>
4223
4224 [BZ #21253]
4225 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4226 slack space by 32KiB.
4227
4228 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
4229
4230 [BZ #21338]
4231 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4232 instead of incorrect do_set_arena_test
4233
4234 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4235
4236 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4237 * math/bits/math-finite.h: Likewise.
4238
4239 2017-03-31 Slava Barinov <v.barinov@samsung.com>
4240
4241 [BZ #21289]
4242 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4243
4244 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4245
4246 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4247 non expected inotify_add_watch and quotactl return.
4248
4249 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4250
4251 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4252 to int32_t.
4253 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4254 as returning int32_t.
4255
4256 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4257
4258 * math/math.h: Include bits/math-finite.h once per
4259 floating-point type.
4260 * math/bits/math-finite.h: Macroize all declarations by
4261 floating-point type.
4262
4263 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4264
4265 [BZ #21182]
4266 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4267 near end of a page.
4268 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4269 overflow calculation.
4270
4271 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
4272
4273 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4274 (IMPL) Call with 1 instead of 0 as argument.
4275
4276 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4277
4278 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4279 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4280 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4281 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4282 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4283 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4284 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4285 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4286 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4287 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4288 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4289 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4290 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4291 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4292 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4293 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4294 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4295 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4296 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4297 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4298 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4299 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4300 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4301 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4302 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4303 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4304 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4305 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4306 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4307 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4308 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4310 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4311 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4312 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4313 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4315 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4316 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4317 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4318 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4319 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4320 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4321 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4322 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4323 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4324 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4326 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4327 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4328 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4329 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4330 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4332 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4333 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4334 INLINE_SYSCALL_ERROR_RETURN_VALUE.
4335 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4336 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4337 defined.
4338 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4339 __NR_setgroups32 if defined.
4340 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4341 if defined.
4342 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4343 __NR_setresgid32 is defined.
4344 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4345 __NR_setresuid32 if defined.
4346 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4347 __NR_setreuid32 if defined.
4348 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4349 defined.
4350 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4351 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4352 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4353 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4354 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4355 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4356 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4357 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4358 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4359 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4360 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4361 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4362 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4363 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4364 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4365 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4366 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4367 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4368 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4369 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4370 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4371 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4372 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4373 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4374 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4375 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4376 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4377 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4378 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4379 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4381 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4383 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4385 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4386 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4387 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4388 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4389 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4390 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4391 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4392 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4393 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4394 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4395 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4396 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4397 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4398 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4399 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4400 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4401 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4403 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4404 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4405 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4406 INLINE_SYSCALL_ERROR_RETURN_VALUE.
4407 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4408 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4409 defined.
4410 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4411 __NR_setgroups32 if defined.
4412 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4413 if defined.
4414 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4415 __NR_setresgid32 is defined.
4416 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4417 __NR_setresuid32 if defined.
4418 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4419 __NR_setreuid32 if defined.
4420 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4421 defined.
4422
4423 2017-03-27 Joseph Myers <joseph@codesourcery.com>
4424
4425 [BZ #21277]
4426 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
4427 unconditionally.
4428 (IMAXBEL): Likewise.
4429 (IUTF8): Likewise.
4430
4431 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
4432
4433 * sysdeps/aarch64/libm-test-ulps: Update.
4434
4435 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
4436
4437 * README.tunables: Updated descriptions.
4438 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
4439 * scripts/gen-tunables.awk: Updated the code related to the
4440 commit.
4441
4442 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
4443
4444 * benchtests/Makefile (string-benchset): Add memcpy-random.
4445 * benchtests/bench-memcpy-random.c: New file.
4446
4447 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4448
4449 * stdio-common/printf.h (register_printf_modifier): Change the
4450 order of __wur and __THROW.
4451 (register_printf_type): Likewise.
4452
4453 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4454
4455 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
4456 test_main ().
4457 (CMDLINE_PROCESS): Use function instead of defined macro.
4458 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
4459 <suppport/support.h> to use set_fortify_handler().
4460 * string/bug-envz1.c: Import support/test-driver.c instead of
4461 test-skeleton.c.
4462 * string/bug-strcoll2.c: Likewise.
4463 * string/bug-strtok1.c: Likewise.
4464 * string/stratcliff.c: Likewise.
4465 * string/test-ffs.c: Likewise.
4466 * string/test-memccpy.c: Likewise.
4467 * string/test-memchr.c: Likewise.
4468 * string/test-memcmp.c: Likewise.
4469 * string/test-memcpy.c: Likewise.
4470 * string/test-memmem.c: Likewise.
4471 * string/test-memmove.c: Likewise.
4472 * string/test-memrchr.c: Likewise.
4473 * string/test-memset.c: Likewise.
4474 * string/test-rawmemchr.c: Likewise.
4475 * string/test-strcasecmp.c: Likewise.
4476 * string/test-strcasestr.c: Likewise.
4477 * string/test-strcat.c: Likewise.
4478 * string/test-strchr.c: Likewise.
4479 * string/test-strcmp.c: Likewise.
4480 * string/test-strcpy.c: Likewise.
4481 * string/test-string.h: Likewise.
4482 * string/test-strlen.c: Likewise.
4483 * string/test-strncasecmp.c: Likewise.
4484 * string/test-strncat.c: Likewise.
4485 * string/test-strncmp.c: Likewise.
4486 * string/test-strncpy.c: Likewise.
4487 * string/test-strnlen.c: Likewise.
4488 * string/test-strpbrk.c: Likewise.
4489 * string/test-strrchr.c: Likewise.
4490 * string/test-strspn.c: Likewise.
4491 * string/test-strstr.c: Likewise.
4492 * string/tst-bswap.c: Likewise.
4493 * string/tst-cmp.c: Likewise.
4494 * string/tst-endian.c: Likewise.
4495 * string/tst-inlcall.c: Likewise.
4496 * string/tst-strcoll-overflow.c: Likewise.
4497 * string/tst-strfry.c: Likewise.
4498 * string/tst-strlen.c: Likewise.
4499 * string/tst-strtok.c: Likewise.
4500 * string/tst-strtok_r.c: Likewise.
4501 * string/tst-strxfrm.c: Likewise.
4502 * string/tst-strxfrm2.c: Likewise.
4503 * string/tst-svc.c: Likewise.
4504 * string/tst-svc2.c: Likewise.
4505
4506 2017-03-22 Zack Weinberg <zackw@panix.com>
4507
4508 * stdio-common/bug25.c: Include stdlib.h.
4509 * support/tst-support_format_dns_packet.c: Include stdio.h,
4510 stdlib.h, and string.h.
4511 * support/tst-support_record_failure.c: Include string.h.
4512 * support/tst-support_record_failure-2.sh: Adjust line number
4513 expectations and correct a typo in an error message.
4514
4515 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 [BZ #21258]
4518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
4519 Define only if _dl_runtime_resolve is defined to
4520 _dl_runtime_resolve_sse_vex.
4521 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
4522 Fallthrough to _dl_runtime_resolve_sse_vex.
4523
4524 2017-03-21 Joseph Myers <joseph@codesourcery.com>
4525
4526 * INSTALL: Regenerated.
4527
4528 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
4529
4530 * config.h.in: Add LINK_OBSOLETE_NSL.
4531 * config.make.in: Add build-obsolete-nsl.
4532 * configure.ac: Add obsolete-nsl option.
4533 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
4534 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
4535 * include/rpcsvc/nislib.h: Likewise.
4536 * include/rpcsvc/ypclnt.h: Likewise.
4537 * manual/install.texi: Document --enable-obsolete-nsl.
4538 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4539 * nis/nis_add.c: Replace libnsl_hidden_def with
4540 libnsl_hidden_nolink_def.
4541 * nis/nis_addmember.c: Likewise.
4542 * nis/nis_call.c: Likewise.
4543 * nis/nis_clone_obj.c: Likewise.
4544 * nis/nis_defaults.c: Likeise.
4545 * nis/nis_domain_of_r.c: Likewise.
4546 * nis/nis_error.c: Likewise.
4547 * nis/nis_file.c: Likewise.
4548 * nis/nis_free.c: Likewise.
4549 * nis_local_names.c: Likewise.
4550 * nis/nis_lookup.c: Likewise.
4551 * nis/nis_modify.c: Likewise.
4552 * nis/nis_print.c: Likewise.
4553 * nis/nis_remove.c: Likewise.
4554 * nis/nis_table.c: Likewise.
4555 * nis/nis_util.c: Likewise.
4556 * nis/nis_xdr.c: Likewise.
4557 * nis/yp_xdr.c: Likewise.
4558 * nis/ypclnt.c: Likewise.
4559 * nis/ypupdate_xdr.c: Likewise.
4560 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4561 * nis/nis_clone_dir.c: Likewise.
4562 * nis/nis_clone_res.c: Likewise.
4563 * nis/nis_creategroup.c: Likewise.
4564 * nis/nis_destroygroup.c: Likewise.
4565 * nis/nis_domain_of.c: Likewise.
4566 * nis/nis_getservlist.c: Likewise.
4567 * nis/nis_ismember.c: Likewise.
4568 * nis/nis_mkdir.c: Likewise.
4569 * nis/nis_ping.c: Likewise.
4570 * nis/nis_print_group_entry.c: Likewise.
4571 * nis/nis_removemember.c: Likewise.
4572 * nis/nis_rmdir.c: Likewise.
4573 * nis/nis_server.c: Likewise.
4574 * nis/nis_subr.c: Likewise.
4575 * nis/nis_verifygroup.c: Likewise.
4576
4577 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4578
4579 * malloc/tst-interpose-aux.c (check_for_allocations):
4580 Move compiler barrier before free.
4581
4582 2017-03-20 Joseph Myers <joseph@codesourcery.com>
4583
4584 [BZ #21279]
4585 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4586 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4587 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4588 x86_64-x32-linux.
4589 (mq_attr.mq_maxmsg): Likewise.
4590 (mq_attr.mq_msgsize): Likewise.
4591 (mq_attr.mq_curmsgs): Likewise.
4592
4593 [BZ #21278]
4594 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4595 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4596 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4597 mips-o32-linux.
4598
4599 [BZ #21268]
4600 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4601 if [__USE_MISC]
4602 (NL3): Likewise.
4603
4604 2017-03-20 Mike Frysinger <vapier@gentoo.org>
4605
4606 [BZ #21275]
4607 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4608 __stack to __stackbase.
4609 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4610 checks so we can include defined(__ia64__) first.
4611
4612 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
4613
4614 * sysdeps/unix/sysv/linux/ttyname.h: New file.
4615 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4616 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4617 Call is_pty when the link does not exist or does not match, fail
4618 with ENODEV when it returns true.
4619 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4620 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4621 Call is_pty when the link does not exist or does not match, fail
4622 with ENODEV when it returns true.
4623
4624 2017-03-18 Joseph Myers <joseph@codesourcery.com>
4625
4626 [BZ #16437]
4627 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4628 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4629 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4630 x86_64-x32-linux.
4631 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4632 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4633 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4634
4635 [BZ #21261]
4636 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4637 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4638 names for all fields.
4639 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4640 for jmp_buf field renaming.
4641 (_JMPBUF_UNWINDS_ADJ): Likewise.
4642
4643 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4644 with allow-header.
4645
4646 2017-03-17 Chris Evans <scarybeasts@gmail.com>
4647
4648 * malloc/malloc.c (unlink): Add consistency check between size and
4649 next->prev->size, to further harden against 1-byte overflows.
4650
4651 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
4652
4653 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4654 CPU_FEATURES_CPU_P.
4655
4656 2017-03-17 Joseph Myers <joseph@codesourcery.com>
4657
4658 [BZ #21259]
4659 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4660 unconditionally, not just for [__USE_MISC].
4661
4662 [BZ #17786]
4663 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4664 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4665 mips-o32-linux.
4666
4667 [BZ #21260]
4668 * sysdeps/unix/sysv/linux/alpha/Makefile
4669 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4670 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4671
4672 * conform/conformtest.pl ($cross): New variable.
4673 (--cross): New command-line option.
4674 (runtest): Skip test execution when cross-compiling.
4675 * conform/Makefile (conformtest-cross): New variable.
4676 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4677 conformtest.pl.
4678
4679 * conform/conformtest.pl ($xfail_str): New variable.
4680 (--xfail=): New command-line option.
4681 (top level): Handle expectations starting xfail[cond]-.
4682 * conform/Makefile (conformtest-xfail): New variable.
4683 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4684 conformtest.pl.
4685
4686 2017-03-16 Joseph Myers <joseph@codesourcery.com>
4687
4688 * conform/conformtest.pl: Use compilation instead of execution
4689 tests for testing values of constants and usability in #if.
4690
4691 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4692
4693 * math/auto-libm-test-in: Mark some catan and catanh as
4694 xfail-rounding:ibm128-libgcc.
4695 * math/auto-libm-test-out-catan: Regenerate.
4696 * math/auto-libm-test-out-catanh: Likewise.
4697
4698 2017-03-16 Joseph Myers <joseph@codesourcery.com>
4699
4700 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4701 (__END_NAMESPACE_STD): Likewise.
4702 (__USING_NAMESPACE_STD): Likewise.
4703 (__BEGIN_NAMESPACE_C99): Likewise.
4704 (__END_NAMESPACE_C99): Likewise.
4705 (__USING_NAMESPACE_C99): Likewise.
4706 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4707 undefine macro.
4708 (_Mdouble_END_NAMESPACE): Likewise.
4709 * ctype/ctype.h: Do not handle C++ namespaces.
4710 * libio/bits/stdio-ldbl.h: Likewise.
4711 * libio/stdio.h: Likewise.
4712 * locale/locale.h: Likewise.
4713 * math/bits/mathcalls.h: Likewise.
4714 * setjmp/setjmp.h: Likewise.
4715 * signal/signal.h: Likewise.
4716 * stdlib/bits/stdlib-float.h: Likewise.
4717 * stdlib/bits/stdlib-ldbl.h: Likewise.
4718 * stdlib/stdlib.h: Likewise.
4719 * string/string.h: Likewise.
4720 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4721 * time/bits/types/clock_t.h: Likewise.
4722 * time/bits/types/struct_tm.h: Likewise.
4723 * time/bits/types/time_t.h: Likewise.
4724 * time/time.h: Likewise.
4725 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4726 * wcsmbs/uchar.h: Likewise.
4727 * wcsmbs/wchar.h: Likewise.
4728 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4729 * wctype/wctype.h: Do not handle C++ namespaces.
4730 * scripts/begin-end-check.pl: Remove.
4731 * Makefile (installed-headers): Likewise.
4732 (tests-special): Do not add $(objpfx)begin-end-check.out.
4733 ($(objpfx)begin-end-check.out): Remove.
4734
4735 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
4736 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4737
4738 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4739 (DL_PLATFORM_INIT): New define.
4740 (dl_platform_init): New function.
4741 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4742 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4743 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4744 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4745 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4746
4747 2017-03-15 Mike Frysinger <vapier@gentoo.org>
4748
4749 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4750 instead of PIC.
4751
4752 2017-03-15 Joseph Myers <joseph@codesourcery.com>
4753
4754 [BZ #21094]
4755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4756 24+24+24-bit pi for wider range of values around pi/2.
4757 * math/auto-libm-test-in: Add more tests of cos and tan.
4758 * math/auto-libm-test-out-cos: Regenerated.
4759 * math/auto-libm-test-out-tan: Likewise.
4760
4761 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
4762
4763 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4764 (RTLD_START): Don't record stack end address in _dl_start_user.
4765
4766 2017-03-15 Alexey Neyman <stilor@att.net>
4767
4768 [BZ #21088]
4769 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4770 around definitions match those around use.
4771
4772 2017-03-15 Alexey Neyman <stilor@att.net>
4773
4774 * configure.ac: Avoid empty subexpression in grep.
4775 * configure: Regenerate.
4776
4777 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4778
4779 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4780 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4781 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4782 (test_wrp_rv): Fix format.
4783 (test_wrp_rv2): New macro.
4784 (do_test): Handle mlock return on 64 bits kernels with 32 bits
4785 binaries.
4786
4787 2017-03-15 Joseph Myers <joseph@codesourcery.com>
4788
4789 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4790 Use a union when storing pointers.
4791 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4792 cast result when passing to INIT_VEC_PTRS_LOOP.
4793 (VECTOR_WRAPPER_fFF_3): Likewise.
4794 (VECTOR_WRAPPER_fFF_4): Likewise.
4795
4796 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4797
4798 * include/bits/mathcalls-helper-functions.h: New file.
4799 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4800 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4801 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4802 math/bits/mathcalls-helper-functions.h.
4803 * math/bits/mathcalls-helper-functions.h: New file.
4804 * math/math.h: Include bits/mathcalls-helper-functions.h for
4805 float, double, and long double.
4806
4807 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4808
4809 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4810 instead of feraiseexcept.
4811
4812 2017-03-15 Florian Weimer <fweimer@redhat.com>
4813
4814 [BZ #21243]
4815 * support/temp_file.c (support_delete_temp_files): Add comment
4816 about ignored errors.
4817
4818 2017-03-15 Florian Weimer <fweimer@redhat.com>
4819
4820 [BZ #21244]
4821 * support/xclose.c: New file.
4822 * support/Makefile (libsupport-routines): Add xclose.
4823 * support/xunistd.h (xclose): Declare.
4824 * support/resolv_test.c (server_thread_tcp_client)
4825 (server_thread_tcp, make_server_sockets, resolv_test_start)
4826 (resolv_test_end): Call xclose instead of close.
4827 * support/support_enter_network_namespace.c
4828 (support_enter_network_namespace): Likewise.
4829 * support/support_run_diff.c (write_to_temp_file): Likewise.
4830
4831 2017-03-15 Florian Weimer <fweimer@redhat.com>
4832
4833 * support/support_format_dns_packet.c (support_format_dns_packet):
4834 Handle CNAME records in the response. Extract RDATA names from
4835 rdata, not the whole packet. Check AAAA record length.
4836 * support/tst-support_format_dns_packet.c: New file.
4837 * support/Makefile (tests): Add tst-support_format_dns_packet.
4838 (tst-support_format_dns_packet): Link against libresolv.
4839
4840 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4841
4842 [BZ #21232]
4843 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4844 posix_fadvise64 weak_alias for static build.
4845
4846 2017-03-14 Andreas Schwab <schwab@suse.de>
4847
4848 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4849 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4850 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4851 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4852 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4853 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4854 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4855 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4856
4857 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
4858
4859 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4860 posix error code.
4861 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4862
4863 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4864
4865 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4866 no_isolate usage for SH.
4867
4868 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
4869
4870 [BZ #15105]
4871 [BZ #19463]
4872 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4873 * inet/rcmd.c (rcmd_af): Likewise.
4874 * inet/rexec.c (rexec_af): Likewise.
4875 * intl/dcigettext.c (_LIBC): Likewise.
4876 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4877 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4878 * locale/setlocale.c (setlocale): Likewise.
4879 * posix/spawn_faction_addopen.c
4880 (posix_spawn_file_actions_addopen): Likewise.
4881 * stdlib/putenv.c (putenv): Use __strndup.
4882 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4884 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4885 (__Need_M_And_C) Remove define/undef.
4886 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4887 (__malloc_and_calloc_defined): Remove define.
4888 * string/bits/string2.h (__strdup): Remove define.
4889 (strdup): Likewise.
4890 (__strndup): Likewise.
4891 (strndup): Likewise.
4892
4893 2017-03-13 Joseph Myers <joseph@codesourcery.com>
4894
4895 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4896 macro.
4897 (IPV6_ADDR_PREFERENCES): Likewise.
4898 (IPV6_MINHOPCOUNT): Likewise.
4899 (IPV6_ORIGDSTADDR): Likewise.
4900 (IPV6_RECVORIGDSTADDR): Likewise.
4901 (IPV6_TRANSPARENT): Likewise.
4902 (IPV6_UNICAST_IF): Likewise.
4903 (IPV6_RECVFRAGSIZE): Likewise.
4904
4905 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
4906
4907 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4908
4909 2017-03-12 Alexey Neyman <stilor@att.net>
4910
4911 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4912 in R_SH_DIR32 case is always false when inlined from
4913 dl-conflict.c. Ifdef out to prevent GCC from insertin an
4914
4915 2016-03-12 Marko Myllynen <myllynen@redhat.com>
4916
4917 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4918 (__ASSUME_RECV_SYSCALL): Replace duplicate by
4919 __ASSUME_SEND_SYSCALL.
4920
4921 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
4922
4923 * sunrpc/Makefile: don't build and install rpcsvc header
4924 files, rpcgen and librpcsvc.a by default.
4925
4926 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
4927
4928 * math/auto-libm-test-out-catan: Regenerated.
4929 * math/auto-libm-test-out-catanh: Likewise.
4930 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4931
4932 2017-03-09 Joseph Myers <joseph@codesourcery.com>
4933
4934 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4935 for long double with corrected test expectations.
4936
4937 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4938
4939 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4940 Define.
4941 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4942 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4943 * sysdeps/unix/sysv/linux/nios2/sysdep.h
4944 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4945 * sysdeps/unix/sysv/linux/tile/sysdep.h
4946 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4947 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4948 (__ASSUME_RECV_SYSCALL): Define.
4949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4950 (__ASSUME_RECV_SYSCALL): Likewise.
4951 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4952 (__ASSUME_RECV_SYSCALL): Likewise.
4953 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4954 (__ASSUME_RECV_SYSCALL): Likewise.
4955 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4956 (__ASSUME_RECV_SYSCALL): Likewise.
4957 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4958 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4959 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4960 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4961 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4962 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4963 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4964 auto-generation list.
4965 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4966 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4967 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4968 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4970 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4971 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4972 __ASSUME_SENDTO_SYSCALL.
4973 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4974 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4975 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4976
4977 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4978 auto-generation list.
4979 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4980 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4981 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4982 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4983 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4984 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4986 * sysdeps/unix/sysv/linux/kernel-features.h
4987 (__ASSUME_SENDTO_SYSCALL): Define by default.
4988 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4989 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4990 __NR_sendto.
4991 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4992 (__ASSUME_SENDTO_SYSCALL): Likewise.
4993 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4994 (__ASSUME_SENDTO_SYSCALL): Likewise.
4995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4996 (__ASSUME_SENDTO_SYSCALL): Remove definition.
4997 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4998 (__ASSUME_SENDTO_SYSCALL): Likewise.
4999 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
5000 (__ASSUME_SENDTO_SYSCALL): Likewise.
5001 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
5002
5003 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
5004 auto-generation list.
5005 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5006 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5007 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5008 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5009 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5010 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5011 (__ASSUME_RECV_SYSCALL): New define.
5012 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5013 (__ASSUME_RECV_SYSCALL): Likewise.
5014 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5015 (__ASSUME_RECV_SYSCALL): Likewise.
5016 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5017 (__ASSUME_RECV_SYSCALL): Likewise.
5018 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5019 (__ASSUME_RECV_SYSCALL): Likewise.
5020 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5021 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5022 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5023 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5024 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5025 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5026 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
5027 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
5028 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
5029 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
5030 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
5031 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
5032
5033 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
5034 auto-generation list.
5035 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5036 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5037 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5038 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5039 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5040 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5041 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5042 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5043 (__ASSUME_RECVFROM_SYSCALL): Define by default.
5044 * sysdeps/unix/sysv/linux/kernel-features.h
5045 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
5046 __NR_recvfrom.
5047 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5048 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5049 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5050 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5051 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5052 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
5053 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5054 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5055 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5056 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5057 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5058 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5059 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
5060
5061 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
5062 auto-generation list.
5063 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5064 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5065 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5066 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5067 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5068 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5069 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5070 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
5071 * sysdeps/unix/sysv/linux/kernel-features.h
5072 (__ASSUME_CONNECT_SYSCALL): Define.
5073 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5074 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
5075 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5076 (__ASSUME_CONNECT_SYSCALL): Likewise.
5077 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5078 (__ASSUME_CONNECT_SYSCALL): Likewise.
5079 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5080 (__ASSUME_CONNECT_SYSCALL): Likewise.
5081
5082 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
5083 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
5084 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
5085 auto-generation list.
5086 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5087 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5088 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5089 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5090 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5091 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5092 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5093 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5094 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5095 (__ASSUME_ACCEPT_SYSCALL): Undefine.
5096 * sysdeps/unix/sysv/linux/kernel-features.h
5097 (__ASSUME_ACCEPT_SYSCALL): New define.
5098 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5099 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5100 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
5101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5102 (__ASSUME_ACCEPT_SYSCALL): Define.
5103 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5104 (__ASSUME_ACCEPT_SYSCALL): Undefine.
5105 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5106 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5107 (__ASSUME_ACCEPT_SYSCALL): Undefine.
5108 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5109 (__ASSUME_ACCEPT_SYSCALL): Undefine.
5110 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5111 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
5112
5113 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
5114 Zack Weinberg <zackw@panix.com>
5115
5116 * posix/test-errno.c: New file.
5117 * posix/Makefile (tests): Add test-errno.
5118 * sysdeps/unix/sysv/linux/test-errno.c: New file.
5119 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
5120
5121 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
5122
5123 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5124
5125 2017-03-07 Florian Weimer <fweimer@redhat.com>
5126
5127 * time/tzset.c (compute_offset): Open-code min macro.
5128 (min, max, sign): Remove.
5129
5130 2017-03-07 Florian Weimer <fweimer@redhat.com>
5131
5132 [BZ #15576]
5133 Remove TZNAME_MAX limit from sysconf.
5134 * include/time.h (__tzname_cur_max, __tzname_max): Remove
5135 declaration.
5136 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
5137 compute_tzname_max.
5138 (compute_tzname_max): Remove.
5139 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
5140 (update_vars): Do not update __tzname_cur_max.
5141 (tzset_internal): Remove argument.
5142 (__tzset): Adjust call to tzset_internal.
5143 (__tz_convert): Likewise.
5144
5145 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
5146 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5147 * manual/conf.texi (Sysconf Definition): Update comment.
5148
5149 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5150
5151 [BZ #21209]
5152 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5153 AT_SECURE processes.
5154 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
5155 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
5156 (test_child): Likewise.
5157 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
5158
5159 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5160
5161 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
5162
5163 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
5164
5165 * sysdeps/s390/atomic-machine.h
5166 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5167 (__arch_compare_and_exchange_val_8_acq,
5168 __arch_compare_and_exchange_val_16_acq,
5169 __arch_compare_and_exchange_val_32_acq,
5170 __arch_compare_and_exchange_val_64_acq):
5171 Delete macro.
5172 (atomic_compare_and_exchange_val_acq,
5173 atomic_compare_and_exchange_val_rel,
5174 atomic_compare_and_exchange_bool_acq,
5175 catomic_compare_and_exchange_bool_acq,
5176 atomic_exchange_acq, atomic_exchange_rel,
5177 atomic_exchange_and_add_acq,
5178 atomic_exchange_and_add_rel,
5179 catomic_exchange_and_add, atomic_or_val,
5180 atomic_or, catomic_or, atomic_bit_test_set,
5181 atomic_and_val, atomic_and, catomic_and):
5182 Define macros with help of C11 atomic builtins.
5183
5184 2017-03-03 Justus Winter <justus@gnupg.org>
5185
5186 * sysdeps/mach/hurd/ftruncate64.c: New file.
5187 * sysdeps/mach/hurd/truncate64.c: Likewise.
5188
5189 2017-03-03 Florian Weimer <fweimer@redhat.com>
5190
5191 * time/tzfile.c (NOID): Do not define.
5192 * time/tzset.c (NOID): Likewise.
5193
5194 2017-03-03 Florian Weimer <fweimer@redhat.com>
5195
5196 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
5197
5198 2017-03-02 Florian Weimer <fweimer@redhat.com>
5199
5200 * elf/get-dynamic-info.h: Remove header file inclusion guard.
5201
5202 2017-03-02 Florian Weimer <fweimer@redhat.com>
5203
5204 [BZ #21015]
5205 * manual/install.texi (Configuring and compiling): Document
5206 --enable-bind-now.
5207 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
5208 (build-shlib-helper): Use $(LDFLAGS-lib.so).
5209 (format.lds): Likewise.
5210 [bind-now] (LDFLAGS-c.so): Remove.
5211 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5212 be R_X86_64_GLOB_DAT.
5213 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5214 relocation can be R_386_GLOB_DAT.
5215 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5216 relocaiton can be R_ALPHA_GLOB_DAT.
5217 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5218
5219 2017-03-01 Zack Weinberg <zackw@panix.com>
5220
5221 * include/libc-pointer-arith.h: New file. Define
5222 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5223 PTR_ALIGN_DOWN here.
5224 * include/libc-internal.h: Definitions of above macros
5225 moved from here. Don't include libc-diag.h anymore either.
5226 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5227 Don't include libc-internal.h.
5228
5229 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5230 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5231 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5232 * string/strcoll_l.c, sysdeps/nacl/brk.c
5233 * sysdeps/unix/clock_settime.c
5234 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5235 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5236 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5238 Don't include libc-internal.h.
5239
5240 * elf/get-dynamic-info.h, iconv/loop.c
5241 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5242 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5243 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5244 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5245 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5246 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5247 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5248 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5249 * sysdeps/ieee754/ldbl-128/k_tanl.c
5250 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5251 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5252 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5253 Include libc-diag.h instead of libc-internal.h.
5254
5255 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5256 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5257 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5258 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5259 * sysdeps/unix/sysv/linux/spawni.c
5260 * sysdeps/x86_64/nptl/tls.h:
5261 Include libc-pointer-arith.h instead of libc-internal.h.
5262
5263 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5264 * sysdeps/x86_64/atomic-machine.h:
5265 Add multiple include guard.
5266
5267 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5268 * string/strcasestr.c: No need to include config.h.
5269 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5270 sys/auxv.h. Don't include sysdep.h.
5271 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5272
5273 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
5274 DL_LOOKUP_ADDRESS.
5275 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5276 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5277 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5278 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5279 of ARTIFICIAL_LIMIT.
5280 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5281 declaration of __clone2.
5282
5283 2017-02-28 Florian Weimer <fweimer@redhat.com>
5284
5285 * scripts/backport-support.sh (latest_commit): New file.
5286
5287 2017-02-28 Florian Weimer <fweimer@redhat.com>
5288
5289 [BZ #20257]
5290 * inet/Makefile (routines): Add deadline.
5291 (tests-static): Add tst-deadline.
5292 * inet/net-internal.h (struct deadline_current_time)
5293 (__deadline_current_time, struct deadline, __deadline_is_infinite)
5294 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5295 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5296 * inet/deadline.c: New file.
5297 * inet/tst-deadline.c: Likewise.
5298 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5299 tst-udp-timeout, tst-udp-garbage.
5300 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5301 explicitly.
5302 (tst-udp-garbage): Likewise. Also link against thread library.
5303 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5304 struct layout is part of the ABI.
5305 (clntudp_call): Rework timeout handling.
5306 * sunrpc/tst-udp-garbage.c: New file.
5307 * sunrpc/tst-udp-nonblocking.c: Likewise.
5308 * sunrpc/tst-udp-timeout.c: Likewise.
5309
5310 2017-02-28 Florian Weimer <fweimer@redhat.com>
5311
5312 [BZ #5010]
5313 * sunrpc/svc.c (svc_is_mapped): Remove.
5314 (svc_unregister): Obtain mapped status while the service is still
5315 registered.
5316 * sunrpc/Makefile [have-thread-library] (tests): Add
5317 tst-svc_register.
5318 (tst-svc_register): Link against libc.so explicitly and the thread
5319 library.
5320 * sunrpc/tst-svc_register.c: New file.
5321
5322 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
5323
5324 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5325 * sysdeps/pthread/bits/sigthread.h: Likewise.
5326
5327 2017-02-27 Florian Weimer <fweimer@redhat.com>
5328
5329 [BZ #21115]
5330 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5331 * sunrpc/Makefile (tests): Add tst-udp-error.
5332 (tst-udp-error): Link against libc.so explicitly.
5333 * sunrpc/tst-udp-error: New file.
5334
5335 2017-02-25 Zack Weinberg <zackw@panix.com>
5336
5337 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5338 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5339
5340 * sysdeps/generic/math_ldbl.h
5341 * sysdeps/ia64/fpu/math_ldbl.h
5342 * sysdeps/ieee754/ldbl-128/math_ldbl.h
5343 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5344 * sysdeps/ieee754/ldbl-96/math_ldbl.h
5345 * sysdeps/powerpc/fpu/math_ldbl.h
5346 * sysdeps/x86_64/fpu/math_ldbl.h:
5347 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
5348 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5349 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
5350 Add copyright notices.
5351
5352 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5353 Don't use EXTRACT_WORDS64.
5354
5355 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5356 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5357 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5358 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5359 Include math_ldbl.h, not math_private.h.
5360
5361 2017-02-25 Zack Weinberg <zackw@panix.com>
5362
5363 * include/libc-diag.h: New file. Define ignore_value,
5364 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5365 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5366
5367 * include/libc-internal.h: Definitions of above macros moved from
5368 here. Include libc-diag.h. Add copyright notice.
5369
5370 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5371 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5372 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5373 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5374 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5375 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5376 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5377 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5378 Include libc-diag.h instead of libc-internal.h.
5379
5380 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
5381 call to unsetenv (NULL).
5382 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
5383 call to pthread_mutexattr_destroy (NULL).
5384
5385 2017-02-25 Zack Weinberg <zackw@panix.com>
5386
5387 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5388 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5389 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
5390 gets was removed from C++ in C++14.
5391 * include/stdio.h: Remove redundant declaration of gets.
5392 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
5393 be declared, since we are testing it.
5394 * stdio-common/Makefile (tst-gets.c): Compile with
5395 -Wno-deprecated-declarations.
5396 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
5397 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
5398 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
5399 Compile with -Wno-deprecated-declarations.
5400
5401 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5402
5403 * math/libm-test-support.c (check_ulp): Use LIT() around literal
5404 numbers.
5405
5406 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5407
5408 * resolv/tst-resolv-qtypes.c (domain):
5409 Change type to const pointer to const char.
5410
5411 2017-02-24 Joseph Myers <joseph@codesourcery.com>
5412
5413 * math/Makefile (libm-tests-generated): Remove variable.
5414 (libm-tests-base-normal): New variable.
5415 (libm-tests-base-finite): Likewise.
5416 (libm-tests-base-inline): Likewise.
5417 (libm-tests-base): Likewise.
5418 (libm-tests-normal): Likewise.
5419 (libm-tests-finite): Likewise.
5420 (libm-tests-inline): Likewise.
5421 (libm-tests-vector): Likewise.
5422 (libm-tests): Define in terms of these new variables.
5423 (libm-tests-for-type): New variable.
5424 (libm-tests.o): Move definition.
5425 (tests): Move addition of $(libm-tests).
5426 (generated): Update for new and removed libm test files.
5427 ($(objpfx)libm-test.c): Remove target.
5428 ($(objpfx)libm-have-vector-test.h): Likewise.
5429 (CFLAGS-test-double-vlen2.c): Remove variable.
5430 (CFLAGS-test-double-vlen4.c): Likewise.
5431 (CFLAGS-test-double-vlen8.c): Likewise.
5432 (CFLAGS-test-float-vlen4.c): Likewise.
5433 (CFLAGS-test-float-vlen8.c): Likewise.
5434 (CFLAGS-test-float-vlen16.c): Likewise.
5435 (CFLAGS-test-float.c): Likewise.
5436 (CFLAGS-test-float-finite.c): Likewise.
5437 (CFLAGS-libm-test-support-float.c): Likewise.
5438 (CFLAGS-test-double.c): Likewise.
5439 (CFLAGS-test-double-finite.c): Likewise.
5440 (CFLAGS-libm-test-support-double.c): Likewise.
5441 (CFLAGS-test-ldouble.c): Likewise.
5442 (CFLAGS-test-ldouble-finite.c): Likewise.
5443 (CFLAGS-libm-test-support-ldouble.c): Likewise.
5444 (libm-test-inline-cflags): New variable.
5445 (CFLAGS-test-ifloat.c): Remove variable.
5446 (CFLAGS-test-idouble.c): Likewise.
5447 (CFLAGS-test-ildouble.c): Likewise.
5448 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
5449 dependencies.
5450 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
5451 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
5452 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
5453 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
5454 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
5455 Likewise.
5456 (dependencies on libm-test-support-*.o): Remove.
5457 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
5458 rules using iterators.
5459 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
5460 Likewise.
5461 ($(objpfx)libm-test-support-$(o).o): Likewise.
5462 ($(addprefix $(objpfx),$(filter-out $(tests-static)
5463 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
5464 instead.
5465 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
5466 define rule instead.
5467 * math/README.libm-test: Update.
5468 * math/libm-test-acos.inc: Include libm-test-driver.c.
5469 (do_test): New function.
5470 * math/libm-test-acosh.inc: Include libm-test-driver.c.
5471 (do_test): New function.
5472 * math/libm-test-asin.inc: Include libm-test-driver.c.
5473 (do_test): New function.
5474 * math/libm-test-asinh.inc: Include libm-test-driver.c.
5475 (do_test): New function.
5476 * math/libm-test-atan.inc: Include libm-test-driver.c.
5477 (do_test): New function.
5478 * math/libm-test-atan2.inc: Include libm-test-driver.c.
5479 (do_test): New function.
5480 * math/libm-test-atanh.inc: Include libm-test-driver.c.
5481 (do_test): New function.
5482 * math/libm-test-cabs.inc: Include libm-test-driver.c.
5483 (do_test): New function.
5484 * math/libm-test-cacos.inc: Include libm-test-driver.c.
5485 (do_test): New function.
5486 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
5487 (do_test): New function.
5488 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
5489 (do_test): New function.
5490 * math/libm-test-carg.inc: Include libm-test-driver.c.
5491 (do_test): New function.
5492 * math/libm-test-casin.inc: Include libm-test-driver.c.
5493 (do_test): New function.
5494 * math/libm-test-casinh.inc: Include libm-test-driver.c.
5495 (do_test): New function.
5496 * math/libm-test-catan.inc: Include libm-test-driver.c.
5497 (do_test): New function.
5498 * math/libm-test-catanh.inc: Include libm-test-driver.c.
5499 (do_test): New function.
5500 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
5501 (do_test): New function.
5502 * math/libm-test-ccos.inc: Include libm-test-driver.c.
5503 (do_test): New function.
5504 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
5505 (do_test): New function.
5506 * math/libm-test-ceil.inc: Include libm-test-driver.c.
5507 (do_test): New function.
5508 * math/libm-test-cexp.inc: Include libm-test-driver.c.
5509 (do_test): New function.
5510 * math/libm-test-cimag.inc: Include libm-test-driver.c.
5511 (do_test): New function.
5512 * math/libm-test-clog.inc: Include libm-test-driver.c.
5513 (do_test): New function.
5514 * math/libm-test-clog10.inc: Include libm-test-driver.c.
5515 (do_test): New function.
5516 * math/libm-test-conj.inc: Include libm-test-driver.c.
5517 (do_test): New function.
5518 * math/libm-test-copysign.inc: Include libm-test-driver.c.
5519 (do_test): New function.
5520 * math/libm-test-cos.inc: Include libm-test-driver.c.
5521 (do_test): New function.
5522 * math/libm-test-cosh.inc: Include libm-test-driver.c.
5523 (do_test): New function.
5524 * math/libm-test-cpow.inc: Include libm-test-driver.c.
5525 (do_test): New function.
5526 * math/libm-test-cproj.inc: Include libm-test-driver.c.
5527 (do_test): New function.
5528 * math/libm-test-creal.inc: Include libm-test-driver.c.
5529 (do_test): New function.
5530 * math/libm-test-csin.inc: Include libm-test-driver.c.
5531 (do_test): New function.
5532 * math/libm-test-csinh.inc: Include libm-test-driver.c.
5533 (do_test): New function.
5534 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
5535 (do_test): New function.
5536 * math/libm-test-ctan.inc: Include libm-test-driver.c.
5537 (do_test): New function.
5538 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5539 (do_test): New function.
5540 * math/libm-test-erf.inc: Include libm-test-driver.c.
5541 (do_test): New function.
5542 * math/libm-test-erfc.inc: Include libm-test-driver.c.
5543 (do_test): New function.
5544 * math/libm-test-exp.inc: Include libm-test-driver.c.
5545 (do_test): New function.
5546 * math/libm-test-exp10.inc: Include libm-test-driver.c.
5547 (do_test): New function.
5548 * math/libm-test-exp2.inc: Include libm-test-driver.c.
5549 (do_test): New function.
5550 * math/libm-test-expm1.inc: Include libm-test-driver.c.
5551 (do_test): New function.
5552 * math/libm-test-fabs.inc: Include libm-test-driver.c.
5553 (do_test): New function.
5554 * math/libm-test-fdim.inc: Include libm-test-driver.c.
5555 (do_test): New function.
5556 * math/libm-test-floor.inc: Include libm-test-driver.c.
5557 (do_test): New function.
5558 * math/libm-test-fma.inc: Include libm-test-driver.c.
5559 (do_test): New function.
5560 * math/libm-test-fmax.inc: Include libm-test-driver.c.
5561 (do_test): New function.
5562 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5563 (do_test): New function.
5564 * math/libm-test-fmin.inc: Include libm-test-driver.c.
5565 (do_test): New function.
5566 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5567 (do_test): New function.
5568 * math/libm-test-fmod.inc: Include libm-test-driver.c.
5569 (do_test): New function.
5570 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5571 (do_test): New function.
5572 * math/libm-test-frexp.inc: Include libm-test-driver.c.
5573 (do_test): New function.
5574 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5575 (do_test): New function.
5576 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5577 (do_test): New function.
5578 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5579 (do_test): New function.
5580 * math/libm-test-hypot.inc: Include libm-test-driver.c.
5581 (do_test): New function.
5582 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5583 (do_test): New function.
5584 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5585 (do_test): New function.
5586 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5587 (do_test): New function.
5588 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5589 (do_test): New function.
5590 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5591 (do_test): New function.
5592 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5593 (do_test): New function.
5594 * math/libm-test-isinf.inc: Include libm-test-driver.c.
5595 (do_test): New function.
5596 * math/libm-test-isless.inc: Include libm-test-driver.c.
5597 (do_test): New function.
5598 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5599 (do_test): New function.
5600 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5601 (do_test): New function.
5602 * math/libm-test-isnan.inc: Include libm-test-driver.c.
5603 (do_test): New function.
5604 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5605 (do_test): New function.
5606 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5607 (do_test): New function.
5608 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5609 (do_test): New function.
5610 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5611 (do_test): New function.
5612 * math/libm-test-iszero.inc: Include libm-test-driver.c.
5613 (do_test): New function.
5614 * math/libm-test-j0.inc: Include libm-test-driver.c.
5615 (do_test): New function.
5616 * math/libm-test-j1.inc: Include libm-test-driver.c.
5617 (do_test): New function.
5618 * math/libm-test-jn.inc: Include libm-test-driver.c.
5619 (do_test): New function.
5620 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5621 (do_test): New function.
5622 * math/libm-test-llogb.inc: Include libm-test-driver.c.
5623 (do_test): New function.
5624 * math/libm-test-llrint.inc: Include libm-test-driver.c.
5625 (do_test): New function.
5626 * math/libm-test-llround.inc: Include libm-test-driver.c.
5627 (do_test): New function.
5628 * math/libm-test-log.inc: Include libm-test-driver.c.
5629 (do_test): New function.
5630 * math/libm-test-log10.inc: Include libm-test-driver.c.
5631 (do_test): New function.
5632 * math/libm-test-log1p.inc: Include libm-test-driver.c.
5633 (do_test): New function.
5634 * math/libm-test-log2.inc: Include libm-test-driver.c.
5635 (do_test): New function.
5636 * math/libm-test-logb.inc: Include libm-test-driver.c.
5637 (do_test): New function.
5638 * math/libm-test-lrint.inc: Include libm-test-driver.c.
5639 (do_test): New function.
5640 * math/libm-test-lround.inc: Include libm-test-driver.c.
5641 (do_test): New function.
5642 * math/libm-test-modf.inc: Include libm-test-driver.c.
5643 (do_test): New function.
5644 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5645 (do_test): New function.
5646 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5647 (do_test): New function.
5648 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5649 (do_test): New function.
5650 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5651 (do_test): New function.
5652 * math/libm-test-nextup.inc: Include libm-test-driver.c.
5653 (do_test): New function.
5654 * math/libm-test-pow.inc: Include libm-test-driver.c.
5655 (do_test): New function.
5656 * math/libm-test-remainder.inc: Include libm-test-driver.c.
5657 (do_test): New function.
5658 * math/libm-test-remquo.inc: Include libm-test-driver.c.
5659 (do_test): New function.
5660 * math/libm-test-rint.inc: Include libm-test-driver.c.
5661 (do_test): New function.
5662 * math/libm-test-round.inc: Include libm-test-driver.c.
5663 (do_test): New function.
5664 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5665 (do_test): New function.
5666 * math/libm-test-scalb.inc: Include libm-test-driver.c.
5667 (do_test): New function.
5668 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5669 (do_test): New function.
5670 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5671 (do_test): New function.
5672 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5673 (do_test): New function.
5674 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5675 (do_test): New function.
5676 * math/libm-test-signbit.inc: Include libm-test-driver.c.
5677 (do_test): New function.
5678 * math/libm-test-significand.inc: Include libm-test-driver.c.
5679 (do_test): New function.
5680 * math/libm-test-sin.inc: Include libm-test-driver.c.
5681 (do_test): New function.
5682 * math/libm-test-sincos.inc: Include libm-test-driver.c.
5683 (do_test): New function.
5684 * math/libm-test-sinh.inc: Include libm-test-driver.c.
5685 (do_test): New function.
5686 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5687 (do_test): New function.
5688 * math/libm-test-tan.inc: Include libm-test-driver.c.
5689 (do_test): New function.
5690 * math/libm-test-tanh.inc: Include libm-test-driver.c.
5691 (do_test): New function.
5692 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5693 (do_test): New function.
5694 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5695 (do_test): New function.
5696 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5697 (do_test): New function.
5698 * math/libm-test-trunc.inc: Include libm-test-driver.c.
5699 (do_test): New function.
5700 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5701 (do_test): New function.
5702 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5703 (do_test): New function.
5704 * math/libm-test-y0.inc: Include libm-test-driver.c.
5705 (do_test): New function.
5706 * math/libm-test-y1.inc: Include libm-test-driver.c.
5707 (do_test): New function.
5708 * math/libm-test-yn.inc: Include libm-test-driver.c.
5709 (do_test): New function.
5710 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5711 (HAVE_VECTOR): Remove macro.
5712 (START): Do not call HAVE_VECTOR.
5713 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5714 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5715 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5716 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5717 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5718 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5719 * math/test-math-vector.h (FUNC_TEST): New macro.
5720 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5721 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5722 (double-vlen4-funcs): Likewise.
5723 (double-vlen4-avx2-funcs): Likewise.
5724 (double-vlen8-funcs): Likewise.
5725 (float-vlen4-funcs): Likewise.
5726 (float-vlen8-funcs): Likewise.
5727 (float-vlen8-avx2-funcs): Likewise.
5728 (float-vlen16-funcs): Likewise.
5729 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5730 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5731 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5732 macro.
5733 (TEST_VECTOR_sin): Likewise.
5734 (TEST_VECTOR_sincos): Likewise.
5735 (TEST_VECTOR_log): Likewise.
5736 (TEST_VECTOR_exp): Likewise.
5737 (TEST_VECTOR_pow): Likewise.
5738 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5739 Likewise.
5740 (TEST_VECTOR_sin): Likewise.
5741 (TEST_VECTOR_sincos): Likewise.
5742 (TEST_VECTOR_log): Likewise.
5743 (TEST_VECTOR_exp): Likewise.
5744 (TEST_VECTOR_pow): Likewise.
5745 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5746 Likewise.
5747 (TEST_VECTOR_sinf): Likewise.
5748 (TEST_VECTOR_sincosf): Likewise.
5749 (TEST_VECTOR_logf): Likewise.
5750 (TEST_VECTOR_expf): Likewise.
5751 (TEST_VECTOR_powf): Likewise.
5752 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5753 Likewise.
5754 (TEST_VECTOR_sinf): Likewise.
5755 (TEST_VECTOR_sincosf): Likewise.
5756 (TEST_VECTOR_logf): Likewise.
5757 (TEST_VECTOR_expf): Likewise.
5758 (TEST_VECTOR_powf): Likewise.
5759 * math/gen-libm-have-vector-test.sh: Remove file.
5760 * math/libm-test.inc: Likewise.
5761 * math/libm-test-support-double.c: Likewise.
5762 * math/libm-test-support-float.c: Likewise.
5763 * math/libm-test-support-ldouble.c: Likewise.
5764 * math/test-double-finite.c: Likewise.: Likewise.
5765 * math/test-double.c: Likewise.
5766 * math/test-float-finite.c: Likewise.
5767 * math/test-float.c: Likewise.
5768 * math/test-idouble.c: Likewise.
5769 * math/test-ifloat.c: Likewise.
5770 * math/test-ildouble.c: Likewise.
5771 * math/test-ldouble-finite.c: Likewise.
5772 * math/test-ldouble.c: Likewise.
5773 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5774 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5775 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5776 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5777 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5778 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5779 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5780 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5781 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5782 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5783
5784 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5785 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5786
5787 * math/Makefile: Add wrappers to gen-libm-calls.
5788 * math/w_acos_template.c: New file.
5789 * math/w_acosh_template.c: Likewise.
5790 * math/w_asin_template.c: Likewise.
5791 * math/w_atan2_template.c: Likewise.
5792 * math/w_atanh_template.c: Likewise.
5793 * math/w_cosh_template.c: Likewise.
5794 * math/w_exp10_template.c: Likewise.
5795 * math/w_exp2_template.c: Likewise.
5796 * math/w_exp_template.c: Likewise.
5797 * math/w_fmod_template.c: Likewise.
5798 * math/w_hypot_template.c: Likewise.
5799 * math/w_j0_template.c: Likewise.
5800 * math/w_j1_template.c: Likewise.
5801 * math/w_jn_template.c: Likewise.
5802 * math/w_lgamma_r_template.c: Likewise.
5803 * math/w_lgamma_template.c: Likewise.
5804 * math/w_log10_template.c: Likewise.
5805 * math/w_log2_template.c: Likewise.
5806 * math/w_log_template.c: Likewise.
5807 * math/w_pow_template.c: Likewise.
5808 * math/w_remainder_template.c: Likewise.
5809 * math/w_sinh_template.c: Likewise.
5810 * math/w_sqrt_template.c: Likewise.
5811 * math/w_tgamma_template.c: Likewise.: Likewise.
5812 * sysdeps/generic/math-type-macros-double.h
5813 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5814 the new wrappers.
5815 * sysdeps/generic/math-type-macros-float.h: Likewise.
5816 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5817
5818 2017-02-22 Joseph Myers <joseph@codesourcery.com>
5819
5820 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5821 New enum constant and macro.
5822
5823 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5824 kernel version to 4.10.
5825
5826 2017-02-21 Joseph Myers <joseph@codesourcery.com>
5827
5828 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5829
5830 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5833
5834 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5835
5836 * sysdeps/powerpc/tst-set_ppr.c: New file.
5837 Implement test cases for __ppc_set_ppr_* functions.
5838 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5839 in the list of tests.
5840
5841 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5842
5843 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5844 instead of test-skeleton.c.
5845 (do_test): Replaced pthread_create and pthread_join with
5846 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
5847 Removed unneeded status variable.
5848 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5849 instead of test-skeleton.c.
5850 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5851
5852 2017-02-20 Mike FABIAN <mfabian@redhat.com>
5853
5854 [BZ #20313]
5855 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5856 201605L, for Unicode 9.
5857
5858 2017-02-20 Joseph Myers <joseph@codesourcery.com>
5859
5860 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5861 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5862 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5863 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5864 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5865 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5866
5867 2017-02-19 Zack Weinberg <zackw@panix.com>
5868
5869 * rt/tst-mqueue4.c: Include stdint.h.
5870
5871 2017-02-17 Joseph Myers <joseph@codesourcery.com>
5872
5873 * sysdeps/arm/libm-test-ulps: Update.
5874 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5875 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5876 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5877
5878 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5879
5880 [BZ #21029]
5881 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5882 * sysdeps/unix/sysv/linux/i386/Makefile
5883 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5884 (uses-6-syscall-arguments): Remove.
5885 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5886 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5887 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5888 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5889 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5890 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5891 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5892 [$(subdir) = misc] (cflags-pselect.o): Likewise.
5893 [$(subdir) = misc] (cflags-pselect.os): Likewise.
5894 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5895 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5896 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5897 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5898 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5899 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5900 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5901 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5902 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5903 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5904 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5905 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5906 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5907 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5908 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5909 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5910 Likewise.
5911 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5912 Likewise.
5913 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5914 Likewise.
5915 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5916 Likewise.
5917 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5918 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5919 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5920 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5921 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5922 ebp on inline assembly.
5923 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5924 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5925 Set if CAN_USE_REGISTER_ASM_EBP is set.
5926
5927 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
5928
5929 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5930 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5931
5932 2017-02-17 Joseph Myers <joseph@codesourcery.com>
5933
5934 * math/auto-libm-test-in: Add tests of catan and catanh.
5935 * math/auto-libm-test-out-catan: New generated file.
5936 * math/auto-libm-test-out-catanh: Likewise.
5937 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5938 Move tests with finite inputs, except divide-by-zero cases, to
5939 auto-libm-test-in.
5940 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5941 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5942 (libm-test-funcs-noauto): Remove catan and catanh.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5946
5947 * math/auto-libm-test-in: Add tests of casin and casinh.
5948 * math/auto-libm-test-out-casin: New generated file.
5949 * math/auto-libm-test-out-casinh: Likewise.
5950 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5951 Move tests with finite inputs to auto-libm-test-in.
5952 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5953 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5954 (libm-test-funcs-noauto): Remove casin and casinh.
5955 * sysdeps/i386/fpu/libm-test-ulps: Update.
5956 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5958
5959 * math/auto-libm-test-in: Add tests of cacos and cacosh.
5960 * math/auto-libm-test-out-cacos: New generated file.
5961 * math/auto-libm-test-out-cacosh: Likewise.
5962 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5963 Move tests with finite inputs to auto-libm-test-in.
5964 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5965 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5966 (libm-test-funcs-noauto): Remove cacos and cacosh.
5967 * sysdeps/i386/fpu/libm-test-ulps: Update.
5968 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5970
5971 Revert:
5972 2017-02-16 Zack Weinberg <zackw@panix.com>
5973
5974 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5975 Don't include init-arch.h.
5976 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5977 Don't include init-arch.h.
5978
5979 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5980
5981 [BZ #21171]
5982 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5983 +Inf and raise divide-by-zero when x is negative.
5984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5985 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5986 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
5987 -Inf and raise divide-by-zero when x = +-0.
5988 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5989 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5990 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5991 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5992 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5995
5996 2017-02-16 Zack Weinberg <zackw@panix.com>
5997
5998 * scripts/build-many-glibcs.py (bot_build_mail): If the
5999 bot_config does not contain all of the necessary email-
6000 related settings, just print a warning and continue.
6001
6002 2017-02-16 Zack Weinberg <zackw@panix.com>
6003
6004 * crypt/md5.h: Test _LIBC with #if defined, not #if.
6005 * dirent/opendir-tst1.c: Include sys/stat.h.
6006 * dirent/tst-fdopendir.c: Include sys/stat.h.
6007 * dirent/tst-fdopendir2.c: Include stdlib.h.
6008 * dirent/tst-scandir.c: Include stdbool.h.
6009 * elf/tst-auditmod1.c: Include link.h and stddef.h.
6010 * elf/tst-tls15.c: Include stdlib.h.
6011 * elf/tst-tls16.c: Include stdlib.h.
6012 * elf/tst-tls17.c: Include stdlib.h.
6013 * elf/tst-tls18.c: Include stdlib.h.
6014 * iconv/tst-iconv6.c: Include endian.h.
6015 * iconvdata/bug-iconv11.c: Include limits.h.
6016 * io/test-utime.c: Include stdint.h.
6017 * io/tst-faccessat.c: Include sys/stat.h.
6018 * io/tst-fchmodat.c: Include sys/stat.h.
6019 * io/tst-fchownat.c: Include sys/stat.h.
6020 * io/tst-fstatat.c: Include sys/stat.h.
6021 * io/tst-futimesat.c: Include sys/stat.h.
6022 * io/tst-linkat.c: Include sys/stat.h.
6023 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
6024 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
6025 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
6026 * io/tst-openat.c: Include stdbool.h.
6027 * io/tst-readlinkat.c: Include sys/stat.h.
6028 * io/tst-renameat.c: Include sys/stat.h.
6029 * io/tst-symlinkat.c: Include sys/stat.h.
6030 * io/tst-unlinkat.c: Include stdbool.h.
6031 * libio/bug-memstream1.c: Include stdlib.h.
6032 * libio/bug-wmemstream1.c: Include stdlib.h.
6033 * libio/tst-fwrite-error.c: Include stdlib.h.
6034 * libio/tst-memstream1.c: Include stdlib.h.
6035 * libio/tst-memstream2.c: Include stdlib.h.
6036 * libio/tst-memstream3.c: Include stdlib.h.
6037 * malloc/tst-interpose-aux.c: Include stdint.h.
6038 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
6039 * nptl/tst-basic7.c: Include limits.h.
6040 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
6041 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
6042 * nptl/tst-cancel4_1.c: Include stddef.h.
6043 * nptl/tst-cancel4_2.c: Include stddef.h.
6044 * nptl/tst-cond16.c: Include limits.h.
6045 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6046 * nptl/tst-cond18.c: Include limits.h.
6047 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6048 * nptl/tst-cond4.c: Include stdint.h.
6049 * nptl/tst-cond6.c: Include stdint.h.
6050 * nptl/tst-stack2.c: Include limits.h.
6051 * nptl/tst-stackguard1.c: Include stddef.h.
6052 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
6053 * nptl/tst-tls4moda.c: Include stddef.h.
6054 Don't include stdio.h, unistd.h, or tls.h.
6055 * nptl/tst-tls4modb.c: Include stddef.h.
6056 Don't include stdio.h, unistd.h, or tls.h.
6057 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
6058 * posix/tst-getaddrinfo2.c: Include stdio.h.
6059 * posix/tst-getaddrinfo5.c: Include stdio.h.
6060 * posix/tst-pathconf.c: Include sys/stat.h.
6061 * posix/tst-posix_fadvise-common.c: Include stdint.h.
6062 * posix/tst-preadwrite-common.c: Include sys/stat.h.
6063 * posix/tst-regex.c: Include stdint.h.
6064 Don't include spawn.h or spawn_int.h.
6065 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
6066 * posix/tst-vfork3.c: Include sys/stat.h.
6067 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
6068 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
6069 * resolv/tst-resolv-search.c: Include stdlib.h.
6070 * stdio-common/tst-fmemopen2.c: Include stdint.h.
6071 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
6072 * stdlib/test-canon.c: Include sys/stat.h.
6073 * stdlib/tst-tls-atexit.c: Include stdbool.h.
6074 * string/test-memchr.c: Include stdint.h.
6075 * string/tst-cmp.c: Include stdint.h.
6076 * sysdeps/pthread/tst-timer.c: Include stdint.h.
6077 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
6078 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
6079 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6080 Don't include init-arch.h.
6081 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6082 Don't include init-arch.h.
6083 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
6084 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
6085 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
6086 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
6087 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
6088 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
6089 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
6090 * time/clocktest.c: Include stdint.h.
6091 * time/tst-posixtz.c: Include stdint.h.
6092 * timezone/tst-timezone.c: Include stdint.h.
6093
6094 2017-02-16 Zack Weinberg <zackw@panix.com>
6095
6096 * string/string.h [__USE_MISC]: Include strings.h.
6097 (__bzero, bcmp, bcopy, bzero, index, rindex)
6098 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
6099 (ffs, ffsl, ffsll): Don't declare.
6100 * string/strings.h: Do not suppress the file if string.h has
6101 already been included.
6102 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
6103 annotations.
6104 (index, rindex): Define inline forwarders even if
6105 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
6106 (ffs): Use __attribute_const__.
6107 (ffsl, ffsll): Declare here.
6108 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
6109 have now been standardized.
6110 * include/string.h (__bzero): Declare here.
6111
6112 * bits/types.h: Move to posix/bits.
6113 * include/bits/types.h: New wrapper.
6114
6115 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
6116
6117 * string/bits/string2.h (strcmp): Remove define.
6118 (__strcmp_cg): Likewise.
6119 (strncmp): Likewise.
6120
6121 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
6122
6123 * include/string.h: Add __cplusplus check.
6124
6125 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6126
6127 [BZ #21134]
6128 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
6129 "divide by zero" exception when the input is zero.
6130 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
6131 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
6132 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
6133 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
6134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6135
6136 2017-02-15 Joseph Myers <joseph@codesourcery.com>
6137
6138 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
6139 and include ...
6140 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
6141 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
6142 to, and include ...
6143 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
6144 file.
6145 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
6146 and include ...
6147 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
6148 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
6149 and include ...
6150 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
6151 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
6152 and include ...
6153 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
6154 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
6155 and include ...
6156 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
6157 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
6158 to, and include ...
6159 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
6160 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
6161 and include ...
6162 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
6163
6164 2017-02-14 Joseph Myers <joseph@codesourcery.com>
6165
6166 * math/libm-test-support.h: Do not include <math-tests-arch.h>
6167 here.
6168 * math/libm-test-support.c (libm_test_init): Do not call
6169 INIT_ARCH_EXT here.
6170 * math/libm-test-driver.c: Include <math-tests-arch.h>.
6171 (main): Call INIT_ARCH_EXT.
6172
6173 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6174
6175 [BZ #21130]
6176 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
6177 with the "invalid" exception raised when x is -Inf.
6178 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6179
6180 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
6181
6182 * string/bits/string2.h (strchr): Remove define.
6183
6184 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
6185
6186 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
6187 tst-avx512.
6188 (test-extras): Add tst-avx-aux and tst-avx512-aux.
6189 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
6190 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
6191 ($(objpfx)tst-sse): New rule.
6192 ($(objpfx)tst-avx): Likewise.
6193 ($(objpfx)tst-avx512): Likewise.
6194 (CFLAGS-tst-avx-aux.c): New.
6195 (CFLAGS-tst-avxmod.c): Likewise.
6196 (CFLAGS-tst-avx512-aux.c): Likewise.
6197 (CFLAGS-tst-avx512mod.c): Likewise.
6198 * sysdeps/x86_64/tst-avx-aux.c: New file.
6199 * sysdeps/x86_64/tst-avx.c: Likewise.
6200 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
6201 * sysdeps/x86_64/tst-avx512.c: Likewise.
6202 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
6203 * sysdeps/x86_64/tst-avxmod.c: Likewise.
6204 * sysdeps/x86_64/tst-sse.c: Likewise.
6205 * sysdeps/x86_64/tst-ssemod.c: Likewise.
6206
6207 2017-02-09 Joseph Myers <joseph@codesourcery.com>
6208
6209 * math/auto-libm-test-in: Add more tests of csin and csinh.
6210 * math/auto-libm-test-out-csin: Regenerated.
6211 * math/auto-libm-test-out-csinh: Likewise.
6212 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6213 auto-libm-test-in.
6214 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6215
6216 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6217
6218 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6219 libm-compat-calls-auto.
6220 (libm-compat-calls): Likewise.
6221 (libm-compat-calls-auto): Rename to libm-compat-calls and add
6222 w_lgamma_compatF and k_standardF (merged from the items above).
6223 (libm-routines): Use libm-compat-calls, instead of
6224 libm-compat-calls-auto, with type-foreach.
6225
6226 2017-02-09 Joseph Myers <joseph@codesourcery.com>
6227
6228 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6229 macro.
6230 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6231 (CFLAGS-test-ifloat.c): ... this. Remove
6232 -U__LIBC_INTERNAL_MATH_INLINES.
6233 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6234 (CFLAGS-test-idouble.c): ... this. Remove
6235 -U__LIBC_INTERNAL_MATH_INLINES.
6236 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6237 (CFLAGS-test-ildouble.c): ... this. Remove
6238 -U__LIBC_INTERNAL_MATH_INLINES.
6239
6240 2017-02-08 Joseph Myers <joseph@codesourcery.com>
6241
6242 * math/libm-test-support.c: New file. Content from
6243 math/libm-test-driver.c.
6244 * math/libm-test-support.h: Likewise.
6245 * math/libm-test-support-double.c: New file.
6246 * math/libm-test-support-float.c: Likewise.
6247 * math/libm-test-support-ldouble.c: Likewise.
6248 * math/libm-test-driver.c: Remove main comment and header
6249 includes. Include libm-test-support.h.
6250 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6251 (flag_test_errno): Remove static.
6252 (flag_test_exceptions): Likewise.
6253 (flag_test_finite): Likewise.
6254 (flag_test_inline): Likewise.
6255 (flag_test_mathvec): Likewise.
6256 (test_msg): Likewise.
6257 (NO_EXCEPTION): Remove.
6258 (INVALID_EXCEPTION): Likewise.
6259 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6260 (OVERFLOW_EXCEPTION): Likewise.
6261 (UNDERFLOW_EXCEPTION): Likewise.
6262 (INEXACT_EXCEPTION): Likewise.
6263 (INVALID_EXCEPTION_OK): Likewise.
6264 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6265 (OVERFLOW_EXCEPTION_OK): Likewise.
6266 (UNDERFLOW_EXCEPTION_OK): Likewise.
6267 (NO_INEXACT_EXCEPTION): Likewise.
6268 (EXCEPTIONS_OK): Likewise.
6269 (IGNORE_ZERO_INF_SIGN): Likewise.
6270 (TEST_NAN_SIGN): Likewise.
6271 (TEST_NAN_PAYLOAD): Likewise.
6272 (NO_TEST_INLINE): Likewise.
6273 (XFAIL_TEST): Likewise.
6274 (ERRNO_UNCHANGED): Likewise.
6275 (ERRNO_EDOM): Likewise.
6276 (ERRNO_ERANGE): Likewise.
6277 (IGNORE_RESULT): Likewise.
6278 (NON_FINITE): Likewise.
6279 (TEST_SNAN): Likewise.
6280 (NO_TEST_MATHVEC): Likewise.
6281 (__CONCATX): Likewise.
6282 (TYPE_MIN): Likewise.
6283 (TYPE_TRUE_MIN): Likewise.
6284 (TYPE_MAX): Likewise.
6285 (MIN_EXP): Likewise.
6286 (MAX_EXP): Likewise.
6287 (MANT_DIG): Likewise.
6288 (FSTR_MAX): Likewise.
6289 (ulp_idx): Likewise.
6290 (qtype_str): Remove static.
6291 (TEST_COND_binary32): Remove.
6292 (TEST_COND_binary64): Likewise.
6293 (TEST_COND_binary128): Likewise.
6294 (TEST_COND_ibm128): Likewise.
6295 (TEST_COND_intel96): Likewise.
6296 (TEST_COND_m68k96): Likewise.
6297 (TEST_COND_ibm128_libgcc): Likewise.
6298 (XFAIL_IBM128_LIBGCC): Likewise.
6299 (PAYLOAD_DIG): Likewise.
6300 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6301 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6302 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6303 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6304 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6305 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6306 (TEST_COND_long32): Likewise.
6307 (TEST_COND_long64): Likewise.
6308 (TEST_COND_before_rounding): Likewise.
6309 (TEST_COND_after_rounding): Likewise.
6310 (ulps_file_name): Likewise.
6311 (ulps_file): Likewise.
6312 (output_ulps): Likewise.
6313 (output_dir): Likewise.
6314 (noErrors): Likewise.
6315 (noTests): Likewise.
6316 (noExcTests): Likewise.
6317 (noErrnoTests): Likewise.
6318 (verbose): Likewise.
6319 (output_max_error): Likewise.
6320 (output_points): Likewise.
6321 (ignore_max_ulp): Likewise.
6322 (max_error): Likewise.
6323 (real_max_error): Likewise.
6324 (imag_max_error): Likewise.
6325 (prev_max_error): Likewise.
6326 (prev_real_max_error): Likewise.
6327 (prev_imag_max_error): Likewise.
6328 (max_valid_error): Likewise.
6329 (TYPE_DECIMAL_DIG): Likewise.
6330 (TYPE_HEX_DIG): Likewise.
6331 (fmt_ftostr): Likewise.
6332 (compare_ulp_data): Likewise.
6333 (find_ulps): Likewise.
6334 (init_max_error): Likewise.
6335 (set_max_error): Likewise.
6336 (print_float): Likewise.
6337 (print_screen): Likewise.
6338 (print_screen_max_error): Likewise.
6339 (update_stats): Likewise.
6340 (print_function_ulps): Likewise.
6341 (print_complex_function_ulps): Likewise.
6342 (fpstack_test): Likewise.
6343 (print_max_error): Likewise.
6344 (print_complex_max_error): Likewise.
6345 (test_single_exception): Likewise.
6346 (test_exceptions): Likewise.
6347 (test_single_errno): Likewise.
6348 (test_errno): Likewise.
6349 (ULPDIFF): Likewise.
6350 (ulp): Likewise.
6351 (check_float_internal): Likewise.
6352 (check_float): Likewise.
6353 (check_complex): Likewise.
6354 (check_int): Likewise.
6355 (check_long): Likewise.
6356 (check_bool): Likewise.
6357 (check_longlong): Likewise.
6358 (check_intmax_t): Likewise.
6359 (check_uintmax_t): Likewise.
6360 (enable_test): Likewise.
6361 (matherr): Likewise.
6362 (initialize): Likewise.
6363 (options): Likewise.
6364 (doc): Remove static.
6365 (argp): Likewise.
6366 (parse_opt): Remove.
6367 (check_ulp): Likewise.
6368 (libm_test_init): Likewise.
6369 (libm_test_finish): Likewise.
6370 * math/Makefile (libm-test-support): New variable.
6371 (test-extras): Add libm-test-support files.
6372 (extra-test-objs): Likewise.
6373 (CFLAGS-libm-test-support-float.c): New variable.
6374 (CFLAGS-libm-test-support-double.c): Likewise.
6375 (CFLAGS-libm-test-support-ldouble.c): Likewise.
6376 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6377 libm-test-support objects.
6378
6379 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6380
6381 * math/Makefile (libm-calls): Move w_exp...
6382 (libm-compat-calls-auto): Here.
6383
6384 * math/w_expl.c: Add suffix "_compat" to filename.
6385 * sysdeps/ia64/fpu/w_expl.c: Likewise.
6386 * sysdeps/ia64/fpu/w_expf.c: Likewise.
6387 * sysdeps/ia64/fpu/w_exp.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6389 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6393
6394 * math/w_expl_compat.c: New file, copied from above.
6395 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
6396 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
6397 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6399 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6402 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6403
6404 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
6405 to filename.
6406 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
6407
6408 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
6409 copied from above and adjusted for the new filenames.
6410 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6411
6412 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6413
6414 * math/Makefile (libm-calls): Move w_lgammaF...
6415 (libm-compat-calls-auto): Here.
6416
6417 * math/w_lgamma.c: Add suffix "_compat2" to filename.
6418 * math/w_lgammaf.c: Likewise.
6419 * math/w_lgammal.c: Likewise.
6420
6421 * math/w_lgamma_compat2.c: New file, copied from above.
6422 * math/w_lgammaf_compat2.c: Likewise.
6423 * math/w_lgammal_compat2.c: Likewise.
6424
6425 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6426
6427 * math/Makefile (libm-calls): Move w_lgammaF_r...
6428 (libm-compat-calls-auto): Here.
6429
6430 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
6431 * math/w_lgammaf_r.c: Likewise.
6432 * math/w_lgammal_r.c: Likewise.
6433 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6434 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6435 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6436
6437 * math/w_lgamma_r_compat.c: New file, copied from above.
6438 * math/w_lgammaf_r_compat.c: Likewise.
6439 * math/w_lgammal_r_compat.c: Likewise.
6440 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
6441 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
6442 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
6443
6444 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
6445 to filename.
6446 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
6447
6448 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
6449 copied from above and adjusted for the new filenames.
6450 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6451
6452 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
6453
6454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
6455 calculation in SYSCALL_ERROR_HANDLER().
6456
6457 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
6458
6459 * manual/contrib.texi: Fix typo.
6460
6461 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6462
6463 [BZ #21109]
6464 * elf/dl-tunable-types.h (tunable_callback_t): Accept
6465 tunable_val_t as argument.
6466 * elf/dl-tunables.c (__tunable_set_val): Add comment.
6467 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
6468 argument.
6469 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
6470
6471 2017-02-08 Kir Kolyshkin <kir@openvz.org>
6472
6473 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
6474 Add PTRACE_EVENT_STOP.
6475 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6476 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6477 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6478 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6479 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
6480 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
6481
6482 2017-02-07 Joseph Myers <joseph@codesourcery.com>
6483
6484 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
6485 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
6486 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
6487 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
6488 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
6489 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
6490 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
6491 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
6492 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
6493 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
6494
6495 [BZ #21112]
6496 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
6497 12 bits zero.
6498 (cp_l): Update for new value of cp_h.
6499 * math/auto-libm-test-in: Add another test of pow.
6500 * math/auto-libm-test-out-pow: Regenerated.
6501
6502 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6503
6504 * manual/contrib.texi: Fix typo.
6505
6506 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6507
6508 [BZ #15998]
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6510 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6512
6513 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6514
6515 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
6516 STRCHR as __strchr_power8.
6517 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
6518 strlen as __strlen_power8.
6519
6520 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6521
6522 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
6523 unaligned load for shorter strings.
6524 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6525
6526 2017-02-06 Joseph Myers <joseph@codesourcery.com>
6527
6528 * math/libm-test-driver.c (flag_test_errno): New variable.
6529 (flag_test_exceptions): Likewise.
6530 (flag_test_finite): Likewise.
6531 (flag_test_inline): Likewise.
6532 (flag_test_mathvec): Likewise.
6533 (test_msg): Likewise.
6534 (ulp_idx): Likewise.
6535 (qtype_str): Likewise.
6536 (ULP_IDX): Remove macro.
6537 (QTYPE_STR): Likewise.
6538 (find_ulps): Use ulp_idx not ULP_IDX.
6539 (print_function_ulps): Use qtype_str, printed with %s, not
6540 QTYPE_STR, printed with concatentation to format string.
6541 (print_complex_function_ulps): Likewise.
6542 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6543 (test_errno): Use flag_test_errno not TEST_ERRNO.
6544 (enable_test): Use flag_test_inline, flag_test_finite and
6545 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6546 TEST_MATHVEC.
6547 (libm_test_init): New function. Factored out of main.
6548 (libm_test_finish): Likewise.
6549 (main): Call libm_test_init and libm_test_finish and move most
6550 code to those functions.
6551
6552 * math/libm-test-driver.c (STRX): New macro.
6553 (STR): Likewise.
6554 (STR_FLOAT): Likewise.
6555 (STR_VEC_LEN): Likewise.
6556 (TEST_MSG): Likewise. Define here instead of expecting to be
6557 defined by including file.
6558 * math/test-double-finite.c (TEST_MSG): Remove macro.
6559 * math/test-double-vlen2.h (TEST_MSG): Likewise.
6560 * math/test-double-vlen4.h (TEST_MSG): Likewise.
6561 * math/test-double-vlen8.h (TEST_MSG): Likewise.
6562 * math/test-double.c (TEST_MSG): Likewise.
6563 * math/test-float-finite.c (TEST_MSG): Likewise.
6564 * math/test-float-vlen16.h (TEST_MSG): Likewise.
6565 * math/test-float-vlen4.h (TEST_MSG): Likewise.
6566 * math/test-float-vlen8.h (TEST_MSG): Likewise.
6567 * math/test-float.c (TEST_MSG): Likewise.
6568 * math/test-idouble.c (TEST_MSG): Likewise.
6569 * math/test-ifloat.c (TEST_MSG): Likewise.
6570 * math/test-ildouble.c (TEST_MSG): Likewise.
6571 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6572 * math/test-ldouble.c (TEST_MSG): Likewise.
6573
6574 * math/libm-test.inc: Move all tests of individual functions to
6575 libm-test-*.inc and #include libm-test-*.c files.
6576 (acos_test_data): Remove.
6577 (acos_test): Likewise.
6578 (acosh_test_data): Likewise.
6579 (acosh_test): Likewise.
6580 (asin_test_data): Likewise.
6581 (asin_test): Likewise.
6582 (asinh_test_data): Likewise.
6583 (asinh_test): Likewise.
6584 (atan_test_data): Likewise.
6585 (atan_test): Likewise.
6586 (atanh_test_data): Likewise.
6587 (atanh_test): Likewise.
6588 (atan2_test_data): Likewise.
6589 (atan2_test): Likewise.
6590 (cabs_test_data): Likewise.
6591 (cabs_test): Likewise.
6592 (cacos_test_data): Likewise.
6593 (cacos_test): Likewise.
6594 (cacosh_test_data): Likewise.
6595 (cacosh_test): Likewise.
6596 (canonicalize_test_data): Likewise.
6597 (canonicalize_test): Likewise.
6598 (carg_test_data): Likewise.
6599 (carg_test): Likewise.
6600 (casin_test_data): Likewise.
6601 (casin_test): Likewise.
6602 (casinh_test_data): Likewise.
6603 (casinh_test): Likewise.
6604 (catan_test_data): Likewise.
6605 (catan_test): Likewise.
6606 (catanh_test_data): Likewise.
6607 (catanh_test): Likewise.
6608 (cbrt_test_data): Likewise.
6609 (cbrt_test): Likewise.
6610 (ccos_test_data): Likewise.
6611 (ccos_test): Likewise.
6612 (ccosh_test_data): Likewise.
6613 (ccosh_test): Likewise.
6614 (ceil_test_data): Likewise.
6615 (ceil_test): Likewise.
6616 (cexp_test_data): Likewise.
6617 (cexp_test): Likewise.
6618 (cimag_test_data): Likewise.
6619 (cimag_test): Likewise.
6620 (clog_test_data): Likewise.
6621 (clog_test): Likewise.
6622 (clog10_test_data): Likewise.
6623 (clog10_test): Likewise.
6624 (conj_test_data): Likewise.
6625 (conj_test): Likewise.
6626 (copysign_test_data): Likewise.
6627 (copysign_test): Likewise.
6628 (cos_test_data): Likewise.
6629 (cos_test): Likewise.
6630 (cosh_test_data): Likewise.
6631 (cosh_test): Likewise.
6632 (cpow_test_data): Likewise.
6633 (cpow_test): Likewise.
6634 (cproj_test_data): Likewise.
6635 (cproj_test): Likewise.
6636 (creal_test_data): Likewise.
6637 (creal_test): Likewise.
6638 (csin_test_data): Likewise.
6639 (csin_test): Likewise.
6640 (csinh_test_data): Likewise.
6641 (csinh_test): Likewise.
6642 (csqrt_test_data): Likewise.
6643 (csqrt_test): Likewise.
6644 (ctan_test_data): Likewise.
6645 (ctan_test): Likewise.
6646 (ctanh_test_data): Likewise.
6647 (ctanh_test): Likewise.
6648 (erf_test_data): Likewise.
6649 (erf_test): Likewise.
6650 (erfc_test_data): Likewise.
6651 (erfc_test): Likewise.
6652 (exp_test_data): Likewise.
6653 (exp_test): Likewise.
6654 (exp10_test_data): Likewise.
6655 (exp10_test): Likewise.
6656 (pow10_test): Likewise.
6657 (exp2_test_data): Likewise.
6658 (exp2_test): Likewise.
6659 (expm1_test_data): Likewise.
6660 (expm1_test): Likewise.
6661 (fabs_test_data): Likewise.
6662 (fabs_test): Likewise.
6663 (fdim_test_data): Likewise.
6664 (fdim_test): Likewise.
6665 (floor_test_data): Likewise.
6666 (floor_test): Likewise.
6667 (fma_test_data): Likewise.
6668 (fma_test): Likewise.
6669 (fmax_test_data): Likewise.
6670 (fmax_test): Likewise.
6671 (fmaxmag_test_data): Likewise.
6672 (fmaxmag_test): Likewise.
6673 (fmin_test_data): Likewise.
6674 (fmin_test): Likewise.
6675 (fminmag_test_data): Likewise.
6676 (fminmag_test): Likewise.
6677 (fmod_test_data): Likewise.
6678 (fmod_test): Likewise.
6679 (fpclassify_test_data): Likewise.
6680 (fpclassify_test): Likewise.
6681 (frexp_test_data): Likewise.
6682 (frexp_test): Likewise.
6683 (fromfp_test_data): Likewise.
6684 (fromfp_test): Likewise.
6685 (fromfpx_test_data): Likewise.
6686 (fromfpx_test): Likewise.
6687 (getpayload_test_data): Likewise.
6688 (getpayload_test): Likewise.
6689 (hypot_test_data): Likewise.
6690 (hypot_test): Likewise.
6691 (ilogb_test_data): Likewise.
6692 (ilogb_test): Likewise.
6693 (iscanonical_test_data): Likewise.
6694 (iscanonical_test): Likewise.
6695 (iseqsig_test_data): Likewise.
6696 (iseqsig_test): Likewise.
6697 (isfinite_test_data): Likewise.
6698 (isfinite_test): Likewise.
6699 (finite_test): Likewise.
6700 (isgreater_test_data): Likewise.
6701 (isgreater_test): Likewise.
6702 (isgreaterequal_test_data): Likewise.
6703 (isgreaterequal_test): Likewise.
6704 (isinf_test_data): Likewise.
6705 (isinf_test): Likewise.
6706 (isless_test_data): Likewise.
6707 (isless_test): Likewise.
6708 (islessequal_test_data): Likewise.
6709 (islessequal_test): Likewise.
6710 (islessgreater_test_data): Likewise.
6711 (islessgreater_test): Likewise.
6712 (isnan_test_data): Likewise.
6713 (isnan_test): Likewise.
6714 (isnormal_test_data): Likewise.
6715 (isnormal_test): Likewise.
6716 (issignaling_test_data): Likewise.
6717 (issignaling_test): Likewise.
6718 (issubnormal_test_data): Likewise.
6719 (issubnormal_test): Likewise.
6720 (isunordered_test_data): Likewise.
6721 (isunordered_test): Likewise.
6722 (iszero_test_data): Likewise.
6723 (iszero_test): Likewise.
6724 (j0_test_data): Likewise.
6725 (j0_test): Likewise.
6726 (j1_test_data): Likewise.
6727 (j1_test): Likewise.
6728 (jn_test_data): Likewise.
6729 (jn_test): Likewise.
6730 (lgamma_test_data): Likewise.
6731 (lgamma_test): Likewise.
6732 (gamma_test): Likewise.
6733 (llogb_test_data): Likewise.
6734 (llogb_test): Likewise.
6735 (lrint_test_data): Likewise.
6736 (lrint_test): Likewise.
6737 (llrint_test_data): Likewise.
6738 (llrint_test): Likewise.
6739 (log_test_data): Likewise.
6740 (log_test): Likewise.
6741 (log10_test_data): Likewise.
6742 (log10_test): Likewise.
6743 (log1p_test_data): Likewise.
6744 (log1p_test): Likewise.
6745 (log2_test_data): Likewise.
6746 (log2_test): Likewise.
6747 (logb_test_data): Likewise.
6748 (logb_test): Likewise.
6749 (lround_test_data): Likewise.
6750 (lround_test): Likewise.
6751 (llround_test_data): Likewise.
6752 (llround_test): Likewise.
6753 (modf_test_data): Likewise.
6754 (modf_test): Likewise.
6755 (nearbyint_test_data): Likewise.
6756 (nearbyint_test): Likewise.
6757 (nextafter_test_data): Likewise.
6758 (nextafter_test): Likewise.
6759 (nextup_test_data): Likewise.
6760 (nextup_test): Likewise.
6761 (nextdown_test_data): Likewise.
6762 (nextdown_test): Likewise.
6763 (nexttoward_test_data): Likewise.
6764 (nexttoward_test): Likewise.
6765 (pow_test_data): Likewise.
6766 (pow_test): Likewise.
6767 (remainder_test_data): Likewise.
6768 (remainder_test): Likewise.
6769 (drem_test): Likewise.
6770 (remquo_test_data): Likewise.
6771 (remquo_test): Likewise.
6772 (rint_test_data): Likewise.
6773 (rint_test): Likewise.
6774 (round_test_data): Likewise.
6775 (round_test): Likewise.
6776 (roundeven_test_data): Likewise.
6777 (roundeven_test): Likewise.
6778 (scalb_test_data): Likewise.
6779 (scalb_test): Likewise.
6780 (scalbn_test_data): Likewise.
6781 (scalbn_test): Likewise.
6782 (ldexp_test): Likewise.
6783 (scalbln_test_data): Likewise.
6784 (scalbln_test): Likewise.
6785 (setpayload_test_data): Likewise.
6786 (setpayload_test): Likewise.
6787 (setpayloadsig_test_data): Likewise.
6788 (setpayloadsig_test): Likewise.
6789 (signbit_test_data): Likewise.
6790 (signbit_test): Likewise.
6791 (sin_test_data): Likewise.
6792 (sin_test): Likewise.
6793 (sincos_test_data): Likewise.
6794 (sincos_test): Likewise.
6795 (sinh_test_data): Likewise.
6796 (sinh_test): Likewise.
6797 (sqrt_test_data): Likewise.
6798 (sqrt_test): Likewise.
6799 (tan_test_data): Likewise.
6800 (tan_test): Likewise.
6801 (tanh_test_data): Likewise.
6802 (tanh_test): Likewise.
6803 (tgamma_test_data): Likewise.
6804 (tgamma_test): Likewise.
6805 (totalorder_test_data): Likewise.
6806 (totalorder_test): Likewise.
6807 (totalordermag_test_data): Likewise.
6808 (totalordermag_test): Likewise.
6809 (trunc_test_data): Likewise.
6810 (trunc_test): Likewise.
6811 (ufromfp_test_data): Likewise.
6812 (ufromfp_test): Likewise.
6813 (ufromfpx_test_data): Likewise.
6814 (ufromfpx_test): Likewise.
6815 (y0_test_data): Likewise.
6816 (y0_test): Likewise.
6817 (y1_test_data): Likewise.
6818 (y1_test): Likewise.
6819 (yn_test_data): Likewise.
6820 (yn_test): Likewise.
6821 (significand_test_data): Likewise.
6822 (significand_test): Likewise.
6823 * math/Makefile (auto-libm-test-out-files): Remove variable.
6824 (libm-test-funcs-noauto): New variable.
6825 (libm-test-funcs-all): Likewise.
6826 (libm-test-c-auto): Likewise.
6827 (libm-test-c-noauto): Likewise.
6828 (libm-tests-generated): Add $(libm-test-c-auto) and
6829 $(libm-test-c-noauto).
6830 (generated): Do not add auto-libm-test-out.
6831 (libm-test-c-auto-obj): New variable.
6832 (libm-test-c-noauto-obj): Likewise.
6833 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6834 ($(libm-test-c-noauto-obj)): New static pattern rule.
6835 ($(libm-test-c-auto-obj)): Likewise.
6836 (libm-test-incs): New variable.
6837 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6838 and pass it to gen-libm-have-vector-test.sh.
6839 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6840 be passed on command line.
6841 * math/libm-test-acos.inc: New file. Content from
6842 math/libm-test.inc.
6843 * math/libm-test-acosh.inc: Likewise.
6844 * math/libm-test-asin.inc: Likewise.
6845 * math/libm-test-asinh.inc: Likewise.
6846 * math/libm-test-atan.inc: Likewise.
6847 * math/libm-test-atan2.inc: Likewise.
6848 * math/libm-test-atanh.inc: Likewise.
6849 * math/libm-test-cabs.inc: Likewise.
6850 * math/libm-test-cacos.inc: Likewise.
6851 * math/libm-test-cacosh.inc: Likewise.
6852 * math/libm-test-canonicalize.inc: Likewise.
6853 * math/libm-test-carg.inc: Likewise.
6854 * math/libm-test-casin.inc: Likewise.
6855 * math/libm-test-casinh.inc: Likewise.
6856 * math/libm-test-catan.inc: Likewise.
6857 * math/libm-test-catanh.inc: Likewise.
6858 * math/libm-test-cbrt.inc: Likewise.
6859 * math/libm-test-ccos.inc: Likewise.
6860 * math/libm-test-ccosh.inc: Likewise.
6861 * math/libm-test-ceil.inc: Likewise.
6862 * math/libm-test-cexp.inc: Likewise.
6863 * math/libm-test-cimag.inc: Likewise.
6864 * math/libm-test-clog.inc: Likewise.
6865 * math/libm-test-clog10.inc: Likewise.
6866 * math/libm-test-conj.inc: Likewise.
6867 * math/libm-test-copysign.inc: Likewise.
6868 * math/libm-test-cos.inc: Likewise.
6869 * math/libm-test-cosh.inc: Likewise.
6870 * math/libm-test-cpow.inc: Likewise.
6871 * math/libm-test-cproj.inc: Likewise.
6872 * math/libm-test-creal.inc: Likewise.
6873 * math/libm-test-csin.inc: Likewise.
6874 * math/libm-test-csinh.inc: Likewise.
6875 * math/libm-test-csqrt.inc: Likewise.
6876 * math/libm-test-ctan.inc: Likewise.
6877 * math/libm-test-ctanh.inc: Likewise.
6878 * math/libm-test-erf.inc: Likewise.
6879 * math/libm-test-erfc.inc: Likewise.
6880 * math/libm-test-exp.inc: Likewise.
6881 * math/libm-test-exp10.inc: Likewise.
6882 * math/libm-test-exp2.inc: Likewise.
6883 * math/libm-test-expm1.inc: Likewise.
6884 * math/libm-test-fabs.inc: Likewise.
6885 * math/libm-test-fdim.inc: Likewise.
6886 * math/libm-test-floor.inc: Likewise.
6887 * math/libm-test-fma.inc: Likewise.
6888 * math/libm-test-fmax.inc: Likewise.
6889 * math/libm-test-fmaxmag.inc: Likewise.
6890 * math/libm-test-fmin.inc: Likewise.
6891 * math/libm-test-fminmag.inc: Likewise.
6892 * math/libm-test-fmod.inc: Likewise.
6893 * math/libm-test-fpclassify.inc: Likewise.
6894 * math/libm-test-frexp.inc: Likewise.
6895 * math/libm-test-fromfp.inc: Likewise.
6896 * math/libm-test-fromfpx.inc: Likewise.
6897 * math/libm-test-getpayload.inc: Likewise.
6898 * math/libm-test-hypot.inc: Likewise.
6899 * math/libm-test-ilogb.inc: Likewise.
6900 * math/libm-test-iscanonical.inc: Likewise.
6901 * math/libm-test-iseqsig.inc: Likewise.
6902 * math/libm-test-isfinite.inc: Likewise.
6903 * math/libm-test-isgreater.inc: Likewise.
6904 * math/libm-test-isgreaterequal.inc: Likewise.
6905 * math/libm-test-isinf.inc: Likewise.
6906 * math/libm-test-isless.inc: Likewise.
6907 * math/libm-test-islessequal.inc: Likewise.
6908 * math/libm-test-islessgreater.inc: Likewise.
6909 * math/libm-test-isnan.inc: Likewise.
6910 * math/libm-test-isnormal.inc: Likewise.
6911 * math/libm-test-issignaling.inc: Likewise.
6912 * math/libm-test-issubnormal.inc: Likewise.
6913 * math/libm-test-isunordered.inc: Likewise.
6914 * math/libm-test-iszero.inc: Likewise.
6915 * math/libm-test-j0.inc: Likewise.
6916 * math/libm-test-j1.inc: Likewise.
6917 * math/libm-test-jn.inc: Likewise.
6918 * math/libm-test-lgamma.inc: Likewise.
6919 * math/libm-test-llogb.inc: Likewise.
6920 * math/libm-test-llrint.inc: Likewise.
6921 * math/libm-test-llround.inc: Likewise.
6922 * math/libm-test-log.inc: Likewise.
6923 * math/libm-test-log10.inc: Likewise.
6924 * math/libm-test-log1p.inc: Likewise.
6925 * math/libm-test-log2.inc: Likewise.
6926 * math/libm-test-logb.inc: Likewise.
6927 * math/libm-test-lrint.inc: Likewise.
6928 * math/libm-test-lround.inc: Likewise.
6929 * math/libm-test-modf.inc: Likewise.
6930 * math/libm-test-nearbyint.inc: Likewise.
6931 * math/libm-test-nextafter.inc: Likewise.
6932 * math/libm-test-nextdown.inc: Likewise.
6933 * math/libm-test-nexttoward.inc: Likewise.
6934 * math/libm-test-nextup.inc: Likewise.
6935 * math/libm-test-pow.inc: Likewise.
6936 * math/libm-test-remainder.inc: Likewise.
6937 * math/libm-test-remquo.inc: Likewise.
6938 * math/libm-test-rint.inc: Likewise.
6939 * math/libm-test-round.inc: Likewise.
6940 * math/libm-test-roundeven.inc: Likewise.
6941 * math/libm-test-scalb.inc: Likewise.
6942 * math/libm-test-scalbln.inc: Likewise.
6943 * math/libm-test-scalbn.inc: Likewise.
6944 * math/libm-test-setpayload.inc: Likewise.
6945 * math/libm-test-setpayloadsig.inc: Likewise.
6946 * math/libm-test-signbit.inc: Likewise.
6947 * math/libm-test-significand.inc: Likewise.
6948 * math/libm-test-sin.inc: Likewise.
6949 * math/libm-test-sincos.inc: Likewise.
6950 * math/libm-test-sinh.inc: Likewise.
6951 * math/libm-test-sqrt.inc: Likewise.
6952 * math/libm-test-tan.inc: Likewise.
6953 * math/libm-test-tanh.inc: Likewise.
6954 * math/libm-test-tgamma.inc: Likewise.
6955 * math/libm-test-totalorder.inc: Likewise.
6956 * math/libm-test-totalordermag.inc: Likewise.
6957 * math/libm-test-trunc.inc: Likewise.
6958 * math/libm-test-ufromfp.inc: Likewise.
6959 * math/libm-test-ufromfpx.inc: Likewise.
6960 * math/libm-test-y0.inc: Likewise.
6961 * math/libm-test-y1.inc: Likewise.
6962 * math/libm-test-yn.inc: Likewise.
6963 * math/README.libm-test: Update.
6964
6965 * math/gen-auto-libm-tests.c: Update comment about use of program.
6966 (generate_output): Add argument FUNCTION.
6967 (main): Require extra argument. Pass function name to
6968 generate_output.
6969 * math/Makefile (generated): Add auto-libm-test-out.
6970 (libm-test-funcs-auto): New variable.
6971 (auto-libm-test-out-files): New variable.
6972 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6973 Concatenate those files to form $(objpfx)auto-libm-test-out and
6974 use it as input to gen-libm-test.pl.
6975 * math/README.libm-test: Update.
6976 * math/auto-libm-test-out: Remove.
6977 * math/auto-libm-test-out-acos: New generated file.
6978 * math/auto-libm-test-out-acosh: Likewise.
6979 * math/auto-libm-test-out-asin: Likewise.
6980 * math/auto-libm-test-out-asinh: Likewise.
6981 * math/auto-libm-test-out-atan: Likewise.
6982 * math/auto-libm-test-out-atan2: Likewise.
6983 * math/auto-libm-test-out-atanh: Likewise.
6984 * math/auto-libm-test-out-cabs: Likewise.
6985 * math/auto-libm-test-out-carg: Likewise.
6986 * math/auto-libm-test-out-cbrt: Likewise.
6987 * math/auto-libm-test-out-ccos: Likewise.
6988 * math/auto-libm-test-out-ccosh: Likewise.
6989 * math/auto-libm-test-out-cexp: Likewise.
6990 * math/auto-libm-test-out-clog: Likewise.
6991 * math/auto-libm-test-out-clog10: Likewise.
6992 * math/auto-libm-test-out-cos: Likewise.
6993 * math/auto-libm-test-out-cosh: Likewise.
6994 * math/auto-libm-test-out-cpow: Likewise.
6995 * math/auto-libm-test-out-csin: Likewise.
6996 * math/auto-libm-test-out-csinh: Likewise.
6997 * math/auto-libm-test-out-csqrt: Likewise.
6998 * math/auto-libm-test-out-ctan: Likewise.
6999 * math/auto-libm-test-out-ctanh: Likewise.
7000 * math/auto-libm-test-out-erf: Likewise.
7001 * math/auto-libm-test-out-erfc: Likewise.
7002 * math/auto-libm-test-out-exp: Likewise.
7003 * math/auto-libm-test-out-exp10: Likewise.
7004 * math/auto-libm-test-out-exp2: Likewise.
7005 * math/auto-libm-test-out-expm1: Likewise.
7006 * math/auto-libm-test-out-fma: Likewise.
7007 * math/auto-libm-test-out-hypot: Likewise.
7008 * math/auto-libm-test-out-j0: Likewise.
7009 * math/auto-libm-test-out-j1: Likewise.
7010 * math/auto-libm-test-out-jn: Likewise.
7011 * math/auto-libm-test-out-lgamma: Likewise.
7012 * math/auto-libm-test-out-log: Likewise.
7013 * math/auto-libm-test-out-log10: Likewise.
7014 * math/auto-libm-test-out-log1p: Likewise.
7015 * math/auto-libm-test-out-log2: Likewise.
7016 * math/auto-libm-test-out-pow: Likewise.
7017 * math/auto-libm-test-out-sin: Likewise.
7018 * math/auto-libm-test-out-sincos: Likewise.
7019 * math/auto-libm-test-out-sinh: Likewise.
7020 * math/auto-libm-test-out-sqrt: Likewise.
7021 * math/auto-libm-test-out-tan: Likewise.
7022 * math/auto-libm-test-out-tanh: Likewise.
7023 * math/auto-libm-test-out-tgamma: Likewise.
7024 * math/auto-libm-test-out-y0: Likewise.
7025 * math/auto-libm-test-out-y1: Likewise.
7026 * math/auto-libm-test-out-yn: Likewise.
7027
7028 * math/Makefile (generated): Do not include libm-test.stmp.
7029 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
7030 on $(objpfx)libm-test.stmp.
7031 ($(objpfx)libm-test.stmp): Remove rule.
7032 ($(objpfx)libm-test-ulps.h): New rule.
7033 ($(objpfx)libm-test.c): Likewise.
7034 ($(objpfx)libm-have-vector-test.h): Likewise.
7035 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
7036 individual generated files, not libm-test.stmp.
7037
7038 * math/gen-libm-test.pl ($output_dir): Remove variable.
7039 ($srcdir): Likewise.
7040 ($opt_a): New variable.
7041 ($opt_c): Likewise.
7042 ($opt_C): Likewise.
7043 ($opt_H): Likewise.
7044 (-n): Make option take argument and use it as NewUlps output.
7045 (-a): New option. Use its argument for auto-libm-test-out input.
7046 (-c): New option. Use its argument for libm-test.inc input.
7047 (-C): New option. Use its argument for libm-test.c output.
7048 (-H): New option. Use its argument for libm-test-ulps.h output.
7049 (top level): Only process inputs needed to generate outputs
7050 specified by command-line options. Only generate outputs
7051 specified by command-line options.
7052 * math/README.libm-test: Update example gen-libm-test.pl command.
7053 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
7054 commands.
7055 (regen-ulps): Likewise.
7056
7057 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
7058
7059 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
7060 * include/string.h (index): Remove define.
7061 (rindex): Likewise.
7062 * misc/getttyent.c (__getttyent): Rename index to strchr.
7063 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
7064 * sunrpc/rpc_main.c (mkfile_output): Likewise.
7065
7066 2017-02-06 Joseph Myers <joseph@codesourcery.com>
7067
7068 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
7069 * math/libm-test.inc: Move all contents, other than tests of
7070 individual functions, to libm-test-driver.c.
7071 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
7072 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
7073 [!FE_UPWARD] (FE_UPWARD): Likewise.
7074 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
7075 (NO_EXCEPTION): Likewise.
7076 (INVALID_EXCEPTION): Likewise.
7077 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7078 (OVERFLOW_EXCEPTION): Likewise.
7079 (UNDERFLOW_EXCEPTION): Likewise.
7080 (INEXACT_EXCEPTION): Likewise.
7081 (INVALID_EXCEPTION_OK): Likewise.
7082 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7083 (OVERFLOW_EXCEPTION_OK): Likewise.
7084 (UNDERFLOW_EXCEPTION_OK): Likewise.
7085 (NO_INEXACT_EXCEPTION): Likewise.
7086 (EXCEPTIONS_OK): Likewise.
7087 (IGNORE_ZERO_INF_SIGN): Likewise.
7088 (TEST_NAN_SIGN): Likewise.
7089 (TEST_NAN_PAYLOAD): Likewise.
7090 (NO_TEST_INLINE): Likewise.
7091 (XFAIL_TEST): Likewise.
7092 (ERRNO_UNCHANGED): Likewise.
7093 (ERRNO_EDOM): Likewise.
7094 (ERRNO_ERANGE): Likewise.
7095 (IGNORE_RESULT): Likewise.
7096 (NON_FINITE): Likewise.
7097 (TEST_SNAN): Likewise.
7098 (NO_TEST_MATHVEC): Likewise.
7099 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
7100 (__CONCATX): Likewise.
7101 (TYPE_MIN): Likewise.
7102 (TYPE_TRUE_MIN): Likewise.
7103 (TYPE_MAX): Likewise.
7104 (MIN_EXP): Likewise.
7105 (MAX_EXP): Likewise.
7106 (MANT_DIG): Likewise.
7107 (FSTR_MAX): Likewise.
7108 (ULP_IDX): Likewise.
7109 (QTYPE_STR): Likewise.
7110 (TEST_COND_binary32): Likewise.
7111 (TEST_COND_binary64): Likewise.
7112 (TEST_COND_binary128): Likewise.
7113 (TEST_COND_ibm128): Likewise.
7114 (TEST_COND_intel96): Likewise.
7115 (TEST_COND_m68k96): Likewise.
7116 (TEST_COND_ibm128_libgcc): Likewise.
7117 (XFAIL_IBM128_LIBGCC): Likewise.
7118 (PAYLOAD_DIG): Likewise.
7119 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7120 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7121 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7122 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7123 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7124 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7125 (TEST_COND_long32): Likewise.
7126 (TEST_COND_long64): Likewise.
7127 (TEST_COND_before_rounding): Likewise.
7128 (TEST_COND_after_rounding): Likewise.
7129 (lit_pi_3_m_4_d): Likewise.
7130 (lit_pi_3_m_4_ln10_m_d): Likewise.
7131 (lit_pi_2_ln10_m_d): Likewise.
7132 (lit_pi_4_ln10_m_d): Likewise.
7133 (lit_pi_ln10_d): Likewise.
7134 (lit_pi_2_d): Likewise.
7135 (lit_pi_4_d): Likewise.
7136 (lit_pi): Likewise.
7137 (lit_e): Likewise.
7138 (ulps_file_name): Likewise.
7139 (ulps_file): Likewise.
7140 (output_ulps): Likewise.
7141 (output_dir): Likewise.
7142 (noErrors): Likewise.
7143 (noTests): Likewise.
7144 (noExcTests): Likewise.
7145 (noErrnoTests): Likewise.
7146 (verbose): Likewise.
7147 (output_max_error): Likewise.
7148 (output_points): Likewise.
7149 (ignore_max_ulp): Likewise.
7150 (plus_zero): Likewise.
7151 (minus_zero): Likewise.
7152 (plus_infty): Likewise.
7153 (minus_infty): Likewise.
7154 (qnan_value_pl): Likewise.
7155 (qnan_value): Likewise.
7156 (snan_value_pl): Likewise.
7157 (snan_value): Likewise.
7158 (max_value): Likewise.
7159 (min_value): Likewise.
7160 (min_subnorm_value): Likewise.
7161 (snan_value_ld): Likewise.
7162 (max_error): Likewise.
7163 (real_max_error): Likewise.
7164 (imag_max_error): Likewise.
7165 (prev_max_error): Likewise.
7166 (prev_real_max_error): Likewise.
7167 (prev_imag_max_error): Likewise.
7168 (max_valid_error): Likewise.
7169 (TYPE_DECIMAL_DIG): Likewise.
7170 (TYPE_HEX_DIG): Likewise.
7171 (fmt_ftostr): Likewise.
7172 (compare_ulp_data): Likewise.
7173 (find_ulps): Likewise.
7174 (init_max_error): Likewise.
7175 (set_max_error): Likewise.
7176 (print_float): Likewise.
7177 (print_screen): Likewise.
7178 (print_screen_max_error): Likewise.
7179 (update_stats): Likewise.
7180 (print_function_ulps): Likewise.
7181 (print_complex_function_ulps): Likewise.
7182 (fpstack_test): Likewise.
7183 (print_max_error): Likewise.
7184 (print_complex_max_error): Likewise.
7185 (test_single_exception): Likewise.
7186 (test_exceptions): Likewise.
7187 (test_single_errno): Likewise.
7188 (test_errno): Likewise.
7189 (ULPDIFF): Likewise.
7190 (ulp): Likewise.
7191 (check_float_internal): Likewise.
7192 (check_float): Likewise.
7193 (check_complex): Likewise.
7194 (check_int): Likewise.
7195 (check_long): Likewise.
7196 (check_bool): Likewise.
7197 (check_longlong): Likewise.
7198 (check_intmax_t): Likewise.
7199 (check_uintmax_t): Likewise.
7200 (enable_test): Likewise.
7201 (struct test_f_f_data): Likewise.
7202 (struct test_ff_f_data): Likewise.
7203 (struct test_fj_f_data): Likewise.
7204 (struct test_fi_f_data): Likewise.
7205 (struct test_fl_f_data): Likewise.
7206 (struct test_if_f_data): Likewise.
7207 (struct test_fff_f_data): Likewise.
7208 (struct test_fiu_M_data): Likewise.
7209 (struct test_fiu_U_data): Likewise.
7210 (struct test_c_f_data): Likewise.
7211 (struct test_f_f1_data): Likewise.
7212 (struct test_fF_f1_data): Likewise.
7213 (struct test_ffI_f1_data): Likewise.
7214 (struct test_c_c_data): Likewise.
7215 (struct test_cc_c_data): Likewise.
7216 (struct test_f_i_data): Likewise.
7217 (struct test_ff_i_data): Likewise.
7218 (struct test_f_l_data): Likewise.
7219 (struct test_f_L_data): Likewise.
7220 (struct test_fFF_11_data): Likewise.
7221 (struct test_Ff_b1_data): Likewise.
7222 (IF_ROUND_INIT_): Likewise.
7223 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7224 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7225 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7226 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7227 (ROUND_RESTORE_): Likewise.
7228 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7229 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7230 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7231 (ROUND_RESTORE_FE_UPWARD): Likewise.
7232 (RM_): Likewise.
7233 (RM_FE_DOWNWARD): Likewise.
7234 (RM_FE_TONEAREST): Likewise.
7235 (RM_FE_TOWARDZERO): Likewise.
7236 (RM_FE_UPWARD): Likewise.
7237 (COMMON_TEST_SETUP): Likewise.
7238 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7239 (COMMON_TEST_CLEANUP): Likewise.
7240 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7241 (RUN_TEST_f_f): Likewise.
7242 (RUN_TEST_LOOP_f_f): Likewise.
7243 (RUN_TEST_fp_f): Likewise.
7244 (RUN_TEST_LOOP_fp_f): Likewise.
7245 (RUN_TEST_2_f): Likewise.
7246 (RUN_TEST_LOOP_2_f): Likewise.
7247 (RUN_TEST_ff_f): Likewise.
7248 (RUN_TEST_LOOP_ff_f): Likewise.
7249 (RUN_TEST_LOOP_fj_f): Likewise.
7250 (RUN_TEST_fi_f): Likewise.
7251 (RUN_TEST_LOOP_fi_f): Likewise.
7252 (RUN_TEST_fl_f): Likewise.
7253 (RUN_TEST_LOOP_fl_f): Likewise.
7254 (RUN_TEST_if_f): Likewise.
7255 (RUN_TEST_LOOP_if_f): Likewise.
7256 (RUN_TEST_fff_f): Likewise.
7257 (RUN_TEST_LOOP_fff_f): Likewise.
7258 (RUN_TEST_fiu_M): Likewise.
7259 (RUN_TEST_LOOP_fiu_M): Likewise.
7260 (RUN_TEST_fiu_U): Likewise.
7261 (RUN_TEST_LOOP_fiu_U): Likewise.
7262 (RUN_TEST_c_f): Likewise.
7263 (RUN_TEST_LOOP_c_f): Likewise.
7264 (RUN_TEST_f_f1): Likewise.
7265 (RUN_TEST_LOOP_f_f1): Likewise.
7266 (RUN_TEST_fF_f1): Likewise.
7267 (RUN_TEST_LOOP_fF_f1): Likewise.
7268 (RUN_TEST_fI_f1): Likewise.
7269 (RUN_TEST_LOOP_fI_f1): Likewise.
7270 (RUN_TEST_ffI_f1_mod8): Likewise.
7271 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7272 (RUN_TEST_Ff_b1): Likewise.
7273 (RUN_TEST_LOOP_Ff_b1): Likewise.
7274 (RUN_TEST_Ffp_b1): Likewise.
7275 (RUN_TEST_LOOP_Ffp_b1): Likewise.
7276 (RUN_TEST_c_c): Likewise.
7277 (RUN_TEST_LOOP_c_c): Likewise.
7278 (RUN_TEST_cc_c): Likewise.
7279 (RUN_TEST_LOOP_cc_c): Likewise.
7280 (RUN_TEST_f_i): Likewise.
7281 (RUN_TEST_LOOP_f_i): Likewise.
7282 (RUN_TEST_f_i_tg): Likewise.
7283 (RUN_TEST_LOOP_f_i_tg): Likewise.
7284 (RUN_TEST_ff_b): Likewise.
7285 (RUN_TEST_LOOP_ff_b): Likewise.
7286 (RUN_TEST_ff_i_tg): Likewise.
7287 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7288 (RUN_TEST_f_b): Likewise.
7289 (RUN_TEST_LOOP_f_b): Likewise.
7290 (RUN_TEST_f_b_tg): Likewise.
7291 (RUN_TEST_LOOP_f_b_tg): Likewise.
7292 (RUN_TEST_f_l): Likewise.
7293 (RUN_TEST_LOOP_f_l): Likewise.
7294 (RUN_TEST_f_L): Likewise.
7295 (RUN_TEST_LOOP_f_L): Likewise.
7296 (RUN_TEST_fFF_11): Likewise.
7297 (RUN_TEST_LOOP_fFF_11): Likewise.
7298 (VEC_SUFF): Likewise.
7299 (STR_CONCAT): Likewise.
7300 (STR_CON3): Likewise.
7301 (HAVE_VECTOR): Likewise.
7302 (START): Likewise.
7303 (END): Likewise.
7304 (END_COMPLEX): Likewise.
7305 (ALL_RM_TEST): Likewise.
7306 (matherr): Likewise.
7307 (initialize): Likewise.
7308 (options): Likewise.
7309 (doc): Likewise.
7310 (parse_opt): Likewise.
7311 (argp): Likewise.
7312 (check_ulp): Likewise.
7313 (main): Likewise.
7314 (do_test): New function. Call tests of individual functions
7315 previously called from main.
7316
7317 * math/libm-test.inc: Remove comment listing functions tested and
7318 not tested.
7319
7320 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7321
7322 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7323 (allocate_stack): Remove COLORING_INCREMENT usage.
7324 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7325 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7326
7327 2017-02-06 Joseph Myers <joseph@codesourcery.com>
7328
7329 * manual/libm-err-tab.pl (@all_functions): Change to
7330 %all_functions. Initialize as empty.
7331 (parse_ulps): Add to %all_functions based on functions found in
7332 ulps files. Ignore results for non-default rounding modes and
7333 vector functions.
7334 (print_platforms): Use %all_platforms.
7335 * manual/math.texi (Errors in Math Functions): Document omissions
7336 from the table.
7337
7338 * math/Makefile (before-compile): Remove.
7339
7340 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7341
7342 [BZ #21075]
7343 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7344 unused assignment.
7345 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7346
7347 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7348
7349 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7350 Add __glibc_unlikely hint.
7351
7352 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7353
7354 [BZ #16640]
7355 * sysdeps/i386/i686/strtok.S: Remove file.
7356 * sysdeps/i386/i686/strtok_r.S: Likewise.
7357 * sysdeps/i386/strtok.S: Likewise.
7358 * sysdeps/i386/strtok_r.S: Likewise.
7359 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7360 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7361 * sysdeps/x86_64/strtok.S: Likewise.
7362 * sysdeps/x86_64/strtok_r.S: Likewise.
7363
7364 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7365 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7366 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7367 (__ASSUME_FADVISE64_AS_64_64): Define.
7368 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7369 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7370 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7371 __ALIGNMENT_ARG usage.
7372 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7373 __NR_fadvise64_64 if it is not defined.
7374
7375 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
7376
7377 * version.h (RELEASE): Set to "development"
7378 (VERSION): Set to 2.25.90.
7379 * NEWS: Add 2.26 section.
7380
7381 * version.h (RELEASE): Set to "stable"
7382 (VERSION): Set to 2.25.
7383 * include/features.h (__GLIBC_MINOR__): Set to 25.
7384
7385 * manual/contrib.texi: Add more contributors from this release
7386 and past releases.
7387
7388 * NEWS (2.25): Add list of bugs fixed.
7389
7390 * NEWS: Add missing news items.
7391
7392 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
7393
7394 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
7395 parent if child exited in that manner. Print WEXITSTATUS
7396 instead of the raw status.
7397 (do_test_prep): Rename to do_test.
7398 (do_test): Return the result of run_executable_sgid.
7399 (TEST_FUNCTION_ARGV): Adjust.
7400
7401 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
7402 Florian Weimer <fweimer@redhat.com>
7403 Carlos O'Donell <carlos@redhat.com>
7404
7405 [BZ #20915]
7406 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
7407 Do not initialize DTV.
7408 * nptl/allocatestack.c (init_one_static_tls): Likewise.
7409
7410 2017-02-03 David S. Miller <davem@davemloft.net>
7411
7412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
7413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
7415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
7417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
7419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7421 (libm-sysdep_routines): Update.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7427 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
7428 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
7429 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
7430 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
7432 Likewise.
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
7435 Likewise.
7436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
7438 Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
7441 Likewise.
7442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7444 (libm-sysdep_routines): Update.
7445
7446 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
7447
7448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
7449 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
7450 against unrelocated shared library.
7451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7452
7453 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7454
7455 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
7456 * elf/tst-env-setuid-tunables.c
7457 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
7458 GLIBC_TUNABLES is removed in a setgid process.
7459
7460 [BZ #21073]
7461 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
7462 * elf/dl-tunables.c (tunables_strdup): Remove.
7463 (get_next_env): Also return the previous envp.
7464 (parse_tunables): Erase tunables of category
7465 TUNABLES_SECLEVEL_SXID_ERASE.
7466 (maybe_enable_malloc_check): Make MALLOC_CHECK_
7467 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
7468 (__tunables_init)[TUNABLES_FRONTEND ==
7469 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
7470 after parsing.
7471 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
7472 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
7473 * elf/dl-tunables.h (struct _tunable): Change member is_secure
7474 to security_level.
7475 * elf/dl-tunables.list: Add security_level annotations for all
7476 tunables.
7477 * scripts/gen-tunables.awk: Recognize and generate enum values
7478 for security_level.
7479 * elf/tst-env-setuid.c: New test case.
7480 * elf/tst-env-setuid-tunables: new test case.
7481 * elf/Makefile (tests-static): Add them.
7482
7483 2017-02-01 Richard Henderson <rth@twiddle.net>
7484
7485 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
7486 adjusting the byte count.
7487
7488 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
7489
7490 * conform/Makefile (linknamespace-libs): Define.
7491
7492 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
7493 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
7494 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
7495 operands.
7496
7497 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
7498
7499 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
7500
7501 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
7502
7503 [BZ #21081]
7504 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7505 (L(stosb)): Add VZEROUPPER before ret.
7506
7507 2016-01-28 Carlos O'Donell <carlos@redhat.com>
7508 Alexey Makhalov <amakhalov@vmware.com>
7509 Florian Weimer <fweimer@redhat.com>
7510
7511 [BZ #20116]
7512 * nptl/pthread_create.c: Document concurrency notes.
7513 Enhance thread creation notes.
7514 (create_thread): Use bool *stopped_start.
7515 (START_THREAD_DEFN): Comment ownership of PD.
7516 (__pthread_create_2_1): Add local bool stopped_start and use
7517 that instead of pd->stopped_start where appropriate.
7518 * nptl/createthread.c (create_thread): Use bool *stopped_start.
7519 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
7520 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7521 * nptl/tst-create-detached.c: New file.
7522 * nptl/Makefile (tests): Add tst-create-detached.
7523 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7524 Reference the enhanced thread creation notes.
7525 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
7526 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7527 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
7528 (__pthread_current_priority): Likewise.
7529 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
7530 xpthread_attr_init, xpthread_attr_setdetachstate, and
7531 xpthread_attr_setstacksize.
7532 * support/xpthread_attr_destroy.c: New file.
7533 * support/xpthread_attr_init.c: New file.
7534 * support/xpthread_attr_setdetachstate.c: New file.
7535 * support/xpthread_attr_setstacksize.c: New file.
7536 * support/xthread.h: Define prototypes for xpthread_attr_destroy
7537 xpthread_attr_init, xpthread_attr_setdetachstate, and
7538 xpthread_attr_setstacksize.
7539
7540 2017-01-27 Florian Weimer <fweimer@redhat.com>
7541
7542 * nptl/Makefile (tests): Add tst-robust-fork.
7543 * nptl/tst-robust-fork.c: New file.
7544 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7545 xpthread_mutex_consistent, xpthread_mutex_destroy,
7546 xpthread_mutex_init, xpthread_mutexattr_destroy,
7547 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7548 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7549 xpthread_mutexattr_settype.
7550 * support/xmmap.c: New file.
7551 * support/xmunmap.c: Likewise.
7552 * support/xpthread_mutex_consistent.c: Likewise.
7553 * support/xpthread_mutex_destroy.c: Likewise.
7554 * support/xpthread_mutex_init.c: Likewise.
7555 * support/xpthread_mutexattr_destroy.c: Likewise.
7556 * support/xpthread_mutexattr_init.c: Likewise.
7557 * support/xpthread_mutexattr_setprotocol.c: Likewise.
7558 * support/xpthread_mutexattr_setpshared.c: Likewise.
7559 * support/xpthread_mutexattr_setrobust.c: Likewise.
7560 * support/xpthread_mutexattr_settype.c: Likewise.
7561 * support/xthread.h (xpthread_mutexattr_destroy)
7562 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7563 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7564 (xpthread_mutexattr_settype, xpthread_mutex_init)
7565 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7566 * support/xunistd.h (xmmap, xmunmap): Likewise.
7567
7568 2017-01-25 Florian Weimer <fweimer@redhat.com>
7569
7570 * string/Makefile (xtests): Add comment.
7571 (LOCALES): Add en_GB.UTF-8.
7572 (tst-strcoll-overflow.out): Depend on generated locales.
7573 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7574 (SIZE, TIMEOUT): Update comments.
7575 (do_test): Define as static. Fail test if setlocale fails.
7576 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
7577 messages.
7578 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7579 TIMEOUT at 300 seconds should be enough to run this test
7580 successfully.
7581
7582 2017-01-24 Jakub Jelinek <jakub@redhat.com>
7583
7584 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7585 /* FALLTHRU */ comments.
7586
7587 2017-01-24 James Clarke <jrtc27@jrtc27.com>
7588
7589 [BZ #21053]
7590 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7591 constants instead of the old R* ones.
7592 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7593 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7594 (NGREG): ... to this, to fit in with other architectures.
7595 (gpregset_t): Use new NGREG macro.
7596 [__USE_GNU]: Remove condition; all architectures other than tile
7597 are unconditional.
7598 (R*): Rename to REG_R*.
7599
7600 2017-01-20 DJ Delorie <dj@redhat.com>
7601
7602 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7603 (tunable_set_val_if_valid_range_signed) ... this, and ...
7604 (tunable_set_val_if_valid_range_unsigned) ... this.
7605 (tunable_initialize): Call the correct one of the above based on type.
7606
7607 2017-01-20 Joseph Myers <joseph@codesourcery.com>
7608
7609 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7610 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7611 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7612 * sysdeps/microblaze/libm-test-ulps: Likewise.
7613 * sysdeps/sh/libm-test-ulps: Likewise.
7614
7615 * math/README.libm-test: Update list of characters for input and
7616 output types.
7617
7618 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7619
7620 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7621 (__lll_unlock_elision): Fix adapt_count decrement.
7622
7623 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
7624
7625 * README.pretty-printers (Known issues): Warn about printers not
7626 always covering everything.
7627 * nptl/nptl-printers.py (MutexPrinter): Change output.
7628 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7629
7630 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7631
7632 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7633 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7634 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7635 (__lll_lock_elision): Do not test futex before starting a
7636 transaction. Use __glibc_likely instead of __builtin_expect.
7637 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7638 (__lll_trylock_elision): Do not test futex before starting a
7639 transaction. Use __glibc_likely instead of __builtin_expect.
7640
7641 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
7642
7643 * po/Makefile (update-translations): New target.
7644
7645 2017-01-19 Joseph Myers <joseph@codesourcery.com>
7646
7647 [BZ #21061]
7648 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7649
7650 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
7651
7652 * elf/dl-tunables (get_next_env): Always advance envp.
7653 * stdlib/tst-empty-env.c: New test case.
7654 * stdlib/Makefile (tests): Use it.
7655
7656 2017-01-19 Joseph Myers <joseph@codesourcery.com>
7657
7658 [BZ #21047]
7659 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7660 name for instruction.
7661 [!__SOFTFP__] (_FPU_SETCW): Likewise.
7662
7663 2017-01-18 Joseph Myers <joseph@codesourcery.com>
7664
7665 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7666 for make install.
7667
7668 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
7669
7670 * po/bg.po: Merge from Translation Project.
7671 * po/fr.po: Likewise.
7672 * po/ko.po: Likewise.
7673 * po/nl.po: Likewise.
7674 * po/sv.po: Likewise.
7675
7676 2017-01-18 Joseph Myers <joseph@codesourcery.com>
7677
7678 * manual/install.texi (Tools for Compilation): Update GCC version
7679 known to work to build glibc.
7680 * INSTALL: Regenerated.
7681
7682 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7683
7684 [BZ #21006]
7685 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7686
7687 2017-01-16 Joseph Myers <joseph@codesourcery.com>
7688
7689 [BZ #21045]
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7691 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7692 to __sigprocmask.
7693
7694 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
7695
7696 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7697 wrap-around.
7698 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7699
7700 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7701
7702 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
7703
7704 * NEWS: Fix typo.
7705
7706 2016-01-13 Torvald Riegel <triegel@redhat.com>
7707
7708 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7709 barriers and comments.
7710 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7711 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7712 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7713
7714 2016-01-13 Torvald Riegel <triegel@redhat.com>
7715
7716 [BZ #19402]
7717 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7718 mutexes.
7719
7720 2016-01-13 Torvald Riegel <triegel@redhat.com>
7721
7722 [BZ #20985]
7723 * nptl/Makefile: Adapt.
7724 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7725 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7726 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7727 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7728 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7729 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7730 lll_robust* functions and adapt.
7731 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7732 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7733 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7734 __lll_robust_timedlock, __lll_robust_unlock): Remove.
7735 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7736 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7737 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7738 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7739 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7740 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7741 __lll_robust_timedlock, __lll_robust_unlock): Remove.
7742 * nptl/lowlevelrobustlock.c: Remove file.
7743 * nptl/lowlevelrobustlock.sym: Likewise.
7744 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7745 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7746
7747 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7748
7749 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7750
7751 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
7752
7753 * po/cs.po: Merge translations from the Translation Project.
7754 * po/de.po: Likewise.
7755 * po/pl.po: Likewise.
7756 * po/ru.po: Likewise.
7757 * po/tr.po: Likewise.
7758 * po/uk.po: Likewise.
7759 * po/vi.po: Likewise.
7760 * po/zh_CN.po: Likewise.
7761
7762 2017-01-12 Joseph Myers <joseph@codesourcery.com>
7763
7764 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7765
7766 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7767 object.
7768
7769 2017-01-11 Joseph Myers <joseph@codesourcery.com>
7770
7771 [BZ #16458]
7772 * bits/uintn-identity.h: New file.
7773 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7774 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7775 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7776 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7777 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7778 * string/endian.h: Include <bits/uintn-identity.h>.
7779 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7780 __uint16_identity.
7781 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7782 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7783 __uint32_identity.
7784 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7785 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7786 __uint64_identity.
7787 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7788 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7789 __uint16_identity.
7790 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7791 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7792 __uint32_identity.
7793 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7794 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7795 __uint64_identity.
7796 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7797 * string/Makefile (headers): Add bits/uintn-identity.h.
7798 (tests): Add test-endian-types.
7799 * string/test-endian-types.c: New file.
7800 * inet/Makefile (tests): Add test-hnto-types.
7801 * inet/test-hnto-types.c: New file.
7802
7803 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7804
7805 * po/be.po: Update from Translation Project.
7806 * po/bg.po: Likewise.
7807 * po/ca.po: Likewise.
7808 * po/cs.po: Likewise.
7809 * po/da.po: Likewise.
7810 * po/de.po: Likewise.
7811 * po/el.po: Likewise.
7812 * po/eo.po: Likewise.
7813 * po/es.po: Likewise.
7814 * po/fi.po: Likewise.
7815 * po/fr.po: Likewise.
7816 * po/gl.po: Likewise.
7817 * po/hr.po: Likewise.
7818 * po/hu.po: Likewise.
7819 * po/ia.po: Likewise.
7820 * po/id.po: Likewise.
7821 * po/it.po: Likewise.
7822 * po/ja.po: Likewise.
7823 * po/ko.po: Likewise.
7824 * po/lt.po: Likewise.
7825 * po/nb.po: Likewise.
7826 * po/nl.po: Likewise.
7827 * po/pl.po: Likewise.
7828 * po/pt_BR.po: Likewise.
7829 * po/ru.po: Likewise.
7830 * po/rw.po: Likewise.
7831 * po/sk.po: Likewise.
7832 * po/sl.po: Likewise.
7833 * po/sv.po: Likewise.
7834 * po/tr.po: Likewise.
7835 * po/uk.po: Likewise.
7836 * po/vi.po: Likewise.
7837 * po/zh_CN.po: Likewise.
7838 * po/zh_TW.po: Likewise.
7839
7840 2017-01-11 Joseph Myers <joseph@codesourcery.com>
7841
7842 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7843 -Wformat-truncation instead of -Wformat-length.
7844 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7845 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7846 GCC 7.
7847 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7848 (do_test): Ignore -Wformat-truncation for GCC 7.
7849
7850 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7851 buffer used to print long int value.
7852
7853 * elf/sotruss-lib.c (init): Increase space allocated for pid by
7854 one byte. Print it with %ld, cast to long int.
7855
7856 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7857
7858 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7859 (re.fullmatch, subprocess.run): Likewise.
7860
7861 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7862
7863 * po/libc.pot: Regenerate.
7864
7865 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
7866
7867 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7868 (min_strlen): Likewise.
7869 (disable_tunable): Likewise.
7870 (maybe_disable_malloc_check): Rename to
7871 maybe_enable_malloc_check.
7872 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7873 if /etc/suid-debug file exists.
7874 (__tunables_init): Update caller.
7875 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7876 secure.
7877
7878 2016-01-10 Torvald Riegel <triegel@redhat.com>
7879
7880 * nptl/DESIGN-rwlock.txt: Remove.
7881 * nptl/lowlevelrwlock.sym: Remove.
7882 * nptl/Makefile: Add new tests.
7883 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
7884 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7885 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7886 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7887 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7888 PTHREAD_RWLOCK_FUTEX_USED): New.
7889 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7890 implementation.
7891 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7892 (__pthread_rwlock_rdlock): Adapt.
7893 * nptl/pthread_rwlock_timedrdlock.c
7894 (pthread_rwlock_timedrdlock): Adapt.
7895 * nptl/pthread_rwlock_timedwrlock.c
7896 (pthread_rwlock_timedwrlock): Adapt.
7897 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7898 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7899 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7900 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7901 (__pthread_rwlock_wrlock): Adapt.
7902 * nptl/tst-rwlock10.c: Adapt.
7903 * nptl/tst-rwlock11.c: Adapt.
7904 * nptl/tst-rwlock17.c: New file.
7905 * nptl/tst-rwlock18.c: New file.
7906 * nptl/tst-rwlock19.c: New file.
7907 * nptl/tst-rwlock2b.c: New file.
7908 * nptl/tst-rwlock8.c: Adapt.
7909 * nptl/tst-rwlock9.c: Adapt.
7910 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7911 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7912 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7913 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7914 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7915 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7916 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7917 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7918 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7919 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7920 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7921 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7922 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7923 (pthread_rwlock_t): Adapt.
7924 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7925 (pthread_rwlock_t): Adapt.
7926 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7927 * nptl/nptl-printers.py (): Adapt.
7928 * nptl/nptl_lock_constants.pysym: Adapt.
7929 * nptl/test-rwlock-printers.py: Adapt.
7930 * nptl/test-rwlockattr-printers.c: Adapt.
7931 * nptl/test-rwlockattr-printers.py: Adapt.
7932
7933 2017-01-10 Joseph Myers <joseph@codesourcery.com>
7934
7935 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7936 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7937 (fma_test_data): Likewise.
7938 (hypot_test_data): Likewise.
7939 (log1p_test_data): Likewise.
7940 (modf_test_data): Likewise.
7941 (pow_test_data): Likewise.
7942 (remainder_test_data): Likewise.
7943 (remquo_test_data): Likewise.
7944 (scalb_test_data): Likewise.
7945 (scalbn_test_data): Likewise.
7946 (scalbln_test_data): Likewise.
7947 * math/gen-libm-test.pl (parse_args): Transform
7948 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7949 on the rounding mode.
7950
7951 2017-01-09 Joseph Myers <joseph@codesourcery.com>
7952
7953 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7954 xfail-rounding:ibm128-libgcc automatically to tests overflowing
7955 and those that can underflow to zero.
7956 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7957 add others.
7958 * math/auto-libm-test-out: Regenerated.
7959
7960 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7961 supported.
7962 (feholdexcept_tests): Skip tests requiring exceptions or rounding
7963 modes support if not supported.
7964
7965 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7966 Add libc.so PLT entry.
7967 (__tls_get_addr): Make ld.so PLT entry optional.
7968
7969 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7970
7971 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7972 * string/bits/string3.h: ... here.
7973
7974 2017-01-05 Joseph Myers <joseph@codesourcery.com>
7975
7976 [BZ #21028]
7977 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7978 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7979 if EXCEPTION_TESTS returns false.
7980
7981 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7982
7983 [BZ #20558]
7984 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7985 strings_fortified.h.
7986 [__USE_MISC] (bzero): Likewise.
7987 [__USE_MISC] (explicit_bzero): Likewise.
7988 * string/strings.h: Include strings_fortified.h.
7989 * string/Makefile (headers): Add strings_fortified.h.
7990 * string/bits/strings_fortified.h: New file.
7991 * include/bits/strings_fortified.h: Likewise.
7992
7993 2017-01-05 Joseph Myers <joseph@codesourcery.com>
7994
7995 * elf/tst-tls13.c (TIMEOUT): Remove.
7996 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7997 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7998 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7999 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
8000 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
8001
8002 [BZ #21026]
8003 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
8004 (readahead): New syscall entry.
8005
8006 2017-01-04 Joseph Myers <joseph@codesourcery.com>
8007
8008 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
8009 around tests of strncat with large sizes.
8010
8011 * malloc/tst-malloc.c: Include <libc-internal.h>.
8012 (do_test): Disable -Walloc-size-larger-than= around tests of
8013 malloc with negative sizes.
8014 * malloc/tst-mcheck.c: Include <libc-internal.h>.
8015 (do_test): Disable -Walloc-size-larger-than= around tests of
8016 malloc and realloc with negative sizes.
8017 * malloc/tst-realloc.c: Include <libc-internal.h>.
8018 (do_test): Disable -Walloc-size-larger-than= around tests of
8019 realloc with negative sizes.
8020
8021 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
8022 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
8023 allowed to 16 ulps.
8024 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
8025 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
8026 * math/auto-libm-test-out: Regenerated.
8027
8028 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8029
8030 * math/Makefile (libm-calls): Move wrappers...
8031 (libm-compat-call-auto): Here.
8032 (libm-routines): Add items in libm-compat-calls-auto.
8033 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
8034 the filenames of the wrappers that have been renamed.
8035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8037
8038 * math/w_acos.c: Add _compat suffix to filename.
8039 * math/w_acosf.c: Likewise.
8040 * math/w_acosh.c: Likewise.
8041 * math/w_acoshf.c: Likewise.
8042 * math/w_acoshl.c: Likewise.
8043 * math/w_acosl.c: Likewise.
8044 * math/w_asin.c: Likewise.
8045 * math/w_asinf.c: Likewise.
8046 * math/w_asinl.c: Likewise.
8047 * math/w_atan2.c: Likewise.
8048 * math/w_atan2f.c: Likewise.
8049 * math/w_atan2l.c: Likewise.
8050 * math/w_atanh.c: Likewise.
8051 * math/w_atanhf.c: Likewise.
8052 * math/w_atanhl.c: Likewise.
8053 * math/w_cosh.c: Likewise.
8054 * math/w_coshf.c: Likewise.
8055 * math/w_coshl.c: Likewise.
8056 * math/w_exp10.c: Likewise.
8057 * math/w_exp10f.c: Likewise.
8058 * math/w_exp10l.c: Likewise.
8059 * math/w_exp2.c: Likewise.
8060 * math/w_exp2f.c: Likewise.
8061 * math/w_exp2l.c: Likewise.
8062 * math/w_fmod.c: Likewise.
8063 * math/w_fmodf.c: Likewise.
8064 * math/w_fmodl.c: Likewise.
8065 * math/w_hypot.c: Likewise.
8066 * math/w_hypotf.c: Likewise.
8067 * math/w_hypotl.c: Likewise.
8068 * math/w_j0.c: Likewise.
8069 * math/w_j0f.c: Likewise.
8070 * math/w_j0l.c: Likewise.
8071 * math/w_j1.c: Likewise.
8072 * math/w_j1f.c: Likewise.
8073 * math/w_j1l.c: Likewise.
8074 * math/w_jn.c: Likewise.
8075 * math/w_jnf.c: Likewise.
8076 * math/w_jnl.c: Likewise.
8077 * math/w_log10.c: Likewise.
8078 * math/w_log10f.c: Likewise.
8079 * math/w_log10l.c: Likewise.
8080 * math/w_log2.c: Likewise.
8081 * math/w_log2f.c: Likewise.
8082 * math/w_log2l.c: Likewise.
8083 * math/w_log.c: Likewise.
8084 * math/w_logf.c: Likewise.
8085 * math/w_logl.c: Likewise.
8086 * math/w_pow.c: Likewise.
8087 * math/w_powf.c: Likewise.
8088 * math/w_powl.c: Likewise.
8089 * math/w_remainder.c: Likewise.
8090 * math/w_remainderf.c: Likewise.
8091 * math/w_remainderl.c: Likewise.
8092 * math/w_scalb.c: Likewise.
8093 * math/w_scalbf.c: Likewise.
8094 * math/w_scalbl.c: Likewise.
8095 * math/w_sinh.c: Likewise.
8096 * math/w_sinhf.c: Likewise.
8097 * math/w_sinhl.c: Likewise.
8098 * math/w_sqrt.c: Likewise.
8099 * math/w_sqrtf.c: Likewise.
8100 * math/w_sqrtl.c: Likewise.
8101 * math/w_tgamma.c: Likewise.
8102 * math/w_tgammaf.c: Likewise.
8103 * math/w_tgammal.c: Likewise.
8104
8105 * math/w_acos_compat.c: New file copied from above and
8106 adjusted for new #includes path
8107 * math/w_acosf_compat.c: Likewise.
8108 * math/w_acosh_compat.c: Likewise.
8109 * math/w_acoshf_compat.c: Likewise.
8110 * math/w_acoshl_compat.c: Likewise.
8111 * math/w_acosl_compat.c: Likewise.
8112 * math/w_asin_compat.c: Likewise.
8113 * math/w_asinf_compat.c: Likewise.
8114 * math/w_asinl_compat.c: Likewise.
8115 * math/w_atan2_compat.c: Likewise.
8116 * math/w_atan2f_compat.c: Likewise.
8117 * math/w_atan2l_compat.c: Likewise.
8118 * math/w_atanh_compat.c: Likewise.
8119 * math/w_atanhf_compat.c: Likewise.
8120 * math/w_atanhl_compat.c: Likewise.
8121 * math/w_cosh_compat.c: Likewise.
8122 * math/w_coshf_compat.c: Likewise.
8123 * math/w_coshl_compat.c: Likewise.
8124 * math/w_exp10_compat.c: Likewise.
8125 * math/w_exp10f_compat.c: Likewise.
8126 * math/w_exp10l_compat.c: Likewise.
8127 * math/w_exp2_compat.c: Likewise.
8128 * math/w_exp2f_compat.c: Likewise.
8129 * math/w_exp2l_compat.c: Likewise.
8130 * math/w_fmod_compat.c: Likewise.
8131 * math/w_fmodf_compat.c: Likewise.
8132 * math/w_fmodl_compat.c: Likewise.
8133 * math/w_hypot_compat.c: Likewise.
8134 * math/w_hypotf_compat.c: Likewise.
8135 * math/w_hypotl_compat.c: Likewise.
8136 * math/w_j0_compat.c: Likewise.
8137 * math/w_j0f_compat.c: Likewise.
8138 * math/w_j0l_compat.c: Likewise.
8139 * math/w_j1_compat.c: Likewise.
8140 * math/w_j1f_compat.c: Likewise.
8141 * math/w_j1l_compat.c: Likewise.
8142 * math/w_jn_compat.c: Likewise.
8143 * math/w_jnf_compat.c: Likewise.
8144 * math/w_jnl_compat.c: Likewise.
8145 * math/w_log10_compat.c: Likewise.
8146 * math/w_log10f_compat.c: Likewise.
8147 * math/w_log10l_compat.c: Likewise.
8148 * math/w_log2_compat.c: Likewise.
8149 * math/w_log2f_compat.c: Likewise.
8150 * math/w_log2l_compat.c: Likewise.
8151 * math/w_log_compat.c: Likewise.
8152 * math/w_logf_compat.c: Likewise.
8153 * math/w_logl_compat.c: Likewise.
8154 * math/w_pow_compat.c: Likewise.
8155 * math/w_powf_compat.c: Likewise.
8156 * math/w_powl_compat.c: Likewise.
8157 * math/w_remainder_compat.c: Likewise.
8158 * math/w_remainderf_compat.c: Likewise.
8159 * math/w_remainderl_compat.c: Likewise.
8160 * math/w_scalb_compat.c: Likewise.
8161 * math/w_scalbf_compat.c: Likewise.
8162 * math/w_scalbl_compat.c: Likewise.
8163 * math/w_sinh_compat.c: Likewise.
8164 * math/w_sinhf_compat.c: Likewise.
8165 * math/w_sinhl_compat.c: Likewise.
8166 * math/w_sqrt_compat.c: Likewise.
8167 * math/w_sqrtf_compat.c: Likewise.
8168 * math/w_sqrtl_compat.c: Likewise.
8169 * math/w_tgamma_compat.c: Likewise.
8170 * math/w_tgammaf_compat.c: Likewise.
8171 * math/w_tgammal_compat.c: Likewise.
8172
8173 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
8174 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
8175 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
8176 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
8177 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
8178 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
8179 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
8180 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
8181 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
8182 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
8183 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
8184 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
8185 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
8186 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
8187 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
8188 * sysdeps/ia64/fpu/w_powl.c: Likewise.
8189 * sysdeps/ia64/fpu/w_powf.c: Likewise.
8190 * sysdeps/ia64/fpu/w_pow.c: Likewise.
8191 * sysdeps/ia64/fpu/w_logl.c: Likewise.
8192 * sysdeps/ia64/fpu/w_logf.c: Likewise.
8193 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
8194 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
8195 * sysdeps/ia64/fpu/w_log2.c: Likewise.
8196 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
8197 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
8198 * sysdeps/ia64/fpu/w_log10.c: Likewise.
8199 * sysdeps/ia64/fpu/w_log.c: Likewise.
8200 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
8201 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
8202 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
8203 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
8204 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
8205 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
8206 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
8207 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
8208 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
8209 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
8210 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8211 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8212 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8213 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8214 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8215 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8216 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8217 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8218 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8219 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8220 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8221 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8222 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8223 * sysdeps/ia64/fpu/w_asin.c: Likewise.
8224 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8225 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8226 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8227 * sysdeps/ia64/fpu/w_acos.c: Likewise.
8228 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8229 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8230 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8231 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8232 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8233 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8235 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8236 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8238 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8239 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8240 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8242 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8244 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8245 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8246 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8248 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8250 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8251 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8252 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8253 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8254 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8256 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8257 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8258 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8259 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8260 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8262 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8264 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8266 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8268 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8270 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8271 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8272 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8274 Likewise.
8275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8276 Likewise.
8277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8279 Likewise.
8280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8281 Likewise.
8282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8284 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8285 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8286 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8287 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8288 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8294 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8295 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8296 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8297
8298 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8299 and adjusted for new #includes path
8300 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8301 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8302 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8303 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8304 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8305 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8306 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8307 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8308 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8309 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8310 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8311 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8312 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8313 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8314 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8315 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8316 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8317 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8318 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8319 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8320 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8321 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8322 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8323 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8324 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8325 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8326 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8327 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8328 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8329 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8330 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8331 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8332 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8333 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8334 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8335 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8336 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8337 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8338 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8339 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8340 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8341 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8342 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8343 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8344 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8345 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8346 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8347 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8348 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8349 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8350 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8351 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8352 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8353 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8354 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8355 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8356 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8357 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8358 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8359 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8360 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8361 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8362 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8363 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8364 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8365 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8366 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8367 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8368 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8369 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8370 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8371 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8372 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8373 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8374 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8375 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8376 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8377 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8378 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8379 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8380 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8381 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8382 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8383 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8384 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8385 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8386 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8387 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8388 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8389 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8390 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8391 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
8392 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
8393 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8394 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8395 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8396 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8397 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8398 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8400 Likewise.
8401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8402 Likewise.
8403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8404 Likewise.
8405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8406 Likewise.
8407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8408 Likewise.
8409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8410 Likewise.
8411 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8412 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8413 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8414 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8415 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8416 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8418 Likewise.
8419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8420 Likewise.
8421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8422 Likewise.
8423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8424 Likewise.
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8427 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8428 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8429
8430 2017-01-04 Joseph Myers <joseph@codesourcery.com>
8431
8432 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
8433 __jmp_buf_internal_tag.
8434
8435 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
8436 preserve NaN payload if [__mips_nan2008].
8437 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
8438
8439 [BZ #21022]
8440 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
8441
8442 2017-01-03 Joseph Myers <joseph@codesourcery.com>
8443
8444 * sysdeps/i386/fpu/libm-test-ulps: Update.
8445
8446 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8447
8448 * sysdeps/ia64/strcat.c: Remove file.
8449 * sysdeps/powerpc/strcat.c: Likewise.
8450 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
8451 C implementation.
8452 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
8453 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
8454
8455 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8456 Steven Munroe <sjmunroe@us.ibm.com>
8457 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8458
8459 [BZ #20822]
8460 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8461 (__lll_lock_elision): Access adapt_count via C11 atomics.
8462 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8463 (__lll_trylock_elision): Likewise.
8464 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8465 (__lll_unlock_elision): Update adapt_count variable inside the
8466 critical section using C11 atomics.
8467
8468 2017-01-03 Joseph Myers <joseph@codesourcery.com>
8469
8470 * math/test-fenvinline.c (do_test): Disable tests of raised
8471 exceptions if !EXCEPTION_TESTS (FLOAT).
8472
8473 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8474
8475 [BZ #19390]
8476 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
8477 maximum string size.
8478 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
8479 in pointer addition.
8480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
8481 Likewise.
8482
8483 2017-01-03 Joseph Myers <joseph@codesourcery.com>
8484
8485 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
8486 passed to tst-ldconfig-X.sh.
8487
8488 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
8489
8490 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
8491
8492 2017-01-02 Joseph Myers <joseph@codesourcery.com>
8493
8494 [BZ #21019]
8495 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
8496 New syscall entry.
8497 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
8498 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
8499 lseek.
8500
8501 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8502 power4 glibc for powerpc-linux-gnu.
8503
8504 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8505
8506 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
8507 semctl.
8508
8509 2017-01-02 Joseph Myers <joseph@codesourcery.com>
8510
8511 * math/test-nearbyint-except.c: Include <stdbool.h>.
8512 (any_supported): New variable.
8513 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
8514 set any_supported.
8515 (do_test): Return 77 if no floating-point type supported
8516 exceptions.
8517
8518 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
8519 condition on [__mips_hard_float].
8520
8521 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8522
8523 [BZ #21014]
8524 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
8525 in pointer addition.
8526 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
8527
8528 2017-01-02 Torvald Riegel <triegel@redhat.com>
8529
8530 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
8531 new condvar.
8532
8533 2017-01-02 Joseph Myers <joseph@codesourcery.com>
8534
8535 * scripts/build-many-glibcs.py (Context.checkout): Default
8536 binutils version to 2.28 branch.
8537
8538 2017-01-01 Florian Weimer <fweimer@redhat.com>
8539
8540 * support/support_format_netent.c (support_format_netent): Work
8541 around alpha struct netent definition difference.
8542
8543 2017-01-01 Florian Weimer <fweimer@redhat.com>
8544
8545 * support/xwrite.c (xwrite): Use %td for pointer difference.
8546
8547 2017-01-01 Florian Weimer <fweimer@redhat.com>
8548
8549 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8550 have-tunables only.
8551 (tests-static): Add tst-malloc-usable-static-tunables for
8552 have-tunables only.
8553
8554 2017-01-01 Joseph Myers <joseph@codesourcery.com>
8555
8556 * scripts/config.guess: Update to version 2017-01-01.
8557 * scripts/config.sub: Update to version 2017-01-01.
8558
8559 * NEWS: Update copyright dates.
8560 * catgets/gencat.c (print_version): Likewise.
8561 * csu/version.c (banner): Likewise.
8562 * debug/catchsegv.sh: Likewise.
8563 * debug/pcprofiledump.c (print_version): Likewise.
8564 * debug/xtrace.sh (do_version): Likewise.
8565 * elf/ldconfig.c (print_version): Likewise.
8566 * elf/ldd.bash.in: Likewise.
8567 * elf/pldd.c (print_version): Likewise.
8568 * elf/sotruss.sh: Likewise.
8569 * elf/sprof.c (print_version): Likewise.
8570 * iconv/iconv_prog.c (print_version): Likewise.
8571 * iconv/iconvconfig.c (print_version): Likewise.
8572 * locale/programs/locale.c (print_version): Likewise.
8573 * locale/programs/localedef.c (print_version): Likewise.
8574 * login/programs/pt_chown.c (print_version): Likewise.
8575 * malloc/memusage.sh (do_version): Likewise.
8576 * malloc/memusagestat.c (print_version): Likewise.
8577 * malloc/mtrace.pl: Likewise.
8578 * manual/libc.texinfo: Likewise.
8579 * nptl/version.c (banner): Likewise.
8580 * nscd/nscd.c (print_version): Likewise.
8581 * nss/getent.c (print_version): Likewise.
8582 * nss/makedb.c (print_version): Likewise.
8583 * posix/getconf.c (main): Likewise.
8584 * scripts/test-installation.pl: Likewise.
8585 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8586
8587 * All files with FSF copyright notices: Update copyright dates
8588 using scripts/update-copyrights.
8589 * intl/plural.c: Regenerated.
8590 * locale/programs/charmap-kw.h: Likewise.
8591 * locale/programs/locfile-kw.h: Likewise.
8592
8593 2016-12-31 Florian Weimer <fweimer@redhat.com>
8594
8595 [BZ #20593]
8596 Update DNS RR type definitions.
8597 * scripts/gen-rrtypes.py: New file.
8598 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8599 BIND-internal RR type not used on the Internet. Add ns_t_ds,
8600 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8601 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8602 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8603 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8604 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8605 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8606 ns_t_ta, ns_t_dlv.
8607 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8608 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8609 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8610 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8611 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8612 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8613 Define.
8614 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
8615 entry for ns_t_zxfr.
8616
8617 2016-12-31 Florian Weimer <fweimer@redhat.com>
8618
8619 [BZ #18784]
8620 CVE-2015-5180
8621 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8622 T_UNSPEC. Adjust value.
8623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8624 * resolv/res_query.c (__libc_res_nquery): Likewise.
8625 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8626 QTYPEs.
8627 * resolv/tst-resolv-qtypes.c: New file.
8628 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8629 (tst-resolv-qtypes): Link against libresolv and libpthread.
8630
8631 2016-12-31 Florian Weimer <fweimer@redhat.com>
8632
8633 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8634
8635 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
8636
8637 * manual/tunables.texi: New chapter.
8638 * manual/Makefile (chapters): Add it.
8639 * manual/probes.texi (@node): Point to the Tunables chapter.
8640
8641 * Makeconfig (have-tunables): Check for non-negative instead
8642 of positive.
8643 * configure.ac: Add 'valstring' as a valid value for
8644 --enable-tunables.
8645 * configure: Regenerate.
8646 * elf/Makefile (have-tunables): Check for non-negative instead
8647 of positive.
8648 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8649 dl-tunables.c.
8650 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8651 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8652 (tunables_strdup): Likewise.
8653 (disable_tunables): Likewise.
8654 (parse_tunables): Likewise.
8655 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8656 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8657 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8658 (TUNABLES_FRONTEND_yes): New macro, define as
8659 TUNABLES_FRONTEND_valstring by default.
8660 * manual/install.texi: Document new acceptable values for
8661 --enable-tunables.
8662 * INSTALL: Regenerate.
8663
8664 * config.make.in (have-loop-to-function): Define.
8665 * elf/Makefile (CFLAGS-dl-tunables.c): Add
8666 -fno-tree-loop-distribute-patterns.
8667 * elf/dl-tunables.c: Include libc-internals.h.
8668 (GLIBC_TUNABLES): New macro.
8669 (tunables_strdup): New function.
8670 (parse_tunables): New function.
8671 (min_strlen): New function.
8672 (__tunables_init): Use the new functions and macro.
8673 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8674 * malloc/tst-malloc-usable-tunables.c: New test case.
8675 * malloc/tst-malloc-usable-static-tunables.c: New test case.
8676 * malloc/Makefile (tests, tests-static): Add tests.
8677
8678 * manual/install.texi: Add --enable-tunables option.
8679 * INSTALL: Regenerate.
8680 * README.tunables: New file.
8681 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8682 (before-compile): Generate dl-tunable-list.h early.
8683 * config.h.in: Add HAVE_TUNABLES.
8684 * config.make.in: Add have-tunables.
8685 * configure.ac: Add --enable-tunables option.
8686 * configure: Regenerate.
8687 * csu/init-first.c (__libc_init_first): Move
8688 __libc_init_secure earlier...
8689 * csu/init-first.c (LIBC_START_MAIN):... to here.
8690 Include dl-tunables.h, libc-internal.h.
8691 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8692 binaries.
8693 * elf/Makefile (dl-routines): Add dl-tunables.
8694 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8695 namespace.
8696 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8697 only when !HAVE_TUNABLES.
8698 * elf/rtld.c (process_envvars): Likewise.
8699 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8700 (_dl_sysdep_start): Call __tunables_init.
8701 * elf/dl-tunable-types.h: New file.
8702 * elf/dl-tunables.c: New file.
8703 * elf/dl-tunables.h: New file.
8704 * elf/dl-tunables.list: New file.
8705 * malloc/tst-malloc-usable-static.c: New test case.
8706 * malloc/Makefile (tests-static): Add it.
8707 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8708 Define TUNABLE_NAMESPACE.
8709 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8710 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
8711 callback functions.
8712 (ptmalloc_init): Set tunable values.
8713 * scripts/gen-tunables.awk: New file.
8714 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8715 (_dl_sysdep_start): Call __tunables_init.
8716
8717 2016-12-31 Florian Weimer <fweimer@redhat.com>
8718
8719 * resolv/resolv.h (RES_BLAST): Deprecate.
8720 * resolv/res_debug.c (p_option): Remove RES_BLAST.
8721 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8722 to RES_BLAST.
8723
8724 2016-12-27 Florian Weimer <fweimer@redhat.com>
8725
8726 [BZ #19582]
8727 Deprecate RES_USE_INET6.
8728 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8729 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8730 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8731 RES_USE_INET6.
8732 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8733 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8734 (_nss_nisplus_gethostbyaddr_r): Likewise.
8735 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8736 of res_use_inet6.
8737 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8738 instead of RES_USE_INET6.
8739 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8740 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8741 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8742 Likewise.
8743 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8744 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8745 Likewise.
8746 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8747 (_nss_dns_gethostbyname_r): Likewise.
8748 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8749 alternate RES_USE_INET6 handling.
8750 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8751 instead of RES_USE_INET6.
8752 * resolv/res_init.c (res_setoptions): Likewise.
8753 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8754 * resolv/resolv-internal.h: New file.
8755 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8756 make the deprecation warning non-fatal.
8757 * resolv/README (Using the resolver in multi-threaded code): Drop
8758 reference to RES_USE_INET6.
8759 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8760 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8761
8762 2016-12-31 Florian Weimer <fweimer@redhat.com>
8763
8764 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8765 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8766 tst-resolv-search.
8767 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8768 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8769 with libresolv and libpthread.
8770 * resolv/tst-bug18665.c: New file.
8771 * resolv/tst-bug18665-tcp: Likewise.
8772 * resolv/tst-res_use_inet6: Likewise.
8773 * resolv/tst-resolv-basic: Likewise.
8774 * resolv/tst-resolv-network: Likewise.
8775 * resolv/tst-resolv-search: Likewise.
8776 * support/Makefile (libsupport-routines): Add check_addrinfo,
8777 check_dns_packet, check_hostent, check_netent, resolv_test,
8778 support_format_address_family, support_format_addrinfo,
8779 support_format_dns_packet, support_format_herrno,
8780 support_format_hostent, support_format_netent, support_run_diff,
8781 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8782 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8783 xstrdup, xwrite.
8784 * support/check_addrinfo.c: New file.
8785 * support/check_dns_packet.c: Likewise.
8786 * support/check_hostent.c: Likewise.
8787 * support/check_netent.c: Likewise.
8788 * support/check_nss.h: Likewise.
8789 * support/format_nss.h: Likewise.
8790 * support/resolv_test.c: Likewise.
8791 * support/resolv_test.h: Likewise.
8792 * support/run_diff.h: Likewise.
8793 * support/support_format_address_family.c: Likewise.
8794 * support/support_format_addrinfo.c: Likewise.
8795 * support/support_format_dns_packet.c: Likewise.
8796 * support/support_format_herrno.c: Likewise.
8797 * support/support_format_hostent.c: Likewise.
8798 * support/support_format_netent.c: Likewise.
8799 * support/support_run_diff.c: Likewise.
8800 * support/xaccept.c: Likewise.
8801 * support/xbind.c: Likewise.
8802 * support/xconnect.c: Likewise.
8803 * support/xfclose.c: Likewise.
8804 * support/xfopen.c: Likewise.
8805 * support/xgetsockname.c: Likewise.
8806 * support/xlisten.c: Likewise.
8807 * support/xmemstream.c: Likewise.
8808 * support/xmemstream.h: Likewise.
8809 * support/xpoll.c: Likewise.
8810 * support/xpthread_once.c: Likewise.
8811 * support/xrecvfrom.c: Likewise.
8812 * support/xsendto.c: Likewise.
8813 * support/xsetsockopt.c: Likewise.
8814 * support/xstdio.h: Likewise.
8815 * support/xstrdup.c: Likewise.
8816 * support/support.h (xstrdup): Declare.
8817 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8818 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8819 * support/xthread.h (xpthread_once): Likwise.
8820 * support/xunistd.h (xwrite): Declare.
8821
8822 2016-12-31 Florian Weimer <fweimer@redhat.com>
8823
8824 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8825 (test_verbose): Declare.
8826 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8827 * support/support_test_main.c (default_options): Likewise.
8828 (usage, support_test_main): Handle 'v'.
8829 (test_verbose): Define.
8830 * support/tst-support_record_failure.c (do_test): Use
8831 test_verbose.
8832 * support/tst-support_record_failure-2.sh (different_status): Add
8833 --verbose test.
8834
8835 2016-12-31 Florian Weimer <fweimer@redhat.com>
8836
8837 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8838 test failures are recorded.
8839 * support/check.c (support_print_failure_impl): Call
8840 support_record_failure.
8841 (support_exit_failure_impl): Call support_record_failure if status
8842 indicates failure.
8843 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8844 * support/xasprintf.c (xasprintf): Likewise.
8845 * support/xfork.c (xfork): Likewise.
8846 * support/xpthread_check_return.c (xpthread_check_return):
8847 Likewise.
8848 * support/xsocket.c (xsocket): Likeweise.
8849 * support/xwaitpid.c (xwaitpid): Likewise.
8850 * support/support_record_failure.c (struct test_failures): Adjust
8851 to coding style.
8852 * support/support_test_verify_impl.c (support_test_verify_impl):
8853 Adjust error messages.
8854 * support/tst-support_record_failure-2.sh (different_status):
8855 Adjust error messages.
8856
8857 2016-12-31 Florian Weimer <fweimer@redhat.com>
8858
8859 * support/namespace.h: New file.
8860 * support/support_become_root.c: Likewise.
8861 * support/support_enter_network_namespace.c: Likewise.
8862 * support/tst-support-namespace.c: Likewise.
8863 * support/xsocket.c: Likewise.
8864 * support/xsocket.h: Likewise.
8865 * support/Makefile (libsupport-routines): Add support_become_root,
8866 support_enter_network_namespace, xsocket.
8867 (tests): Add tst-support-namespace.
8868
8869 2016-12-31 Florian Weimer <fweimer@redhat.com>
8870
8871 [BZ #17252]
8872 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8873 __USE_GNU.
8874
8875 2016-12-31 Torvald Riegel <triegel@redhat.com>
8876
8877 [BZ #13165]
8878 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8879 use new algorithm.
8880 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8881 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8882 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8883 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8884 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8885 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8886 __condvar_cleanup_waiting, __condvar_dec_grefs,
8887 __pthread_cond_wait_common): New.
8888 (__condvar_cleanup): Remove.
8889 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8890 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8891 Likewise.
8892 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8893 Likewise.
8894 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8895 * nptl/tst-cond1.c: Add comment.
8896 * nptl/tst-cond20.c (do_test): Adapt.
8897 * nptl/tst-cond22.c (do_test): Likewise.
8898 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8899 structure.
8900 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8901 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8902 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8903 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8904 Likewise.
8905 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8906 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8907 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8908 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8909 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8910 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8911 Likewise.
8912 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8913 Likewise.
8914 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8915 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8916 (COND_CLOCK_BITS): Adapt.
8917 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8918 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8919 __PTHREAD_COND_SHARED_MASK): New.
8920 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8921 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8922 * nptl/nptl_lock_constants.pysym: Adapt.
8923 * nptl/test-cond-printers.py: Adapt.
8924 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8925 cond_compat_check_and_clear): Adapt.
8926 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8927 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8928 (__pthread_cond_timedwait): ... and move here.
8929 * nptl/DESIGN-condvar.txt: Remove file.
8930 * nptl/lowlevelcond.sym: Likewise.
8931 * nptl/pthread_cond_timedwait.c: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8933 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8934 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8935 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8936 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8938 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8939 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8940 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8941 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8942 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8943 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8944 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8945 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8947 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8948
8949 2016-12-31 Joseph Myers <joseph@codesourcery.com>
8950
8951 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8952 (fromfp): New declaration.
8953 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8955 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8956 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8958 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8959 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8961 * math/math.h: Include <bits/types.h>.
8962 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8963 constant and macro.
8964 (FP_INT_DOWNWARD): Likewise.
8965 (FP_INT_TOWARDZERO): Likewise.
8966 (FP_INT_TONEARESTFROMZERO): Likewise.
8967 (FP_INT_TONEAREST): Likewise.
8968 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8969 (fromfpf): Likewise.
8970 (fromfpl): Likewise.
8971 (ufromfp): Likewise.
8972 (ufromfpf): Likewise.
8973 (ufromfpl): Likewise.
8974 (fromfpx): Likewise.
8975 (fromfpxf): Likewise.
8976 (fromfpxl): Likewise.
8977 (ufromfpx): Likewise.
8978 (ufromfpxf): Likewise.
8979 (ufromfpxl): Likewise.
8980 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8981 s_fromfpxF and s_ufromfpxF.
8982 * math/gen-fromfp-tests.py: New file.
8983 * math/gen-fromfp-tests-inputs: Likewise.
8984 * math/libm-test.inc: Include <stdint.h>
8985 (check_intmax_t): New function.
8986 (check_uintmax_t): Likewise.
8987 (struct test_fiu_M_data): New type.
8988 (struct test_fiu_U_data): Likewise.
8989 (RUN_TEST_fiu_M): New macro.
8990 (RUN_TEST_LOOP_fiu_M): Likewise.
8991 (RUN_TEST_fiu_U): Likewise.
8992 (RUN_TEST_LOOP_fiu_U): Likewise.
8993 (fromfp_test_data): New array.
8994 (fromfp_test): New function.
8995 (fromfpx_test_data): New array.
8996 (fromfpx_test): New function.
8997 (ufromfp_test_data): New array.
8998 (ufromfp_test): New function.
8999 (ufromfpx_test_data): New array.
9000 (ufromfpx_test): New function.
9001 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
9002 ufromfpx_test.
9003 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
9004 characters.
9005 * math/test-tgmath-ret.c: Include <stdint.h>.
9006 (rm): New variable.
9007 (width): Likewise.
9008 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
9009 called function.
9010 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
9011 CHECK_RET_CONST_TYPE.
9012 (CHECK_RET_CONST_DOUBLE): Likewise.
9013 (CHECK_RET_CONST_LDOUBLE): Likewise.
9014 (CHECK_RET_CONST): Take extra arguments and pass them to calls
9015 macros.
9016 (fromfp): New CHECK_RET_CONST call.
9017 (ufromfp): Likewise.
9018 (fromfpx): Likewise.
9019 (ufromfpx): Likewise.
9020 (do_test): Call check_return_fromfp, check_return_ufromfp,
9021 check_return_fromfpx and check_return_ufromfpx.
9022 * math/test-tgmath.c: Include <stdint.h>
9023 (NCALLS): Increase to 138.
9024 (F(compile_test)): Initialize i. Call fromfp functions.
9025 (F(fromfp)): New function.
9026 (F(fromfpx)): Likewise.
9027 (F(ufromfp)): Likewise.
9028 (F(ufromfpx)): Likewise.
9029 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
9030 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
9031 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
9032 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
9033 ufromfpxl.
9034 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
9035 ufromfp and ufromfpx.
9036 * math/fromfp.h: New file.
9037 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
9042 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
9043 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
9044 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
9045 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
9046 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
9059 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
9063 ufromfp, fromfpx and ufromfpx.
9064 (CFLAGS-nldbl-fromfp.c): New variable.
9065 (CFLAGS-nldbl-fromfpx.c): Likewise.
9066 (CFLAGS-nldbl-ufromfp.c): Likewise.
9067 (CFLAGS-nldbl-ufromfpx.c): Likewise.
9068 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
9069 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
9070 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
9071 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
9072 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
9073 * sysdeps/nacl/libm.abilist: Update.
9074 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9075 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9076 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9077 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9079 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9080 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9081 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9082 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9083 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9084 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9085 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9087 Likewise.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9089 Likewise.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9091 Likewise.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9093 Likewise.
9094 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9095 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9096 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9098 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9100 Likewise.
9101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9102 Likewise.
9103 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9104 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9106
9107 2016-12-30 Florian Weimer <fweimer@redhat.com>
9108
9109 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
9110 compat-gethnamaddr.
9111 (CPPFLAGS): Remove.
9112 * resolv/gethnamaddr.c: Rename ...
9113 * resolv/compat-gethnamaddr.c: ... to this file.
9114 (_endhtent): Make static.
9115 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
9116 symbol.
9117 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
9118 compat symbol.
9119 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
9120 symbol.
9121 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
9122 Turn into compat symbol.
9123 * include/resolv.h (_endhtent): Remove declaration.
9124
9125 2016-12-30 Joseph Myers <joseph@codesourcery.com>
9126
9127 * bits/types.h (__intmax_t): New typedef.
9128 (__uintmax_t): Likewise.
9129 * sysdeps/generic/stdint.h: Include <bits/types.h>.
9130 (intmax_t): Define using __intmax_t.
9131 (uintmax_t): Define using __uintmax_t.
9132
9133 * support/Makefile (tests-special): Make definition conditional on
9134 [$(run-built-tests) = yes].
9135 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
9136 on [$(run-built-tests) = yes].
9137
9138 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
9139
9140 * Rules (tests): Add tests-printers-programs to tests to be
9141 built.
9142
9143 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9144
9145 * sysvipc/Makefile (tests): Add test-sysvshm.
9146 * sysvipc/test-sysvshm.c: New file.
9147
9148 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
9149 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
9150 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
9151 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
9152 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
9153 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
9154 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
9155 Likewise.
9156 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
9157 Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
9159 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
9160 is defined.
9161
9162 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
9163 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
9164 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
9165 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
9166 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
9167 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
9168 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
9169 Likewise.
9170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
9171 Likewise.
9172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
9173 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
9174 defined.
9175
9176 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9177 oldshmctl.
9178 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
9179 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
9180 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
9181 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
9182 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
9183 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
9184 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
9185 Likewise.
9186 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
9187 Likewise.
9188 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
9189 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
9190 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
9191 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
9192 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
9193 implementation.
9194 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
9195 if it is defined.
9196
9197 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
9198 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
9199 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
9200 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
9201 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
9202 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
9203 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
9204 Likewise.
9205 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
9206 Likewise.
9207 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
9208 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
9209 Define to __NR_osf_shmat.
9210 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9211 defined.
9212
9213 * sysvipc/Makefile (tests): Add test-sysvsem.
9214 * sysvipc/test-sysvsem.c: New file.
9215
9216 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9217 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9218 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9219 Likewise.
9220 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9221 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9222 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9223 Likewise.
9224 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9225 Likewise.
9226 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9227 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9228 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9229 add a comment about s390 syscall difference from default one.
9230 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9231 syscall if it is defined.
9232
9233 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9234 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9235 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9236 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9237 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9238 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9239 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9240 Likewise.
9241 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9242 Likewise.
9243 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9244 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9245 defined.
9246
9247 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9248 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9249 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9250 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9251 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9252 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9253 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9254 Likewise.
9255 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9256 Likewise.
9257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9258 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9259 if it is defined.
9260
9261 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9262 oldsemctl.
9263 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9264 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9265 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9266 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9267 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9268 implementation.
9269 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9270 syscall if it is defined.
9271 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9272 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9273 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9274 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9275 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9276 Likewise.
9277 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9278
9279 * sysvipc/Makefile (tests): Add test-sysvmsg.
9280 * sysvipc/test-sysvmsg.c: New file.
9281 * support/check.h (FAIL_UNSUPPORTED): New define.
9282
9283 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9284 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9285 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9286 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9287 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9288 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9289 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9290 Likewise.
9291 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9292 Likewise.
9293 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9294 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9295 define.
9296
9297 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9298 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9299 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9300 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9301 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9302 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9303 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9304 Likewise.
9305 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9306 Likewise.
9307 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9308 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9309 if defined.
9310
9311 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9312 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9313 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9314 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9315 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9316 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9317 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9318 Likewise.
9319 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9320 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9321 Likewise.
9322 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9323 if defined.
9324 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9325
9326 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9327 oldmsgctl.
9328 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9329 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9330 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9331 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9332 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9333 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9334 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9335 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9336 Likewise.
9337 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9338 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9339 implementation.
9340 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9341 if defined.
9342
9343 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9344 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9345 definition and define its own.
9346 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9347 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9348 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9349 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9350 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9351 definitions to common header.
9352 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9353 operation from ipc_ops.h.
9354
9355 * sysdeps/unix/sysv/linux/kernel-features.h
9356 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9357 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9358 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9359 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9360 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9361 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9362 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9363 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9364 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9365 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9366 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9367 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9368 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9369 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9370 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9371
9372 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9373
9374 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9375 overflow in pointer addition.
9376
9377 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9378
9379 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9380 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9382 (strchr): Add __strchr_power8 to list of strchr functions.
9383 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9384 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9385 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9386 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9387 (strchr): Add __strchr_power8 to ifunc list.
9388 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9389 (__strchrnul): Add __strchrnul_power8 to ifunc list.
9390 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9391 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
9392
9393 2016-12-28 Florian Weimer <fweimer@redhat.com>
9394
9395 * support/Makefile (libsupport-routines): Add
9396 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
9397 (tests): Add tst-support_record_failure.
9398 (tests-special): tst-support_record_failure-2.
9399 (tst-support_record_failure-2.out): Depend on
9400 tst-support_record_failure-2.sh and tst-support_record_failure.
9401 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
9402 (support_test_verify_impl, support_record_failure)
9403 (support_report_failure, support_report_failure_reset): Declare.
9404 * support/support_test_main.c (adjust_exit_status): New function.
9405 (support_test_main): Call it to incorporate record test failures.
9406 * support/support_test_verify_impl.c: New file.
9407 * support/support_record_failure.c: Likewise.
9408 * support/tst-support_record_failure.c: Likewise.
9409 * support/tst-support_record_failure-2.sh: Likewise.
9410 * support/xunistd.h: Likewise.
9411 * support/xfork.c: Likewise.
9412 * support/xwaitpid.c: Likewise.
9413
9414 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
9415
9416 * scripts/check-c++-types.sh: Add comments.
9417
9418 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
9419
9420 [BZ #19514]
9421 * resolv/res_send.c: Fix typo in comment.
9422 * sysdeps/i386/i386-mcount.S: Likewise.
9423 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9424 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9425 * sysdeps/sparc/sparc-mcount.S: Likewise.
9426
9427 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9428
9429 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
9430 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
9431 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9432 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9433 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
9434 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
9435 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
9436 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
9437
9438 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9439
9440 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
9441
9442 2016-12-27 Florian Weimer <fweimer@redhat.com>
9443
9444 [BZ #17252]
9445 * posix/unistd.h (getentropy): Declare.
9446
9447 2016-12-27 Florian Weimer <fweimer@redhat.com>
9448
9449 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
9450 Remove.
9451 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
9452 (cmd): Remove spoof, nospoof, spoofalert.
9453 (parse_line): Ignore spoof-related lines.
9454 (do_init): Do not process RESOLV_SPOOF_CHECK.
9455
9456 2016-12-27 Florian Weimer <fweimer@redhat.com>
9457
9458 [BZ #20964]
9459 sunrpc: Always obtain AF_INET addresses from NSS.
9460 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
9461 * sunrpc/rpc_gethostbyname.c: New file.
9462 * sunrpc/Makefile (routines): Add it.
9463 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
9464 * sunrpc/clnt_simp.c (callrpc): Likewise.
9465 * sunrpc/getrpcport.c (getrpcport): Likewise.
9466
9467 2016-12-27 Florian Weimer <fweimer@redhat.com>
9468
9469 * sunrpc/rpcinfo.c: Remove.
9470 * sunrpc/Makefile: Remove comments referring to rpcinfo.
9471
9472 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9473
9474 [BZ #19387]
9475 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
9476 addition.
9477 * string/test-memchr.c (do_test): Remove alignment limitation.
9478 (test_main): Add test that trigger BZ #19387.
9479
9480 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9481
9482 [BZ #7065]
9483 Enable stack protectore if requested by ./configure.
9484 * Makeconfig (+stack-protector): New variable.
9485 (+cflags): Use it.
9486
9487 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9488
9489 [BZ #7065]
9490 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
9491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
9492 (__rt_sigreturn_stub): Use inhibit_stack_protector.
9493 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9494 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
9495
9496 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9497
9498 [BZ #7065]
9499 * login/Makefile (pt_chown-cflags): Remove.
9500 * nscd/Makefile (CFLAGS-nscd): Likewise.
9501 * resolv/Makefile (CFLAGS-libresolv): Likewise.
9502
9503 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9504
9505 [BZ #7065]
9506 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
9507 non-libc-linking testcase.
9508
9509 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9510 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9511 Florian Weimer <fweimer@redhat.com>
9512
9513 [BZ #7065]
9514 PLT avoidance for __stack_chk_fail*.
9515 * debug/Makefile (CFLAGS-stack_chk_fail.c)
9516 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
9517 * debug/stack_chk_fail.c (__stack_chk_fail): Add
9518 __stack_chk_fail_local alias.
9519 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
9520 (__stack_chk_fail): Turn into hidden reference to
9521 __stack_chk_fail_local.
9522
9523 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9524
9525 [BZ #7065]
9526 * configure.ac: Add check for unsupported stack-protection level.
9527 (libc_cv_predef_stack_protector): Remove.
9528 (no_ssp): New variable.
9529 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
9530 (stack_protector): Set to -fno-stack-protector similarly.
9531 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
9532 (libc_cv_asm_set_directive): Likewise.
9533 (libc_cv_protected_data): Likewise.
9534 (libc_cv_z_combreloc): Likewise.
9535 (libc_cv_hashstyle): Likewise.
9536 (libc_cv_has_glob_dat): Likewise.
9537 (libc_cv_output_format): Likewise.
9538 (libc_cv_output_format): Likewise.
9539 (libc_cv_ehdr_start): Likewise.
9540 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9541 (LIBC_LINKER_FEATURE): Likewise.
9542 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9543
9544 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9545
9546 [BZ #7065]
9547 * elf/Makefile (dummy-stack-chk-fail): New.
9548 (librtld.map): Use it.
9549
9550 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9551
9552 [BZ #7065]
9553 Compile the dynamic linker without stack protection.
9554 * elf/Makefile (elide-stack-protector): New.
9555 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9556 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9557 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9558 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9559
9560 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9561
9562 [BZ #7065]
9563 * config.make.in (have-ssp, no-stack-protector): New.
9564 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9565 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9566 (CFLAGS-sbrk.op): Likewise.
9567 (CFLAGS-brk.o): Likewise.
9568 (CFLAGS-brk.op): Likewise.
9569 * string/Makefile (CFLAGS-memcpy.c): Likewise.
9570 (CFLAGS-wordcopy.c): Likewise.
9571
9572 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9573
9574 [BZ #7065]
9575 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9576 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9577 * include/libc-symbols.h (inhibit_stack_protector): New macro.
9578 (__ifunc_resolver): Use it.
9579 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9580 inhibit_stack_protector.
9581 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9582 * elf/ifuncmain7.c (foo_ifunc): Likewise.
9583 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9584 (foo_protected_ifunc): Likewise.
9585 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9586 (foo_protected_ifunc): Likewise.
9587 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9588 * sysdeps/nacl/nacl_interface_query.c
9589 (nacl_interface_query_ifunc): Likewise.
9590 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9591 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9592 Likewise.
9593 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9594 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9595 the generated vDSO syscall resolver.
9596
9597 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9598 Florian Weimer <fweimer@redhat.com>
9599
9600 [BZ #7065]
9601 Initialize the stack guard earlier when linking statically.
9602 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9603 (__pthread_initialize_minimal): Declare.
9604 * csu/libc-start.c (__pthread_initialize_minimal): Remove
9605 declaration.
9606 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
9607 stack canary and apply_irel initialization up. Call
9608 __pthread_initialize_minimal only if linked in.
9609 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9610 constant values.
9611 (__pthread_initialize_minimal): Remove.
9612 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9613 (__pthread_initialize_minimal_internal): Do not call
9614 __libc_setup_tls.
9615
9616 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
9617
9618 [BZ #7065]
9619 * configure.ac (libc_cv_ssp): Move up.
9620 (libc_cv_ssp_strong): Likewise.
9621 (libc_cv_ssp_all): New.
9622 (stack_protector): Augment, adding -fstack-protector-all.
9623 (no_stack_protector): New.
9624 (STACK_PROTECTOR_LEVEL): New.
9625 (AC_ARG_ENABLE(stack-protector)): New configure flag.
9626 * manual/install.texi (--enable-stack-protector): Document it.
9627 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9628
9629 2016-12-24 Carlos O'Donell <carlos@redhat.com>
9630
9631 * README.pretty-printers: Must specify CPPFLAGS-* also.
9632 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9633 (CPPFLAGS-test-mutex-printers.c): Define.
9634 (CPPFLAGS-test-condattr-printers.c): Define.
9635 (CPPFLAGS-test-cond-printers.c): Define.
9636 (CPPFLAGS-test-rwlockattr-printers.c): Define.
9637 (CPPFLAGS-test-rwlock-printers.c): Define.
9638
9639 * nss/Makefile [ifeq (yes,$(have-thread-library))]
9640 (tests): Add tst-cancel-getpwuid_r.
9641 * nss/tst-cancel-getpwuid_r.c: New file.
9642
9643 [BZ #11941]
9644 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9645 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9646 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9647 tst-nodelete-dlclose.
9648 (modules-names): Add tst-nodelete-dlclose-dso and
9649 tst-nodelete-dlclose-plugin.
9650 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9651 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9652 ($(objpfx)tst-nodelete-dlclose): Define.
9653 ($(objpfx)tst-nodelete-dlclose.out): Define.
9654
9655 2016-12-23 Florian Weimer <fweimer@redhat.com>
9656
9657 * scripts/test_printers_common.py: Log GDB output in case of
9658 Python detection failure.
9659
9660 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
9661
9662 * configure.ac: Check for python3 or python.
9663 * configure: Regenerated.
9664 * config.make.in (PYTHON): New variable.
9665 * benchtests/Makefile: Don't define PYTHON.
9666 (bench): Define target only if PYTHON was defined.
9667 * Rules: Don't define PYTHON.
9668 Define pretty printer targets only if PYTHON was defined.
9669 (tests-printers): Add to tests-unsupported if PYTHON is not
9670 found.
9671 (python-flags, python-invoke): Remove.
9672 (tests-printers-out): Use PYTHON instead of python-invoke.
9673
9674 2016-12-21 Joseph Myers <joseph@codesourcery.com>
9675
9676 [BZ #20978]
9677 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9678 Compare name == NULL, not name != NULL.
9679
9680 * manual/texinfo.tex: Update to version 2016-09-18.18 with
9681 trailing whitespace removed.
9682 * scripts/config.guess: Update to version 2016-10-02.
9683 * scripts/config.sub: Update to version 2016-11-19.
9684 * scripts/install-sh: Update to version 2016-01-11.22.
9685 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9686 * scripts/move-if-change: Update to version 2016-01-11 22:04.
9687
9688 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
9689
9690 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9691 (do_one_test) Restore original string so iteration works.
9692 * string/string-inlines.c (do_test): Create better input strings.
9693 (test_main) Reduce number of testruns.
9694 * string/string-inlines.c (__old_strsep_1c): New function.
9695 (__old_strsep_2c): Likewise.
9696 (__old_strsep_3c): Likewise.
9697 * string/strsep.c (__strsep): Remove case of small delim string.
9698 Call strcspn directly rather than strpbrk.
9699 * string/bits/string2.h (__strsep): Remove define.
9700 (__strsep_1c): Remove.
9701 (__strsep_2c): Remove.
9702 (__strsep_3c): Remove.
9703 (strsep): Remove.
9704 * sysdeps/unix/sysv/linux/internal_statvfs.c
9705 (__statvfs_getflags): Rename to __strsep.
9706
9707 2016-12-21 Florian Weimer <fweimer@redhat.com>
9708
9709 * csu/libc-tls.c (_dl_tls_setup): Remove.
9710 * elf/dl-tls.c (_dl_tls_setup): Likewise.
9711 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9712 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9713
9714 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
9715
9716 [BZ #7065]
9717 * sysdeps/x86_64/Makefile [$(subdir) = elf]
9718 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9719
9720 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
9721 Florian Weimer <fweimer@redhat.com>
9722
9723 [BZ #7065]
9724 * csu/Makefile (tests): Empty assignment and document it.
9725 (tests-static): Remove.
9726 * csu/tst-empty.c: Move to...
9727 * misc/tst-empty.c: ... here. Switch to new test driver.
9728 * csu/tst-atomic.c: Move to...
9729 * misc/tst-atomic.c: ... here. Switch to new test driver.
9730 * csu/tst-atomic-long.c: Move to...
9731 * misc/tst-atomic-long.c: ... here.
9732 * misc/Makefile (tests): Add tst-empty, tst-atomic,
9733 tst-atomic-long.
9734 (tests-static): Add tst-empty.
9735
9736 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
9737
9738 * manual/nss.texi: Change incorrect @vtable to @table.
9739 * manual/arith.texi: Convert @tables of variables to @vtables
9740 and remove unnecessary indexing.
9741 * manual/filesys.texi: Likewise.
9742 * manual/llio.texi: Likewise.
9743 * manual/memory.texi: Likewise.
9744 * manual/process.texi: Likewise.
9745 * manual/resource.texi: Likewise.
9746 * manual/search.texi: Likewise.
9747 * manual/signal.texi: Likewise.
9748 * manual/socket.texi: Likewise.
9749 * manual/stdio.texi: Likewise.
9750 * manual/sysinfo.texi: Likewise.
9751 * manual/syslog.texi: Likewise.
9752 * manual/terminal.texi: Likewise.
9753 * manual/time.texi: Likewise.
9754 * manual/users.texi: Likewise.
9755
9756 2016-12-21 Joseph Myers <joseph@codesourcery.com>
9757
9758 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9759 (roundeven): New declaration.
9760 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9761 macro.
9762 * math/Versions (roundeven): New libm symbol at version
9763 GLIBC_2.25.
9764 (roundevenf): Likewise.
9765 (roundevenl): Likewise.
9766 * math/Makefile (libm-calls): Add s_roundevenF.
9767 * math/libm-test.inc (roundeven_test_data): New array.
9768 (roundeven_test): New function.
9769 (main): Call roundeven_test.
9770 * math/test-tgmath.c (NCALLS): Increase to 134.
9771 (F(compile_test)): Call roundeven.
9772 (F(roundeven)): New function.
9773 * manual/arith.texi (Rounding Functions): Document roundeven,
9774 roundevenf and roundevenl.
9775 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9776 * include/math.h (roundeven): Use libm_hidden_proto.
9777 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9778 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9779 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9784 roundeven.
9785 (CFLAGS-nldbl-roundeven.c): New variable.
9786 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9787 * sysdeps/nacl/libm.abilist: Update.
9788 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9789 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9790 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9791 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9792 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9793 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9794 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9795 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9796 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9797 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9798 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9799 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9801 Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9803 Likewise.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9805 Likewise.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9807 Likewise.
9808 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9809 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9810 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9812 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9814 Likewise.
9815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9816 Likewise.
9817 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9818 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9819 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9820
9821 2016-12-20 Joseph Myers <joseph@codesourcery.com>
9822
9823 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9824 preprocessor indentation inside #if.
9825
9826 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9827
9828 * math/libm-test.inc (fmt_ftostr): New function.
9829 (print_float, check_float_internal): Replace some uses of
9830 FTOSTR with uses of fmt_ftostr.
9831 (print_max_error, print_complex_max_error, print_function_ulps)
9832 (print_complex_function_ulps): Remove uses of the macros
9833 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9834 * math/test-double.h (FTOSTR): Define to strfromd.
9835 (PRINTF_EXPR): Delete.
9836 (PRINTF_XEXPR): Likewise.
9837 (PRINTF_NEXPR): Likewise.
9838 * math/test-float.h (FTOSTR): Define to strfromf.
9839 (PRINTF_EXPR): Delete.
9840 (PRINTF_XEXPR): Likewise.
9841 (PRINTF_NEXPR): Likewise.
9842 * math/test-ldouble.h (FTOSTR): Define to strfroml.
9843 (PRINTF_EXPR): Delete.
9844 (PRINTF_XEXPR): Likewise.
9845 (PRINTF_NEXPR): Likewise.
9846
9847 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9848
9849 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9850 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9851 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9852 (__lll_lock_elision): Decrement adapt_count while unlocking
9853 instead of before locking.
9854 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9855 (__lll_trylock_elision): Likewise.
9856 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9857 (__lll_unlock_elision): Likewise.
9858
9859 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9860
9861 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9862 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9863 Use __libc_tbegin_retry macro.
9864
9865 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9866
9867 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9868 Add -msoft-float.
9869 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9870 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9871 Use __libc_t* transaction macros instead of __builtin_t*.
9872 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9873 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9874
9875 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9876
9877 * sysdeps/unix/sysv/linux/s390/elision-lock.c
9878 (__lll_lock_elision): Use atomics to load / store adapt_count.
9879 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9880 (__lll_trylock_elision): Likewise.
9881
9882 2016-12-20 Florian Weimer <fweimer@redhat.com>
9883
9884 Do not require memset elimination in explicit_bzero test.
9885 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9886 (enum test_expectation): Add NO_EXPECTATIONS.
9887 (subtests): NO_EXPECTATIONS for ordinary clear.
9888 (check_test_buffer): Handle NO_EXPECTATIONS.
9889 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9890
9891 2016-12-20 Joseph Myers <joseph@codesourcery.com>
9892
9893 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9894 (fmaxmag): New declaration.
9895 (fminmag): Likewise.
9896 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9897 macro.
9898 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9899 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9900 (fmaxmagf): Likewise.
9901 (fmaxmagl): Likewise.
9902 (fminmag): Likewise.
9903 (fminmagf): Likewise.
9904 (fminmagl): Likewise.
9905 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9906 * math/s_fmaxmag_template.c: New file.
9907 * math/s_fminmag_template.c: Likewise.
9908 * math/libm-test.inc (fmaxmag_test_data): New array.
9909 (fmaxmag_test): New function.
9910 (fminmag_test_data): New array.
9911 (fminmag_test): New function.
9912 (main): Call fmaxmag_test and fminmag_test.
9913 * math/test-tgmath.c (NCALLS): Increase to 132.
9914 (F(compile_test)): Call fmaxmag and fminmag.
9915 (F(fminmag)): New function.
9916 (F(fmaxmag)): Likewise.
9917 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9918 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9919 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9920 fminmag.
9921 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9922 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9923 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9926 and fminmag.
9927 (CFLAGS-nldbl-fmaxmag.c): New variable.
9928 (CFLAGS-nldbl-fminmag.c): Likewise.
9929 * sysdeps/nacl/libm.abilist: Update.
9930 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9931 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9932 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9934 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9935 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9943 Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9945 Likewise.
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9947 Likewise.
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9949 Likewise.
9950 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9951 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9952 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9953 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9954 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9956 Likewise.
9957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9958 Likewise.
9959 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9960 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9961 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9962
9963 2016-12-19 Torvald Riegel <triegel@redhat.com>
9964
9965 [BZ #20973]
9966 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9967 wake-up in robust mutexes.
9968 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9969
9970 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9971
9972 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9973 (CFLAGS-bench-fmaxf.c): New rule.
9974 (CFLAGS-bench-fminf.c): Likewise.
9975 * benchtests/fmaxf-inputs: New file.
9976 * benchtests/fminf-inputs: Likewise.
9977
9978 * benchtests/Makefile (bench-math): Add fmin and fmax.
9979 (CFLAGS-bench-fmax.c): New rule.
9980 (CFLAGS-bench-fmin.c): Likewise.
9981 * benchtests/fmax-inputs: New file.
9982 * benchtests/fmin-inputs: Likewise.
9983
9984 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9985 parenthesis.
9986 (CMDLINE_PROCESS): Define using function instead of macro.
9987 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9988 of test-skeleton.
9989 * benchtests/bench-memchr.c: Likewise.
9990 * benchtests/bench-memcmp.c: Likewise.
9991 * benchtests/bench-memcpy-large.c: Likewise.
9992 * benchtests/bench-memcpy.c: Likewise.
9993 * benchtests/bench-memmem.c: Likewise.
9994 * benchtests/bench-memmove-large.c: Likewise.
9995 * benchtests/bench-memmove.c: Likewise.
9996 * benchtests/bench-memset-large.c: Likewise.
9997 * benchtests/bench-memset.c: Likewise.
9998 * benchtests/bench-rawmemchr.c: Likewise.
9999 * benchtests/bench-strcasecmp.c: Likewise.
10000 * benchtests/bench-strcasestr.c: Likewise.
10001 * benchtests/bench-strcat.c: Likewise.
10002 * benchtests/bench-strchr.c: Likewise.
10003 * benchtests/bench-strcmp.c: Likewise.
10004 * benchtests/bench-strcpy.c: Likewise.
10005 * benchtests/bench-strcpy_chk.c: Likewise.
10006 * benchtests/bench-strlen.c: Likewise.
10007 * benchtests/bench-strncasecmp.c: Likewise.
10008 * benchtests/bench-strncmp.c: Likewise.
10009 * benchtests/bench-strncpy.c: Likewise.
10010 * benchtests/bench-strnlen.c: Likewise.
10011 * benchtests/bench-strpbrk.c: Likewise.
10012 * benchtests/bench-strrchr.c: Likewise.
10013 * benchtests/bench-strsep.c: Likewise.
10014 * benchtests/bench-strspn.c: Likewise.
10015 * benchtests/bench-strstr.c: Likewise.
10016 * benchtests/bench-strtok.c: Likewise.
10017
10018 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
10019
10020 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
10021 stepping identification.
10022 (init_cpu_features): Add handle of Haswell.
10023
10024 2016-11-25 Jim Meyering <meyering@fb.com>
10025
10026 [BZ #20386]
10027 Let gcc detect assert(a = 1) errors.
10028 * assert/assert.h (assert): Rewrite, retaining the old definintion
10029 when required, but otherwise putting the expression as-is in an "if"
10030 expression (hence, with no added parentheses) within a statement
10031 expression.
10032
10033 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
10034
10035 * benchtests/Makefile (binaries-benchset): Depend on libsupport
10036 DSO.
10037
10038 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
10039
10040 * Rules (python-flags, python-invoke): New.
10041 ($(test-printers-out)): Use $(python-flags).
10042
10043 2016-12-16 Joseph Myers <joseph@codesourcery.com>
10044
10045 * manual/arith.texi (Math Error Reporting): Document that sNaN
10046 arguments are not considered domain errors.
10047
10048 2016-12-16 Zack Weinberg <zackw@panix.com>
10049 Florian Weimer <fweimer@redhat.com>
10050 Nick Mathewson <nickm@torproject.org>
10051
10052 * string/explicit_bzero.c: New routine.
10053 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
10054 * string/Makefile (routines, strop-tests, tests): Add them.
10055 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
10056 * string/string.h [__USE_MISC]: Declare explicit_bzero.
10057
10058 * debug/explicit_bzero_chk.c: New routine.
10059 * debug/Makefile (routines): Add it.
10060 * debug/tst-chk1.c: Test fortification of explicit_bzero.
10061 * string/bits/string3.h: Fortify explicit_bzero.
10062
10063 * manual/string.texi: Document explicit_bzero.
10064 * NEWS: Mention addition of explicit_bzero.
10065
10066 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
10067 data before returning, using explicit_bzero.
10068 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
10069 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10070 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10071
10072 * include/string.h: Redirect internal uses of explicit_bzero
10073 to __explicit_bzero_chk[_internal].
10074 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
10075 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
10076 * sysdeps/arm/nacl/libc.abilist
10077 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10078 * sysdeps/unix/sysv/linux/alpha/libc.abilist
10079 * sysdeps/unix/sysv/linux/arm/libc.abilist
10080 * sysdeps/unix/sysv/linux/hppa/libc.abilist
10081 * sysdeps/unix/sysv/linux/i386/libc.abilist
10082 * sysdeps/unix/sysv/linux/ia64/libc.abilist
10083 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10084 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10085 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10086 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10087 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10088 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10089 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10090 * sysdeps/unix/sysv/linux/nios2/libc.abilist
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10095 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10096 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10097 * sysdeps/unix/sysv/linux/sh/libc.abilist
10098 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10099 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10102 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10103 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10104 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10105 Add entries for explicit_bzero and __explicit_bzero_chk.
10106
10107 2016-12-16 Joseph Myers <joseph@codesourcery.com>
10108
10109 * math/fenv.h
10110 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
10111 (FE_SNANS_ALWAYS_SIGNAL): New macro.
10112 * math/test-fe-snans-always-signal.c: New file.
10113 * math/Makefile (tests): Add test-fe-snans-always-signal.
10114 (CFLAGS-test-fe-snans-always-signal.c): New variable.
10115 * manual/arith.texi (Infinity and NaN): Document
10116 FE_SNANS_ALWAYS_SIGNAL.
10117
10118 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10119
10120 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
10121 bracket.
10122
10123 2016-12-16 Joseph Myers <joseph@codesourcery.com>
10124
10125 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
10126 before calling execv.
10127
10128 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10129
10130 [BZ #20971]
10131 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
10132 overflow in pointer addition.
10133 * string/test-memchr.c (do_test): Add an argument to pass as
10134 the size on memchr.
10135 (test_main): Add check for SIZE_MAX.
10136
10137 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10138
10139 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
10140 (libm-calls): Add w_scalblnF.
10141 * math/w_scalbln.c: Remove.
10142 * math/w_scalblnf.c: Likewise.
10143 * math/w_scalblnl.c: Likewise.
10144 * math/w_scalbln_template.c: New file with type-generic
10145 implementation based on math/w_scalbln.c.
10146 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
10147 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
10148
10149 2016-12-15 Joseph Myers <joseph@codesourcery.com>
10150
10151 [BZ #20947]
10152 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
10153 either is a signaling NaN.
10154 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
10155 follow fmaxl more closely.
10156 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
10157 when either is a signaling NaN.
10158 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
10159 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
10160 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
10161 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
10162 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
10163 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
10164 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
10165 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
10166 (fmin_test_data): Likewise.
10167
10168 2016-12-15 Andreas Schwab <schwab@suse.de>
10169
10170 * support/support_test_main.c (support_test_main): Don't shadow
10171 file-local variable test_pid.
10172
10173 2016-12-15 Joseph Myers <joseph@codesourcery.com>
10174
10175 [BZ #20947]
10176 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10177 either is a signaling NaN.
10178 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
10179
10180 2016-12-14 Joseph Myers <joseph@codesourcery.com>
10181
10182 [BZ #20947]
10183 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
10184 when either is a signaling NaN.
10185 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
10186
10187 * bits/long-double.h: New file.
10188 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10189 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
10190 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
10191 * sysdeps/mips/bits/long-double.h: Likewise.
10192 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
10193 * math/Makefile (headers): Add bits/long-double.h.
10194 * misc/sys/cdefs.h: Include <bits/long-double.h>.
10195 * stdlib/strtold.c: Include <bits/long-double.h> instead of
10196 <bits/wordsize.h>.
10197 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
10198 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
10199 * math/math.h: Do not include <bits/mathdef.h>.
10200 * sysdeps/aarch64/bits/mathdef.h: Remove file.
10201 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
10202 inclusion.
10203 * sysdeps/ia64/bits/mathdef.h: Remove file.
10204 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
10205 * sysdeps/mips/bits/mathdef.h: Likewise.
10206 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10207 * sysdeps/s390/bits/mathdef.h: Likewise.
10208 * sysdeps/sparc/bits/mathdef.h: Likewise.
10209 * sysdeps/x86/bits/mathdef.h: Likewise.
10210 * sysdeps/s390/s390-32/bits/wordsize.h
10211 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10212 conditional code.
10213 * sysdeps/s390/s390-64/bits/wordsize.h
10214 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10215 Likewise.
10216 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10217 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10218 Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10220 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10221 Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10223 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10224 Likewise.
10225
10226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10227 <linux/falloc.h>.
10228 (FALLOC_FL_KEEP_SIZE): Remove.
10229 (FALLOC_FL_PUNCH_HOLE): Likewise.
10230 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10231 (FALLOC_FL_ZERO_RANGE): Likewise.
10232
10233 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10234
10235 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10236
10237 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10238
10239 * sysdeps/unix/sysv/linux/renameat.c: New file.
10240 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10241
10242 * sysdeps/unix/sysv/linux/rename.c: New file.
10243 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10244
10245 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
10246
10247 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10248 * string/strtok.c (strtok): Change to tailcall __strtok_r.
10249 * string/strtok_r.c (__strtok_r): Optimize for performance.
10250 * string/string-inlines.c (__old_strtok_r_1c): New function.
10251 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10252
10253 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10254
10255 * math/Makefile (gen-libm-calls): Add w_log1pF.
10256 (libm-calls): Remove w_log1pF.
10257 * math/w_log1p.c: Remove.
10258 * math/w_log1pf.c: Likewise.
10259 * math/w_log1pl.c: Likewise.
10260 * math/w_log1p_template.c: New file with type-generic
10261 implementation based on math/w_log1p.c.
10262 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10263 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10264
10265 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
10266
10267 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10268
10269 2016-12-14 Joseph Myers <joseph@codesourcery.com>
10270
10271 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10272 kernel version to 4.9.
10273
10274 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
10275
10276 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10277 ($(inst_libdir)/libm.a): Fix rule to create the target only.
10278
10279 2016-12-13 Andreas Schwab <schwab@suse.de>
10280
10281 * sysdeps/powerpc/dl-procinfo.c: Don't define
10282 _dl_powerpc_platforms.
10283 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10284 constants instead of referencing _dl_powerpc_platforms.
10285 (_dl_platform_string): Remove.
10286
10287 2016-12-13 Florian Weimer <fweimer@redhat.com>
10288
10289 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10290
10291 2016-12-13 Florian Weimer <fweimer@redhat.com>
10292
10293 * Rules (binaries-shared-tests, binaries-pie-tests)
10294 (binaries-static-tests): Link with $(link-extra-libs-tests).
10295 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10296 Remove $(link-extra-libs-tests).
10297
10298 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10299
10300 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10301 (sysdep_routines): Add strncmp_power9.
10302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10303 (strncmp): Add __strncmp_power9 to list of strncmp functions.
10304 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10305 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10306 (strncmp): Add __strncmp_power9 to ifunc list.
10307 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10308
10309 2016-12-12 Florian Weimer <fweimer@redhat.com>
10310
10311 [BZ #17252]
10312 Add getentropy, getrandom.
10313 * stdlib/sys/random.h: New file.
10314 (headers): Add it.
10315 * stdlib/Makefile (routines): Add getentropy, getrandom.
10316 (tests): Add tst-getrandom.
10317 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10318 * stdlib/getentropy.c: New file.
10319 * stdlib/getrandom.c: Likewise.
10320 * stdlib/tst-getrandom.c: Likewise.
10321 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10322 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10323 * manual/crypt.texi (Unpredictable Bytes): New section.
10324 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10325 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10326 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10327 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10328 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10329 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10330 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10331 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10332 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10333 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10334 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10335 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10336 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10337 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10338 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10339 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10341 Likewise.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10343 Likewise.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10346 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10347 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10348 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10349 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10350 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10353 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10354 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10355 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10356
10357 2016-12-10 Florian Weimer <fweimer@redhat.com>
10358
10359 [BZ #20956]
10360 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10361 as additional compiler barriers.
10362 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10363 (fn2, do_test): Declare with external linkage.
10364 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10365 (do_test): Declare with external linkage.
10366 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10367 (do_test): Declare with external linkage.
10368 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10369 (do_test): Declare with external linkage.
10370
10371 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
10372
10373 * support/support_test_main.c (support_test_main): Use correct
10374 timeout.
10375
10376 2016-12-09 Carlos O'Donell <carlos@redhat.com>
10377 Florian Weimer <fweimer@redhat.com>
10378
10379 [BZ #16421]
10380 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10381 and __u6_addr32 members.
10382 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10383 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10384 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10385 Use __u6_addr32.
10386 * inet/tst-checks.c: Use <support/test-driver.c>
10387 * inet/tst-checks-posix.c: New file.
10388 * inet/Makefile (tests): Add it.
10389 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10390
10391 2016-12-09 Florian Weimer <fweimer@redhat.com>
10392
10393 New subdirectory support for build and test infrastructure.
10394 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
10395 setting install-lib.
10396 * Makeconfig (link-extra-libs-tests): Define.
10397 (+link-pie-tests, +link-static-tests, +link-tests): Use
10398 link-extra-libs-tests.
10399 (rpath-dirs, all-subdirs): Add support.
10400 (built-modules): Add libsupport.
10401 (libsupport): Define.
10402 * support: New directory.
10403 * support/Makefile: New file.
10404 * support/check.c: Likewise.
10405 * support/check.h: Likewise.
10406 * support/delayed_exit.c: Likewise.
10407 * support/ignore_stderr.c: Likewise.
10408 * support/oom_error.c: Likewise.
10409 * support/set_fortify_handler.c: Likewise.
10410 * support/support.h: Likewise.
10411 * support/temp_file-internal.h: Likewise.
10412 * support/temp_file.c: Likewise.
10413 * support/test-driver.c: Likewise.
10414 * support/test-driver.h: Likewise.
10415 * support/test_main.c: Likewise.
10416 * support/write_message.c: Likewise.
10417 * support/xasprintf.c: Likewise.
10418 * support/xcalloc.c: Likewise.
10419 * support/xmalloc.c: Likewise.
10420 * support/xpthread_barrier_destroy.c: Likewise.
10421 * support/xpthread_barrier_init.c: Likewise.
10422 * support/xpthread_barrier_wait.c: Likewise.
10423 * support/xpthread_cancel.c: Likewise.
10424 * support/xpthread_check_return.c: Likewise.
10425 * support/xpthread_cond_wait.c: Likewise.
10426 * support/xpthread_create.c: Likewise.
10427 * support/xpthread_detach.c: Likewise.
10428 * support/xpthread_join.c: Likewise.
10429 * support/xpthread_mutex_lock.c: Likewise.
10430 * support/xpthread_mutex_unlock.c: Likewise.
10431 * support/xpthread_sigmask.c: Likewise.
10432 * support/xpthread_spin_lock.c: Likewise.
10433 * support/xpthread_spin_unlock.c: Likewise.
10434 * support/xrealloc.c: Likewise.
10435 * support/xsignal.h: Likewise.
10436 * support/xthread.h: Likewise.
10437 * support_tempfile.h: Likewise.
10438 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
10439 (TEST_DATA_LIMIT): Remove unused macro.
10440 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
10441 <support/check.h>.
10442 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
10443 (ignore_stderr, set_fortify_handler): Remove. Now in
10444 <support/support.h>.
10445 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
10446 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
10447 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
10448 (xpthread_join): Remove. Now in <support/xthread.h>.
10449 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
10450 Introduce legacy wrappers.
10451 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
10452 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
10453 (write_message): Remove.
10454 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
10455 test-skeleton.c.
10456 * io/test-open-tmpfile: Likewise.
10457 * io/tst-posix_fallocate-common.c: Likewise.
10458 * libio/tst-fseek.c: Likewise.
10459 * malloc/tst-malloc-backtrace.c: Likewise.
10460 * malloc/tst-malloc-fork-deadlock.c: Likewise.
10461 * malloc/tst-malloc-thread-exit.c: Likewise.
10462 * nptl/tst-cancel7.c: Likewise.
10463 * nptl/tst-cleanup0.c: Likewise.
10464 * posix/tst-posix_fadvise-common.c: Likewise.
10465 * rt/tst-shm.c: Likewise.
10466 * time/bug-getdate1.c: Likewise.
10467 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10468 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
10469 * elf/Makefile (tst-piemod1.so): Link against libsupport.
10470
10471 2016-12-08 Joseph Myers <joseph@codesourcery.com>
10472
10473 * Rules [$(run-built-tests) != no] (tests-expected): Add
10474 $(tests-printers).
10475 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
10476
10477 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
10478
10479 [BZ #20539]
10480 * math/Makefile (install-lib-ldscripts): Add libm.a.
10481 (install_subdir): Remove.
10482 (install-others): Add.
10483 ($(inst_libdir)/libm.a): Add rule for installation as
10484 linker script.
10485 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
10486
10487 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
10488
10489 * INSTALL: Regenerated.
10490 * Makeconfig: Add comments and whitespace to make the control flow
10491 clearer.
10492 (+link-printers-tests, +link-pie-printers-tests,
10493 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
10494 built-rtld-LDFLAGS, link-libc-rpath,
10495 link-libc-tests-after-rpath-link,
10496 link-libc-printers-tests): New.
10497 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
10498 link-libc-tests): Use the new variables as required.
10499 * Makerules ($(py-const)): New rule.
10500 generated: Add $(py-const).
10501 * README.pretty-printers: New file.
10502 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
10503 (others): Depend on $(py-const).
10504 (tests): Depend on $(tests-printers-programs) or
10505 $(tests-printers-out),
10506 as required. Pass $(tests-printers) to merge-test-results.sh.
10507 * manual/install.texi: Add requirements for testing the pretty
10508 printers.
10509 * nptl/Makefile (gen-py-const-headers, pretty-printers,
10510 tests-printers, CFLAGS-test-mutexattr-printers.c
10511 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
10512 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
10513 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
10514 * nptl/nptl-printers.py: New file.
10515 * nptl/nptl_lock_constants.pysym: Likewise.
10516 * nptl/test-cond-printers.c: Likewise.
10517 * nptl/test-cond-printers.py: Likewise.
10518 * nptl/test-condattr-printers.c: Likewise.
10519 * nptl/test-condattr-printers.py: Likewise.
10520 * nptl/test-mutex-printers.c: Likewise.
10521 * nptl/test-mutex-printers.py: Likewise.
10522 * nptl/test-mutexattr-printers.c: Likewise.
10523 * nptl/test-mutexattr-printers.py: Likewise.
10524 * nptl/test-rwlock-printers.c: Likewise.
10525 * nptl/test-rwlock-printers.py: Likewise.
10526 * nptl/test-rwlockattr-printers.c: Likewise.
10527 * nptl/test-rwlockattr-printers.py: Likewise.
10528 * scripts/gen-py-const.awk: Likewise.
10529 * scripts/test_printers_common.py: Likewise.
10530 * scripts/test_printers_exceptions.py: Likewise.
10531
10532 2016-12-07 Joseph Myers <joseph@codesourcery.com>
10533
10534 * scripts/build-many-glibcs.py (Context.__init__): Take strip
10535 argument.
10536 (Glibc.build_glibc): Strip installed shared libraries if
10537 requested.
10538 (get_parser): Add --strip option.
10539 (main): Update Context call.
10540
10541 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10542 Dominik Vogt <vogt@linux.vnet.ibm.com>
10543
10544 [BZ #20847]
10545 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10546 array bounds for else branch.
10547 (__execvpe): Style fixes.
10548 * posix/tst-vfork3.c (run_script): New function.
10549 (create_script): Likewise.
10550 (do_test): Use run_script internal function.
10551 (do_prepare): Use create_script internal function.
10552
10553 2016-12-07 Andreas Schwab <schwab@suse.de>
10554
10555 * sysdeps/unix/sysv/linux/x86/elision-conf.h
10556 (__elision_available): Don't declare.
10557 * sysdeps/unix/sysv/linux/x86/elision-conf.c
10558 (__elision_available): Don't define.
10559 (elision_init): Don't set __elision_available.
10560
10561 2016-12-07 Joseph Myers <joseph@codesourcery.com>
10562
10563 [BZ #20940]
10564 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10565 return Inf for arguments Inf and sNaN.
10566 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10567 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10568 Likewise.
10569 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10570 Likewise.
10571 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10572 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10573 for arguments Inf and sNaN. When returning a NaN, compute it by
10574 arithmetic on the arguments.
10575 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10576 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10577 arguments.
10578
10579 2016-12-06 Joseph Myers <joseph@codesourcery.com>
10580
10581 [BZ #20916]
10582 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10583 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
10584 to compute result.
10585 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10586 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10587
10588 2016-12-05 Torvald Riegel <triegel@redhat.com>
10589
10590 * include/atomic.h (__atomic_check_size_ls): New.
10591 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10592 atomic_store_release): Use it.
10593 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10594 (elision_adapt, ELIDE_LOCK): Use atomics.
10595 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10596 atomics and improve code comments.
10597 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10598 (__lll_trylock_elision): Likewise.
10599
10600 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10601
10602 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10603 programs.
10604
10605 2016-12-02 Joseph Myers <joseph@codesourcery.com>
10606
10607 [BZ #20916]
10608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10609 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
10610 arguments to compute result.
10611 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10612 1 for arguments (sNaN, 0) or (1, sNaN).
10613 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10615
10616 [BZ #20919]
10617 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10618 NaN first argument when raised to power 0.
10619 * math/w_pow.c (__pow): Do not check for NaN or zero results from
10620 raising to power zero.
10621 * math/w_powf.c (__powf): Likewise.
10622 * math/w_powl.c (__powl): Likewise.
10623 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10624 pow (0, 0) or pow (NaN, 0).
10625
10626 2016-12-02 Carlos O'Donell <carlos@redhat.com>
10627
10628 [BZ #20918]
10629 * configure.ac: Test for static NSS cryptographic libraries and set
10630 libc_cv_static_nss_crypt.
10631 * configure: Regenerate.
10632 * config.make.in (static-nss-crypt): Define.
10633 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10634 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10635 (CFLAGS-tst-linkall-static.c): Define.
10636 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10637 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10638 ($(objpfx)tst-linkall-static): Define.
10639 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10640 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10641
10642 2016-12-02 Florian Weimer <fweimer@redhat.com>
10643
10644 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10645 (one-hundred, tst-tls-many-dynamic-modules): Define.
10646 (modules-names): Add $(tst-tls-many-dynamic-modules).
10647 (tst-tls-manydynamic%mod.os): Build with special preprocessor
10648 macros.
10649 (tst-tls-manydynamic): Link against libdl, libpthread.
10650 (tst-tls-manydynamic.out): The test needs the test modules at run
10651 time.
10652 * elf/tst-tls-manydynamic.c: New file.
10653 * elf/tst-tls-manydynamic.h: Likewise.
10654 * elf/tst-tls-manydynamicmod.c: Likewise.
10655
10656 2016-12-02 Florian Weimer <fweimer@redhat.com>
10657
10658 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10659 (TLS_DTV_UNALLOCATED): Add.
10660 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10661 offsets.
10662
10663 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
10664
10665 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10666
10667 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
10668
10669 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10670 Add -fno-optimize-sibling-calls.
10671
10672 2016-12-02 Joseph Myers <joseph@codesourcery.com>
10673
10674 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10675 New declaration.
10676 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10677 macro.
10678 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10679 New macro.
10680 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10681 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10682 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10683 (llogbf): Likewise.
10684 (llogbl): Likewise.
10685 * math/Makefile (gen-libm-calls): Add w_llogbF.
10686 (tests): Add test-fp-llogb-constants.
10687 * math/w_llogb_template.c: New file. Based on
10688 math/w_ilogb_template.c.
10689 * math/libm-test.inc (llogb_test_data): New array.
10690 (llogb_test): New function.
10691 (main): Call llogb_test.
10692 * math/test-fp-llogb-constants.c: New file. Based on
10693 math/test-fp-ilogb-constants.c.
10694 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10695 (do_test): Call check_return_llogb.
10696 * math/test-tgmath.c (NCALLS): Increase to 126.
10697 (F(compile_test)): Call llogb.
10698 (F(llogb)): New function.
10699 * manual/math.texi (Exponents and Logarithms): Document llogb,
10700 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10701 * manual/libm-err-tab.pl (@all_functions): Add llogb.
10702 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10703 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10705 (CFLAGS-nldbl-llogb.c): New variable.
10706 * sysdeps/nacl/libm.abilist: Update.
10707 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10720 Likewise.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10722 Likewise.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10724 Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10726 Likewise.
10727 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10733 Likewise.
10734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10735 Likewise.
10736 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10737 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10738 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10739
10740 2016-12-01 Joseph Myers <joseph@codesourcery.com>
10741
10742 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10743 _Float128 instead of long double.
10744 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10745
10746 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10747 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10748 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10749 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10750 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10751 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10752 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10753 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10755 Likewise.
10756
10757 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10758
10759 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10760 Remove redirection to __strrchr_ppc.
10761
10762 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10763
10764 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10765 (sysdep_routines): Add strcmp_power9.
10766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10767 (strcmp): Add __strcmp_power9 to list of strcmp functions.
10768 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10769 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10770 (strcmp): Add __strcmp_power9 to ifunc list.
10771 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10772
10773 2016-12-01 Joseph Myers <joseph@codesourcery.com>
10774
10775 * bits/fp-logb.h: New file.
10776 * sysdeps/ia64/bits/fp-logb.h: Likewise.
10777 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10778 * sysdeps/x86/bits/fp-logb.h: Likewise.
10779 * math/Makefile (headers): Add bits/fp-logb.h.
10780 * math/math.h: Include <bits/fp-logb.h>.
10781 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10782 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10783 * bits/mathdef.h (FP_ILOGB0): Remove.
10784 (FP_ILOGBNAN): Likewise.
10785 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10786 (FP_ILOGBNAN): Likewise.
10787 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10788 (FP_ILOGBNAN): Likewise.
10789 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10790 (FP_ILOGBNAN): Likewise.
10791 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10792 (FP_ILOGBNAN): Likewise.
10793 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10794 (FP_ILOGBNAN): Likewise.
10795 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10796 (FP_ILOGBNAN): Likewise.
10797 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10798 (FP_ILOGBNAN): Likewise.
10799 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10800 (FP_ILOGBNAN): Likewise.
10801 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10802 (FP_ILOGBNAN): Likewise.
10803
10804 * scripts/build-many-glibcs.py: Add bot to usage message. Import
10805 time module.
10806 (Context.__init__): Initialize self.logsdir_old.
10807 (Context.run_builds): Handle bot action.
10808 (Context.bot_cycle): Copy logs directory before running builds.
10809 (Context.bot_run_self): Take argument for whether to check
10810 subprocess result. Flush stdout before running subprocess.
10811 (Context.bot): New function.
10812 (get_parser): Allow bot action.
10813
10814 2016-11-30 Joseph Myers <joseph@codesourcery.com>
10815
10816 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10817 Import email.mime.text, email.utils and smtplib modules.
10818 (Context.__init__): Initialize self.bot_config_json.
10819 (Context.run_builds): Handle bot-cycle action.
10820 (Context.load_bot_config_json): New function.
10821 (Context.part_build_old): Likewise.
10822 (Context.bot_cycle): Likewise.
10823 (Context.bot_build_mail): Likewise.
10824 (Context.bot_run_self): Likewise.
10825 (get_parser): Allow bot-cycle action.
10826
10827 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10828
10829 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10830 Remove redirection to __stpcpy_ppc.
10831
10832 2016-11-30 Florian Weimer <fweimer@redhat.com>
10833
10834 Remove __libc_memalign from ld.so because it is unused.
10835 * elf/dl-minimal.c: Update comment on the malloc implementation.
10836 (malloc): Renamed from __libc_memalign, replacing the original
10837 malloc implementation. Replace the align parameter with
10838 MALLOC_ALIGNMENT.
10839 * elf/Versions (ld): Update comment and remove __libc_memalign.
10840 * sysdeps/nacl/ld.abilist: Likewise.
10841 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10842 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10843 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10844 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10845 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10846 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10847 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10848 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10849 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10850 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10851 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10852 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10853 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10857 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10858 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10859 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10861 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10864 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10865 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10866 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10867 * sysdeps/generic/localplt.data (ld.so): Likewise.
10868 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10869 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10870 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10871 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10872 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10873 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10874 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10875 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10876 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10878 (ld.so): Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10880 (ld.so): Likewise.
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10882 Likewise.
10883 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10884 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10885 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10887 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10888
10889 2016-11-30 Florian Weimer <fweimer@redhat.com>
10890
10891 [BZ #16628]
10892 Implement _dl_catch_error, _dl_signal_error in libc.so.
10893 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10894 (catch_hook): Define as thread-local or regular variable,
10895 depending on DL_ERROR_BOOTSTRAP.
10896 (CATCH_HOOK): Remove.
10897 (dl_signal_error, _dl_catch_error): Use
10898 catch_hook. Add hidden definition for libc.
10899 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
10900 for DL_ERROR_BOOTSTRAP only.
10901 * elf/dl-error.c: New file.
10902 * elf/dl-error-minimal.c: Likewise.
10903 * elf/tst-latepthread.c: Likewise.
10904 * elf/tst-latepthreadmod.c: Likewise.
10905 * elf/Makefile (routines): Add dl-error.
10906 (dl-routines): Remove dl-error.
10907 (rtld-routines): Add dl-error-minimal.
10908 [build-shared] (tests): Add tst-latepthread.
10909 (module-names): Add tst-latepthreadmod.
10910 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10911 symbol.
10912 (tst-latepthreadmod.so): Link against libpthread.
10913 (tst-latepthread): Link against libdbl.
10914 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10915 _dl_catch_error.
10916 [ld] (GLIBC_PRIVATE): Likewise.
10917 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10918 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10919 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10920 directly.
10921 * elf/dl-tsd.c: Remove file.
10922 * elf/rtld.c (_rtld_global_ro): Remove initializers for
10923 _dl_catch_error, _dl_signal_error.
10924 (_dl_initial_error_catch_tsd): Remove definition.
10925 (do_preload): Remove initialization of dl_error_catch_tsd.
10926 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10927 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10928 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10929 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10930 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10931 set dl_error_catch_tsd.
10932 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10933 _dl_error_catch_tsd member.
10934 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10935 members.
10936 (_dl_initial_error_catch_tsd): Remove declaration.
10937 (_dl_dprintf): Provide definition for use outside of ld.so.
10938 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10939 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
10940 prototype for libc.
10941 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10942 _dl_catch_error.
10943 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10944 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10945 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10946 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10947 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10948 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10949 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10950 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10951 Likewise.
10952 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10954 (ld.so): Likewise.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10956 (ld.so): Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10958 Likewise.
10959 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10960 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10961 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10962 Likewise.
10963 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10964 Likewise.
10965 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10966
10967 2016-11-30 Florian Weimer <fweimer@redhat.com>
10968
10969 [BZ #4099]
10970 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10971 _IO_BUFSIZ (8192).
10972
10973 2016-11-30 Carlos O'Donell <carlos@redhat.com>
10974
10975 * PROJECTS: Remove file.
10976
10977 2016-11-29 Florian Weimer <fweimer@redhat.com>
10978
10979 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10980
10981 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
10982 Steve Ellcey <sellcey@caviumnetworks.com>
10983
10984 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10985 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10986 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10987 fxstatat.
10988 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10989 lxstat.
10990 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10991 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10992 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10993 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10994 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10995 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10996 __xstat.
10997
10998 2016-11-29 Florian Weimer <fweimer@redhat.com>
10999
11000 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
11001 Define.
11002 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
11003 definition.
11004
11005 2016-11-29 Florian Weimer <fweimer@redhat.com>
11006
11007 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
11008 version and turn into strong alias. Remove compat symbol.
11009
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11011 (__longjmp): Remove.
11012
11013 2016-11-29 Joseph Myers <joseph@codesourcery.com>
11014
11015 * bits/fp-fast.h: New file.
11016 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
11017 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
11018 * math/Makefile (headers): Add bits/fp-fast.h.
11019 * math/math.h: Include <bits/fp-fast.h>.
11020 * bits/mathdef.h (FP_FAST_FMA): Remove.
11021 (FP_FAST_FMAF): Likewise.
11022 (FP_FAST_FMAL): Likewise.
11023 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
11024 (FP_FAST_FMAF): Likewise.
11025 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
11026 (FP_FAST_FMAF): Likewise.
11027 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
11028 (FP_FAST_FMAF): Likewise.
11029 (FP_FAST_FMAL): Likewise.
11030 * sysdeps/arm/bits/mathdef.h: Remove file.
11031 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
11032 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11033 * sysdeps/tile/bits/mathdef.h: Likewise.
11034
11035 2016-11-28 Joseph Myers <joseph@codesourcery.com>
11036
11037 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
11038 * math/w_ilogb.c: Remove.
11039 * math/w_ilogbf.c: Likewise.
11040 * math/w_ilogbl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
11042 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
11043 * math/Makefile (gen-libm-calls): Add w_ilogbF.
11044 (libm-calls): Remove w_ilogbF.
11045 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
11046 (LDOUBLE_ilogbl_libm_version): New macro.
11047
11048 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
11049
11050 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
11051 [!__STRICT_ANSI__ && !__cplusplus].
11052
11053 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 [BZ #20750]
11056 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
11057 of PIC.
11058
11059 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
11060 Yury Norov <ynorov@caviumnetworks.com>
11061 Steve Ellcey <sellcey@caviumnetworks.com>
11062
11063 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
11064 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
11065 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
11066 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
11067 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
11068 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
11069 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
11070 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
11071 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
11072 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
11073 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
11074 to get correct reg name for ILP32.
11075 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
11076 (RELA_SIZE): New Macro.
11077 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
11078 to support ILP32.
11079 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
11080 cast for ILP32 mode.
11081 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
11082 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
11083 * sysdeps/aarch64/memset.S (__memset): Ditto.
11084 * sysdeps/aarch64/strchr.S (strchr): Ditto.
11085 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
11086 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
11087 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
11088 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
11089 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
11090 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
11091 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
11092 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
11093 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
11094 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
11095 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
11096 change PTR_MANGLE call to use register numbers instead of names.
11097 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
11098 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
11099 ILP32 mode, change PTR_MANGLE calls to use register numbers.
11100 * sysdeps/aarch64/start.S (_start): Ditto.
11101 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
11102 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
11103 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
11104 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
11105 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
11106 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
11107 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
11108 Make defined values dependent on __ILP32__.
11109 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
11110 (sem_t): Change __align type.
11111 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
11112 PTR_SIZE): New Macros.
11113 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
11114 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
11115 Set when in ILP32 mode.
11116 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
11117 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
11118 Set elf flags for ILP32.
11119 (add_system_dir): Set ILP32 library directories.
11120 * sysdeps/unix/sysv/linux/aarch64/init-first.c
11121 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
11122 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
11123 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
11124 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
11125 New Macros.
11126 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
11127
11128 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
11129
11130 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
11131 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
11132 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
11133
11134 2016-11-28 Joseph Myers <joseph@codesourcery.com>
11135
11136 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
11137 <asm/cachectl.h>.
11138
11139 2016-11-27 Zack Weinberg <zackw@panix.com>
11140
11141 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
11142 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
11143
11144 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11145
11146 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
11147 error_t to fix usage in C++ programs.
11148
11149 2016-11-26 Joseph Myers <joseph@codesourcery.com>
11150
11151 * scripts/build-many-glibcs.py: Import datetime module.
11152 (Context.__init__): Load JSON build state. Initialize list of
11153 status logs.
11154 (Context.run_builds): Update saved build state.
11155 (Context.add_makefile_cmdlist): Update list of status logs.
11156 (Context.load_build_state_json): New function.
11157 (Context.store_build_state_json): Likewise.
11158 (Context.clear_last_build_state): Likewise.
11159 (Context.update_build_state): Likewise.
11160 (CommandList.status_logs): Likewise.
11161
11162 2016-11-25 Joseph Myers <joseph@codesourcery.com>
11163
11164 * scripts/build-many-glibcs.py (Context.__init__): Save text of
11165 script being executed.
11166 (Context.get_script_text): New function.
11167 (Context.exec_self): Likewise.
11168 (Context.checkout): Re-exec script if changed by checkout process.
11169
11170 2016-11-24 Joseph Myers <joseph@codesourcery.com>
11171
11172 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11173 (setpayloadsig): New declaration.
11174 * math/Versions (setpayloadsig): New libm symbol at version
11175 GLIBC_2.25.
11176 (setpayloadsigf): Likewise.
11177 (setpayloadsigl): Likewise.
11178 * math/Makefile (libm-calls): Add s_setpayloadsigF.
11179 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
11180 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
11181 (setpayloadsig_test_data): New array.
11182 (setpayloadsig_test): New function.
11183 (main): Call setpayloadsig_test.
11184 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
11185 setpayloadsigf and setpayloadsigl.
11186 * manual/libm-err-tab.pl: Update comment on interfaces without
11187 ulps tabulated.
11188 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
11189 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
11194 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11195 setpayloadsig.
11196 (CFLAGS-nldbl-setpayloadsig.c): New variable.
11197 * sysdeps/nacl/libm.abilist: Update.
11198 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11211 Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11213 Likewise.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11215 Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11217 Likewise.
11218 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11224 Likewise.
11225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11226 Likewise.
11227 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11230
11231 * scripts/build-many-glibcs.py: Import json module.
11232 (Context.__init__): Take replace_sources argument. Load
11233 versions.json.
11234 (Context.load_versions_json): New function.
11235 (Context.store_json): Likewise.
11236 (Context.store_versions_json): Likewise.
11237 (Context.set_component_version): Likewise.
11238 (Context.checkout): Update versions.json. Check for and handle
11239 changes of version. Prefer previously explicitly specified
11240 version to default version.
11241 (Context.checkout_vcs): Return a revision identifier.
11242 (Context.git_checkout): Likewise.
11243 (Context.gcc_checkout): Likewise.
11244 (get_parser): Add --replace-sources option.
11245 (main): Pass replace_sources argument to Context call.
11246
11247 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11248
11249 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11250 * nptl/allocatestack.c (allocate_stack): Likewise.
11251 (__reclaim_stacks): Likewise.
11252 (setxid_signal_thread): Obtain pid through syscall.
11253 * nptl/nptl-init.c (sigcancel_handler): Likewise.
11254 (sighandle_setxid): Likewise.
11255 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11256 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11257 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11258 Likewise.
11259 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11260 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11261 comment.
11262 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11263 * nptl/descr.h (struct pthread): Change comment about pid value.
11264 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11265 pid assert.
11266 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11267 Do not set pid value.
11268 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11269 pid cache check.
11270 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11271 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11272 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11273 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11274 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11275 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11276 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11277 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11278 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11279 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11280 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11281 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11282 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11283 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11284 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11285 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11286 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11287 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11288 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11289 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11290 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11291 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11292 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11293 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11294 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11297 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11298 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11299 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11300 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11301 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11302 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11304 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11305 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11306 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11307 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11308 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11309 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11310 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11311 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11312 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11315 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11316 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11317 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11318 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11319 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11320 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11321 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11322 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11323 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11324 struct access.
11325 (clone_test): Remove function.
11326 (do_test): Rewrite to take in consideration pid is not cached anymore.
11327
11328 2016-11-24 Joseph Myers <joseph@codesourcery.com>
11329
11330 * bits/flt-eval-method.h: New file.
11331 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11332 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11333 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11334 * math/Makefile (headers): Add bits/flt-eval-method.h.
11335 * math/math.h: Include <bits/flt-eval-method.h>.
11336 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11337 [__USE_ISOC99] (double_t): Likewise.
11338 * bits/mathdef.h (float_t): Remove.
11339 (double_t): Likewise.
11340 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11341 (double_t): Likewise.
11342 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11343 (double_t): Likewise.
11344 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11345 (double_t): Likewise.
11346 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11347 (double_t): Likewise.
11348 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11349 (double_t): Likewise.
11350 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11351 (double_t): Likewise.
11352 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11353 (double_t): Likewise.
11354 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11355 (double_t): Likewise.
11356 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11357 (double_t): Likewise.
11358 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11359 (double_t): Likewise.
11360 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11361 (double_t): Likewise.
11362 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11363 (double_t): Likewise.
11364 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11365 (double_t): Likewise.
11366
11367 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
11368
11369 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11370 instead of PIC.
11371
11372 2016-11-23 Joseph Myers <joseph@codesourcery.com>
11373
11374 [BZ #20859]
11375 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11376 (-0x7fffffff) instead of 0x80000001.
11377 * math/test-fp-ilogb-constants.c: New file.
11378 * math/Makefile (tests): Add test-fp-ilogb-constants.
11379
11380 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
11381
11382 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11383 (_init): Use it in place of hardcoded R_MIPS_JALR.
11384 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11385 (_init): Use it in place of hardcoded R_MIPS_JALR.
11386 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11387 (_init): Use it in place of hardcoded R_MIPS_JALR.
11388
11389 2016-11-23 Joseph Myers <joseph@codesourcery.com>
11390
11391 [BZ #20787]
11392 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
11393 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
11394 (double_t): Do not define to double if [__x86_64__] when
11395 __FLT_EVAL_METHOD__ is nonzero.
11396 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
11397 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
11398 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11399 test-flt-eval-method-387 and test-flt-eval-method-sse.
11400 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
11401 variable.
11402 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
11403
11404 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
11405
11406 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
11407 use of -fno-isolate-erroneous-paths options for tilepro.
11408
11409 2016-11-23 Florian Weimer <fweimer@redhat.com>
11410
11411 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
11412 structure initialization is no longer needed.
11413
11414 2016-11-23 Joseph Myers <joseph@codesourcery.com>
11415
11416 [BZ #20855]
11417 * bits/mathdef.h (float_t): Define to float.
11418 * math/test-flt-eval-method.c: New file.
11419 * math/Makefile (tests): Add test-flt-eval-method.
11420 (CFLAGS-test-flt-eval-method.c): New variable.
11421
11422 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
11423
11424 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
11425 and __fstatfs. Make them aliases of __fstatfs64 if
11426 STATFS_IS_STATFS64 is set to non-zero.
11427 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
11428 and __statfs64.
11429 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
11430 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
11431 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
11432 for __statfs and statfs.
11433 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
11434 to 0.
11435 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
11436 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
11437 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
11438 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11439 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11440 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
11443 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
11444 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11445 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
11446 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
11447
11448 2016-11-22 Andreas Schwab <schwab@suse.de>
11449
11450 * misc/mkstemp.c: Include <fcntl.h>.
11451 * misc/mkstemps.c: Likewise.
11452 * misc/mkostemp.c: Likewise.
11453 * misc/mkostemps.c: Likewise.
11454
11455 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
11456
11457 [BZ #20847]
11458 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11459 array bounds.
11460 (__execvpe): Likewise.
11461
11462 2016-11-22 Joseph Myers <joseph@codesourcery.com>
11463
11464 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
11465 -fno-isolate-erroneous-paths options for tilepro.
11466
11467 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
11468
11469 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
11470 to 0 when in 32 bit mode.
11471 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
11472 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11473 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11474 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11476 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11477 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
11478 XSTAT_IS_XSTAT64 test.
11479 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
11480 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
11481 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
11482 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
11483 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
11484 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
11485 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
11486 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
11487 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
11488 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
11489 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
11490
11491 2016-11-19 Joseph Myers <joseph@codesourcery.com>
11492
11493 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11494 (setpayload): New declaration.
11495 * math/Versions (setpayload): New libm symbol at version
11496 GLIBC_2.25.
11497 (setpayloadf): Likewise.
11498 (setpayloadl): Likewise.
11499 * math/Makefile (libm-calls): Add s_setpayloadF.
11500 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
11501 test_Ff_b1_data.
11502 (RUN_TEST_Ff_b1): New macro.
11503 (RUN_TEST_LOOP_Ff_b1): Likewise.
11504 (canonicalize_test_data): Update type.
11505 (setpayload_test_data): New array.
11506 (setpayload_test): New function.
11507 (main): Call setpayload_test.
11508 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
11509 setpayloadf and setpayloadl.
11510 * manual/libm-err-tab.pl: Update comment on interfaces without
11511 ulps tabulated.
11512 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
11513 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
11514 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
11515 Likewise.
11516 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
11517 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
11522 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
11524 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
11525 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11526 setpayload.
11527 (CFLAGS-nldbl-setpayload.c): New variable.
11528 * sysdeps/nacl/libm.abilist: Update.
11529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11542 Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11544 Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11546 Likewise.
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11548 Likewise.
11549 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11555 Likewise.
11556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11557 Likewise.
11558 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11561
11562 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11563
11564 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11565 * include/unistd.h: Extend comment about __access_noerrno return
11566 semantics.
11567 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11568 (access_common): Correct typo for EACCES.
11569
11570 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
11571
11572 * sysdeps/tile/math-tests.h: New file.
11573
11574 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11575 (__old_set_dataplane): Rename from set_dataplane and make a
11576 compatibility symbol.
11577 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11578 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11579 sys/dataplane.h.
11580
11581 2016-11-18 Joseph Myers <joseph@codesourcery.com>
11582
11583 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11584 script quote words in command output to log suitably for input to
11585 the shell.
11586
11587 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
11588 Maciej W. Rozycki <macro@imgtec.com>
11589
11590 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11591 `.Lno_weak_fn' label.
11592 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11593 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11594
11595 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11596 Yury Norov <ynorov@caviumnetworks.com>
11597
11598 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11599 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11600 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11601 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11602 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11604 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11606 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11607 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11608 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11609 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11610 (sysdep_routines): Remove oldgetrlimit64.
11611 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11612 (sysdep_routines): Likewise.
11613 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11614 (sysdep_routines): Likewise.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11616 [$(subdir) = resource] (sysdep_routines): Likewise.
11617 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11618 [$(subdir) = resource] (sysdep_routines): Likewise.
11619 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11620 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11621 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11622 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11623 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11624 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11625 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11626 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11627 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11628 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11629 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11630 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11631 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11632 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11633 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11634 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11635 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11636 setrlimit and getrlimit.
11637 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11639 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11642 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11643 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11644 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11646 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11647 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11648 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11649 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11650 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11651 (__old_getrlimit64): Add compatibility symbol.
11652 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11653
11654 2016-11-17 Joseph Myers <joseph@codesourcery.com>
11655
11656 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11657 newly built gmp, mpfr and mpc.
11658
11659 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11660
11661 2016-11-16 Joseph Myers <joseph@codesourcery.com>
11662
11663 * conform/Makefile (linknamespace-libs): Rename to
11664 linknamespace-libs-thr.
11665 (linknamespace-libs-posix): New variable.
11666 (linknamespace-libs-xsi): Likewise.
11667 (linknamespace-libs-XPG3): Include libcrypt.a.
11668 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11669 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11670 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11671 (linknamespace-libs-XOPEN2K): Likewise.
11672 (linknamespace-libs-XOPEN2K8): Likewise.
11673 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11674
11675 [BZ #20829]
11676 * stdio-common/Versions (__snprintf): Add to version
11677 GLIBC_PRIVATE.
11678 * include/stdio.h (__snprintf): Use libc_hidden_proto.
11679 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11680 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11681 of snprintf.
11682 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11683
11684 2016-11-16 Zack Weinberg <zackw@panix.com>
11685
11686 * string/string.h: Remove obsolete comment stating that
11687 strcoll_l and strxfrm_l have not yet been standardized.
11688
11689 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11690
11691 * hurd/hurd.h (__hurd_fail_noerrno): New function.
11692 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11693 __access_noerrno.
11694 * io/access.c (__access_noerrno): New function.
11695 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11696 (hurd_fail_seterrno): Likewise.
11697 (access_common): Likewise.
11698 (__access_noerrno): Likewise.
11699 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11700 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11701 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11702 macro.
11703
11704 2016-11-16 Joseph Myers <joseph@codesourcery.com>
11705
11706 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11707 Only declare fpregs if [__SH_FPU_ANY__].
11708
11709 2016-11-15 Joseph Myers <joseph@codesourcery.com>
11710
11711 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11712 Make code unconditional.
11713 [!(__SH4__ || __SH4A__)]: Remove conditional code.
11714
11715 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
11716
11717 * manual/sysinfo.texi (S_APPEND): Delete.
11718 (S_IMMUTABLE): Likewise.
11719
11720 2016-11-15 Denis Kaganovich <mahatma@eu.by>
11721 Magnus Granberg <zorry@gentoo.org>
11722 Mike Frysinger <vapier@gentoo.org>
11723
11724 [BZ #20662]
11725 * configure.ac (libc_cv_predef_stack_protector): Also check for
11726 __stack_chk_fail_local symbols.
11727 * configure: Regenerated.
11728
11729 2016-11-15 Florian Weimer <fweimer@redhat.com>
11730
11731 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11732 (libc_hidden_def): Remove redefinition.
11733 (__sigsetjmp): Add hidden definition.
11734 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11735 (libc_hidden_def): Remove redefinition.
11736 (__sigsetjmp): Add hidden definition.
11737
11738 2016-11-14 Joseph Myers <joseph@codesourcery.com>
11739
11740 * scripts/build-many-glibcs.py (os.path): Do not import.
11741 (Context): Inherit explicitly from object. Remove blank line
11742 between class and docstring.
11743 (Config): Likewise.
11744 (Glibc): Likewise.
11745 (Command): Likewise.
11746 (CommandList): Likewise.
11747 (Context.write_files): Store chmod mode in a variable.
11748
11749 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11750 LIBC_SLIBDIR_RTLDDIR for tilegx32.
11751 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11752
11753 2016-11-14 Zack Weinberg <zackw@panix.com>
11754
11755 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11756 creating or re-creating it.
11757
11758 * string/bits/string2.h: Fix typo in comment.
11759
11760 2016-11-14 Zack Weinberg <zackw@panix.com>
11761
11762 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11763 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11764 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11765 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11766 of redirected function names.
11767
11768 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11769 as well. Document that MESSAGE must be a single string literal.
11770
11771 2016-11-11 Joseph Myers <joseph@codesourcery.com>
11772
11773 * scripts/build-many-glibcs.py: New file.
11774
11775 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11776 (do_test): Disable -Wmaybe-uninitialized around uses of
11777 except_mask.
11778
11779 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11780
11781 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
11782
11783 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11784 (atomic_store_release): Provide tilepro-specific implementations.
11785
11786 2016-11-10 Joseph Myers <joseph@codesourcery.com>
11787
11788 * math/math.h (__MATH_TG): New macro.
11789 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11790 [__USE_ISOC99] (signbit): Likewise.
11791 [__USE_ISOC99] (isfinite): Likewise.
11792 [__USE_ISOC99] (isnan): Likewise.
11793 [__USE_ISOC99] (isinf): Likewise.
11794 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11795 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11796 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11797 __MATH_TG and __MATH_EVAL_FMT2.
11798 * sysdeps/generic/math_private.h (fabs_tg): Define using
11799 __MATH_TG.
11800 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11801 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11802 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11803 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11804 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11805 macro.
11806 (__iscanonical): Likewise.
11807 (iscanonical): Define using __MATH_TG.
11808
11809 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11810
11811 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11812 guards.
11813
11814 * sysdeps/unix/sysv/linux/access.c: New file.
11815 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11816
11817 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
11818
11819 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11820 and __WORDSIZE32_PTRDIFF_LONG.
11821
11822 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
11823
11824 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11825
11826 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11827
11828 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11829 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11830 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11831 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11832 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11835 * sysdeps/unix/sysv/linux/truncate.c: New file.
11836 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11837 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11838 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11839 Remove.
11840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11841 Likewise.
11842
11843 * posix/tst-truncate-common.c: New file.
11844 * posix/tst-truncate.c: Use tst-truncate-common.c.
11845 * posix/tst-truncate64.c: Likewise and add LFS tests.
11846 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11847 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11848 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11850 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11852 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11853 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11854 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11855 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11856 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11857 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11858 Remove.
11859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11860 Likewise.
11861
11862 2016-11-08 Joseph Myers <joseph@codesourcery.com>
11863
11864 [BZ #20790]
11865 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11866 to MAXLINESIZE.
11867 * sunrpc/bug20790.x: New file.
11868 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11869 variable.
11870 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11871 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11872
11873 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11874
11875 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11876
11877 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11878 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
11879 calloc, realloc, free, memalign and __libc_memalign rather than
11880 making them optional.
11881
11882 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11883 for libc.so.
11884
11885 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11886
11887 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11888 ptw-lseek64.
11889 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11890 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11893 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11894 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11895 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11896 * sysdeps/unix/sysv/linux/lseek.c: New file.
11897 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11898 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11899 __libc_lseek64 from auto-generation.
11900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11901 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11902
11903 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11904
11905 * nptl/tst-basic1.c (tf, do_test): Use write_message.
11906 * nptl/tst-cleanup1.c (do_test): Likewise.
11907 * nptl/tst-cleanup3.c (do_test): Likewise.
11908 * nptl/tst-key1.c (do_test): Likewise.
11909 * nptl/tst-key2.c (tf, do_test): Likewise.
11910 * nptl/tst-key3.c (tf, do_test): Likewise.
11911 * nptl/tst-stdio1.c (do_test): Likewise.
11912 * nptl/tst-stdio2.c (do_test): Likewise.
11913
11914 * nptl/tst-kill3.c (handler): Use write_message in place of write.
11915 * nptl/tst-kill6.c (handler): Likewise.
11916 * nptl/tst-tls2.c (CB): Likewise.
11917 * nptl/tst-tls3.c (CB): Likewise.
11918
11919 2016-11-07 Joseph Myers <joseph@codesourcery.com>
11920
11921 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11922
11923 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
11924 Steve Ellcey <sellcey@caviumnetworks.com>
11925
11926 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11927 __ASSUME_ST_INO_64_BIT as 0
11928 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11929 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11930 over the code where __ASSUME_ST_INO_64_BIT is used.
11931 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11932 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11933 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11934
11935 2016-11-07 Florian Weimer <fweimer@redhat.com>
11936
11937 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11938 Document ABI exposure of the __kind offset.
11939 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11940 Mention reason for the __kind offset exposure in the ABI.
11941 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11942 Likewise.
11943 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11944 Likewise.
11945 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11946 Likewise.
11947 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11948 (struct __pthread_mutex_s): Likewise.
11949 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11950 Likewise.
11951 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11952 Likewise.
11953 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11954 Likewise.
11955 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11956 Likewise.
11957 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11958 Likewise.
11959 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11960 Likewise.
11961 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11962 (struct __pthread_mutex_s): Likewise.
11963 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11964 (struct __pthread_mutex_s): Likewise.
11965 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11966 Likewise.
11967
11968 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
11969
11970 * test-skeleton.c: Document do_test usage.
11971
11972 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
11973
11974 * iconv/gconv.h (__gconv_info): Define __data element using a
11975 zero-length array.
11976
11977 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
11978
11979 * math/test-tgmath2.c: Split up test function.
11980
11981 2016-11-04 Joseph Myers <joseph@codesourcery.com>
11982
11983 * Rules (tests-expected): New variable, depending on
11984 $(run-built-tests).
11985 (tests): Pass $(tests-expected) to merge-test-results.sh, not
11986 $(tests).
11987
11988 * Rules [$(run-built-tests) = no] (tests): Do not depend on
11989 $(tests-unsupported).
11990
11991 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11992
11993 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11994 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
11995
11996 2016-11-04 Joseph Myers <joseph@codesourcery.com>
11997
11998 [BZ #20768]
11999 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
12000 __fegetenv instead of fegetenv.
12001
12002 [BZ #14139]
12003 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
12004 (find_files): Obtain platform name from libm-test-ulps-name and
12005 store in %pplatforms.
12006 (canonicalize_platform): Remove.
12007 (print_platforms): Use $pplatforms directly.
12008 (by_platforms): Do not allow for platforms missing from
12009 %pplatforms.
12010 * sysdeps/aarch64/libm-test-ulps-name: New file.
12011 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
12012 * sysdeps/arm/libm-test-ulps-name: Likewise.
12013 * sysdeps/generic/libm-test-ulps-name: Likewise.
12014 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
12015 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
12016 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
12017 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
12018 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
12019 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
12020 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
12021 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
12022 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
12023 * sysdeps/nios2/libm-test-ulps-name: Likewise.
12024 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
12025 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
12026 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
12027 * sysdeps/sh/libm-test-ulps-name: Likewise.
12028 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
12029 * sysdeps/tile/libm-test-ulps-name: Likewise.
12030 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
12031
12032 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
12033
12034 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
12035 (test-xfail-check-execstack): New variable.
12036
12037 * sysdeps/mips/localplt.data: New file.
12038
12039 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
12040 Steve Ellcey <sellcey@caviumnetworks.com>
12041
12042 * bits/wordsize.h: Add documentation.
12043 * sysdeps/aarch64/bits/wordsize.h : New file
12044 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
12045 definitions.
12046 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
12047 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
12048 with #if instead of #ifdef.
12049 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
12050 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
12051 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
12052 Add or change defines.
12053 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
12054 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12055 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
12056 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
12057 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12058 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12059 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
12060 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
12061 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
12062 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12063 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
12064 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
12065 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
12066 * sysdeps/x86/bits/wordsize.h: Likewise.
12067
12068 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
12069 Kevin Petit <kevin.petit@arm.com>
12070
12071 * sysdeps/aarch64/memchr.S (__memchr): New file.
12072
12073 2016-11-04 Joseph Myers <joseph@codesourcery.com>
12074
12075 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
12076
12077 2016-11-03 Joseph Myers <joseph@codesourcery.com>
12078
12079 [BZ #19398]
12080 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
12081 $(linknamespace-symlists-tests).
12082
12083 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
12084
12085 * time/tst-strptime2.c: Ignore -Wformat-length warning.
12086
12087 2016-11-02 Florian Weimer <fweimer@redhat.com>
12088 Carlos O'Donell <carlos@redhat.com>
12089
12090 [Bug #20729]
12091 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
12092 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
12093 for -Os related change.
12094
12095 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
12096
12097 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
12098
12099 2016-11-01 Joseph Myers <joseph@codesourcery.com>
12100
12101 [BZ #19673]
12102 * manual/math.texi (Exponents and Logarithms): Correct description
12103 of clog10.
12104
12105 2016-10-31 Carlos O'Donell <carlos@redhat.com>
12106
12107 [Bz #20729]
12108 * locale/weight.h: Include libc-internal.h.
12109 * locale/weightwc.h: Likewise.
12110 * nptl/nptl_dbP.h: Likewise.
12111
12112 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
12113
12114 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
12115 when it is MACH_PORT_NULL.
12116
12117 2016-10-31 Andreas Schwab <schwab@suse.de>
12118
12119 [BZ #20707]
12120 * posix/glob.c (glob): Initialize pglob before checking for
12121 GLOB_BRACE. Don't call glob recursively if pattern contains no
12122 valid brace expression despite GLOB_BRACE.
12123 * posix/globtest.sh: Test it.
12124
12125 2016-10-28 Carlos O'Donell <carlos@redhat.com>
12126
12127 [BZ #20729]
12128 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
12129 Define.
12130 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
12131 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
12132 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
12133 for seq2.back_us and seq1.back_us only for -Os compiles.
12134 * locale/weightwc.h (findix): Likewise.
12135 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
12136 DB_GET_FIELD_ADDRESS only for -Os compiles.
12137 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
12138 for slen only for -Os compiles.
12139 * string/strcoll_l.c (get_next_seq): Ignore
12140 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
12141 for -Os compiles.
12142
12143 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
12144 * include/crypt.h: New file.
12145
12146 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12147
12148 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
12149 from test-skeleton.c.
12150 (statclass): Replace calls to write with calls to write_message.
12151
12152 2016-10-28 Joseph Myers <joseph@codesourcery.com>
12153
12154 * math/math.h
12155 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
12156 New macro.
12157 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
12158 Likewise.
12159 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
12160 Likewise.
12161 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
12162 SNANL.
12163 * math/test-double.h (snan_value_MACRO): New macro.
12164 * math/test-float.h (snan_value_MACRO): Likewise.
12165 * math/test-ldouble.h (snan_value_MACRO): Likewise.
12166 * math/libm-test.inc (issignaling_test_data): Add tests of
12167 snan_value_MACRO.
12168
12169 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12170
12171 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
12172 behavior when eliding a lock not held by the current thread.
12173 * sysdeps/powerpc/nptl/elide.h: Likewise.
12174
12175 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12176
12177 [BZ #20728]
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
12179 branch to _exit() by a function call.
12180
12181 2016-10-28 Florian Weimer <fweimer@redhat.com>
12182
12183 * malloc/malloc.c: Update chunk layout comments.
12184 (chunk_main_arena): Update comment.
12185
12186 2016-10-28 Florian Weimer <fweimer@redhat.com>
12187
12188 * crypt/sha256.c, crypt/sha256-block.c,
12189 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
12190 sha256_process_block to __sha256_process_block.
12191 * crypt/sha512.c, crypt/sha512-block.c,
12192 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
12193 sha512_process_block to __sha512_process_block.
12194
12195 2016-10-28 Carlos O'Donell <carlos@redhat.com>
12196
12197 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
12198
12199 * math/test-nan-overflow.c: Include stdlib.h for malloc.
12200
12201 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
12202
12203 [BZ #20019]
12204 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
12205 definition in unrelocated shared library.
12206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12207
12208 2016-10-28 Florian Weimer <fweimer@redhat.com>
12209
12210 [BZ #20729]
12211 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12212 * sysdeps/unix/sysv/linux/i386/Makefile
12213 (uses-6-syscall-arguments): Define.
12214 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12215 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12216 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12217 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12218 Likewise.
12219 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12220 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12221 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12222 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12223 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12224 (CFLAGS-fallocate64.os): Likewise.
12225 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12226 (CFLAGS-pthread_rwlock_timedrdlock.os)
12227 (CFLAGS-pthread_rwlock_timedwrlock.o)
12228 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12229 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12230 (CFLAGS-sem_timedwait.os): Likewise.
12231
12232 2016-10-28 Florian Weimer <fweimer@redhat.com>
12233
12234 * elf/tst-linkall-static.c: New file.
12235 * elf/Makefile (tests-static): Add tst-linkall-static.
12236 (tst-linkall-static): Link against static libraries.
12237
12238 2016-10-27 Florian Weimer <fweimer@redhat.com>
12239
12240 * malloc/malloc.c (sysmalloc): Initialize previous size field of
12241 mmaped chunks.
12242
12243 2016-10-28 Florian Weimer <fweimer@redhat.com>
12244
12245 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12246 members to mchunk_prev_size, mchunk_size.
12247 (chunk_main_arena): Reverse sense and rename from
12248 chunk_non_main_arena.
12249 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12250 mchunk_size instead of size.
12251 (set_non_main_arena): Define.
12252 (chunksize): Use chunksize_nomask instead of direct member access.
12253 (chunksize_nomask): Define.
12254 (next_chunk): Use chunksize instead of direct member access.
12255 (prev_size, set_prev_size): Define.
12256 (prev_chunk): Use prev_size instead of direct member access.
12257 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12258 (inuse_bit_at_offset, set_inuse_bit_at_offset)
12259 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12260 (mchunk_prev_size, mchunk_size): Poison tokens.
12261 (unlink): Use chunksize_nomask, prev_size accessors.
12262 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12263 (do_check_free_chunk): Use prev_size accessor.
12264 (sysmalloc): Use set_prev_size, set_head accessors.
12265 (munmap_chunk, mremap_chunk): Use prev_size accessor.
12266 (__libc_free): Use chunksize_nomask accessor.
12267 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12268 chunk_main_arena accessors.
12269 (_int_free): Use chunksize_nomask, prev_size accessors.
12270 (malloc_consolidate): Use chunksize, prev_size accessors.
12271 (_int_realloc): Use chunksize_nomask accessor.
12272 (_int_memalign): Use set_prev_size accessor.
12273 (__malloc_info): Use chunksize_nomask accessor.
12274 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12275 accessors.
12276 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12277 (heap_trim): Use chunksize_nomask, prev_size accessors.
12278
12279 2016-10-28 Joseph Myers <joseph@codesourcery.com>
12280
12281 [BZ #19380]
12282 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12283 for inexact results.
12284 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12285 of inexact result where mpfr_subnormalize is the only inexact
12286 step.
12287 * stdlib/tst-strtod-round-data.h: Regenerated.
12288 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12289 Define to 0.
12290 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12291
12292 2016-10-27 David S. Miller <davem@davemloft.net>
12293
12294 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12295
12296 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
12297
12298 * malloc/malloc.c (do_set_mallopt_check): New function.
12299 (do_set_mmap_threshold): Likewise.
12300 (do_set_mmaps_max): Likewise.
12301 (do_set_top_pad): Likewise.
12302 (do_set_perturb_byte): Likewise.
12303 (do_set_trim_threshold): Likewise.
12304 (do_set_arena_max): Likewise.
12305 (do_set_arena_test): Likewise.
12306 (__libc_mallopt): Use them.
12307
12308 2016-10-26 Joseph Myers <joseph@codesourcery.com>
12309
12310 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12311 (canonicalize): New declaration.
12312 * math/Versions (canonicalize): New libm symbol at version
12313 GLIBC_2.25.
12314 (canonicalizef): Likewise.
12315 (canonicalizel): Likewise.
12316 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12317 * math/s_canonicalize_template.c: New file.
12318 * math/libm-test.inc: Update comment on functions tested and
12319 testing of NaN payloads.
12320 (TEST_NAN_PAYLOAD): New macro.
12321 (NO_TEST_INLINE): Update value.
12322 (XFAIL_TEST): Likewise.
12323 (ERRNO_UNCHANGED): Likewise.
12324 (ERRNO_EDOM): Likewise.
12325 (ERRNO_ERANGE): Likewise.
12326 (IGNORE_RESULT): Likewise.
12327 (NON_FINITE): Likewise.
12328 (TEST_SNAN): Likewise.
12329 (NO_TEST_MATHVEC): Likewise.
12330 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12331 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12332 (struct test_Ffp_b1_data): New type.
12333 (RUN_TEST_Ffp_b1): New macro.
12334 (RUN_TEST_LOOP_Ffp_b1): Likewise.
12335 (canonicalize_test_data): New array.
12336 (canonicalize_test): New function.
12337 (main): Call canonicalize_test.
12338 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12339 canonicalizef and canonicalizel.
12340 * manual/libm-err-tab.pl: Update comment on interfaces without
12341 ulps tabulated.
12342 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12343 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12344 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12345 canonicalize.
12346 (CFLAGS-nldbl-canonicalize.c): New variable.
12347 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12348 to ...
12349 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12350 ... here.
12351 (do_test): Also test canonicalizel.
12352 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12353 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12354 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12355 file.
12356 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12357 Use libm_hidden_def.
12358 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12359 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12360 (do_test): Also test canonicalizel.
12361 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12362 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12363 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12364 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12365 libm_hidden_def.
12366 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12367 macro.
12368 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12369 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12370 * sysdeps/nacl/libm.abilist: Update.
12371 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12384 Likewise.
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12388 Likewise.
12389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12390 Likewise.
12391 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12397 Likewise.
12398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12399 Likewise.
12400 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12403
12404 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
12405 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12406 getpayload.
12407 (CFLAGS-nldbl-getpayload.c): New variable.
12408
12409 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12410
12411 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
12412 integer from the format string.
12413
12414 2016-10-26 Florian Weimer <fweimer@redhat.com>
12415
12416 [BZ #19473]
12417 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
12418 declarations.
12419 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
12420 weak aliases.
12421 * malloc/hooks.c (__malloc_get_state): Remove definition.
12422 (malloc_get_state): New stub implementation as
12423 compatibility symbol.
12424 (malloc_set_state): Rename from __malloc_set_state. Turn into
12425 compat symbol.
12426 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
12427 malloc_set_state.
12428 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
12429
12430 2016-10-26 Florian Weimer <fweimer@redhat.com>
12431
12432 * iconvdata/iso646.c (enum variant): Drop illegal_var.
12433 (names): Turn into concatenation of strings.
12434 (gconv_init): Adapt iteration over names.
12435
12436 2016-10-26 Florian Weimer <fweimer@redhat.com>
12437
12438 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
12439 make const.
12440 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
12441 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
12442 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
12443 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
12444 character in sbconv.
12445 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
12446 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
12447 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
12448
12449 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
12450
12451 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
12452
12453 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
12454 (M_TRIM_THRESHOLD): Likewise.
12455
12456 * manual/memory.texi (M_ARENA_TEST): Add documentation.
12457 (M_ARENA_MAX): Likewise.
12458 * malloc/malloc.c: Remove obsolete comment.
12459
12460 * manual/memory.texi: Add environment variable alternatives to
12461 setting mallopt parameters.
12462
12463 2016-10-26 Carlos O'Donell <carlos@redhat.com>
12464
12465 * include/atomic.h
12466 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
12467 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
12468
12469 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12470
12471 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
12472 * stdlib/tst-strfrom.h: New file.
12473 * stdlib/tst-strfrom.c: New file.
12474 * stdlib/tst-strfrom-locale.c: New file.
12475
12476 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
12477 * stdlib/bug-strtod2.c: Likewise.
12478 * stdlib/tst-strtod-round-skeleton.c: Likewise.
12479 * stdlib/tst-strtod6.c: Likewise.
12480 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
12481
12482 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12483
12484 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
12485 * manual/arith.texi: Document strfromd, strfromf, strfroml.
12486 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
12487 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
12488 * stdlib/stdlib.h (strfromd): New declaration.
12489 (strfromf): Likewise.
12490 (strfroml): Likewise.
12491 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
12492 strfrom.
12493 * stdlib/strfromd.c: New file.
12494 * stdlib/strfromf.c: Likewise.
12495 * stdlib/strfroml.c: Likewise.
12496 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
12497 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
12498 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
12499 * sysdeps/arm/nacl/libc.abilist: Update.
12500 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12528
12529 2016-10-25 Joseph Myers <joseph@codesourcery.com>
12530
12531 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
12532 instead of cmpli.
12533 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
12534 instead of cmpli.
12535
12536 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
12537
12538 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12539 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12540 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12541 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12542 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12543 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12544
12545 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12546
12547 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12548 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12549 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12550 SYSCALL_LL64_PRW.
12551 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12552 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12553 __ASSUME_PRW_DUMMY_ARG.
12554 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12555 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12556 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12557 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12558 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12559 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12560
12561 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
12562
12563 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12564
12565 2016-10-22 Florian Weimer <fweimer@redhat.com>
12566
12567 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12568 "C++", to override a potential extern "C" directive around the
12569 header file inclusion.
12570
12571 2016-10-21 Joseph Myers <joseph@codesourcery.com>
12572
12573 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12574
12575 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12576
12577 * sysdeps/powerpc/fpu/fenv_private.h:
12578 (_FPU_MASK_ALL): Rename to...
12579 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12580 XE FPSCR bits.
12581
12582 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12583
12584 (_FPU_MASK_ROUNDING): Rename to...
12585 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12586 NI bits.
12587
12588 (_FPU_MASK_EXCEPT_ROUND): Rename to...
12589 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12590 bits and rounding bits.
12591
12592 (__libc_feholdbits_ppc): New inline function to mask, set,
12593 and pontentially clear FSPCR bits, and change MSR[FE] bits.
12594 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12595 (libc_feholdexcept_setround_ppc): Likewise.
12596
12597 (__libc_femergeenv_ppc): New function to dynamically mask both
12598 old and new FP environments and merge.
12599 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12600 (libc_feresetround_ppc): Likewise.
12601 (libc_feupdateenv_test_ppc): Likewise.
12602 (libc_feupdateenv_ppc): Likewise.
12603
12604 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12605 of ISA RN bits, and update macro names.
12606 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12607 effectively the same as the previously mentioned function.
12608
12609 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12610 usage with fe_resetround_ppc.
12611
12612 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12613 to be used.
12614 (libc_feholdexcept_setround_ctxf): Likewise.
12615 (libc_feholdexcept_setround_ctxl): Likewise.
12616
12617 2016-10-21 Florian Weimer <fweimer@redhat.com>
12618
12619 [BZ #20715]
12620 * math/math.h [__cplusplus] (iszero): Define as function template.
12621 * math/Makefile [CXX] (tests): Add test-math-iszero.
12622 (CFLAGS-test-math-iszero.cc): Set.
12623 * math/test-math-iszero.cc: New file.
12624
12625 2016-10-20 Joseph Myers <joseph@codesourcery.com>
12626
12627 [BZ #20660]
12628 * sysdeps/arm/e_sqrt.c: New file.
12629 * sysdeps/arm/e_sqrtf.c: Likewise.
12630
12631 2016-10-19 Joseph Myers <joseph@codesourcery.com>
12632
12633 [BZ #20718]
12634 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12635 not use floating-point comparisons to test sign.
12636 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12637 Likewise.
12638
12639 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12640 (getpayload): New declaration.
12641 * math/Versions (getpayload): New libm symbol at version
12642 GLIBC_2.25.
12643 (getpayloadf): Likewise.
12644 (getpayloadl): Likewise.
12645 * math/Makefile (libm-calls): Add s_getpayloadF.
12646 * math/libm-test.inc: Include <nan-high-order-bit.h>.
12647 (struct test_f_f_data): Add comment.
12648 (RUN_TEST_fp_f): New macro.
12649 (RUN_TEST_LOOP_fp_f): Likewise.
12650 (getpayload_test_data): New array.
12651 (getpayload_test): New function.
12652 (main): Call getpayload_test.
12653 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12654 descriptor.
12655 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12656 getpayloadf and getpayloadl.
12657 * manual/libm-err-tab.pl: Update comment on interfaces without
12658 ulps tabulated.
12659 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12660 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12661 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12665 * sysdeps/nacl/libm.abilist: Update.
12666 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12679 Likewise.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12681 Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12683 Likewise.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12685 Likewise.
12686 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12692 Likewise.
12693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12694 Likewise.
12695 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12698
12699 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12700
12701 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12702 tst-fallocate{64}.
12703 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12704 on syscall return.
12705
12706 2016-10-17 Carlos O'Donell <carlos@redhat.com>
12707
12708 [BZ #20689]
12709 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12710 usable.
12711
12712 2016-10-17 Joseph Myers <joseph@codesourcery.com>
12713
12714 * sysdeps/generic/nan-high-order-bit.h: New file.
12715 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12716 * sysdeps/mips/nan-high-order-bit.h: Likewise.
12717 * sysdeps/hppa/math_private.h: Remove file.
12718 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12719 not define here.
12720 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12721 <nan-high-order-bit.h>.
12722 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12723 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12724 <nan-high-order-bit.h>.
12725 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12726 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12727 <nan-high-order-bit.h>.
12728 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12729 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12730 <nan-high-order-bit.h>.
12731 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12732 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12733 <nan-high-order-bit.h>.
12734 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12735 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12736 <nan-high-order-bit.h>.
12737 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12738 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12739 <nan-high-order-bit.h>.
12740 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12741 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12742 <nan-high-order-bit.h>.
12743 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12744 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12745 <nan-high-order-bit.h>.
12746 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12747 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12748 <nan-high-order-bit.h>.
12749 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12750 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12751 <nan-high-order-bit.h>.
12752 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12753 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12754 <nan-high-order-bit.h>.
12755 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12756 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12757 <nan-high-order-bit.h>.
12758 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12759 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12760 <nan-high-order-bit.h>.
12761 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12762 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12763 <nan-high-order-bit.h>.
12764 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12765 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12766 <nan-high-order-bit.h>.
12767 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12768 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12769 <nan-high-order-bit.h>.
12770 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12771 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12772 <nan-high-order-bit.h>.
12773 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12774
12775 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12776
12777 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12778
12779 2016-09-22 John David Anglin <dave.anglin@bell.net>
12780
12781 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12782 abort-instr.h.
12783 (EFAULT): Remove conditional define.
12784 (ENOSYS): Likewise.
12785 (atomic_compare_and_exchange_val_acq): Use instruction nullification
12786 instead of conditional branch instructions.
12787
12788 2016-10-15 Joseph Myers <joseph@codesourcery.com>
12789
12790 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12791 (totalordermag): New declaration.
12792 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12793 New macro.
12794 * math/Versions (totalordermag): New libm symbol at version
12795 GLIBC_2.25.
12796 (totalordermagf): Likewise.
12797 (totalordermagl): Likewise.
12798 * math/Makefile (libm-calls): Add s_totalordermagF.
12799 * math/libm-test.inc (totalordermag_test_data): New array.
12800 (totalordermag_test): New function.
12801 (main): Call totalordermag_test.
12802 * math/test-tgmath.c (NCALLS): Increase to 125.
12803 (F(compile_test)): Call totalordermag.
12804 (F(totalordermag)): New function.
12805 * manual/arith.texi (FP Comparison Functions): Document
12806 totalordermag, totalordermagf and totalordermagl.
12807 * manual/libm-err-tab.pl: Update comment on interfaces without
12808 ulps tabulated.
12809 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12810 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12811 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12816 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12817 totalordermag.
12818 (CFLAGS-nldbl-totalordermag.c): New variable.
12819 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12820 (do_test): Also test totalordermagl.
12821 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12822 Likewise.
12823 * sysdeps/nacl/libm.abilist: Update.
12824 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12837 Likewise.
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12839 Likewise.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12841 Likewise.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12843 Likewise.
12844 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12850 Likewise.
12851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12852 Likewise.
12853 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12856
12857 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
12858
12859 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12860 boolean.
12861
12862 2016-10-13 Joseph Myers <joseph@codesourcery.com>
12863
12864 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12865 raising FE_INVALID with feraisexcept in case where part of
12866 argument is infinite, subtract that part of argument from itself.
12867 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12868 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12869 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12870
12871 2016-10-12 Joseph Myers <joseph@codesourcery.com>
12872
12873 * math/libm-test.inc (totalorder_test_data): Add more tests.
12874
12875 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
12876
12877 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12878 Undefine weak_alias and add a comment why mips64 require
12879 versioning.
12880
12881 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
12882
12883 [BZ #20647]
12884 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12885 maximum CPUID level is less than 2.
12886
12887 2016-10-12 Joseph Myers <joseph@codesourcery.com>
12888
12889 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12890 (totalorder): New declaration.
12891 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12892 New macro.
12893 * math/Versions (totalorder): New libm symbol at version
12894 GLIBC_2.25.
12895 (totalorderf): Likewise.
12896 (totalorderl): Likewise.
12897 * math/Makefile (libm-calls): Add s_totalorderF.
12898 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12899 string.
12900 * math/libm-test.inc (PAYLOAD_DIG): New macro.
12901 (qnan_value_pl): Likewise.
12902 (snan_value_pl): Likewise.
12903 (qnan_value): Define using qnan_value_pl.
12904 (snan_value): Define using snan_value_pl.
12905 (struct test_ff_i_data): Add comment about which tests use this
12906 structure.
12907 (RUN_TEST_ff_b): New macro.
12908 (RUN_TEST_LOOP_ff_b): Likewise.
12909 (totalorder_test_data): New array.
12910 (totalorder_test): New function.
12911 (main): Call totalorder_test.
12912 * math/test-tgmath.c (NCALLS): Increase to 122.
12913 (F(compile_test)): Call totalorder.
12914 (F(totalorder)): New function.
12915 * manual/arith.texi (FP Comparison Functions): Document
12916 totalorder, totalorderf and totalorderl.
12917 * manual/libm-err-tab.pl: Update comment on interfaces without
12918 ulps tabulated.
12919 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12920 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12921 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12926 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12927 totalorder.
12928 (CFLAGS-nldbl-totalorder.c): New variable.
12929 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12930 file.
12931 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12932 Add test-totalorderl-ldbl-128ibm.
12933 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12934 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12935 test-totalorderl-ldbl-96.
12936 * sysdeps/nacl/libm.abilist: Update.
12937 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12950 Likewise.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12952 Likewise.
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12954 Likewise.
12955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12956 Likewise.
12957 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12963 Likewise.
12964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12965 Likewise.
12966 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12969
12970 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12971
12972 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12973 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12974 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12975 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12976 remove ENOSYS implementation.
12977 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12978 Consolidate all Linux implementations.
12979
12980 2016-10-11 Florian Weimer <fweimer@redhat.com>
12981
12982 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12983 * resolv/herror.c (herror): Cast away const-ness.
12984 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12985 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12986
12987 2016-10-11 Joseph Myers <joseph@codesourcery.com>
12988
12989 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12990 instead of M_NAN + M_NAN.
12991 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12992
12993 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12994
12995 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12996 unused variable 'p'.
12997
12998 2016-10-09 Alan Modra <amodra@gmail.com>
12999 Andreas Schwab <schwab@linux-m68k.org>
13000
13001 [BZ #20554]
13002 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
13003 [PIC && !SHARED]: Set up PIC register for PLT call.
13004
13005 2016-10-07 Joseph Myers <joseph@codesourcery.com>
13006
13007 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
13008 conditional on value of [__FLT_EVAL_METHOD__].
13009 * math/test-iseqsig-excess-precision.c: New file.
13010 * math/Makefile (tests): Add test-iseqsig-excess-precision.
13011
13012 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13013
13014 * math/s_iseqsig_template.c: Include math-private.h.
13015
13016 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
13017 * posix/tst-posix_fadvise.c: New file.
13018 * posix/tst-posix_fadvise64.c: Likewise.
13019 * posix/tst-posix_fadvise-common.c: Likewise.
13020 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13021 (__ASSUME_FADVISE64_64_6ARG): Define.
13022 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13023 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
13024 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13025 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
13026 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
13027 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
13028 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
13029 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
13030 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
13031 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
13032 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
13033 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
13036 Likewise.
13037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
13038 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
13039 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
13040 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13041 Alias to __posix_fadvise64_l32.
13042 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
13043 Add compat definition to posix_fadvise64.
13044 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13045 Add versioned definition to posix_fadvise64.
13046 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
13047 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
13048 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
13049 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
13050 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
13051
13052 * io/Makefile (tests): Add tst-posix_fallocate and
13053 tst-posix_fallocate64.
13054 * io/tst-posix_fallocate-common.c: New file.
13055 * io/tst-posix_fallocate.c: Likewise.
13056 * io/tst-posix_fallocate64.c: Likewise.
13057 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
13058 file.
13059 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
13060 Likewise.
13061 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
13062 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
13063 Likewise.
13064 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
13065 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
13066 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
13067 SYSCALL_LL to pass both offset and len arguments.
13068 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
13069 Likewise.
13070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
13071 __libc_pwrite64 alias used by posix_fallocate64.
13072
13073 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13074 tst-fallocate64.
13075 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13076 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13077 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13078 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13079 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13080 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13081 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13082 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13083 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13084 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13085 macro on offset argument.
13086 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13087 SYSCALL_LL64 on offset argument.
13088
13089 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13090 tst-fallocate64.
13091 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13092 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13093 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13094 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13095 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13096 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13097 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13098 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13099 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13100 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13101 macro on offset argument.
13102 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13103 SYSCALL_LL64 on offset argument.
13104 * test-skeleton.c (FAIL_RET): Add macro.
13105 (FAIL_EXIT): Likewise.
13106 (FAIL_EXIT1): Likewise.
13107 (_FAIL): Likewise.
13108
13109 2016-10-07 Florian Weimer <fweimer@redhat.com>
13110
13111 [BZ #20629]
13112 resolv: Remove RES_USEBSTRING and its implementation.
13113 * resolv/resolv.h (RES_USEBSTRING): Remove.
13114 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
13115 (digitvalue, encode_bitstring, decode_bitstring): Remove.
13116 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
13117 (labellen): Remove extended label types support.
13118 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
13119 * resolv/res_init.c (res_setoptions): Likewise.
13120 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13121
13122 2016-10-07 Florian Weimer <fweimer@redhat.com>
13123
13124 resolv: Remove RES_NOIP6DOTINT and its implementation.
13125 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
13126 (RES_NOIP6DOTINT): Remove.
13127 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
13128 handling.
13129 * resolv/res_debug.c (p_option): Likewise.
13130 * resolv/res_init.c (res_setoptions): Likewise.
13131 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13132
13133 2016-10-07 Florian Weimer <fweimer@redhat.com>
13134
13135 resolv: Deprecate unimplemented flags.
13136 * misc/sys/cdefs.h (__glibc_macro_warning1)
13137 (__glibc_macro_warning): Define.
13138 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
13139 (RES_KEEPTSIG): Mark as deprecated.
13140 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
13141 RES_NOCHECKNAME, RES_KEEPTSIG.
13142 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
13143
13144 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13145
13146 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
13147 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
13148 Use strong_alias to create symbols for glibc verison 2.19.
13149
13150 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13151
13152 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
13153
13154 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13155
13156 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
13157
13158 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13159
13160 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
13161
13162 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13163
13164 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13165 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
13166 in header for using it as type for ifunc function because __GI_* symbols
13167 for ppc32 do not target the ifunc symbols.
13168 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13169
13170 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13171
13172 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
13173 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
13174 libc_ifunc_hidden_def.
13175 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
13176 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
13177 Redirect ifunced function in header for using it as type of ifunc'ed
13178 function. Redefine libc_hidden_def to use fallback non ifunc'ed
13179 function for __GI_* symbol.
13180 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
13181 * include/libc-symbols.h
13182 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
13183
13184 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13185
13186 [BZ #20478]
13187 * sysdeps/s390/multiarch/ifunc-resolve.h
13188 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
13189 to create ifunc symbols.
13190 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
13191 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
13192 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
13193 for using it as type for ifunc function.
13194 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13195 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13196 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13197 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13198 * sysdeps/s390/multiarch/strcat.c: Likewise.
13199 * sysdeps/s390/multiarch/strchr.c: Likewise.
13200 * sysdeps/s390/multiarch/strcmp.c: Likewise.
13201 * sysdeps/s390/multiarch/strcpy.c: Likewise.
13202 * sysdeps/s390/multiarch/strcspn.c: Likewise.
13203 * sysdeps/s390/multiarch/strlen.c: Likewise.
13204 * sysdeps/s390/multiarch/strncmp.c: Likewise.
13205 * sysdeps/s390/multiarch/strncpy.c: Likewise.
13206 * sysdeps/s390/multiarch/strnlen.c: Likewise.
13207 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13208 * sysdeps/s390/multiarch/strrchr.c: Likewise.
13209 * sysdeps/s390/multiarch/strspn.c: Likewise.
13210 * sysdeps/s390/multiarch/wcschr.c: Likewise.
13211 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13212 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13213 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13214 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13215 * sysdeps/s390/multiarch/wmemset.c: Likewise.
13216 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13217 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13218 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13219 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13220 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13221 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13222
13223 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13224
13225 * include/libc-symbols.h (__ifunc_resolver):
13226 New macro is used by __ifunc* macros.
13227 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13228 depending on HAVE_GCC_IFUNC.
13229 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13230 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13232 Redirect ifunced function in header for using as type for ifunc function.
13233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13238 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13239 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13241 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13242 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13243 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13244 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13246 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13252 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13253 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13254 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13255 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13256 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13257 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13258 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13259 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13260 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13261 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13262 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13263 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13264 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13265 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13267 Add libc_hidden_def() and use libc_ifunc_hidden() macro
13268 instead of libc_ifunc() macro.
13269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13270 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13271
13272 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
13273
13274 * config.h.in (HAVE_GCC_IFUNC): New undef.
13275 * configure.ac: Add check if gcc supports attribute ifunc feature.
13276 * configure: Regenerated.
13277 * manual/install.texi: Add recommendation for gcc with
13278 indirect-function support.
13279 * INSTALL: Regenerated.
13280
13281 2016-10-06 Joseph Myers <joseph@codesourcery.com>
13282
13283 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13284 macro.
13285 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13286 (__iseqsig): New declaration.
13287 * math/s_iseqsig_template.c: New file.
13288 * math/Versions (__iseqsigf): New libm symbol at version
13289 GLIBC_2.25.
13290 (__iseqsig): Likewise.
13291 (__iseqsigl): Likewise.
13292 * math/libm-test.inc (iseqsig_test_data): New array.
13293 (iseqsig_test): New function.
13294 (main): Call iseqsig_test.
13295 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13296 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13297 * manual/libm-err-tab.pl: Update comment on interfaces without
13298 ulps tabulated.
13299 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13300 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13301 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13302 * sysdeps/nacl/libm.abilist: Update.
13303 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13316 Likewise.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13318 Likewise.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13320 Likewise.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13322 Likewise.
13323 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13329 Likewise.
13330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13331 Likewise.
13332 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13335
13336 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13337
13338 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13339 do_sincos_2, sloww, sloww1): Update comments.
13340
13341 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13342 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13343
13344 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13345 K boolean and rename it.
13346 (__sin): Adjust.
13347 (__cos): Adjust.
13348
13349 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
13350 Siddhesh Poyarekar <siddhesh@sourceware.org>
13351
13352 * manual/nss.texi: Fix typos in the manual.
13353
13354 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
13355
13356 * manual/contrib.texi: Fix typos in the manual.
13357
13358 * manual/maint.texi: Fix typos in the manual.
13359
13360 * manual/install.texi: Fix typos in the manual.
13361 * INSTALL: Regenerated.
13362
13363 * manual/lang.texi: Fix typos in the manual.
13364
13365 * manual/probes.texi: Fix typos in the manual.
13366
13367 * manual/threads.texi: Fix typos in the manual.
13368
13369 * manual/debug.texi: Fix typos in the manual.
13370
13371 * manual/crypt.texi: Fix typos in the manual.
13372
13373 * manual/conf.texi: Fix typos in the manual.
13374
13375 * manual/sysinfo.texi: Fix typos in the manual.
13376
13377 * manual/users.texi: Fix typos in the manual.
13378
13379 * manual/job.texi: Fix typos in the manual.
13380
13381 * manual/process.texi: Fix typos in the manual.
13382
13383 * manual/argp.texi: Fix typos in the manual.
13384 * manual/getopt.texi: Likewise.
13385 * manual/startup.texi: Likewise.
13386
13387 * manual/signal.texi: Fix typos in the manual.
13388
13389 * manual/setjmp.texi: Fix typos in the manual.
13390
13391 * manual/resource.texi: Fix typos in the manual.
13392
13393 * manual/time.texi: Fix typos in the manual.
13394
13395 * manual/arith.texi: Fix typos in the manual.
13396
13397 * manual/math.texi: Fix typos in the manual.
13398
13399 * manual/syslog.texi: Fix typos in the manual.
13400
13401 * manual/terminal.texi: Fix typos in the manual.
13402
13403 * manual/socket.texi: Fix typos in the manual.
13404
13405 * manual/filesys.texi: Fix typos in the manual.
13406
13407 * manual/llio.texi: Fix typos in the manual.
13408
13409 * manual/stdio.text: Fix typos in the manual.
13410
13411 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
13412
13413 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
13414 instead of K1.
13415
13416 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
13417 SHIFT_QUADRANT and make it bool.
13418 (do_sincos_2): Likewise.
13419 (sloww): Likewise.
13420 (sloww1): Likewise.
13421 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
13422 (__cos): Likewise.
13423
13424 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13425
13426 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13427
13428 2016-10-04 Joseph Myers <joseph@codesourcery.com>
13429
13430 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
13431 Define to __WORDSIZE, not conditional on [LONG_MAX ==
13432 0x7fffffffL].
13433 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13434
13435 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13436
13437 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
13438 inline by __inline__.
13439 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
13440 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
13441 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
13442 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
13443 sigset_t from signal.h.
13444 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
13445 which is already required.
13446
13447 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13448
13449 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13450
13451 2016-10-03 Joseph Myers <joseph@codesourcery.com>
13452
13453 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
13454 (struct tcp_repair_window): New type.
13455
13456 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13457
13458 * libio/tst-memstream3.c: Include string.h.
13459
13460 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13461
13462 [BZ #18241]
13463 [BZ #20181]
13464 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
13465 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
13466 write position is at the end the buffer.
13467 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
13468 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
13469 (_IO_str_seekoff): Set correct offset from negative displacement and
13470 set EINVAL for invalid ones.
13471 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
13472 buffer length.
13473 (_IO_wstr_switch_to_get_mode): New function.
13474 (_IO_wstr_seekoff): Set correct offset from negative displacement and
13475 set EINVAL for invalid ones.
13476 * libio/tst-memstream3.c: New file.
13477 * libio/tst-wmemstream3.c: Likewise.
13478 * manual/examples/memstrm.c: Remove warning when priting size_t.
13479
13480 2016-09-30 Joseph Myers <joseph@codesourcery.com>
13481
13482 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
13483 macro to use __builtin_fma.
13484 * sysdeps/x86_64/fpu/dla.h: Remove file.
13485
13486 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13487 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
13488 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
13489
13490 2016-09-30 Carlos O'Donell <carlos@redhat.com>
13491
13492 [BZ #20292]
13493 * elf/Makefile (routines): Add dl-addr-obj.
13494 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
13495 tst-_dl_addr_inside_object.
13496 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
13497 [ifeq (yesyes,$(have-fpie)$(build-shared))]
13498 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
13499 [ifeq (yesyes,$(have-fpie)$(build-shared))]
13500 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
13501 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
13502 * elf/dl-open.c: Likewise.
13503 * elf/dl-addr-obj.c: New file.
13504 * elf/tst-_dl_addr_inside_object.c: New file.
13505
13506 2016-09-30 Joseph Myers <joseph@codesourcery.com>
13507
13508 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
13509 <bits/iscanonical.h>.
13510 * bits/iscanonical.h: New file.
13511 * math/s_iscanonicall.c: Likewise.
13512 * math/Versions (__iscanonicall): New libm symbol at version
13513 GLIBC_2.25.
13514 * math/libm-test.inc (iscanonical_test_data): New array.
13515 (iscanonical_test): New function.
13516 (main): Call iscanonical_test.
13517 * math/Makefile (headers): Add bits/iscanonical.h.
13518 (type-ldouble-routines): Add s_iscanonicall.
13519 * manual/arith.texi (Floating Point Classes): Document
13520 iscanonical.
13521 * manual/libm-err-tab.pl: Update comment on interfaces without
13522 ulps tabulated.
13523 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
13524 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
13526 Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13528 test-iscanonical-ldbl-128ibm.
13529 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
13530 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
13531 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
13532 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
13533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
13534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13537 Likewise.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13539 Likewise.
13540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13541 Likewise.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13543 Likewise.
13544 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13546
13547 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13548
13549 * string/bits/string3.h: Remove C++ style comments.
13550
13551 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13552
13553 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13554 instead of ternary condition.
13555 (do_sincos_2): Likewise.
13556 (__sin): Likewise.
13557 (__cos): Likewise.
13558 (slow): Likewise.
13559 (sloww): Likewise.
13560 (sloww1): Likewise.
13561 (bsloww): Likewise.
13562 (bsloww1): Likewise.
13563
13564 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13565 instead of ternary condition.
13566 (do_sin_slow): Likewise.
13567 (do_sincos_1): Likewise.
13568 (do_sincos_2): Likewise.
13569 (__cos): Likewise.
13570 (sloww): Likewise.
13571 (sloww1): Likewise.
13572 (sloww2): Likewise.
13573 (bsloww): Likewise.
13574 (bsloww1): Likewise.
13575 (bsloww2): Likewise.
13576
13577 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13578 check from here...
13579 (slow2): ... and here...
13580 (__sin): ... to here.
13581
13582 2016-09-28 Joseph Myers <joseph@codesourcery.com>
13583
13584 * math/math.h
13585 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13586 Cast argument to its own type.
13587 * math/test-iszero-excess-precision.c: New file.
13588 * math/Makefile (tests): Add test-iszero-excess-precision.
13589 (CFLAGS-test-iszero-excess-precision.c): New variable.
13590
13591 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13592
13593 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13594 field, add err field.
13595 (__spawni_child): Report error through err member instead of pipe.
13596 (__spawnix): Likewise.
13597
13598 2016-09-28 Zack Weinberg <zackw@panix.com>
13599
13600 * scripts/check-installed-headers.sh: Generalize treatment of
13601 sys/elf.h to all target architectures.
13602
13603 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13604 deleted typedef ucontext_t.
13605
13606 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13607
13608 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13609 (__INTERNAL_SYSCALL1): Likewise.
13610 (__INTERNAL_SYSCALL2): Likewise.
13611 (__INTERNAL_SYSCALL3): Likewise.
13612 (__INTERNAL_SYSCALL4): Likewise.
13613 (__INTERNAL_SYSCALL5): Likewise.
13614 (__INTERNAL_SYSCALL6): Likewise.
13615 (__INTERNAL_SYSCALL7): Likewise.
13616 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13617 (__INTERNAL_SYSCALL_NARGS): Likewise.
13618 (__INTERNAL_SYSCALL_DISP): Likewise.
13619 (INTERNAL_SYSCALL_CALL): Likewise.
13620 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13621 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13622 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13623 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13624 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13625 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13626 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13627 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13628 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13629 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13630 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13631 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13632 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13633
13634 2016-09-23 Joseph Myers <joseph@codesourcery.com>
13635
13636 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13637 macro.
13638 * math/libm-test.inc (iszero_test_data): New array.
13639 (iszero_test): New function.
13640 (main): Call iszero_test.
13641 * manual/arith.texi (Floating Point Classes): Document iszero.
13642 * manual/libm-err-tab.pl: Update comment on interfaces without
13643 ulps tabulated.
13644
13645 2016-09-23 Zack Weinberg <zackw@panix.com>
13646
13647 * scripts/check-installed-headers.sh: New script.
13648 * Rules: In each directory that defines header files to be installed,
13649 run check-installed-headers.sh on them as a special test.
13650 * Makefile: Likewise for the headers installed at top level.
13651
13652 * include/aliases.h, include/alloca.h, include/argz.h
13653 * include/arpa/nameser.h, include/arpa/nameser_compat.h
13654 * include/elf.h, include/envz.h, include/err.h
13655 * include/execinfo.h, include/fpu_control.h, include/getopt.h
13656 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13657 * include/link.h, include/malloc.h, include/mcheck.h
13658 * include/mntent.h, include/netinet/ether.h
13659 * include/nss.h, include/obstack.h, include/printf.h
13660 * include/pty.h, include/resolv.h, include/rpc/auth.h
13661 * include/rpc/auth_des.h, include/rpc/auth_unix.h
13662 * include/rpc/clnt.h, include/rpc/des_crypt.h
13663 * include/rpc/key_prot.h, include/rpc/netdb.h
13664 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13665 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13666 * include/rpc/rpc_msg.h, include/rpc/svc.h
13667 * include/rpc/svc_auth.h, include/rpc/xdr.h
13668 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13669 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13670 * include/rpcsvc/ypupd.h, include/shadow.h
13671 * include/stdio_ext.h, include/sys/epoll.h
13672 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13673 * include/sys/prctl.h, include/sys/profil.h
13674 * include/sys/statfs.h, include/sys/sysctl.h
13675 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13676 * sysdeps/arm/nacl/include/bits/setjmp.h
13677 * sysdeps/mips/include/sys/asm.h
13678 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13679 * sysdeps/unix/sysv/linux/include/sys/timex.h
13680 * sysdeps/x86/fpu/include/bits/fenv.h:
13681 Add #ifndef _ISOMAC guard around internal declarations.
13682 Add multiple-inclusion guard if not already present.
13683
13684 2016-09-23 Zack Weinberg <zackw@panix.com>
13685
13686 * sysdeps/generic/sys/ucontext.h
13687 * sysdeps/arm/sys/ucontext.h
13688 * sysdeps/i386/sys/ucontext.h
13689 * sysdeps/m68k/sys/ucontext.h
13690 * sysdeps/mips/sys/ucontext.h
13691 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13692 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13693 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13694 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13695 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13696 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13697 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13698 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13699 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13701 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13702 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13703 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13704 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13705 Include both bits/sigcontext.h and bits/sigstack.h.
13706 Fix grammar error in comment, if present.
13707
13708 * bits/sigstack.h
13709 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13710 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13711 * sysdeps/unix/sysv/linux/bits/sigstack.h
13712 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13713 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13714 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13715 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13716 * bits/sigcontext.h
13717 * sysdeps/mach/hurd/i386/bits/sigcontext.h
13718 * sysdeps/unix/sysv/linux/bits/sigcontext.h
13719 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13720 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13721 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
13722 as well as signal.h, if this was not already allowed. Request
13723 definition of size_t if necessary. Minimize semantically-null
13724 differences across files.
13725
13726 2016-09-23 Zack Weinberg <zackw@panix.com>
13727
13728 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13729 Remove all logic conditional on __need macros. Move all the
13730 conditionally defined types to their own headers...
13731 * time/bits/types/clock_t.h: Define clock_t here.
13732 * time/bits/types/clockid_t.h: Define clockid_t here.
13733 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13734 * time/bits/types/struct_timespec.h: Define struct timespec here.
13735 * time/bits/types/struct_timeval.h: Define struct timeval here.
13736 * time/bits/types/struct_tm.h: Define struct tm here.
13737 * time/bits/types/time_t.h: Define time_t here.
13738 * time/bits/types/timer_t.h: Define timer_t here.
13739 * time/Makefile: Install the new headers.
13740
13741 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13742 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13743 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13744 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13745 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13746 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13747 * sysdeps/unix/sysv/linux/bits/resource.h
13748 * sysdeps/unix/sysv/linux/bits/timex.h
13749 * sysdeps/unix/sysv/linux/mips/bits/resource.h
13750 * sysdeps/unix/sysv/linux/net/ppp_defs.h
13751 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13752 * sysdeps/unix/sysv/linux/sys/acct.h
13753 * sysdeps/unix/sysv/linux/sys/timerfd.h
13754 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13755 * time/sys/time.h, time/sys/timeb.h
13756 Use the new bits/types headers.
13757
13758 * include/time.h: Remove __need logic.
13759 * include/bits/time.h
13760 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13761 * include/bits/types/time_t.h, include/bits/types/timer_t.h
13762 * include/bits/types/struct_itimerspec.h
13763 * include/bits/types/struct_timespec.h
13764 * include/bits/types/struct_timeval.h
13765 * include/bits/types/struct_tm.h:
13766 New wrapper headers.
13767
13768 2016-09-23 Zack Weinberg <zackw@panix.com>
13769
13770 * sysdeps/mach/hurd/net/if_ppp.h
13771 * sysdeps/unix/sysv/linux/net/if_ppp.h:
13772 Only define struct ifpppstatsreq and struct ifpppcstatsreq
13773 if __USE_MISC is defined, to ensure struct ifreq is declared.
13774
13775 * inet/netinet/ether.h: Condition all function prototypes
13776 on __USE_MISC, to ensure struct ether_addr is declared.
13777
13778 * socket/bits/types/struct_osockaddr.h: New header.
13779 * include/bits/types/struct_osockaddr.h: New wrapper.
13780 * socket/Makefile: Install the new header.
13781 * socket/sys/socket.h, inet/protocols/talkd.h:
13782 Refer to bits/types/struct_osockaddr.h for the definition of
13783 struct osockaddr.
13784
13785 2016-09-23 Zack Weinberg <zackw@panix.com>
13786
13787 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13788 * inet/protocols/routed.h, inet/protocols/talkd.h
13789 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13790 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13791 * sysdeps/generic/netinet/if_ether.h
13792 * sysdeps/generic/netinet/in_systm.h
13793 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13794 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13795 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13796 * sysdeps/mach/hurd/net/if_arp.h
13797 * sysdeps/mach/hurd/net/if_ppp.h
13798 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13799 * sysdeps/unix/sysv/linux/bits/in.h
13800 * sysdeps/unix/sysv/linux/net/ethernet.h
13801 * sysdeps/unix/sysv/linux/net/if_arp.h
13802 * sysdeps/unix/sysv/linux/net/if_ppp.h
13803 * sysdeps/unix/sysv/linux/net/if_shaper.h
13804 * sysdeps/unix/sysv/linux/net/route.h
13805 * sysdeps/unix/sysv/linux/netinet/if_ether.h
13806 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13807 * sysdeps/unix/sysv/linux/netinet/if_tr.h
13808 * sysdeps/unix/sysv/linux/netipx/ipx.h
13809 * sysdeps/unix/sysv/linux/sys/acct.h
13810 * include/arpa/nameser.h, include/resolv.h:
13811 Change all uses of u_char to unsigned char,
13812 u_short and ushort to unsigned short, u_int and uint to unsigned int,
13813 u_long and ulong to unsigned long, u_int8_t to uint8_t,
13814 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13815 and u_int64_t and u_quad_t to uint64_t.
13816
13817 * mach/sys/reboot.h: Remove two casts of integer literals
13818 to the types they already have.
13819
13820 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13821 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13822 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13823 from referring to 'unsigned char' to 'uint8_t' for consistency with
13824 the macro definition below.
13825
13826 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13827 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13828 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13829 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13830 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13831 * sysdeps/unix/sysv/linux/sys/acct.h
13832 * include/arpa/nameser.h, include/resolv.h:
13833 Fix indentation disrupted by mechanical edits.
13834
13835 * inet/protocols/talkd.h, resolv/arpa/nameser.h
13836 * sysdeps/generic/netinet/in_systm.h
13837 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13838 * sysdeps/gnu/netinet/udp.h
13839 * sysdeps/unix/sysv/linux/net/ethernet.h
13840 * sysdeps/unix/sysv/linux/net/if_arp.h
13841 * sysdeps/unix/sysv/linux/net/if_ppp.h
13842 * sysdeps/unix/sysv/linux/net/if_shaper.h
13843 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13844 * sysdeps/unix/sysv/linux/netinet/if_tr.h
13845 * sysdeps/unix/sysv/linux/netipx/ipx.h
13846 * sysdeps/unix/sysv/linux/sys/acct.h
13847 Include stdint.h for uintNN_t definitions.
13848 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13849
13850 2016-09-23 Zack Weinberg <zackw@panix.com>
13851
13852 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13853 * sysdeps/unix/sysv/linux/netrose/rose.h:
13854 Include sys/socket.h and netax25/ax25.h.
13855
13856 * inet/netinet/icmp6.h, inet/netinet/ip6.h
13857 * resolv/arpa/nameser_compat.h:
13858 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13859
13860 * sysdeps/unix/sysv/linux/sys/quota.h:
13861 Use __caddr_t instead of caddr_t.
13862 * sysdeps/unix/sysv/linux/sys/timerfd.h:
13863 Use __clockid_t instead of clockid_t.
13864
13865 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13866
13867 * argp/argp.h: Check whether _LIBC is defined before expanding it.
13868 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13869 expanding it.
13870
13871 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13872 Define __glibc_c99_flexarr_available to 1 when the compiler
13873 supports C99-compatible flexible array members, 0 otherwise.
13874 * sysdeps/unix/sysv/linux/bits/socket.h
13875 * sysdeps/mach/hurd/bits/socket.h
13876 * bits/socket.h: Use __glibc_c99_flexarr_available in
13877 definitions of struct cmsghdr and CMSG_DATA.
13878
13879 2016-09-23 Florian Weimer <fweimer@redhat.com>
13880
13881 * manual/nss.texi (NSS Modules Interface): Adjust function return
13882 type to enum nss_status. Document errnop argument. Clarify
13883 h_errnop semantics. Fix cross-reference formatting.
13884 (NSS Module Function Internals): Mention that *errnop needs to be
13885 set on failure, but not to zero.
13886
13887 2016-09-23 Florian Weimer <fweimer@redhat.com>
13888
13889 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13890 (get_random_name): New functions.
13891 (check_wrapper_flags_mode): Use linkat to give the new file a name
13892 determined by get_random_name.
13893 (do_test): Add calls to test open64 and openat64.
13894
13895 2016-09-23 Florian Weimer <fweimer@redhat.com>
13896
13897 * test-skeleton.c: Remove #include <stdarg.h>.
13898
13899 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
13900
13901 [BZ #19826]
13902 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13903 initialization of static TLS entries.
13904 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13905 * nptl/allocatestack.c (init_one_static_tls): Likewise.
13906
13907 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13908
13909 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13910 _hurd_malloc_fork_prepare.
13911 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13912 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13913 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13914 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13915 (_hurd_fork_child_hook): Drop malloc_fork_child.
13916 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13917 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13918 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13919 after locking locks (notably hurd_dtable_lock). Call
13920 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13921 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13922 __malloc_fork_unlock_child.
13923 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13924
13925 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
13926
13927 * soft-fp/extendhftf2.c: New.
13928 * soft-fp/fixhfti.c: Likewise.
13929 * soft-fp/fixunshfti.c: Likewise.
13930 * soft-fp/floattihf.c: Likewise.
13931 * soft-fp/floatuntihf.c: Likewise.
13932 * soft-fp/half.h: Likewise.
13933 * soft-fp/trunctfhf2.c: Likewise.
13934
13935 2016-09-21 Joseph Myers <joseph@codesourcery.com>
13936
13937 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13938 macro.
13939 * math/libm-test.inc (issubnormal_test_data): New array.
13940 (issubnormal_test): New function.
13941 * manual/arith.texi (Floating Point Classes): Document
13942 issubnormal.
13943 * manual/libm-err-tab.pl: Update comment on interfaces without
13944 ulps tabulated.
13945
13946 * sysdeps/generic/stdint.h: Define
13947 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13948 <bits/libc-header-start.h> instead of including <features.h>.
13949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13950 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13952 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13953 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13955 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13956 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13958 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13959 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13961 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13962 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13964 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13965 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13966 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13967 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13968 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13969 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13970 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13972 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13973 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13976 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13977 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13979 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13980 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13981 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13982 * manual/arith.texi (Integers): Document these macros for types
13983 specified by width properties.
13984 * manual/lang.texi (Width of Type): Document these macros for
13985 other standard typedefs.
13986 * stdlib/tst-width-stdint.c: New file.
13987 * stdlib/Makefile (tests): Add tst-width-stdint.
13988
13989 2016-09-21 Florian Weimer <fweimer@redhat.com>
13990
13991 [BZ #20016]
13992 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13993 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13994 Move ...
13995 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13996 ... here, as compatibility symbols in a new file.
13997 * resolv/Makefile (libresolv-routines): Add compat-hooks.
13998 * resolv/res_init.c (__res_vinit): Adjust member names.
13999 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
14000 * resolv/resolv.h (res_sendhookact, res_send_qhook)
14001 (res_send_rhook): Remove.
14002 (struct __res_state): Rename qhook, rhook members.
14003
14004 2016-09-21 Florian Weimer <fweimer@redhat.com>
14005
14006 malloc: Use __libc_lock wrappers.
14007 * malloc/arena.c (list_lock, free_list_lock): Define using
14008 __libc_lock_define_initialized.
14009 (arena_lock): Adjust formatting.
14010 * malloc/malloc.c (struct malloc_state): Define mutex using
14011 __libc_lock_define.
14012 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
14013 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
14014 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
14015 (mutex_unlock, mutex_trylock): Remove.
14016 (__pthread_initialize): Remove unused macro.
14017 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
14018 (mutex_unlock, mutex_trylock): Remove.
14019
14020 2016-09-21 Florian Weimer <fweimer@redhat.com>
14021
14022 [BZ #20592]
14023 Remove RR type classification macros.
14024 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
14025 (ns_t_udp_p, ns_t_xfr_p): Remove.
14026
14027 2016-09-21 Florian Weimer <fweimer@redhat.com>
14028
14029 Remove misleading version information.
14030 * resolv/arpa/nameser.h (__NAMESER): Remove.
14031 * resolv/arpa/nameser_compat.h (__BIND): Remove.
14032
14033 2016-09-21 Florian Weimer <fweimer@redhat.com>
14034
14035 Remove the always-defined BIND_4_COMPAT macro.
14036 * resolv/arpa/nameser.h: Unconditionally include
14037 <arpa/nameser_compat.h>.
14038 (BIND_4_COMPAT): Remove.
14039 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
14040
14041 2016-09-21 Florian Weimer <fweimer@redhat.com>
14042
14043 [BZ #20591]
14044 Remove obsolete DNSSEC support.
14045 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
14046 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
14047 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
14048 (ns_verify_tcp, ns_verify_tcp_init): Remove.
14049 (ns_cert_types): Add comment.
14050 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
14051 separately.
14052 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
14053 (dst_s_dns_key_id): Remove.
14054 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
14055 variables.
14056
14057 2016-09-21 Florian Weimer <fweimer@redhat.com>
14058
14059 [BZ #20524]
14060 * manual/string.texi (String/Array Comparison): Clarify the
14061 strverscmp behavior.
14062
14063 2016-09-21 Florian Weimer <fweimer@redhat.com>
14064
14065 * test-skeleton.c (xasprintf): Add function.
14066 * io/tst-open-tmpfile.c: New test.
14067 * io/Makefile (tests): Add it.
14068
14069 2016-09-21 Florian Weimer <fweimer@redhat.com>
14070
14071 Avoid running $(CXX) during build to obtain header file paths.
14072 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
14073 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
14074 * Makerules (cstdlib, cmath): Remove variables. Use
14075 $(c++-cstdlib-header), $(c++-cmath-header) instead.
14076 * configure: Regenerate.
14077
14078 2016-09-21 Florian Weimer <fweimer@redhat.com>
14079
14080 * Makeconfig (all-object-suffixes): Include .op only if
14081 $(build-profile).
14082
14083 2016-09-21 Florian Weimer <fweimer@redhat.com>
14084
14085 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
14086 conditionals. Do not define PATH_MAX.
14087
14088 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14089
14090 * posix/Makefile (tests): Add tst-spawn3.
14091 * posix/tst-spawn3.c: New file.
14092 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
14093 if it is already opened for open action.
14094
14095 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
14096 all signals when executing the clone vfork child.
14097 (SIGALL_SET): Remove macro.
14098
14099 * nptl/Makefile (tests): Add tst-exec5.
14100 * nptl/tst-exec5.c: New file.
14101 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
14102 asynchronous cancellation.
14103
14104 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14105
14106 * hurd/exc2signal.c: #include <hurd/signal.h>
14107 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
14108 'sigcode', 'error' parameters with 'detail' parameter. Fix code
14109 accordingly.
14110 * mach/mach_error.c (mach_error): Fix old-style function definition.
14111 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
14112
14113 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14114
14115 * math/Makefile (libm-calls): Remove s_nanF.
14116 (gen-libm-calls): Add s_nanF.
14117
14118 * math/s_nan.c: Refactor into ...
14119 * math/s_nan_template.c: New file.
14120
14121 * math/s_nanf.c: Removed.
14122 * math/s_nanl.c: Removed.
14123 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
14124 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
14125
14126 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14127 (LDOUBLE_nanl_libm_version): New macro.
14128
14129 * sysdeps/generic/math-type-macros-double.h:
14130 (M_STRTO_NAN): New macro.
14131 * sysdeps/generic/math-type-macros-float.h: Likewise.
14132 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14133
14134 * sysdeps/generic/math-type-macros.h: Document
14135 M_STRTO_NAN.
14136
14137 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14138
14139 * math/s_nanf.c: Remove __nanf undef.
14140 * math/s_nan.c: Remove __nan undef.
14141 * math/s_nanl.c: Remove __nanl undef.
14142
14143 * sysdeps/generic/math_private.h (__nan): Remove macro
14144 override.
14145 (__nanf): Likewise.
14146 (__nanl): Likewise.
14147
14148 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14149
14150 * math/Makefile (gen-all-calls): New variable.
14151 (generated): Replace gen-libm-calls with gen-all-calls.
14152 (gen-libm-templates.stmp): Likewise. Also, ensure
14153 the output directory exists or is created and add
14154 dependency on the Makefile.
14155 (calls): Move s_ldexpF into gen-calls.
14156 (gen-calls): New variable.
14157
14158 * math/s_ldexpf.c: Removed.
14159 * math/s_ldexpl.c: Removed.
14160 * math/s_ldexp.c: Refactored into ...
14161 * math/s_ldexp_template.c: New file.
14162
14163 * sysdeps/generic/math-type-macros-double.h: Remove
14164 redundant fall-through definition of declare_mgen_alias.
14165 (declare_mgen_alias_2): New macro.
14166
14167 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
14168 New macro for function aliased to two exported symbols.
14169
14170 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
14171 new template file.
14172 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14173
14174 2016-09-20 Florian Weimer <fweimer@redhat.com>
14175
14176 * Makeconfig (all-object-suffixes): Remove .og.
14177 * Makerules (elide-routines.og): Remove.
14178 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
14179 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
14180 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
14181
14182 2016-09-20 Florian Weimer <fweimer@redhat.com>
14183
14184 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
14185 .os objects.
14186
14187 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14188
14189 [BZ #20615]
14190 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
14191 fpu directory by non-fpu.
14192 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
14193 on non-fpu directory from a fpu directory.
14194
14195 2016-09-19 Joseph Myers <joseph@codesourcery.com>
14196
14197 * include/limits.h: Define
14198 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14199 <bits/libc-header-start.h> instead of including <features.h>.
14200 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
14201 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
14202 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
14203 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
14204 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
14205 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
14206 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
14207 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
14208 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14209 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
14210 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14211 * manual/lang.texi (Width of Type): Document these macros.
14212 * stdlib/tst-width.c: New file.
14213 * stdlib/Makefile (tests): Add tst-width.
14214
14215 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14216
14217 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14218 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14219
14220 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14221
14222 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14223 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14224 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14225
14226 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14227
14228 [BZ #18243]
14229 * rt/Makefile (test): Add tst-shm-cancel.
14230 * rt/tst-shm-cancel.c: New file.
14231 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14232
14233 [BZ #18243]
14234 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14235 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14236 definition.
14237 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14238 uncontended case.
14239 * nptl/sem_wait.c (__new_sem_wait): Likewise.
14240 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14241 (tf): Fix check for uncontended case.
14242 (do_test): Likewise.
14243 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14244 (tf): Fix check for uncontended case.
14245 (do_test): Likewise.
14246 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14247 (tf): Fix check for uncontended case.
14248 (do_test): Likewise.
14249 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14250 (tf): Fix check for uncontended case.
14251 (do_test): Likewise.
14252
14253 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14254 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14255
14256 [BZ #15765]
14257 * nptl/Makefile (tests): Add tst-sem16.
14258 * nptl/tst-sem16.c: New file.
14259 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14260
14261 * nptl/sem_open.c (sem_open): Init pad value to 0.
14262 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14263 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14264
14265 2016-09-15 Florian Weimer <fweimer@redhat.com>
14266
14267 [BZ #20611]
14268 * inet/Makefile (routines): Add inet6_scopeid_pton.
14269 (tests): Add tst-inet6_scopeid_pton.
14270 * inet/inet6_scopeid_pton.c: New file.
14271 * inet/net-internal.h: Likewise.
14272 * inet/tst-inet6_scopeid_pton.c: New test.
14273 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14274 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14276
14277 2016-09-14 Florian Weimer <fweimer@redhat.com>
14278
14279 Remove support for compiling wrappers with PTW.
14280 * sysdeps/nptl/Makeconfig: Drop ptw- support.
14281 * nptl/Makefile (pthread-compat-wrappers): Define.
14282 (libpthread-routines): Use pthread-compat-wrappers.
14283 * sysdeps/unix/sysv/linux/alpha/Makefile
14284 (libpthread-routines, libpthread-shared-only-routines): Remove
14285 ptw- prefix.
14286 * sysdeps/s390/nptl/Makefile
14287 (libpthread-routines, libpthread-shared-only-routines): Likewise.
14288 * sysdeps/ia64/nptl/Makefile
14289 (libpthread-routines, libpthread-shared-only-routines): Likewise.
14290 * sysdeps/nacl/Makefile (libpthread-routines): Use
14291 pthread-compat-wrappers to filter the routines list instead of the
14292 ptw- prefix.
14293
14294 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14295
14296 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14297 with L() and remove explicit suffix, convert real literals
14298 which can be equivalentally substituted with integers, and
14299 transform -L(x) to L(-x).
14300
14301 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14349 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14351
14352 2016-09-13 Florian Weimer <fweimer@redhat.com>
14353
14354 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14355
14356 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14357
14358 * malloc/Makefile (tests): Remove individual static test names
14359 and just add all of tests-static.
14360
14361 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14362
14363 2016-09-07 Joseph Myers <joseph@codesourcery.com>
14364
14365 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14366 file.
14367
14368 * sysdeps/sparc/fpu/fegetmode.c: New file.
14369 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14370
14371 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14372 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14373
14374 * sysdeps/s390/fpu/fegetmode.c: New file.
14375 * sysdeps/s390/fpu/fesetmode.c: Likewise.
14376
14377 * sysdeps/powerpc/fpu/fegetmode.c: New file.
14378 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14379 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14380 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14381 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14382 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14383
14384 * sysdeps/mips/fpu/fegetmode.c: New file.
14385 * sysdeps/mips/fpu/fesetmode.c: Likewise.
14386
14387 * sysdeps/m68k/fpu/fegetmode.c: New file.
14388 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14389
14390 * sysdeps/ia64/fpu/fegetmode.c: New file.
14391 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
14392
14393 * sysdeps/hppa/fpu/fegetmode.c: New file.
14394 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
14395
14396 * sysdeps/arm/fegetmode.c: New file.
14397 * sysdeps/arm/fesetmode.c: Likewise.
14398
14399 * sysdeps/alpha/fpu/fegetmode.c: New file.
14400 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
14401
14402 * sysdeps/aarch64/fpu/fegetmode.c: New file.
14403 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
14404
14405 * math/fegetmode.c: New file.
14406 * math/fesetmode.c: Likewise.
14407 * sysdeps/i386/fpu/fegetmode.c: Likewise.
14408 * sysdeps/i386/fpu/fesetmode.c: Likewise.
14409 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
14410 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
14411 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
14412 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
14413 declaration.
14414 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
14415 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
14416 typedef.
14417 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14418 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14419 (femode_t): New typedef.
14420 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14421 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14422 (femode_t): New typedef.
14423 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14424 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14425 (femode_t): New typedef.
14426 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14427 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14428 (femode_t): New typedef.
14429 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14430 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14431 (femode_t): New typedef.
14432 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14433 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14434 (femode_t): New typedef.
14435 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14436 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14437 (femode_t): New typedef.
14438 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14439 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14440 (femode_t): New typedef.
14441 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14442 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14443 (femode_t): New typedef.
14444 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14445 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14446 (femode_t): New typedef.
14447 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
14448 declaration.
14449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14450 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14451 (femode_t): New typedef.
14452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14453 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14454 (femode_t): New typedef.
14455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14456 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14457 (femode_t): New typedef.
14458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14459 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14460 (femode_t): New typedef.
14461 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14462 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14463 (femode_t): New typedef.
14464 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14465 * manual/arith.texi (FE_DFL_MODE): Document macro.
14466 (fegetmode): Document function.
14467 (fesetmode): Likewise.
14468 * math/Versions (fegetmode): New libm symbol at version
14469 GLIBC_2.25.
14470 (fesetmode): Likewise.
14471 * math/Makefile (libm-support): Add fegetmode and fesetmode.
14472 (tests): Add test-femode and test-femode-traps.
14473 * math/test-femode-traps.c: New file.
14474 * math/test-femode.c: Likewise.
14475 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
14476 alias for __fe_dfl_env.
14477 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
14478 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
14479 (__fe_dfl_mode): Likewise.
14480 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
14481 version GLIBC_2.25.
14482 * sysdeps/nacl/libm.abilist: Update.
14483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14496 Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14498 Likewise.
14499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14500 Likewise.
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14502 Likewise.
14503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14509 Likewise.
14510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14511 Likewise.
14512 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14515
14516 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
14517
14518 [BZ #20495]
14519 [BZ #20508]
14520 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
14521 processors, set Use_dl_runtime_resolve_slow and set
14522 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
14523 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
14524 New.
14525 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
14526 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
14527 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
14528 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
14529 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
14530 if Use_dl_runtime_resolve_opt is set. Use
14531 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
14532 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
14533 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
14534 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
14535 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
14536 New.
14537 (_dl_runtime_resolve_opt): Likewise.
14538 (_dl_runtime_profile): Define only if _dl_runtime_profile is
14539 defined.
14540
14541 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
14542
14543 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14544 __libc_memalign with "+ RELA R_390_GLOB_DAT".
14545
14546 2016-09-06 Florian Weimer <fweimer@redhat.com>
14547
14548 Convert malloc to __libc_lock. Automated part, using this Perl
14549 s/// command:
14550 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14551 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14552 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14553 conversion.
14554
14555 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
14556
14557 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14558 (linknamespace-symlists-tests): Likewise.
14559 (linknamespace-header-tests): Likewise.
14560
14561 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
14562
14563 [BZ #19810]
14564 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14565 * elf/tst-noload.c: New test case.
14566 * elf/Makefile (tests): Add tst-noload.
14567
14568 2016-09-02 Roland McGrath <roland@hack.frob.com>
14569
14570 * sysdeps/nacl/dup.c: Add libc_hidden_def.
14571
14572 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14573 not any more.
14574
14575 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14576
14577 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14578
14579 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14580 (do_cos_slow): Likewise.
14581 (do_sin): Likewise.
14582 (do_sin_slow): Likewise.
14583 (slow): Likewise.
14584 (slow1): Likewise.
14585 (slow2): Likewise.
14586 (sloww): Likewise.
14587 (sloww1): Likewise.
14588 (sloww2): Likewise.
14589 (bsloww): Likewise.
14590 (bsloww1): Likewise.
14591 (bsloww2): Likewise.
14592 (cslow2): Likewise.
14593
14594 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14595
14596 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14597 arguments. Consolidate input partitioning from callers here.
14598 (do_cos_slow): Likewise.
14599 (do_sin): Likewise.
14600 (do_sin_slow): Likewise.
14601 (do_sincos_1): Remove the no longer necessary input partitioning.
14602 (do_sincos_2): Likewise.
14603 (__sin): Likewise.
14604 (__cos): Likewise.
14605 (slow1): Likewise.
14606 (slow2): Likewise.
14607 (sloww1): Likewise.
14608 (sloww2): Likewise.
14609 (bsloww1): Likewise.
14610 (bsloww2): Likewise.
14611 (cslow2): Likewise.
14612
14613 2016-09-02 Florian Weimer <fweimer@redhat.com>
14614
14615 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14616 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
14617 outside of allocated array.
14618
14619 2016-09-02 Florian Weimer <fweimer@redhat.com>
14620
14621 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14622 instead of MB_CUR_MAX to avoid variable-length array.
14623
14624 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14625
14626 * math/Makefile (libm-calls): Remove k_rem_pio2F.
14627 (type-double-routines): Add k_rem_pio2.
14628 (type-float-routines): Add k_rem_pio2f.
14629
14630 * sysdeps/generic/math_private.h:
14631 (__kernel_rem_pio2l): Removed.
14632
14633 * math/k_rem_pio2l.c: Removed.
14634 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14635 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14636 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14637 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14638
14639 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14640
14641 * math/Makefile (gen-libm-calls): Add s_fmin
14642 (libm-calls): Remove above.
14643
14644 * math/s_fmin.c: Refactor into ...
14645 * math/s_fmin_template.c: New file.
14646
14647 * math/s_fminf.c: Removed.
14648 * math/s_fminl.c: Removed.
14649 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14650 (LDOUBLE_fmin_libm_version): New macro.
14651
14652 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14653 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14654
14655 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14656
14657 * math/Makefile: (gen-libm-calls): Add s_fmax.
14658 (libm-calls): Remove above.
14659
14660 * math/s_fmax.c: Refactor into ...
14661 * math/s_fmax_template.c: New file.
14662 * math/s_fmaxf.c: Removed.
14663 * math/s_fmaxl.c: Removed.
14664
14665 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14666 (LDOUBLE_fmaxl_libm_version): New macro.
14667
14668 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14669 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14670
14671 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14672 s_fmin.c to pick the aarch64 version of the file.
14673 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14674 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14675
14676 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14677
14678 * math/Makefile: (gen-libm-calls): Add s_nextdown.
14679 (libm-calls): Remove above.
14680
14681 * math/s_nextdown.c: Refactor into ...
14682 * math/s_nextdown_template.c: New file.
14683 * math/s_nextdownf.c: Removed.
14684 * math/s_nextdownl.c: Removed.
14685
14686 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14687
14688 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14689
14690 * math/Makefile (gen-libm-calls): Add s_fdim.
14691 (libm-calls): Move to above.
14692
14693 * math/s_fdim.c: Renamed and refactored into to ...
14694 * math/s_fdim_template.c: New file.
14695 * math/s_fdiml.c: Removed.
14696 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14697 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14698
14699 * sysdeps/generic/math-type-macros-double.h:
14700 (declare_mgen_alias): Don't declare if already declared.
14701 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14702 Likewise.
14703
14704 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14705 (declare_mgen_alias): Don't declare if already declared.
14706 (M_LIBM_NEED_COMPAT): Likewise.
14707 (declare_mgen_libm_compat): Likewise.
14708 (LDOUBLE_fdiml_libm_version): New macro.
14709
14710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14711 Include math/s_fdim.c now that ldbl-opt version is not needed.
14712 (declare_mgen_alias): New macro to disable aliasing.
14713
14714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14715 (declare_mgen_alias): Likewise.
14716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14717 (declare_mgen_alias): Likewise.
14718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14719 (declare_mgen_alias): Likewise.
14720 (M_LIBM_NEED_COMPAT): Likewise.
14721
14722 2016-09-01 Florian Weimer <fweimer@redhat.com>
14723
14724 [BZ #20525]
14725 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14726 Include <linux/quota.h>.
14727 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14728 and btodb.
14729 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14730 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14731 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14732 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14733 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14734 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14735 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14736 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14737 types.
14738 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14739 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14740
14741 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14742
14743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14744 (gammal_positive): Fix spacing.
14745 (__ieee754_gammal_r): Likewise.
14746
14747 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14748
14749 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14750 (_Float128): Define as long double, always.
14751 (L): Apply long double type suffix, always.
14752
14753 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14754 _Float128, excepting comments.
14755
14756 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14764 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14767 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14768 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14769 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14770 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14771 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14772 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14773 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14774 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14780 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14796 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14803 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14822 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14824
14825 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14826 _Float128, and include math_private.h.
14827 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14828
14829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14830 long double semantics.
14831 (_Float128): Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14836
14837 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
14838
14839 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14840 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14841 * sysdeps/s390/configure: Regenerated.
14842 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14843 instruction for raising over-/underflow if z196 zarch is supported
14844 by default.
14845 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14846
14847 2016-08-30 Svante Signell <svante.signell@gmail.com>
14848
14849 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14850 it point to a dumb buffer for RPC to fill it.
14851
14852 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
14853
14854 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14855 instead of if/else.
14856 (do_sin_slow): Likewise.
14857 (do_sincos_1): Use fabs instead of if/else.
14858 (do_sincos_2): Likewise.
14859 (__sin): Likewise.
14860 (__cos): Likewise.
14861 (slow2): Likewise.
14862 (sloww): Likewise.
14863 (sloww1): Likewise. Drop argument M.
14864 (sloww2): Use fabs instead of if/else.
14865 (bsloww): Likewise.
14866 (bsloww1): Likewise.
14867 (bsloww2): Likewise.
14868
14869 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14870 fall through comment.
14871 (do_sincos_1): Likewise.
14872
14873 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14874 Consolidate switch cases 0 and 2.
14875
14876 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14877
14878 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14879 (libm-calls): Remove the above.
14880
14881 * math/s_cexp_template.c: Update using type-generic macros.
14882 * math/s_clog10_template.c: Likewise.
14883 * math/s_cpow_template.c: Likewise.
14884 * math/s_clog_template.c: Likewise.
14885 * math/s_cproj_template.c: Likewise.
14886 * math/s_csqrt_template.c: Likewise.
14887
14888 * math/s_cexp.c: Removed.
14889 * math/s_cexpf.c: Removed.
14890 * math/s_cexpl.c: Removed.
14891 * math/s_clog10.c: Removed.
14892 * math/s_clog10f.c: Removed.
14893 * math/s_clog10l.c: Removed.
14894 * math/s_cpow.c: Removed.
14895 * math/s_cpowf.c: Removed.
14896 * math/s_cpowl.c: Removed.
14897 * math/s_clog.c: Removed.
14898 * math/s_clogf.c: Removed.
14899 * math/s_clogl.c: Removed.
14900 * math/s_cproj.c: Removed.
14901 * math/s_cprojf.c: Removed.
14902 * math/s_cprojl.c: Removed.
14903 * math/s_csqrt.c: Removed.
14904 * math/s_csqrtf.c: Removed.
14905 * math/s_csqrtl.c: Removed.
14906
14907 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14908 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14909 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14910 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14911 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14912 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14913
14914 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14915 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14916 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14917 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14918 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14919 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14920 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14921 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14922 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14923 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14924 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14925
14926 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14927 version.
14928
14929 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14930 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14931 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14932 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14933
14934 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14935
14936 * s_cexp_template.c: Copy of s_cexp.c.
14937 * s_clog_template.c: Copy of s_clog.c.
14938 * s_clog10_template.c: Copy of s_clog10.c.
14939 * s_cpow_template.c: Copy of s_cpow.c.
14940 * s_cproj_template.c: Copy of s_cproj.c.
14941 * s_csqrt_template.c: Copy of s_csqrt.c.
14942
14943 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14944
14945 [BZ #20517]
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14947 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14948 exported.
14949
14950 2016-08-29 Joseph Myers <joseph@codesourcery.com>
14951
14952 * math/fetestexceptflag.c: New file.
14953 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
14954 Stefan Liebler.
14955 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14956 (fetestexceptflag): New function declaration.
14957 * manual/arith.texi (fetestexceptflag): Document function.
14958 * math/Versions (fetestexceptflag): New libm symbol at version
14959 GLIBC_2.25.
14960 * math/Makefile (libm-support): Add fetestexceptflag.
14961 (tests): Add test-fetestexceptflag.
14962 * math/test-fetestexceptflag.c: New file.
14963 * sysdeps/nacl/libm.abilist: Update.
14964 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14977 Likewise.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14979 Likewise.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14981 Likewise.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14983 Likewise.
14984 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14990 Likewise.
14991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14992 Likewise.
14993 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14996
14997 2016-08-26 Florian Weimer <fweimer@redhat.com>
14998
14999 [BZ #20432]
15000 Avoid strong references to malloc-internal symbols when linking
15001 statically, to support statically interposed mallocs.
15002 * include/libc-symbols.h (call_function_static_weak): New macro.
15003 * malloc/Makefile (tests): Add tst-interpose-nothread,
15004 tst-interpose-thread, tst-interpose-static-nothread,
15005 tst-interpose-static-thread.
15006 (tests-static): Add tst-interpose-static-nothread,
15007 tst-interpose-static-thread.
15008 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
15009 tst-interpose-aux-thread.o.
15010 (test-extras): Add tst-interpose-aux-nothread,
15011 tst-interpose-aux-thread.
15012 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
15013 tst-interpose-aux-nothread.o.
15014 (tst-interpose-thread, tst-interpose-static-thread): Link with
15015 tst-interpose-aux-thread.o and libthread.
15016 * malloc/tst-interpose-aux-nothread.c: New file.
15017 * malloc/tst-interpose-aux-thread.c: Likewise.
15018 * malloc/tst-interpose-aux.c: Likewise.
15019 * malloc/tst-interpose-aux.h: Likewise.
15020 * malloc/tst-interpose-nothread.c: Likewise.
15021 * malloc/tst-interpose-skeleton.c: Likewise.
15022 * malloc/tst-interpose-static-nothread.c: Likewise.
15023 * malloc/tst-interpose-static-thread.c: Likewise.
15024 * malloc/tst-interpose-thread.c: Likewise.
15025 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
15026 * sysdeps/mach/hurd/fork.c (__fork): Only call
15027 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15028 __malloc_fork_unlock_child if defined.
15029 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15030
15031 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15032
15033 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
15034 timespec C99 designated initialization.
15035
15036 2016-08-26 Florian Weimer <fweimer@redhat.com>
15037
15038 [BZ #19946]
15039 Avoid expected SIGALRM signals.
15040 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
15041 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
15042 (xpthread_create, xpthread_detach, xpthread_join)
15043 (delayed_exit_thread, delayed_exit): New functions.
15044 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
15045 (tf): Use xpthread_cond_wait.
15046 (do_test): Likewise. Replace alarm with delayed_exit.
15047 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15048 (do_test): Call delayed_exit. Report failure.
15049 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15050 (do_test): Call delayed_exit.
15051 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15052 (do_test): Call delayed_exit. Use xpthread_join. Report error.
15053 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15054 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
15055 error.
15056 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15057 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
15058 error.
15059 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
15060 (do_test): Call delayed_exit.
15061 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
15062 (do_test): Call delayed_exit.
15063 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
15064 (do_test): Call delayed_exit instead of alarm. Use
15065 xpthread_mutex_lock.
15066 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
15067 (do_test): Call delayed_exit instead of alarm. Use
15068 xpthread_mutex_lock.
15069 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
15070 (do_test): Call delayed_exit instead of alarm.
15071 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
15072 (do_test): Call delayed_exit instead of alarm. Use
15073 xpthread_spin_lock.
15074 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
15075 (do_test): Call delayed_exit instead of alarm. Use
15076 xpthread_join.
15077
15078 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
15079
15080 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
15081 adjust CFA when allocating register save area on re-aligned
15082 stack.
15083
15084 2016-08-26 Florian Weimer <fweimer@redhat.com>
15085
15086 * string/tst-cmp.c: New test.
15087 * string/Makefile (tests): Add it.
15088
15089 2016-08-25 Mark Wielaard <mark@klomp.org>
15090
15091 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
15092 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
15093 (check_tree_recurse): Use newly defined accessors.
15094 (check_tree): Likewise.
15095 (maybe_split_for_insert): Likewise.
15096 (__tfind): Likewise.
15097 (__tdelete): Likewise.
15098 (trecurse): Likewise.
15099 (tdestroy_recurse): Likewise.
15100 (__tsearch): Likewise. And add asserts for malloc alignment.
15101 (__twalk): Cast root to node in case CHECK_TREE is defined.
15102
15103 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15104
15105 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
15106
15107 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15108
15109 * math/Makefile (libm-gen-calls): Add
15110 catan, catanh, ctan, ctanh.
15111 (libm-calls): Remove the above.
15112
15113 * math/s_catan_template.c: Update using type-generic macros.
15114 * math/s_catanh_template.c: Likewise.
15115 * math/s_ctan_template.c: Likewise.
15116 * math/s_ctanh_template.c: Likewise.
15117
15118 * math/s_catanf.c: Removed.
15119 * math/s_catan.c: Removed.
15120 * math/s_catanl.c: Removed.
15121 * math/s_catanhf.c: Removed.
15122 * math/s_catanh.c: Removed.
15123 * math/s_catanhl.c: Removed.
15124 * math/s_ctanf.c: Removed.
15125 * math/s_ctan.c: Removed.
15126 * math/s_ctanl.c: Removed.
15127 * math/s_ctanhf.c: Removed.
15128 * math/s_ctanh.c: Removed.
15129 * math/s_ctanhl.c: Removed.
15130
15131 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
15132 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
15133 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
15134 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
15135 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
15136 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
15137
15138 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
15139 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
15140 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
15141 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
15142
15143 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15144
15145 * s_catan_template.c: Copy of s_catan.c.
15146 * s_catanh_template.c: Copy of s_catanh.c.
15147 * s_ctan_template.c: Copy of s_ctan.c.
15148 * s_ctanh_template.c: Copy of s_ctanh.c.
15149
15150 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15151
15152 * math/Makefile (gen-libm-calls): Move
15153 casin, casinh, csin, csinh here.
15154 (libm-calls): Remove the above.
15155
15156 * math/s_casin_template.c: Update using type-generic macros.
15157 * math/s_casinh_template.c: Likewise.
15158 * math/s_csin_template.c: Likewise.
15159 * math/s_csinh_template.c: Likewise.
15160 * math/k_casinh_template.c: Likewise.
15161
15162 * math/s_casinf.c: Removed.
15163 * math/s_casin.c: Removed.
15164 * math/s_casinl.c: Removed.
15165 * math/s_casinh.c: Removed.
15166 * math/s_casinhf.c: Removed.
15167 * math/s_casinhl.c: Removed.
15168 * math/s_csin.c: Removed.
15169 * math/s_csinf.c: Removed.
15170 * math/s_csinl.c: Removed.
15171 * math/s_csinh.c: Removed.
15172 * math/s_csinhf.c: Removed.
15173 * math/s_csinhl.c: Removed.
15174 * math/k_casinh.c: Removed.
15175 * math/k_casinhf.c: Removed.
15176 * math/k_casinhl.c: Removed.
15177
15178 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
15179 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15180 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
15181 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
15182
15183 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
15184 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
15185 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
15186 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
15187 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
15188 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
15189 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
15190 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
15191
15192 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
15193 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
15194 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
15195 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
15196
15197 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
15198 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
15199 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
15200 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
15201
15202 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15203
15204 * s_casin_template.c: Copy of s_casin.c.
15205 * s_casinh_template.c: Copy of s_casinh.c.
15206 * s_csin_template.c: Copy of s_csin.c.
15207 * s_csinh_template.c: Copy of s_csinh.c.
15208 * k_casinh_template.c: Copy of k_casinh.c.
15209
15210 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
15211
15212 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15213
15214 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15215
15216 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15217 (mul_split) Remove, rename as mul_splitl, remove
15218 redundant float.h include, and include via mul_splitl.h
15219
15220 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15222 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15223 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15224 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15225
15226 * math/mul_splitl.h: New file.
15227
15228 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15229 Move into mul_split.h, and remove redundant float.h include.
15230
15231 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15234 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15235
15236 * math/mul_split.h: New file.
15237
15238 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15239
15240 * math/Makefile (libm-gen-calls): Move
15241 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15242 (libm-calls): Remove above.
15243
15244 * math/s_cacos_template.c: Update using type-generic macros.
15245 * math/s_cacosh_template.c: Likewise.
15246 * math/s_ccos_template.c: Likewise.
15247 * math/s_ccosh_template.c: Likewise.
15248
15249 * math/s_cacosf.c: Removed.
15250 * math/s_cacos.c: Removed.
15251 * math/s_cacosl.c: Removed.
15252 * math/s_cacoshf.c: Removed.
15253 * math/s_cacosh.c: Removed.
15254 * math/s_cacoshl.c: Removed.
15255 * math/s_ccosf.c: Removed.
15256 * math/s_ccos.c: Removed.
15257 * math/s_ccosl.c: Removed.
15258 * math/s_ccoshf.c: Removed.
15259 * math/s_ccosh.c: Removed.
15260 * math/s_ccoshl.c: Removed.
15261
15262 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15263 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15264 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15265 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15266 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15267 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15268
15269 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15270 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15271 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15272 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15273
15274 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15275 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15276 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15277 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15278
15279 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15280
15281 * s_cacos_template.c: Copy of s_cacos.c.
15282 * s_cacosh_template.c: Copy of s_cacosh.c.
15283 * s_ccos_template.c: Copy of s_ccos.c.
15284 * s_ccosh_template.c: Copy of s_ccosh.c.
15285
15286 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15287
15288 * stdlib/tst-strtod-round-skeleton.c:
15289 Refactored from tst-strtod-round.c.
15290
15291 (L_): New macro to apply literal modifier.
15292 (FNPFX): New macro to select str or wcs prefix.
15293 (CHAR): New macro to choose wchar_t or char.
15294 (STRM): New macro to choose printf for tested character type.
15295
15296 (STRTO): New macro to choose appropriate string -> real function.
15297 (FNPFXS): Stringitized version of FNPFX.
15298 (STR): Support for above macro.
15299 (STRX): Likewise.
15300
15301 (TEST): Update with above macros.
15302 (test): Likewise.
15303 (GEN_ONE_TEST): Likewise.
15304 (test_in_one_mode): Likewise.
15305
15306 * stdlib/tst-strtod-round.c: New file.
15307 * wcsmbs/tst-wcstod-round.c: New file.
15308
15309 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15310 (tst-wcstod-round): Add libm depencency for fesetround.
15311
15312 2016-08-19 Zack Weinberg <zackw@panix.com>
15313
15314 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15315
15316 2016-08-18 Torvald Riegel <triegel@redhat.com>
15317
15318 [BZ #20477]
15319 * resolv/res_hconf.c (do_init): Use atomic access.
15320 * resolv/res_hconf.h: Add comments.
15321 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15322 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15324
15325 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
15326
15327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15328 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15330 Likewise.
15331
15332 2016-08-18 Florian Weimer <fweimer@redhat.com>
15333
15334 [BZ #16907]
15335 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15336 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15337 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15338 (__attribute__): Remove definition.
15339
15340 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15341
15342 * sysdeps/ieee754/ldbl-128/e_asinl.c:
15343 Remove unused sqrtl declaration.
15344
15345 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15346
15347 * math/Makefile: (gen-libm-templates.stmp): New rule.
15348 (libm-calls): Move carg conj cimag and cabs into ...
15349 (gen-libm-calls): New variable.
15350 (generated): Inform Make objects from gen-libm-calls
15351 may be generated.
15352
15353 * sysdeps/generic/math-type-macros.h: New file.
15354 * sysdeps/generic/math-type-macros-float.h: Likewise.
15355 * sysdeps/generic/math-type-macros-double.h: Likewise.
15356 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15357 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15358 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15359
15360 * math/cabs.c: Refactor into
15361 * math/cabs_template.c: new file.
15362 * math/cabsf.c: Removed.
15363 * math/cabsl.c: Removed.
15364 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15365 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15366
15367 * math/carg.c: Refactor into
15368 * math/carg_template.c: new file.
15369 * math/cargf.c: Removed.
15370 * math/cargl.c: Removed.
15371 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15372 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15373
15374 * math/conj.c: Refactor into
15375 * math/conj_template.c: new file.
15376 * math/conjf.c: Removed.
15377 * math/conjl.c: Removed.
15378 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15379 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15380
15381 * math/cimag.c: Refactor into
15382 * math/cimag_template.c: new file.
15383 * math/cimagf.c: Removed.
15384 * math/cimagl.c: Removed.
15385 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15386 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15387
15388 * math/cimag.c: Refactor into
15389 * math/cimag_template.c: new file.
15390 * math/cimagf.c: Removed.
15391 * math/cimagl.c: Removed.
15392 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15393 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15394
15395 2016-08-17 Florian Weimer <fweimer@redhat.com>
15396
15397 Reduce time to expected nptl/tst-once5 failure.
15398 * nptl/tst-once5.cc (TIMEOUT): Define.
15399
15400 2016-08-17 Florian Weimer <fweimer@redhat.com>
15401
15402 [BZ #20452]
15403 Avoid additional copies of objects in libc.a in static libraries.
15404 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
15405 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
15406 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
15407 rt-sysdep.
15408 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
15409 Add nptl-sysdep.
15410 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
15411 Add ptw-sysdep.
15412 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
15413 rt-sysdep.
15414 * sysdeps/unix/sysv/linux/alpha/Makefile
15415 (libpthread-shared-only-routines): Add ptw-sysdep,
15416 ptw-sigprocmask, ptw-rt_sigaction.
15417 * sysdeps/unix/sysv/linux/ia64/Makefile
15418 (librt-shared-only-routines): Add rt-sysdep.
15419 * sysdeps/unix/sysv/linux/i386/Makefile
15420 (libpthread-shared-only-routines): Add libc-do-syscall.
15421 * sysdeps/unix/sysv/linux/microblaze/Makefile
15422 (libpthread-shared-only-routines): Add sysdep.
15423 * sysdeps/unix/sysv/linux/powerpc/Makefile
15424 (librt-shared-only-routines): Add rt-sysdep.
15425 (libpthread-shared-only-routines): Add sysdep.
15426 * sysdeps/unix/sysv/linux/s390/Makefile
15427 (librt-shared-only-routines): Add rt-sysdep.
15428 * sysdeps/unix/sysv/linux/sparc/Makefile
15429 (librt-shared-only-routines): Add rt-sysdep.
15430 (libpthread-shared-only-routines): Add sysdep.
15431 * sysdeps/unix/sysv/linux/tile/Makefile
15432 (libpthread-shared-only-routines): Likewise.
15433
15434 2016-08-16 Joseph Myers <joseph@codesourcery.com>
15435
15436 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
15437 Mask implicit bit out of unpacked value.
15438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
15439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
15440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
15441
15442 * sysdeps/sparc/fpu/fesetexcept.c: New file.
15443
15444 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
15445
15446 * sysdeps/s390/fpu/fesetexcept.c: New file.
15447
15448 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
15449 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
15450 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
15451
15452 * sysdeps/mips/fpu/fesetexcept.c: New file.
15453
15454 * sysdeps/m68k/fpu/fesetexcept.c: New file.
15455
15456 * sysdeps/ia64/fpu/fesetexcept.c: New file.
15457
15458 * sysdeps/hppa/fpu/fesetexcept.c: New file.
15459
15460 * sysdeps/arm/fesetexcept.c: New file.
15461
15462 * sysdeps/alpha/fpu/fesetexcept.c: New file.
15463
15464 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
15465
15466 * math/fesetexcept.c: New file.
15467 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
15468 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
15469 * math/fenv.h: Define
15470 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15471 <bits/libc-header-start.h> instead of including <features.h>.
15472 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
15473 declaration.
15474 * manual/arith.texi (fesetexcept): Document function.
15475 * math/Versions (fesetexcept): New libm symbol at version
15476 GLIBC_2.25.
15477 * math/Makefile (libm-support): Add fesetexcept.
15478 (tests): Add test-fesetexcept and test-fesetexcept-traps.
15479 * math/test-fesetexcept.c: New file.
15480 * math/test-fesetexcept-traps.c: Likewise.
15481 * sysdeps/nacl/libm.abilist: Update.
15482 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15488 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15489 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15490 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15495 Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15497 Likewise.
15498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15499 Likewise.
15500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15501 Likewise.
15502 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15508 Likewise.
15509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15510 Likewise.
15511 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15514
15515 2016-08-16 Florian Weimer <fweimer@redhat.com>
15516
15517 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
15518 New.
15519 (do_test): Apply default_stack_size_in_mb if not set.
15520 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
15521
15522 2016-08-15 Andreas Schwab <schwab@suse.de>
15523
15524 [BZ #20435]
15525 CVE-2016-6323
15526 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
15527 as .cantunwind.
15528
15529 2016-08-12 Joseph Myers <joseph@codesourcery.com>
15530
15531 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
15532 comment from fraiseexcpt.c.
15533
15534 * math/test-fexcept.c (feraiseexcept_exact): New function.
15535 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
15536 (test_except): Likewise.
15537
15538 2016-08-10 Joseph Myers <joseph@codesourcery.com>
15539
15540 [BZ #20455]
15541 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15542 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15543 to be restored.
15544
15545 * math/test-fexcept-traps.c: New file.
15546 * math/test-fexcept.c: Likewise.
15547 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15548 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15549 macro.
15550 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15551 (EXCEPTION_SET_FORCES_TRAP): Likewise.
15552
15553 2016-08-09 Torvald Riegel <triegel@redhat.com>
15554
15555 * include/atomic.h (atomic_fetch_and_relaxed,
15556 atomic_fetch_and_release, atomic_fetch_or_release,
15557 atomic_fetch_xor_release): New.
15558
15559 2016-08-06 Christian Seiler <christian@iwakd.de>
15560
15561 [BZ #20444]
15562 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15563 MACH_PORT_NULL.
15564
15565 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
15566
15567 * math/s_fdim.c: Avoid alias renamed.
15568 * math/s_fdimf.c: Likewise.
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15570 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15571 Add s_fdimf-vis3, s_fdim-vis3.
15572 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15573 (CFLAGS-s_fdim-vis3.c): Likewise.
15574 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15575 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15576
15577 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
15578
15579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15580 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15581 Remove s_fdimf-vis3, s_fdim-vis3.
15582 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15583 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15590 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15591 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15592
15593 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
15594
15595 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15596 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15597 -Wa,-Av9a -mvis.
15598
15599 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15600
15601 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15602 LIT() to individual constants in simple expressions
15603 after splitting on spaces.
15604 (_apply_lit): Rename replaced version, and use it to
15605 apply to what appears to be a token.
15606
15607 * math/libm-test.inc: Fix many, many issues with
15608 spacing.
15609
15610 2016-08-05 Joseph Myers <joseph@codesourcery.com>
15611
15612 * math/math.h: Move comment about <bits/mathdef.h> definitions
15613 above inclusion of <bits/mathdef.h>. Do not mention
15614 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15615
15616 2016-08-05 Torvald Riegel <triegel@redhat.com>
15617
15618 * include/atomic.h (atomic_exchange_relaxed): New.
15619
15620 2016-08-04 Joseph Myers <joseph@codesourcery.com>
15621
15622 * math/e_scalb.c: Do not include <fenv.h>.
15623 (invalid_fn): Do calculation resulting in NaN instead of raising
15624 FE_INVALID and returning a NaN explicitly.
15625 * math/e_scalbf.c: Do not include <fenv.h>.
15626 (invalid_fn): Do calculation resulting in NaN instead of raising
15627 FE_INVALID and returning a NaN explicitly.
15628 * math/e_scalbl.c: Do not include <fenv.h>.
15629 (invalid_fn): Do calculation resulting in NaN instead of raising
15630 FE_INVALID and returning a NaN explicitly.
15631
15632 2016-08-04 Carlos O'Donell <carlos@redhat.com>
15633
15634 * po/de.po: Updated from Translation Project.
15635 * po/fi.po: Likewise.
15636 * po/sv.po: Likewise.
15637
15638 2016-08-04 Florian Weimer <fweimer@redhat.com>
15639
15640 [BZ #20452]
15641 Use sysdep.o from libc.a in static libraries.
15642 * sysdeps/unix/sysv/linux/i386/Makefile
15643 (libpthread-shared-only-routines): Add sysdep.
15644 (librt-shared-only-routines): Likewise.
15645
15646 2016-08-03 Joseph Myers <joseph@codesourcery.com>
15647
15648 * math/tgmath.h (nextdown): Define if
15649 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15650 (nextup): Likewise.
15651
15652 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15653 macro.
15654 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15655 Document.
15656 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15657 Document macro.
15658 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15659 (exp10f): Likewise.
15660 (exp10l): Likewise.
15661 * math/bits/mathcalls.h (exp10): Declare if
15662 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15663
15664 * manual/arith.texi (nextup): Fix typo in last change.
15665
15666 2016-08-03 Zack Weinberg <zackw@panix.com>
15667
15668 [BZ #19239]
15669 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15670 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15671 define major, minor, and makedev to issue deprecation warnings on use.
15672 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15673 previously-activated deprecation warnings for these macros and prevent
15674 subsequent inclusions of this header from having any effect.
15675 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15676 including <sys/sysmacros.h>, and undefine it again afterward.
15677
15678 2016-08-03 Zack Weinberg <zackw@panix.com>
15679
15680 * sysdeps/generic/sys/sysmacros.h: Delete file.
15681 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15682 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15683 * bits/sysmacros.h: ... here; this encoding is now the generic
15684 encoding. Now defines only the following macros:
15685 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15686 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15687 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15688
15689 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15690 bits/sysmacros.h and the above new macros to generate the
15691 public implementations of major, minor, and makedev.
15692 * misc/tst-makedev.c: New test.
15693 * include/sys/sysmacros.h: New wrapper.
15694
15695 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15696 (routines): Add makedev.
15697 (tests): Add tst-makedev.
15698 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15699 gnu_dev_makedev.
15700 * posix/Makefile (headers): Remove sys/sysmacros.h.
15701 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15702
15703 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15704 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15705 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15706 * sysdeps/unix/sysv/linux/alpha/libc.abilist
15707 * sysdeps/unix/sysv/linux/arm/libc.abilist
15708 * sysdeps/unix/sysv/linux/hppa/libc.abilist
15709 * sysdeps/unix/sysv/linux/i386/libc.abilist
15710 * sysdeps/unix/sysv/linux/ia64/libc.abilist
15711 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15712 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15713 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15714 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15715 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15716 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15717 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15718 * sysdeps/unix/sysv/linux/nios2/libc.abilist
15719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15723 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15724 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15725 * sysdeps/unix/sysv/linux/sh/libc.abilist
15726 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15727 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15730 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15731 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15732 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15733 Add GLIBC_2.25.
15734
15735 * include/features.h (__glibc_clang_prereq): New macro.
15736 * misc/sys/cdefs.h (__glibc_clang_has_extension)
15737 (__attribute_deprecated_msg__): New macros.
15738
15739 2016-08-03 Joseph Myers <joseph@codesourcery.com>
15740
15741 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15742 macro.
15743 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15744 * manual/arith.texi (issignaling): Document as ISO from TS
15745 18661-1:2014.
15746 (nextup): Likewise.
15747 (nextupf): Likewise.
15748 (nextupl): Likewise.
15749 (nextdown): Likewise.
15750 (nextdownf): Likewise.
15751 (nextdownl): Likewise.
15752 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15753 macro.
15754 * math/math.h: Define
15755 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15756 <bits/libc-header-start.h> instead of including <features.h>.
15757 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15758 [__USE_GNU].
15759 * math/bits/mathcalls.h (nextdown): Declare if
15760 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15761 (nextup): Likewise.
15762 (__issignaling): Likewise.
15763
15764 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15765
15766 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15767 check, and remove __glibc_likely hint
15768 from FP_INFINITE check.
15769 * s_csinhf.c (__csinhf): Likewise.
15770
15771 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15772 hint from FP_INFINITE check.
15773 * s_csinhl.c (__csinhl): Likewise.
15774
15775 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15776
15777 * math/Makefile (libm-calls): Insert F placeholder into
15778 object names. Move w_lgamma_compat* routines into
15779 (libm-compat-calls): New variable.
15780 (libm-compat-calls-ldouble-yes): New variable.
15781 (calls): Insert F placeholder.
15782 (generated): Redefine using new type-foreach macro call.
15783 (routines): Likewise.
15784
15785 (types): New variable to hold a list of symbolic names
15786 for each type supported by the target machine.
15787 (libm-routines): Redefine using new types variable.
15788 (type-foreach): macro to replace fooF with the
15789 appropriately suffixed foo for each types.
15790
15791 (type-ldouble-suffix): New variable.
15792 (type-ldouble-routines): Likewise.
15793 (type-ldouble-yes): Likewise.
15794 (type-double-suffix): Likewise.
15795 (type-double-routines): Likewise.
15796 (type-float-suffix): Likewise.
15797 (type-float-routines): Likewise.
15798
15799 (dbl-only-routines): Remove.
15800 (long-c-yes): Likewise.
15801 (long-m-routines): Likewise.
15802 (long-m-support): Likewise.
15803 (long-m-yes): Likewise.
15804 (test-longdouble-yes): Likewise.
15805
15806 (test-float.o): Simplify by increasing the scope of the
15807 recipe which adds libm-test.stmp to the vector types.
15808 (test-ifloat.o): Likewise.
15809 (test-float-finite.o): Likewise.
15810 (test-double.o): Likewise
15811 (test-idouble.o): Likewise.
15812 (test-double-finite.o): Likewise.
15813 (test-ldouble.o): Likewise
15814 (test-ildoubl.o): Likewise.
15815 (test-ldouble-finite.o): Likewise.
15816
15817 (libm-tests): Redefine type tests using foreach and the
15818 list of types in types.
15819
15820 (CPPFLAGS-test-ildoubl.c): Rename to
15821 (CPPFLAGS-test-ildouble.c): New variable
15822
15823 * math/test-ildoubl.c: Rename to
15824 * math/test-ildouble.c: New file.
15825
15826 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15827
15828 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15829 Use fabsl instead of fabs.
15830 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15831 Likewise.
15832 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15833 Add long double suffix to constant to ensure proper
15834 promotion to long double.
15835
15836 2016-08-03 Tom Tromey <tom@tromey.com>
15837
15838 [BZ #20311]
15839 * nptl_db/Makefile (headers): Add proc_service.h.
15840 * nptl_db/proc_service.h: Add include guard. Use
15841 __BEGIN/__END_DECLS.
15842 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15843 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15844 arguments.
15845
15846
15847 2016-08-03 Florian Weimer <fweimer@redhat.com>
15848
15849 [BZ #17730]
15850 Avoid using memalign for TCB allocations.
15851 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15852 (_dl_allocate_tls_storage): Use malloc and manual alignment.
15853 Avoid alignment gap in the TLS_DTV_AT_TP case.
15854 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15855 determine the pointer to free.
15856 * nptl/tst-tls3-malloc.c: New test.
15857 * nptl/Makefile (tests): Add it.
15858 (tst-tls3-malloc): Link with libdl, libpthread.
15859 (LDFLAGS-tst-tls3-malloc): Set.
15860 (tst-tls3-malloc.out): Depend on DSO used in test.
15861
15862 2016-08-03 Florian Weimer <fweimer@redhat.com>
15863
15864 [BZ #17730]
15865 Avoid using memalign for TLS allocations.
15866 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
15867 is_static member with to_free member.
15868 (union dtv): Use struct dtv_pointer.
15869 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15870 dtv_pointer instead of is_static.
15871 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15872 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15873 instead of val.
15874 (allocate_dtv_entry): New function.
15875 (allocate_and_init): Return struct dtv_pointer. Call
15876 allocate_dtv_entry instead of __libc_memalign.
15877 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15878 instead of val.
15879 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15880 instead of is_static. Adjust call to allocate_and_init.
15881 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15882 struct dtv_pointer instead of val.
15883
15884 2016-08-03 Florian Weimer <fweimer@redhat.com>
15885
15886 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15887 (MALLOC_ALIGN_MASK): Move ...
15888 * malloc/malloc-internal.h: ... to here.
15889 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15890
15891 2016-08-03 Joseph Myers <joseph@codesourcery.com>
15892
15893 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15894 (UDP_ENCAP_GTP1U): Likewise.
15895
15896 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15897 (PF_MAX): Update value.
15898 (AF_QIPCRTR): New macro.
15899
15900 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
15901
15902 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15903 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15906 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15907 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15908 s_truncf-vis3, s_trunc-vis3.
15909 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15910 (CFLAGS-s_ceil-vis3.c): Likewise.
15911 (CFLAGS-s_floorf-vis3.c): Likewise.
15912 (CFLAGS-s_floor-vis3.c): Likewise.
15913 (CFLAGS-s_truncf-vis3.c): Likewise.
15914 (CFLAGS-s_trunc-vis3.c): Likewise.
15915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15923 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15924 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15925 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15926 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15927
15928 2016-08-02 David S. Miller <davem@davemloft.net>
15929
15930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15931 (__nearbyint_vis3): Don't check for sNaN before float register is
15932 loaded with the incoming argument.
15933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15934 (__nearbyintf_vis3): Likewise.
15935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15936 Likewise.
15937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15938 Likewise.
15939
15940 * string/test-strncmp.c (do_test_limit): Make sure the test data
15941 stream is aligned as required for the type "CHAR".
15942 (do_test): Likewise.
15943
15944 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
15945
15946 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15947 by beq instructions jumping to the end of the function.
15948 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15949 clobber list. Use "i" constraint instead of "X".
15950 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15951 of "X".
15952
15953 2016-08-02 Joseph Myers <joseph@codesourcery.com>
15954
15955 * bits/libc-header-start.h: New file.
15956 * Makefile (headers): Add bits/libc-header-start.h.
15957 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15958 (__GLIBC_USE): New macro.
15959 * libio/stdio.h: Define
15960 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15961 <bits/libc-header-start.h> instead of including <features.h>.
15962 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15963 (open_memstream): Likewise.
15964 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15965 (__asprintf): Likewise.
15966 (asprintf): Likewise.
15967 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15968 (getdelim): Likewise.
15969 (getline): Likewise.
15970 * string/string.h: Define
15971 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15972 <bits/libc-header-start.h> instead of including <features.h>.
15973 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15974 (strndup): Likewise.
15975 * wcsmbs/wchar.h: Define
15976 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15977 <bits/libc-header-start.h> instead of including <features.h>.
15978 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15979 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15980
15981 2016-08-02 Florian Weimer <fweimer@redhat.com>
15982
15983 Support linking against compatibility symbols, for use in tests.
15984 * include/libc-symbols.h (symbol_version_reference): New macro.
15985 (symbol_version): Use it.
15986 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15987 (compat_symbol): Use compat_symbol_reference.
15988 (compat_symbol_1, compat_symbol_2): Remove.
15989 (compat_symbol_reference, compat_symbol_reference_1)
15990 (compat_symbol_reference_2): New macro. Use
15991 symbol_version_reference.
15992
15993 2016-08-02 Florian Weimer <fweimer@redhat.com>
15994
15995 [BZ #19469]
15996 * malloc/Makefile (CPPFLAGS): Compile tests with
15997 -DTEST_NO_MALLOPT.
15998 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15999
16000 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
16001
16002 [BZ #20033]
16003 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
16004 finite version.
16005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
16006 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
16007 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
16008 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
16009 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
16010 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
16011 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
16012 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
16013 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
16014 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
16015 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
16016 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
16017 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
16018 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
16019 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
16020 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
16021 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
16022 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
16023 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
16024 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
16025 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
16026 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
16027 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
16028 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
16029 in zero power.
16030
16031 2016-08-02 Florian Weimer <fweimer@redhat.com>
16032
16033 [BZ #20370]
16034 * malloc/arena.c (get_free_list): Update comment. Assert that
16035 arenas on the free list have no attached threads.
16036 (remove_from_free_list): New function.
16037 (reused_arena): Call it.
16038
16039 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
16040
16041 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
16042 when it is a NaN.
16043 [_IEEE_FP_INEXACT] Remove.
16044 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
16045 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
16046 when it is a NaN.
16047 [_IEEE_FP_INEXACT] Remove.
16048 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
16049 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
16050 when it is a NaN.
16051 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
16052 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
16053 when its absolute value is greater than 0x1.0p52.
16054 [_IEEE_FP_INEXACT] Remove.
16055 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
16056 when its absolute value is greater than 0x1.0p23.
16057 [_IEEE_FP_INEXACT] Remove.
16058
16059 2016-08-01 Carlos O'Donell <carlos@redhat.com>
16060
16061 * version.h (RELEASE): Set to "development"
16062 (VERSION): Set to 2.24.90.
16063 * NEWS: Add 2.25 section.
16064
16065 * version.h (RELEASE): Set to "stable"
16066 (VERSION): Set to 2.24.
16067 * include/features.h (__GLIBC_MINOR__): Set to 24.
16068
16069 * NEWS: Add 2.24 fixed bugs.
16070 * po/libc.pot: Regenerate.
16071
16072 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
16073
16074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16075 [$(subdir) = math] (libm-sysdep_routines): Remove.
16076 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16077 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16078 s_truncf-vis3, s_trunc-vis3.
16079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
16081 file.
16082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
16083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
16084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
16088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
16089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
16091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
16092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
16093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
16094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
16095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
16096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
16097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
16101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
16102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
16103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
16104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
16110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
16113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16115 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
16116 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
16117 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
16118 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
16119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16121 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
16122 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
16123 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
16124 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
16125
16126 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
16127
16128 [BZ #20384]
16129 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
16130 test-double-libmvec-sincos-avx-main.o,
16131 test-double-libmvec-sincos-avx2-main.o,
16132 test-double-libmvec-sincos-main.o,
16133 test-float-libmvec-sincosf-avx-main.o,
16134 test-float-libmvec-sincosf-avx2-main.o and
16135 test-float-libmvec-sincosf-main.o.
16136 test-float-libmvec-sincosf-avx512-main.o.
16137 ($(objpfx)test-double-libmvec-sincos): Also link with
16138 $(objpfx)test-double-libmvec-sincos-main.o.
16139 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
16140 $(objpfx)test-double-libmvec-sincos-avx-main.o.
16141 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
16142 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
16143 ($(objpfx)test-float-libmvec-sincosf): Also link with
16144 $(objpfx)test-float-libmvec-sincosf-main.o.
16145 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
16146 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
16147 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
16148 test-double-libmvec-sincos-avx512-main.o and
16149 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
16150 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
16151 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
16152 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
16153 (CFLAGS-test-double-libmvec-sincos.c): Removed.
16154 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
16155 (CFLAGS-test-double-libmvec-sincos-main.c): New.
16156 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
16157 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
16158 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
16159 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
16160 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
16161 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
16162 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
16163 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
16164 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
16165 -DREQUIRE_AVX2.
16166 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
16167 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
16168 -DREQUIRE_AVX512F.
16169 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
16170 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
16171 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16172 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
16173 file.
16174 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
16175 Likewise.
16176 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
16177 Likewise.
16178 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
16179 Likewise.
16180 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
16181 Likewise.
16182 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
16183 Likewise.
16184 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
16185 Likewise.
16186 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
16187 Likewise.
16188
16189 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
16190
16191 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
16192
16193 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
16194
16195 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
16196 and typo in a comment about AT_HWCAP entry.
16197
16198 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16199
16200 * sysdeps/aarch64/libm-test-ulps: Updated.
16201
16202 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16203
16204 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
16205 of r13 as it is not restored in mvcle case.
16206
16207 2016-07-19 Mike Frysinger <vapier@gentoo.org>
16208
16209 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
16210 Rename "ret" to "__ret".
16211 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16212 inline_syscall5, inline_syscall6): Likewise.
16213
16214 2016-07-19 Will Newton <will.newton@gmail.com>
16215
16216 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16217 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16218 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16219 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16220 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16221
16222 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
16223
16224 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16225 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16226 -mfpmath=387 with $(rtld-CFLAGS).
16227 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16228 $(rtld-CFLAGS).
16229
16230 2016-07-18 Ross Burton <ross.burton@intel.com>
16231 Khem Raj <raj.khem@gmail.com>
16232
16233 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16234 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16235 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16236 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16237 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16238 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16239 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16240 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16241 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16242 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16243 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16244 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16245 R_METAG_TLS_DTPOFF): New.
16246
16247 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
16248 Matt Clay <mclay@lycos.com>
16249
16250 [BZ #20357]
16251 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16252 to call __mpsin/__mpcos and to negate values.
16253 * math/auto-libm-test-in: Add test.
16254 * math/auto-libm-test-out: Regenerate.
16255
16256 2016-07-18 Zack Weinberg <zackw@panix.com>
16257
16258 * grp/Makefile: Don't install the internal header grp-merge.h.
16259
16260 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16261
16262 * sysdeps/aarch64/libm-test-ulps: Regenerated.
16263
16264 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16265
16266 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16267
16268 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16269
16270 [BZ #15368]
16271 * sysdeps/unix/sysv/linux/nptl-signals.h
16272 (__nptl_clear_internal_signals): New function.
16273 (__libc_signal_block_all): Likewise.
16274 (__libc_signal_block_app): Likewise.
16275 (__libc_signal_restore_set): Likewise.
16276 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16277 implementation.
16278 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16279 the cached pid/tid value in pthread structure.
16280
16281 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
16282
16283 [BZ #20347]
16284 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16285
16286 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
16287
16288 [BZ #20348]
16289 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16290 preadv64, pwrite64 and pwritev64.
16291
16292 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
16293
16294 [BZ #20350]
16295 * posix/tst-preadwrite.c: Renamed to ...
16296 * posix/tst-preadwrite-common.c: This.
16297 (PREAD): Removed.
16298 (PWRITE): Likewise.
16299 (STRINGIFY): Likewise.
16300 (STRINGIFY2): Likewise.
16301 (do_prepare): Make it static and remove function arguments.
16302 (do_test): Likewise.
16303 (PREPARE): Updated.
16304 (TEST_FUNCTION): New.
16305 (name): Make it static.
16306 (fd): Likewise.
16307 (do_prepare): Use create_temp_file.
16308 (do_test): Renamed to ...
16309 (do_test_with_offset): This. Make it static and accept offset.
16310 Properly check return value of PWRITE and PREAD. Return bytes
16311 read. Don't close fd nor unlink name.
16312 * posix/tst-preadwrite.c: Rewrite.
16313 * posix/tst-preadwrite64.c: Likewise.
16314
16315 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
16316
16317 [BZ #20309]
16318 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16319 -mtls-dialect=gnu2 works.
16320 * configure: Regenerated.
16321 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16322 (tests): Add tst-gnu2-tls1.
16323 (modules-names): Add tst-gnu2-tls1mod.
16324 ($(objpfx)tst-gnu2-tls1): New.
16325 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16326 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16327 * elf/tst-gnu2-tls1.c: New file.
16328 * elf/tst-gnu2-tls1mod.c: Likewise.
16329 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16330 bytes for push in the PLT entry to align the stack.
16331
16332 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
16333
16334 [BZ #20349]
16335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16336
16337 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
16338
16339 [BZ #18707]
16340 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16341 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16342
16343 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16344
16345 * sysdeps/unix/sysv/linux/sysdep.h
16346 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16347 guards.
16348 * misc/tst-preadvwritev-common.c: New file.
16349 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16350 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16351 a check for files larger than 2GB.
16352
16353 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16354 (__ASSUME_OFF_DIFF_OFF64): Remove define.
16355 * sysdeps/unix/sysv/linux/pread.c
16356 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16357 __OFF_T_MATCHES_OFF64_T.
16358 * sysdeps/unix/sysv/linux/pread64.c
16359 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16360 * sysdeps/unix/sysv/linux/preadv.c
16361 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16362 * sysdeps/unix/sysv/linux/preadv64.c
16363 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16364 * sysdeps/unix/sysv/linux/pwrite.c
16365 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16366 * sysdeps/unix/sysv/linux/pwrite64.c
16367 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16368 * sysdeps/unix/sysv/linux/pwritev.c
16369 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16370 * sysdeps/unix/sysv/linux/pwritev64.c
16371 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16372
16373 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
16374
16375 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16376 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16377
16378 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
16379
16380 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16381
16382 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
16383
16384 [BZ #20240]
16385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16386 (CFLAGS-s_modf-ppc32.c): New variable.
16387 (CFLAGS-s_modff-ppc32.c): Likewise.
16388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16389 (CFLAGS-s_modf-ppc64.c): Likewise.
16390 (CFLAGS-s_modff-ppc64.c): Likewise.
16391
16392 2016-07-07 Andreas Schwab <schwab@suse.de>
16393
16394 [BZ #20263]
16395 * nptl/tst-robust10.c: New test.
16396 * nptl/Makefile (tests): Add tst-robust10.
16397
16398 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
16399
16400 [BZ #20263]
16401 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
16402
16403 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
16404
16405 * sysdeps/s390/linkmap.h (struct link_map_machine):
16406 Remove member gotplt and add member jmprel.
16407 * sysdeps/s390/s390-32/dl-machine.h
16408 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
16409 instead of gotplt with &got[3].
16410 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
16411 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16412
16413 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
16414
16415 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
16416
16417 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16418
16419 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
16420 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
16421 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16422 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
16423 * libio/vtables.c (_IO_vtable_check)
16424 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16425 * libio/libioP.h (IO_set_accept_foreign_vtables)
16426 [!PTR_MANGLE]: Do not call PTR_MANGLE.
16427
16428 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
16429
16430 [BZ #20314]
16431 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
16432 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
16433 $(common-objpfx)cmath.
16434 ($(common-objpfx)cstdlib): New target.
16435 ($(common-objpfx)cmath): Likewise.
16436
16437 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
16438
16439 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
16440
16441 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16442
16443 [BZ #20327]
16444 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
16445 are not part of the string.
16446
16447 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16448
16449 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
16450 * nptl/tst-cancel4-common.h (fifoname): New variable.
16451 (fifofd): Likewise.
16452 (cl_fifo): New function.
16453 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
16454 SIGINT.
16455 (tf_open): Add early cancel test.
16456
16457 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
16458
16459 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
16460
16461 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
16462
16463 * sysdeps/generic/ldsodefs.h
16464 (dl_symbol_visibility_binds_local_p): New inline function.
16465 * elf/dl-addr.c (determine_info): Treat hidden and internal
16466 symbols as local.
16467 * elf/dl-lookup.c (do_lookup_x): Likewise.
16468 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
16469
16470 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
16471
16472 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
16473 invalid exception for a sNaN input.
16474 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16475 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16476 (__nearbyint_vis3): Likewise
16477 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16478 (__nearbyintf_vis3): Likewise
16479 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
16480 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16481 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
16482 Likewise.
16483 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
16484 Likewise.
16485
16486 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
16487
16488 [BZ #20139]
16489 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
16490 (HAVE_AVX512DQ_ASM_SUPPORT): This.
16491 * sysdeps/x86_64/configure.ac: Require assembler from binutils
16492 2.24 or above.
16493 (HAVE_AVX512_ASM_SUPPORT): Removed.
16494 (HAVE_AVX512DQ_ASM_SUPPORT): New.
16495 * sysdeps/x86_64/configure: Regenerated.
16496 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
16497 check unconditional.
16498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16499 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16500 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16501 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
16502 Likewise.
16503 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16504 Likewise.
16505 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16506 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16507 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16509 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16510 Likewise.
16511 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16512 Likewise.
16513 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16514 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16515 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
16516 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
16517 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
16518 Likewise.
16519 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
16520 Likewise.
16521 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
16522 Likewise.
16523 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
16524 Likewise.
16525 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
16526 Likewise.
16527 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
16528 Likewise.
16529 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
16530 Likewise.
16531 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
16532 Likewise.
16533 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
16534 Likewise.
16535 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
16536 Likewise.
16537 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
16538 Likewise.
16539
16540 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
16541
16542 [BZ #20024]
16543 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16544 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16545 of this implementation of vector function.
16546 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16547 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16548 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16549 Likewise.
16550 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16551 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16552 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16553 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16554 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16555 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16556 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16557 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16558 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16559 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16560 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16561 for testing vector sincos with fixed ABI.
16562 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16563 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16564 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16565 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16566 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16567 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16568 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16569 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16570 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16571 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16572 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16573 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16574 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16575 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16576 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16577 * sysdeps/x86_64/fpu/Makefile: Added new tests.
16578
16579 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
16580
16581 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16582
16583 2016-06-30 Anton Blanchard <anton@samba.org>
16584
16585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16586 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16587 s_sinf-ppc64.
16588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16591 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16592
16593 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16594
16595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16597 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16598 e_expf-ppc64.
16599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16601 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16602 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16603
16604 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
16605
16606 [BZ #20277]
16607 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16608 when SHARED is defined.
16609
16610 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
16611
16612 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16613 (index_arch_Prefer_ERMS): Likewise.
16614 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16615 __memcpy_erms for Prefer_ERMS.
16616 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16617 (__memmove_erms): Enabled for libc.a.
16618 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16619 __memmove_erms or Prefer_ERMS.
16620 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16621 __mempcpy_erms for Prefer_ERMS.
16622 * sysdeps/x86_64/multiarch/memset.S (memset): Return
16623 __memset_erms for Prefer_ERMS.
16624
16625 2016-06-30 Andreas Schwab <schwab@suse.de>
16626
16627 [BZ #20262]
16628 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16629 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
16630 of memory.
16631
16632 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
16633
16634 [BZ #18645]
16635 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16636 (test-extras): Add tst-cleanupx4aux.
16637 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
16638 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16639 tst-cleanupx4aux.o.
16640 * nptl/tst-cleanupx4aux.c: New file.
16641
16642 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
16643
16644 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16645
16646 2016-06-29 Andreas Schwab <schwab@suse.de>
16647
16648 [BZ #20260]
16649 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16650 address before the beginning of the string as an integer to avoid
16651 array-bounds warning.
16652
16653 2016-06-28 Richard Henderson <rth@redhat.com>
16654
16655 * elf/elf.h (EM_BPF): New.
16656 (EM_NUM): Update.
16657 (R_BPF_NONE, R_BPF_MAP_FD): New.
16658
16659 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16660 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16661 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16662 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16663 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16664 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16665 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16666 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16667 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16668 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16669 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16670 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16671 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16672 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16673 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16674 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16675 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16676 (EM_NUM): Update.
16677
16678 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
16679
16680 [BZ #18960]
16681 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16682 Set _nl_current_LC_CATEGORY_used to two instead of one.
16683
16684 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
16685
16686 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16687 (do_test): ... this.
16688 (TEST_FUNCTION): New macro.
16689 Include test-skeleton.c.
16690 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16691 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16692
16693 2016-06-27 Joseph Myers <joseph@codesourcery.com>
16694
16695 [BZ #15479]
16696 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16697 floating-point environment rather than just control word.
16698 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16699 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16700 floating-point environment, with "invalid" exceptions merged in,
16701 rather than just control word.
16702 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16703 * math/libm-test.inc (trunc_test_data): Do not allow spurious
16704 "inexact" exceptions.
16705
16706 [BZ #15479]
16707 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16708 floating-point environment rather than just control word.
16709 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16710 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16711 floating-point environment, with "invalid" exceptions merged in,
16712 rather than just control word.
16713 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16714 * math/libm-test.inc (floor_test_data): Do not allow spurious
16715 "inexact" exceptions.
16716
16717 [BZ #15479]
16718 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16719 floating-point environment rather than just control word.
16720 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16721 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16722 floating-point environment, with "invalid" exceptions merged in,
16723 rather than just control word.
16724 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16725 * math/libm-test.inc (ceil_test_data): Do not allow spurious
16726 "inexact" exceptions.
16727
16728 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
16729
16730 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16731 __libc_vfork.
16732 (__vfork) [IS_IN (libc)]: Remove alias.
16733 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16734 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16735 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16736
16737 2016-06-24 Torvald Riegel <triegel@redhat.com>
16738
16739 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16740 of atomic_compare_and_exchange_bool_rel.
16741 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16742 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16743 catomic_compare_and_exchange_bool_rel): Remove.
16744 * sysdeps/aarch64/atomic-machine.h
16745 (atomic_compare_and_exchange_bool_rel): Likewise.
16746 * sysdeps/alpha/atomic-machine.h
16747 (atomic_compare_and_exchange_bool_rel): Likewise.
16748 * sysdeps/arm/atomic-machine.h
16749 (atomic_compare_and_exchange_bool_rel): Likewise.
16750 * sysdeps/mips/atomic-machine.h
16751 (atomic_compare_and_exchange_bool_rel): Likewise.
16752 * sysdeps/microblaze/atomic-machine.h
16753 ( __arch_compare_and_exchange_bool_8_rel,
16754 __arch_compare_and_exchange_bool_16_rel): Likewise.
16755 * sysdeps/powerpc/atomic-machine.h
16756 ( __arch_compare_and_exchange_bool_8_rel,
16757 __arch_compare_and_exchange_bool_16_rel): Likewise.
16758 * sysdeps/powerpc/powerpc32/atomic-machine.h
16759 ( __arch_compare_and_exchange_bool_32_rel,
16760 __arch_compare_and_exchange_bool_64_rel): Likewise.
16761 * sysdeps/powerpc/powerpc64/atomic-machine.h
16762 ( __arch_compare_and_exchange_bool_32_rel,
16763 __arch_compare_and_exchange_bool_64_rel): Likewise.
16764 * sysdeps/tile/atomic-machine.h
16765 (atomic_compare_and_exchange_bool_rel): Likewise.
16766
16767 2016-06-23 Joseph Myers <joseph@codesourcery.com>
16768
16769 [BZ #20296]
16770 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16771 when either argument is a NaN.
16772 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16773 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16774
16775 * math/libm-test.inc (snan_value_ld): New macro.
16776 (isgreater_test_data): Add sNaN tests.
16777 (isgreaterequal_test_data): Likewise.
16778 (isless_test_data): Likewise.
16779 (islessequal_test_data): Likewise.
16780 (islessgreater_test_data): Likewise.
16781 (isunordered_test_data): Likewise.
16782 (nextafter_test_data): Likewise.
16783 (nexttoward_test_data): Likewise.
16784 (remainder_test_data): Likewise.
16785 (remquo_test_data): Likewise.
16786 (significand_test_data): Likewise.
16787 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16788
16789 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
16790
16791 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16792 environment macros are defined.
16793 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16794
16795 2016-06-23 Florian Weimer <fweimer@redhat.com>
16796
16797 [BZ #20191]
16798 Implement vtable verification in libio.
16799 * Makerules (shlib.lds): Place __libc_IO_vtables section.
16800 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16801 * debug/vdprintf_chk.c (__vdprintf_chk): Call
16802 _IO_new_file_init_internal instead of _IO_file_init.
16803 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16804 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16805 * libio/Makefile (routines): Add vtables.
16806 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16807 (_IO_init): Remove, not for internal use.
16808 (_IO_init_internal): Declare, internal replacement for _IO_init.
16809 (_IO_file_init): Remove, not for internal use.
16810 (_IO_new_file_init): Remove, not for internal use.
16811 (_IO_new_file_init_internal): Declare, internal replacement for
16812 _IO_new_file_init.
16813 (_IO_old_file_init): Remove, not for internal use.
16814 (_IO_old_file_init_internal): Declare, internal replacement for
16815 _IO_old_file_init.
16816 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16817 internal use.
16818 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16819 Declare.
16820 (libio_vtable): New macro.
16821 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16822 functions.
16823 * libio/fileops.c (_IO_new_file_init_internal): Rename from
16824 _IO_new_file_init.
16825 (_IO_new_file_init): New externally visible wrapper which disables
16826 vtable verification.
16827 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16828 Define as vtables.
16829 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16830 (_IO_init): New externally visible wrapper which disables
16831 vtable verification.
16832 * libio/iofdopen.c (_IO_new_fdopen): Call
16833 _IO_new_file_init_internal instead of _IO_file_init. Adjust
16834 comment.
16835 * libio/iofopen.c (__fopen_internal): Call
16836 _IO_new_file_init_internal instead of _IO_file_init.
16837 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16838 Define as vtables.
16839 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16840 _IO_new_file_init_internal instead of _IO_file_init.
16841 * libio/iopopen.c (_IO_new_popen): Likewise.
16842 (_IO_proc_jumps): Define as vtable.
16843 * libio/iovdprintf.c (_IO_vdprintf): Call
16844 _IO_new_file_init_internal instead of _IO_file_init.
16845 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16846 (__open_memstream): Call _IO_init_internal instead of _IO_init.
16847 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16848 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16849 _IO_old_file_init.
16850 (_IO_old_file_init): New externally visible wrapper which disables
16851 vtable verification.
16852 (_IO_old_file_jumps): Define as vtable.
16853 * libio/oldiofdopen.c (_IO_old_fdopen): Call
16854 _IO_old_file_init_internal instead of _IO_old_file_init.
16855 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16856 * libio/oldiopopen.c (_IO_old_popen): Likewise.
16857 (_IO_old_proc_jumps): Define as vtable.
16858 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16859 Define as vtables.
16860 * libio/vtables.c: New file.
16861 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16862 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16863 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16864 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16865 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16866 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16867 instead of _IO_init.
16868
16869 2016-06-23 Florian Weimer <fweimer@redhat.com>
16870
16871 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16872
16873 2016-06-23 Florian Weimer <fweimer@redhat.com>
16874
16875 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16876 potentially unused.
16877
16878 2016-06-22 Florian Weimer <fweimer@redhat.com>
16879
16880 * test-skeleton.c (write_message): New function.
16881 * malloc/tst-mallocfork2.c (write_message): Remove.
16882 * debug/tst-longjmp_chk2.c (write_indented): New function.
16883 (write_message): Remove.
16884 (stackoverflow_handler): Call write_indented.
16885
16886 2016-06-22 Joseph Myers <joseph@codesourcery.com>
16887
16888 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16889 "inexact" exceptions after fnstenv.
16890 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16891 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16892 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16893
16894 2015-06-22 Zack Weinberg <zackw@panix.com>
16895
16896 * sysdeps/generic/bits/hwcap.h: Moved to ...
16897 * bits/hwcap.h: Here.
16898
16899 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
16900
16901 * sysdeps/aarch64/memcpy.S (memcpy):
16902 Further tuning for performance.
16903
16904 2016-06-21 Florian Weimer <fweimer@redhat.com>
16905
16906 [BZ #20284]
16907 * malloc/arena.c (reused_arena): Do not return NULL if we start
16908 out with a non-corrupted arena.
16909
16910 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16911
16912 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16913 * misc/tst-preadvwritev.c: New file.
16914 * misc/tst-preadvwritev64.c: Likewise.
16915 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16916 usage.
16917 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16918 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16919 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16920 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16921
16922 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
16923
16924 [BZ #19654]
16925 * sysdeps/x86_64/fpu/Makefile: Added new tests.
16926 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16927 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16928 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16929 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16930 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16931 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16932 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16933 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16934 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16935 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16936 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16937 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16938 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16939 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16940 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16941 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16942 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16943 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16944 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16945 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16946 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16947 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16948 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16949 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16950 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16951
16952 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
16953
16954 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16955 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16956
16957 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
16958
16959 * sysdeps/aarch64/memcpy.S (memcpy):
16960 Rewrite of optimized memcpy and memmove.
16961 * sysdeps/aarch64/memmove.S (memmove): Remove
16962 memmove code (merged into memcpy.S).
16963
16964 2016-06-20 Florian Weimer <fweimer@redhat.com>
16965
16966 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16967 * sysdeps/generic/dl-dtv.h: New file.
16968 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16969 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16970 (dtv_t): Remove.
16971 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16972 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16973 (dtv_t): Remove.
16974 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16975 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16976 (dtv_t): Remove.
16977 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16978 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16979 (dtv_t): Remove.
16980 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16981 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16982 (dtv_t): Remove.
16983 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16984 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16985 (dtv_t): Remove.
16986 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16987 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16988 (dtv_t): Remove.
16989 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16990 (dtv_t): Remove.
16991 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16992 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16993 (dtv_t): Remove.
16994 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16995 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16996 (dtv_t): Remove.
16997 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16998 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16999 (dtv_t): Remove.
17000 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17001 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
17002 (dtv_t): Remove.
17003 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17004 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
17005 (dtv_t): Remove.
17006 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17007 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
17008 (dtv_t): Remove.
17009 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17010 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
17011 (dtv_t): Remove.
17012 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17013 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
17014 (dtv_t): Remove.
17015
17016 2016-06-20 Florian Weimer <fweimer@redhat.com>
17017
17018 Revert symbol poisoning of __malloc_initialize_hook.
17019 * include/stdc-predef.h (__malloc_initialize_hook): Remove
17020 poisoning.
17021 * malloc/Makefile: Remove un-poisoning.
17022 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
17023 instead of old__malloc_initialize_hook.
17024 * malloc/malloc-hooks.h: Likewise.
17025 * malloc/malloc.c: Likewise.
17026 * malloc/mcheck-init.c: Likewise.
17027
17028 2016-06-19 Carlos O'Donell <carlos@redhat.com>
17029
17030 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
17031
17032 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
17033
17034 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
17035 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
17036 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17037 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17038
17039 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17040
17041 * NEWS: Mention addition of nextup and nextdown.
17042 * manual/arith.texi: Document nextup and nextdown.
17043 * manual/libm-err-tab.pl: Add nextup and nextdown.
17044 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
17045 * math/Versions (libm): Add GLIBC_2.24.
17046 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
17047 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17048 Add new test.
17049 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
17050 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
17051 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
17052 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
17053 (nextup_test_data): Likewise.
17054 (nextdown_test_data): Likewise.
17055 * math/s_nextdown.c: New file.
17056 * math/s_nextdownf.c: Likewise.
17057 * math/s_nextdownl.c: Likewise.
17058 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
17059 F(nextup): New function.
17060 F(nextdown): Likewise.
17061 * math/tgmath.h: Add nextup and nextdown.
17062 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
17063 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
17064 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
17068 Add nextup and nextdown.
17069 (CFLAGS-nldbl-nextup.c): New variable.
17070 (CFLAGS-nldbl-nextdown.c): Likewise.
17071 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
17072 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
17073 * sysdeps/nacl/libm.abilist: Update.
17074 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17075 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17077 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17078 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17079 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17080 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17081 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17082 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17083 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17088 Likewise.
17089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17092 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17093 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17094 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17095 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
17097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
17098 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17099 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17100 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17101 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17102
17103 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17104
17105 * manual/pattern.texi: Fix typos & grammar errors.
17106
17107 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17108
17109 * manual/search.texi: Fix typos & grammar errors.
17110
17111 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17112
17113 * manual/message.texi: Fix typos & grammar errors.
17114
17115 2016-06-16 Mike Frysinger <vapier@gentoo.org>
17116
17117 * manual/contrib.texi: Fix spelling typos.
17118 * manual/crypt.texi: Likewise.
17119 * manual/filesys.texi: Likewise.
17120 * manual/locale.texi: Likewise.
17121 * manual/message.texi: Likewise.
17122 * manual/nss.texi: Likewise.
17123 * manual/string.texi: Likewise.
17124
17125 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17126
17127 * manual/locale.texi: Fix typos & grammar errors.
17128
17129 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17130
17131 * manual/charset.texi: Fix typos & grammar errors.
17132
17133 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17134
17135 * manual/string.texi: Fix typos.
17136
17137 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17138
17139 * manual/ctype.texi: Fix typos.
17140
17141 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
17142
17143 * manual/memory.texi: Fix various typos & grammar errors.
17144
17145 2016-06-14 Joseph Myers <joseph@codesourcery.com>
17146
17147 [BZ #20255]
17148 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
17149 * math/libm-test.inc (fdim_test_data): Add another test.
17150
17151 [BZ #6796]
17152 [BZ #20255]
17153 [BZ #20256]
17154 * math/s_fdim.c: Include <math_private.h>.
17155 (__fdim): Use math_narrow_eval on result.
17156 * math/s_fdimf.c: Include <math_private.h>.
17157 (__fdimf): Use math_narrow_eval on result.
17158 * sysdeps/i386/fpu/s_fdim.S: Remove file.
17159 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
17160 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17161 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
17162 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
17163 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
17164 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
17165 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
17166 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
17167 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
17168 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
17169 * math/libm-test.inc (fdim_test_data): Expect errno setting on
17170 overflow. Add sNaN tests.
17171
17172 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
17173 fpclassify.
17174 * math/s_fdimf.c (__fdimf): Likewise.
17175 * math/s_fdiml.c (__fdiml): Likewise.
17176
17177 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17178
17179 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17180 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
17181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17182 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17183 ifunc'ed strcasecmp/strncasecmp.
17184 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
17185 [EALIGN]: Removed.
17186 [END]: Likewise.
17187 [__strcasecmp]: Define instead of the above to control symbol name.
17188 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
17189 for __strcasecmp_power8.
17190 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
17191 for __strncasecmp_power8.
17192 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
17193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
17194 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
17195 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
17196 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
17197 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
17198
17199 2016-06-13 Joseph Myers <joseph@codesourcery.com>
17200
17201 [BZ #20252]
17202 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
17203 arguments when second argument is a NaN.
17204 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
17205 qNaN tests.
17206
17207 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
17208 (conj_test_data): Likewise.
17209 (copysign_test_data): Likewise.
17210 (creal_test_data): Likewise.
17211 (fma_test_data): Likewise.
17212 (fmod_test_data): Likewise.
17213
17214 [BZ #20250]
17215 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17216 itself.
17217 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17218 zero input to itself.
17219 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17220 Likewise.
17221 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17223 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17224 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17225 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17226
17227 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17228
17229 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17230 * nptl/tst-cancel4-common.c: New file.
17231 * nptl/tst-cancel4-common.h: Likewise.
17232 * nptl/tst-cancel4.c: Move common definitions to
17233 tst-cancel4-common.{c,h} file.
17234 * nptl/tst-cancel4_1.c: New test.
17235 * nptl/tst-cancel4_2.c: New test.
17236
17237 2016-06-13 Florian Weimer <fweimer@redhat.com>
17238
17239 [BZ #20248]
17240 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17241 (write_message): New function.
17242 (stackoverflow_handler): Call it instead of printf, to avoid
17243 excessive stack usage by printf.
17244 (do_test): Restore SIGSEGV, SIGBUS default handlers.
17245
17246 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17247
17248 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17249 (prio_inherit_missing): Remove define.
17250 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17251 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17252 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17253 Likewise.
17254 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17255 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17256 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17257 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17258 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17259 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17260
17261 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17262
17263 [BZ #19670]
17264 [BZ #19672]
17265
17266 * io/test-lfs.c (do_prepare): Use xmalloc.
17267 * io/tst-fcntl.c (do_prepare): Likewise.
17268 * libio/tst-fopenloc.c (do_bz17916): Likewise.
17269 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17270 * login/tst-utmp.c (do_prepare): Likewise.
17271 * posix/tst-exec.c (do_prepare): Likewise.
17272 * posix/tst-pathconf.c (prepare): Likewise.
17273 * posix/tst-spawn.c (do_prepare): Likewise.
17274 * posix/tst-truncate.c (do_prepare): Likewise.
17275 * rt/tst-aio.c (do_prepare): Likewise.
17276 * rt/tst-aio64.c (do_prepare): Likewise.
17277
17278 2016-06-11 Florian Weimer <fweimer@redhat.com>
17279
17280 [BZ #20237]
17281 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17282 (get*ent): Set entidx to NULL during initialization. If entidx is
17283 NULL, start iteration from the beginning.
17284
17285 2016-06-11 Florian Weimer <fweimer@redhat.com>
17286
17287 * malloc/malloc.c (musable): Return correct size for dumped fake
17288 mmapped chunk.
17289
17290 2016-06-11 Florian Weimer <fweimer@redhat.com>
17291
17292 [BZ #20222]
17293 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17294 (_IO_cookie_write): Likewise.
17295 (_IO_cookie_seek): Likewise.
17296 (_IO_cookie_close): Likewise.
17297 (_IO_old_cookie_seek): Likewise.
17298 (set_callbacks): New function.
17299 (_IO_cookie_init): Call set_callbacks to copy callbacks.
17300
17301 2016-06-11 Marko Myllynen <myllynen@redhat.com>
17302
17303 * locale/programs/localedef.c (oldstyle_tables): Remove.
17304 * locale/programs/localedef.h (oldstyle_tables): Likewise.
17305
17306 2016-06-10 Joseph Myers <joseph@codesourcery.com>
17307
17308 [BZ #20240]
17309 * math/Makefile (CFLAGS-s_modf.c): New variable.
17310 (CFLAGS-s_modff.c): Likewise.
17311 (CFLAGS-s_modfl.c): Likewise.
17312 * math/libm-test.inc (modf_test_data): Add sNaN tests.
17313
17314 2016-06-09 Carlos O'Donell <carlos@redhat.com>
17315
17316 [BZ #20215]
17317 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17318 [!__GNUC_PREREQ (3,2)]: Likewise.
17319
17320 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
17321
17322 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17323 (msghdr.msg_controllen): Likewise.
17324 (cmsghdr.cmsg_len): Likewise.
17325 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17326 ptw-oldsendmsg.
17327 (CFLAGS-oldrecvmsg.c): Remove rule.
17328 (CFLAGS-oldsendmsg.c): Likewise.
17329 (CFLAGS-recvmsg.c): Add rule.
17330 (CFLAGS-sendmsg.c): Likewise.
17331 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17332 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17333 (CFLAGS-recvmsg.c): Remove rule.
17334 (CFLAGS-sendmsg.c): Likewise.
17335 (CFLAGS-oldrecvmsg.c): Likewise.
17336 (CFLAGS-oldsendmsg.c): Likewise.
17337 (CFLAGS-recvmmsg.c): Likewise.
17338 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17339 to kernel defined interfaces.
17340 (msghdr.msg_controllen): Likewise.
17341 (cmsghdr.cmsg_len): Likewise.
17342 (msghdr.__glibc_reserved1): Remove member.
17343 (msghdr.__glibc_reserved2): Likewise.
17344 (cmsghdr.__glibc_reserved1): Likewise.
17345 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17346 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17347 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17348 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17349 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17350 version.
17351 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17352 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17353 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17354 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17355 Remove recvmsg and sendmsg.
17356 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17357 Likewise.
17358 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17359 Likewise.
17360 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17361 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17362 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17363 Likewise.
17364 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17365 Likewise.
17366 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17367 [libc] (GLIBC_2.24): Likewise.
17368 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17369 Likewise.
17370 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17371 Likewise.
17372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17373 [libc] (GLIBC_2.24): Likewise.
17374 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17375 Likewise.
17376 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17377 Likewise.
17378 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17379 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17380 Likewise.
17381 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17382 Likewise.
17383 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17384 Likewise.
17385 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17386 Likewise.
17387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17388 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17389 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17390 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17391 version for {recv,send,recm,sendm}msg.
17392 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17405 Likewise.
17406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17407 Likewise.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17421
17422 2016-06-10 Florian Weimer <fweimer@redhat.com>
17423
17424 [BZ #19564]
17425 Remove __malloc_initialize_hook from the API.
17426 * malloc/malloc.h (__malloc_initialize_hook): Remove.
17427 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
17428 #pragma GCC poison.
17429 * malloc/malloc-hooks.h: New file.
17430 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
17431 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
17432 (old__malloc_initialize_hook): Rename from
17433 __malloc_initialize_hook to evade poisoning. Turn into compat
17434 symbol.
17435 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
17436 __malloc_initialize_hook.
17437 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
17438 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
17439 * manual/memory.texi (Hooks for Malloc): Remove
17440 __malloc_initialize_hook. Adjust hook example.
17441
17442 2016-06-09 Joseph Myers <joseph@codesourcery.com>
17443
17444 [BZ #20235]
17445 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
17446 itself.
17447 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17448 * math/libm-test.inc (log2_test_data): Add sNaN tests.
17449
17450 [BZ #20234]
17451 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
17452 infinity or NaN input to itself.
17453
17454 [BZ #20233]
17455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
17456 to itself.
17457
17458 [BZ #20232]
17459 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
17460 itself.
17461
17462 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * sysdeps/x86_64/start.S (_start): Always indirect branch to
17465 __libc_start_main via GOT.
17466
17467 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * sysdeps/x86_64/memcopy.h: New file.
17470 * sysdeps/x86_64/wordcopy.c: Likewise.
17471
17472 2016-06-09 Florian Weimer <fweimer@redhat.com>
17473
17474 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
17475 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
17476 <cstdlib>.
17477 (optimization_barrier): New.
17478 (do_test): Use it. Call quick_exit in the global namespace.
17479 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
17480 instead of <cstdlib>, <thread>.
17481 (optimization_barrier): New.
17482 (non_main_thread): Adjust declaration. Call optimization_barrier.
17483 Call quick_exit in the global namespace.
17484 (do_test): Call optimization_barrier. Use pthread_create,
17485 pthread_join instead of std::thread.
17486
17487 2016-06-09 Andreas Schwab <schwab@suse.de>
17488
17489 [BZ #19755]
17490 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
17491 new entries in auto-propagate mode.
17492 * nscd/grpcache.c (cache_addgr): Likewise.
17493
17494 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17495
17496 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
17497 New functions.
17498 (add_temp_file): Use them.
17499
17500 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
17501
17502 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
17503
17504 2016-06-08 Joseph Myers <joseph@codesourcery.com>
17505
17506 [BZ #20229]
17507 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
17508 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
17509 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
17510
17511 [BZ #20228]
17512 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
17513 itself.
17514 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17515 * math/libm-test.inc (log10_test_data): Add sNaN tests.
17516
17517 [BZ #20227]
17518 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
17519 itself.
17520 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17521 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17522 * math/libm-test.inc (log_test_data): Add sNaN tests.
17523
17524 [BZ #20226]
17525 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
17526 itself.
17527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17528 * math/libm-test.inc (exp_test_data): Add sNaN tests.
17529 (exp10_test_data): Likewise.
17530 (expm1_test_data): Likewise.
17531
17532 [BZ #20225]
17533 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
17534 itself.
17535 * math/s_ldexpf.c (__ldexpf): Likewise.
17536 * math/s_ldexpl.c (__ldexpl): Likewise.
17537 * math/w_scalbln.c (__w_scalbln): Likewise.
17538 * math/w_scalblnf.c (__w_scalblnf): Likewise.
17539 * math/w_scalblnl.c (__w_scalblnl): Likewise.
17540 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17541 (scalbln_test_data): Likewise.
17542
17543 [BZ #20224]
17544 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17545 argument to itself.
17546 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17547
17548 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
17549
17550 [BZ #19776]
17551 * sysdeps/x86_64/memcpy.S: Make it dummy.
17552 * sysdeps/x86_64/mempcpy.S: Likewise.
17553 * sysdeps/x86_64/memmove.S: New file.
17554 * sysdeps/x86_64/memmove_chk.S: Likewise.
17555 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17556 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17557 * sysdeps/x86_64/memmove.c: Removed.
17558 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17559 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17560 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17561 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17562 Likewise.
17563 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17564 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17566 memcpy-sse2-unaligned, memmove-avx-unaligned,
17567 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17569 (__libc_ifunc_impl_list): Replace
17570 __memmove_chk_avx512_unaligned_2 with
17571 __memmove_chk_avx512_unaligned. Remove
17572 __memmove_chk_avx_unaligned_2. Replace
17573 __memmove_chk_sse2_unaligned_2 with
17574 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
17575 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
17576 with __memmove_avx512_unaligned. Replace
17577 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17578 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
17579 with __memcpy_chk_avx512_unaligned. Remove
17580 __memcpy_chk_avx_unaligned_2. Replace
17581 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17582 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
17583 Replace __memcpy_avx512_unaligned_2 with
17584 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
17585 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
17586 with __mempcpy_chk_avx512_unaligned. Remove
17587 __mempcpy_chk_avx_unaligned_2. Replace
17588 __mempcpy_chk_sse2_unaligned_2 with
17589 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
17590 Replace __mempcpy_avx512_unaligned_2 with
17591 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
17592 Replace __mempcpy_sse2_unaligned_2 with
17593 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
17594 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17595 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17596 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17597 if processor has ERMS. Default to __memcpy_sse2_unaligned.
17598 (ENTRY): Removed.
17599 (END): Likewise.
17600 (ENTRY_CHK): Likewise.
17601 (libc_hidden_builtin_def): Likewise.
17602 Don't include ../memcpy.S.
17603 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17604 __memcpy_chk_avx512_unaligned_erms and
17605 __memcpy_chk_avx512_unaligned. Use
17606 __memcpy_chk_avx_unaligned_erms and
17607 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17608 Default to __memcpy_chk_sse2_unaligned.
17609 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17610 Change function suffix from unaligned_2 to unaligned.
17611 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17612 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17613 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17614 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
17615 (ENTRY): Removed.
17616 (END): Likewise.
17617 (ENTRY_CHK): Likewise.
17618 (libc_hidden_builtin_def): Likewise.
17619 Don't include ../mempcpy.S.
17620 (mempcpy): New. Add a weak alias.
17621 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17622 __mempcpy_chk_avx512_unaligned_erms and
17623 __mempcpy_chk_avx512_unaligned. Use
17624 __mempcpy_chk_avx_unaligned_erms and
17625 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17626 Default to __mempcpy_chk_sse2_unaligned.
17627
17628 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
17629
17630 [BZ #19881]
17631 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17632 into ...
17633 * sysdeps/x86_64/memset.S: This.
17634 (__bzero): Removed.
17635 (__memset_tail): Likewise.
17636 (__memset_chk): Likewise.
17637 (memset): Likewise.
17638 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17639 defined.
17640 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17641 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17642 (__memset_zero_constant_len_parameter): Check SHARED instead of
17643 PIC.
17644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17645 memset-avx2 and memset-sse2-unaligned-erms.
17646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17647 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17648 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17649 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17650 (__bzero): Enabled.
17651 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17652 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17653 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
17654 or __memset_avx2_unaligned_erms if processor has ERMS. Support
17655 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17656 (memset): Removed.
17657 (__memset_chk): Likewise.
17658 (MEMSET_SYMBOL): New.
17659 (libc_hidden_builtin_def): Replace __memset_sse2 with
17660 __memset_sse2_unaligned.
17661 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17662 __memset_chk_sse2 and __memset_chk_avx2 with
17663 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17664 Use __memset_chk_sse2_unaligned_erms or
17665 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
17666 __memset_chk_avx512_unaligned_erms and
17667 __memset_chk_avx512_unaligned.
17668
17669 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17670
17671 * math/gen-auto-libm-test.c (fp_format_desc): remove
17672 suffix member.
17673 (output_generic_value): Remove usage of suffix member,
17674 and the resulting unuse of the fp_format argument.
17675 (output_for_one_input_case): Remove unused fp_format
17676 parameter.
17677
17678 * math/auto-libm-test-out: Regenerate.
17679
17680 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17681 usage with TEST_COND_ibm128.
17682 (TEST_COND_flt_32): Remove.
17683 (TEST_COND_dbl_64): Remove.
17684 (TEST_COND_ldbl_96_intel): Remove.
17685 (TEST_COND_ldbl_96_m68k): Remove.
17686 (TEST_COND_ldbl_128): Remove.
17687
17688 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17689
17690 * auto-libm-test-in:
17691 Replace flt-32 usage with binary32.
17692 Replace dbl-64 usage with binary64.
17693 Replace ldbl-intel-96 usage with intel96.
17694 Replace ldbl-m68k-96 usage with m68k96.
17695 Replace ldbl-128ibm usage with ibm128.
17696 Replace ldbl-128 usage with binary128.
17697
17698 * auto-libm-test-out: Regenerate.
17699
17700 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17701
17702 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17703 (parse_ulps): Dynamically generate type name matching
17704 string from all_floats.
17705 (get_ulps): Generate the ulps as an array instead.
17706 (output_ulps): Dynamically compose the type based
17707 on the number of supported formats, and print
17708 the indices as type specific helper macros.
17709
17710 * math/libm-test.inc: Remove comment about CHOOSE.
17711 (ulp_data): Generate the type in libm-test-ulps.h.
17712 (ULP_IDX): New macro.
17713 (find_ulps): Update usage of max_ulp.
17714
17715 * math/test-double-vlen2.h (CHOOSE): Remove.
17716 * math/test-double-vlen4.h (CHOOSE): Likewise.
17717 * math/test-double-vlen8.h (CHOOSE): Likewise.
17718 * math/test-float.c (CHOOSE): Likewise.
17719 * math/test-float-finite.c (CHOOSE): Likewise.
17720 * math/test-double.c (CHOOSE): Likewise.
17721 * math/test-double-finite.c (CHOOSE): Likewise.
17722 * math/test-idouble.c (CHOOSE): Likewise.
17723 * math/test-ifloat.c (CHOOSE): Likewise.
17724 * math/test-ildoubl.c (CHOOSE): Likewise.
17725 * math/test-ldouble-finite.c (CHOOSE): Likewise.
17726 * math/test-ldouble.c (CHOOSE): Likewise.
17727
17728 * math/test-float.h (TEST_FLOAT): Remove.
17729 * math/test-double.h (TEST_DOUBLE): Likewise.
17730 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17731
17732 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17733
17734 * math/gen-libm-test.pl: (apply_lit): New subroutine.
17735 (parse_args): Strip C suffix from floating point literals
17736 typed with 'f' and wrap them with LIT().
17737
17738 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17739 (test_ff_f_data_nexttoward): Rename to
17740 (test_fj_f_data): New struct.
17741 (nexttoward_test_data): Relabel tests as
17742 TEST_fj_f instead of TEST_ff_f.
17743
17744 2016-06-08 Florian Weimer <fweimer@redhat.com>
17745
17746 Emacs bug 23726.
17747 * malloc/malloc.c (dumped_main_arena_start): Update comment.
17748 (__libc_realloc): Correct size computation for dumped fake mmapped
17749 chunks.
17750
17751 2016-06-07 Joseph Myers <joseph@codesourcery.com>
17752
17753 [BZ #20219]
17754 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17755 to itself.
17756 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17757
17758 [BZ #20218]
17759 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17760 to itself.
17761 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17762
17763 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 [BZ #20195]
17766 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17767 check to ...
17768 (init_cpu_features): Here.
17769
17770 2016-06-07 Carlos O'Donell <carlos@redhat.com>
17771
17772 [BZ #20214]
17773 * sysdeps/unix/sysv/linux/bits/in.h
17774 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17775 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17776 Define to 1.
17777 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17778 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17779 Define to 0.
17780 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17781 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17782
17783 2016-06-06 Carlos O'Donell <carlos@redhat.com>
17784
17785 [BZ #20198]
17786 * stdlib/Makefile (tests): Add tst-quick_exit, and
17787 tst-thread-quick_exit.
17788 [ifeq ($(have-cxx-thread_local),yes)]
17789 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17790 (CFLAGS-tst-thread-quick_exit.o): Likewise.
17791 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17792 (LDLIBS-tst-thread-quick_exit): Likewise.
17793 [ifneq ($(have-cxx-thread_local),yes)]
17794 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17795 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17796 If run_dtors is true call __call_tls_dtors.
17797 (exit): Call __run_exit_handlers with run_dtors set to true.
17798 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17799 definition.
17800 * stdlib/quick_exit.c (quick_exit): Remove function.
17801 (__new_quick_exit): New function.
17802 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17803 function.
17804 * stdlib/tst-quick_exit.cc: New file.
17805 * stdlib/tst-thread-quick_exit.cc: New file.
17806 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17807 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17808 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17809 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17810 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17811 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17812 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17813 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17814 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17815 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17816 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17817 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17818 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17819 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17820 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17821 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17826 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17827 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17828 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17829 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17830 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17833 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17834 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17835 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17836
17837 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
17838
17839 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17840 a typo in comments.
17841
17842 2016-06-06 Joseph Myers <joseph@codesourcery.com>
17843
17844 [BZ #20213]
17845 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17846 argument to itself.
17847 * math/libm-test.inc (asin_test_data): Add sNaN tests.
17848
17849 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17850
17851 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17852 required flags.
17853 (CFLAGS-pwritev64.c): Likewise.
17854 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17855 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17856 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17857 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17858 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17860 syscall from auto-generation.
17861 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17862 [WORDSIZE == 64] (pwritev64): Remove macro.
17863 [!PWRITEV] (PWRITEV): Likewise.
17864 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17865 [!PWRITEV] (PWRITE): Likewise.
17866 [!PWRITEV] (OFF_T): Likewise.
17867 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17868 (LO_HI_LONG): Remove macro.
17869 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17870 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17871 (PWRITEV): Remove macro.
17872 (PWRITEV_REPLACEMENTE): Likewise.
17873 (PWRITE): Likewise.
17874 (OFF_T): Likewise.
17875 (pwritev64): New function.
17876 * nptl/tst-cancel4.c (tf_writev): Add test.
17877
17878 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17879 required flags.
17880 (CFLAGS-preadv64.c): Likewise.
17881 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17882 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17883 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17884 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17885 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17886 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17887 syscall from auto-generation.
17888 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17889 [WORDSIZE == 64] (preadv64): Remove macro.
17890 [!PREADV] (PREADV): Likewise.
17891 [!PREADV] (PREADV_REPLACEMENT): Likewise.
17892 [!PREADV] (PREAD): Likewise.
17893 [!PREADV] (OFF_T): Likewise.
17894 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17895 (LO_HI_LONG): Remove macro.
17896 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17897 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17898 (PREADV): Remove macro.
17899 (PREADV_REPLACEMENTE): Likewise.
17900 (PREAD): Likewise.
17901 (OFF_T): Likewise.
17902 (preadv64): New function.
17903 * nptl/tst-cancel4.c (tf_preadv): Add test.
17904
17905 2016-06-06 Joseph Myers <joseph@codesourcery.com>
17906
17907 [BZ #20212]
17908 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17909 argument to itself.
17910 * math/libm-test.inc (acos_test_data): Add sNaN tests.
17911
17912 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17913
17914 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17915 New symbol defined as libc_hidden_def.
17916 (strcasestr): Became a weak alias to __strcasestr.
17917 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17918 according to multi-arch support. Move __stpncpy hidden
17919 definition from here to...
17920 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
17921 symbol stpncpy.
17922 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17923 libc_hidden_builtin_def.
17924 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17925 memset symbol to use when multi-arch support is available.
17926
17927 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17928
17929 * dlfcn/tst-rec-dlopen.c: Include string.h.
17930
17931 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17932
17933 * manual/install.texi: Remove mention of --without-tls
17934 * INSTALL: Regenerate.
17935
17936 2016-06-05 Florian Weimer <fweimer@redhat.com>
17937
17938 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17939 Remove.
17940 (call_function, interposed_malloc_called): New variables.
17941 (malloc): New function.
17942 (do_test): Do not change malloc hooks. Initialize malloc. Set
17943 and clear call_function as needed.
17944
17945 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
17946
17947 * include/wchar.h (__wmemset): Use __typeof.
17948
17949 2016-06-03 Carlos O'Donell <carlos@redhat.com>
17950
17951 * include/wchar.h (__wmemset): Declare function without typeof.
17952
17953 2016-06-03 Joseph Myers <joseph@codesourcery.com>
17954
17955 [BZ #20205]
17956 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17957 exponent when incrementing negative subnormal with low mantissa
17958 word zero.
17959 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17960 Add another test.
17961
17962 2016-06-03 Florian Weimer <fweimer@redhat.com>
17963
17964 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17965 __wmemset instead of wmemset.
17966
17967 2016-06-02 Carlos O'Donell <carlos@redhat.com>
17968
17969 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17970 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17971 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17972 __USE_KERNEL_IPV6_DEFS to 0.
17973 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17974 Update comment.
17975
17976 2016-06-01 Florian Weimer <fweimer@redhat.com>
17977
17978 [BZ #19861]
17979 Do not use IFUNC resolver with potentially unrelocated symbol.
17980 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17981 (DEFINE_FORK): Remove macro and inline definition.
17982 (fork_alias): Renamed from fork_ifunc.
17983 (__fork_alias): Renamed from __fork_ifunc.
17984
17985 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17986
17987 [BZ 19653]
17988 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17989 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17990
17991 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17992
17993 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17994 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17995 i386-linux-gnu).
17996 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17997 Set to no.
17998 * sysdeps/mach/hurd/configure: Refresh.
17999
18000 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18001
18002 [BZ #20178]
18003 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
18004 on failure instead of exit.
18005
18006 2016-05-30 Roland McGrath <roland@hack.frob.com>
18007
18008 [BZ #3629]
18009 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
18010 of POSIX.1-2008.
18011
18012 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18013
18014 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
18015 Use PLT entry for calling _hurd_self_sigstate.
18016
18017 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
18018
18019 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
18020 available logical processors with SMT level type sharing L2
18021 cache for Intel processors.
18022
18023 2016-05-27 Joseph Myers <joseph@codesourcery.com>
18024
18025 [BZ #20160]
18026 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
18027 argument to itself before returning the result.
18028 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18029 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18030 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18032 Likewise.
18033 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18034 Likewise.
18035 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
18036 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
18037 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18038 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18039 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18040 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18041
18042 [BZ #20160]
18043 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
18044 argument to itself before returning the result.
18045 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18046 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18047 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
18049 Likewise.
18050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18051 Likewise.
18052 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
18053 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
18054 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
18055 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18056 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18057 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18058
18059 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18060
18061 * libm-test.inc: Replace usage of M_El with
18062 (lit_e): New macro.
18063
18064 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18065
18066 * libm-test.inc: Replace usage of M_PI_4l with
18067 (lit_pi_4_d): New macro.
18068
18069 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18070
18071 * libm-test.inc: Replace usage of M_PIl with
18072 (lit_pi): New macro.
18073
18074 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18075
18076 * libm-test.inc: Replace usage of M_PI2l with
18077 (lit_pi_2_d): New macro.
18078
18079 * math/test-double.h (LITM): New macro.
18080 * math/test-float.h (LITM): Likewise.
18081 * math/test-ldouble.h (LITM): Likewise.
18082
18083 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18084
18085 * libm-test.inc (M_PI_34l): Rename to
18086 (lit_pi_3_m_4_d): New Macro.
18087 (M_PI_34_LOG10El): Rename to
18088 (lit_pi_3_m_4_ln10_m_d): New Macro.
18089 (M_PI2_LOG10El): Rename to
18090 (lit_pi_2_ln10_m_d): New Macro.
18091 (M_PI4_LOG10El): Rename to
18092 (lit_pi_4_ln10_m_d): New Macro.
18093 (M_PI_LOG10El): Rename to
18094 (lit_pi_ln10_d): New Macro.
18095
18096 2016-05-27 Joseph Myers <joseph@codesourcery.com>
18097
18098 [BZ #20157]
18099 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
18100 determine whether to negate low half if [_ARCH_PPCGR], and integer
18101 comparison otherwise.
18102 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
18103 determine whether to negate low half.
18104
18105 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
18106 (NO_TEST_INLINE_DOUBLE): Likewise.
18107 (TEST_COND_x86_64): Likewise.
18108 (TEST_COND_x86): Likewise.
18109 (M_PI_6l): Likewise.
18110
18111 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18112
18113 * math/libm-test.inc:
18114 (TEST_FLOAT): Change usage to TEST_COND_binary32.
18115 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
18116 (TEST_LDOUBLE): Update usage to evaluate as true if
18117 the guarded tests match the property being tested.
18118 (LDBL_MAX_EXP): Change to MAX_EXP.
18119 (LDBL_MIN_EXP): Change to MIN_EXP.
18120 (LDBL_MANT_DIG): Change to MANT_DIG, except for
18121 nexttoward tests.
18122
18123 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18124
18125 * math/libm-test.inc:
18126 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
18127 (TYPE_MIN): Likewise.
18128 (TYPE_TRUE_MIN): Likewise.
18129 (TYPE_MAX): Likewise.
18130 (MIN_EXP): Likewise.
18131 (MAX_EXP): Likewise.
18132 (MANT_DIG): Likewise.
18133
18134 (FSTR_MAX): New macro.
18135 (__CONCATX): Likewise.
18136 (QTYPE_STR): Likewise.
18137 (TEST_COND_binary32): Likewise.
18138 (TEST_COND_binary64): Likewise.
18139 (TEST_COND_binary128): Likewise.
18140 (TEST_COND_ibm128): Likewise.
18141 (TEST_COND_intel96): Likewise.
18142 (TEST_COND_m68k96): Likewise.
18143
18144 (TEST_COND_flt_32): Redefine as equivalent format test macro.
18145 (TEST_COND_dbl_64): Likewise.
18146 (TEST_COND_ldbl_96_intel): Likewise.
18147 (TEST_COND_ldbl_96_m68k): Likewise.
18148 (TEST_COND_ldbl_128): Likewise.
18149 (TEST_COND_ldbl_128ibm): Likewise.
18150
18151 (plus_zero): Redefine using LIT macro.
18152 (minus_zero): Likewise.
18153 (plus_infty): Redefine as (INF).
18154 (minux_infty): Redefine as (-INF).
18155 (max_value): Redefine as TYPE_MAX.
18156 (min_value): Redefine as TYPE_MIN.
18157 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
18158
18159 (print_float): Refactor to use snprintf to convert FLOAT values
18160 to string. This brings it closer to dropin replacement of strtof
18161 for the TS 18661 defined types.
18162 (update_stats): Likewise.
18163 (print_complex_function_ulps): Likewise.
18164 (print_max_error): Likewise.
18165 (print_complex_max_error): Likewise.
18166 (check_float_internal): Likewise.
18167
18168 * math/test-float.h (PREFIX): New macro.
18169 (LIT): Likewise.
18170 (TYPE_STR): Likewise.
18171 (FTOSTR): Likewise.
18172
18173 * math/test-double.h (PREFIX): New macro.
18174 (LIT): Likewise.
18175 (TYPE_STR): Likewise.
18176 (FTOSTR): Likewise.
18177
18178 * math/test-ldouble.h (PREFIX): New macro.
18179 (LIT): Likewise.
18180 (TYPE_STR): Likewise.
18181 (FTOSTR): Likewise.
18182
18183 2016-05-27 Joseph Myers <joseph@codesourcery.com>
18184
18185 [BZ #20156]
18186 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
18187 to itself when zero or not finite.
18188 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
18192
18193 2016-05-26 Joseph Myers <joseph@codesourcery.com>
18194
18195 [BZ #20153]
18196 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
18197 x * x + x for infinities and NaNs.
18198
18199 [BZ #20151]
18200 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
18201 argument to itself before returning result.
18202 (__ieee754_y0l): Likewise.
18203 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18204 (__ieee754_y1l).
18205
18206 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
18207 (atan_test_data): Likewise.
18208 (ceil_test_data): Likewise.
18209 (cos_test_data): Likewise.
18210 (cosh_test_data): Likewise.
18211 (erf_test_data): Likewise.
18212 (exp2_test_data): Likewise.
18213 (fabs_test_data): Likewise.
18214 (floor_test_data): Likewise.
18215 (ilogb_test_data): Likewise.
18216 (j0_test_data): Likewise.
18217 (j1_test_data): Likewise.
18218 (jn_test_data): Likewise.
18219 (lgamma_test_data): Likewise.
18220 (lrint_test_data): Likewise.
18221 (llrint_test_data): Likewise.
18222 (logb_test_data): Likewise.
18223 (lround_test_data): Likewise.
18224 (llround_test_data): Likewise.
18225 (nearbyint_test_data): Likewise.
18226 (rint_test_data): Likewise.
18227 (round_test_data): Likewise.
18228 (sin_test_data): Likewise.
18229 (sincos_test_data): Likewise.
18230 (sinh_test_data): Likewise.
18231 (sqrt_test_data): Likewise.
18232 (tan_test_data): Likewise.
18233 (tanh_test_data): Likewise.
18234 (tgamma_test_data): Likewise.
18235 (trunc_test_data): Likewise.
18236 (y0_test_data): Likewise.
18237 (y1_test_data): Likewise.
18238 (yn_test_data): Likewise.
18239
18240 * math/libm-test.inc: Update comment about NaN testing.
18241 (TEST_SNAN): New macro.
18242 (snan_value): Likewise.
18243 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18244 (fpclassify_test_data): Add sNaN tests.
18245 (isfinite_test_data): Likewise.
18246 (isinf_test_data): Likewise.
18247 (isnan_test_data): Likewise.
18248 (isnormal_test_data): Likewise.
18249 (issignaling_test_data): Likewise.
18250 (signbit_test_data): Likewise.
18251 * math/gen-libm-test.pl (%beautify): Add snan_value.
18252 (show_exceptions): Add argument $test_snan.
18253 (parse_args): Handle snan_value as non-finite. Update call to
18254 show_exceptions.
18255 * math/Makefile (libm-test-no-inline-cflags): Add
18256 -fsignaling-nans.
18257
18258 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18259
18260 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18261 (CFLAGS-oldsendmsg.c): Add rule.
18262 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18263 Correct recvmsg symbol name.
18264 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18265 Likewise.
18266
18267 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18268
18269 * sysdeps/unix/sysv/linux/Makefile
18270 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18271 oldsendmmsg.
18272 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18273 sendmmsg.
18274 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18277 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18282 Likewise.
18283 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18285 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18286 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18287 iovlen and controllen fields to adjust to POSIX specification.
18288 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18289
18290 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18291 and change to correct expected type.
18292 (msghdr.msg_controllen): Likewise.
18293 (cmsghdr.cmsg_len): Likewise.
18294 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18295 expected POSIX assumption about the size.
18296 (msghdr.msg_controllen): Likewise.
18297 (msghdr.__glibc_reserved1): Likewise.
18298 (msghdr.__glibc_reserved2): Likewise.
18299 (cmsghdr.cmsg_len): Likewise.
18300 (cmsghdr.__glibc_reserved1): Likewise.
18301 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18302 Add ptw-oldrecvmsg and ptw-oldsendmsg.
18303 (CFLAGS-sendmsg.c): Remove rule.
18304 (CFLAGS-recvmsg.c): Likewise.
18305 (CFLAGS-oldsendmsg.c): Add rule.
18306 (CFLAGS-oldrecvmsg.c): Likewise.
18307 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18308 recvmsg and sendmsg.
18309 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18310 Likewise.
18311 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18312 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18313 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18314 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18315 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18316 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18317 Likewise.
18318 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18319 Likewise.
18320 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18321 Likewise.
18322 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18323 Likewise.
18324 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18325 Likewise.
18326 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18327 Likewise.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18329 (GLIBC_2.24): Likewise.
18330 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18331 Likewise.
18332 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18333 Likewise.
18334 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18335 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18336 Likewise.
18337 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18338 Likewise.
18339 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18340 Likewise.
18341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18342 (GLIBC_2.24): Likewise.
18343 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/Makefile
18348 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18349 (CFLAGS-sendmsg.c): Add rule.
18350 (CFLAGS-recvmsg.c): Likewise.
18351 (CFLAGS-oldsendmsg.c): Likewise.
18352 (CFLAGS-oldrecvmsg.c): Likewise.
18353 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18354 initialization.
18355 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18356 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18357 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18358 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18359 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18360 iovlen and controllen fields to adjust to POSIX specification.
18361 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18362 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18363 added recvmsg and sendmsg.
18364 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18377 Likewise.
18378 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18380 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18381 Likewise.
18382 Likewise.
18383 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18385 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18386 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18387 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18388 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18390 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18392 Likewise.
18393 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18395
18396 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
18397 from auto-generation.
18398 (sendmsg): Likewise.
18399 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
18400 (sendmsg): Likewise.
18401 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
18402 (sendmsg): Likewise.
18403 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
18404 (sendmsg): Likewise.
18405 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
18406 (sendmsg): Likewise.
18407 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
18408 (sendmsg): Likewise.
18409 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
18410 Likewise.
18411 (sendmsg): Likewise.
18412 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
18413 (sendmsg): Likewise.
18414 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18415 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18416 Remove.
18417 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18418 Likewise.
18419 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18420 Undefine.
18421 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18422 Likewise.
18423 * sysdeps/unix/sysv/linux/kernel-features.h
18424 (__ASSUME_SENDMSG_SYSCALL): Define.
18425 (__ASSUME_RECVMSG_SYSCALL): Likewise.
18426 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18427 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18428 Remove.
18429 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18430 Likewise.
18431 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18432 Undefine.
18433 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18434 Likewise.
18435 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18436 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18437 Remove.
18438 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18439 Likewise.
18440 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18441 Undefine.
18442 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18443 Likewise.
18444 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18445 (__ASSUME_SENDMSG_SYSCALL): Undefine.
18446 (__ASSUME_RECVMSG_SYSCALL): Likewise.
18447 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18448 (__ASSUME_SENDMSG_SYSCALL): Likewise.
18449 (__ASSUME_RECVMSG_SYSCALL): Likewise.
18450 * sysdeps/unix/sysv/linux/sh/kernel-features.h
18451 (__ASSUME_SENDMSG_SYSCALL): Likewise.
18452 (__ASSUME_RECVMSG_SYSCALL): Likewise.
18453
18454 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18455
18456 * stdlib/gen-tst-strtod-round.c: Add backslash to
18457 compile command in comment.
18458 (printfp): Remove the literal suffix, and define an infinite
18459 value as INF to avoid expansion clash with INFINITY.
18460 (round_str): Remove the literal suffix.
18461 (round_for_all): Likewise, remove the now duplicate ldbl-64
18462 entry, and remove some magic constants.
18463
18464 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
18465 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
18466 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
18467 (_CONCAT): New macro.
18468 (CONCAT): Likewise.
18469 (CHOOSE_ld): Likewise.
18470 (CHOOSE_f): Likewise.
18471 (CHOOSE_d): Likewise.
18472 (FTYPE_MEMBER): Likewise.
18473 (BOOL_MEMBER): Likewise.
18474 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
18475 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
18476 (_XNTRY): Likewise.
18477 (XNTRY): Likewise.
18478 (_ENTRY): Likewise.
18479 (ENTRY): Likewise.
18480 (test_exactness): Generate members via macro.
18481 (test_results): Likewise.
18482 (test): Update members.
18483 (TEST): Redefine using new macros.
18484 (INF): New macro.
18485 (fetestmodes): New structure.
18486 (do_test): Refactor to be type generic.
18487 (test_in_one_mode): Refactor duplicate code into
18488 (GEN_ONE_TEST): New macro.
18489
18490 * stdlib/tst-strtod-round-data.h: Regenerate.
18491
18492 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
18493 Extend to pass additional arbitrary parameters to
18494 generators.
18495
18496 2016-05-25 Joseph Myers <joseph@codesourcery.com>
18497
18498 [BZ #15479]
18499 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
18500 floating-point state after first floating-point operation on
18501 input. Restore full floating-point state instead of just rounding
18502 mode.
18503 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18504 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18505 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18506 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18507 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18508
18509 [BZ #15479]
18510 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
18511 floating-point state after first floating-point operation on
18512 input. Restore full floating-point state instead of just rounding
18513 mode.
18514 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18515 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18516 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18517 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18518 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18519
18520 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18521
18522 [BZ #19727]
18523 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
18524 valid high surrogate.
18525 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
18526 of an utf16 surrogate.
18527 * iconv/gconv_simple.c (BODY): Likewise.
18528 * iconvdata/bug-iconv12.c: New file.
18529 * iconvdata/Makefile (tests): Add bug-iconv12.
18530
18531 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18532
18533 [BZ #19726]
18534 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
18535 outptrp in case of an illegal input.
18536 * iconv/tst-iconv6.c: New file.
18537 * iconv/Makefile (tests): Add tst-iconv6.
18538
18539 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18540
18541 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18542 an error in case of a value in range of an utf16 low surrogate.
18543
18544 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18545
18546 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18547 an error in case of a value in range of an utf16 low surrogate.
18548
18549 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18550
18551 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18552 Move to ...
18553 * sysdeps/s390/Makefile: ... here.
18554 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18555 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18556 (BRANCH_ON_COUNT): New define.
18557 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18558 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18559 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18560 run on s390-32, too.
18561 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18562 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18563 run on s390-32, too.
18564 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18565 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18566 run on s390-32, too.
18567
18568 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18569
18570 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18571 etf3eh or new vector loop-variant.
18572
18573 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18574
18575 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18576 etf3eh or new vector loop-variant.
18577
18578 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18579
18580 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18581 or new vector loop-variant.
18582
18583 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18584
18585 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18586 Rename to TR_LOOP and usage of tr instead of troo instruction.
18587
18588 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18589
18590 * sysdeps/s390/multiarch/gconv_simple.c: New File.
18591 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18592
18593 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18594
18595 * sysdeps/s390/multiarch/8bit-generic.c: New File.
18596 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18597 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18598 New override define.
18599 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18600
18601 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18602
18603 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18604 * sysdeps/s390/configure.ac: Add test for S390 vector register
18605 support in gcc.
18606 * sysdeps/s390/configure: Regenerated.
18607
18608 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18609
18610 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18611 Install file from $(objpfx)gconv-modules.
18612 ($(objpfx)gconv-modules): Concatenate architecture specific file
18613 in variable sysdeps-gconv-modules and gconv-modules in src dir.
18614 * sysdeps/s390/gconv-modules: New file.
18615 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18616 Deleted.
18617 ($(objpfx)gconv-modules-s390): Deleted.
18618 (sysdeps-gconv-modules): New variable.
18619
18620 2016-05-24 Joseph Myers <joseph@codesourcery.com>
18621
18622 [BZ #15479]
18623 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18624 of immediate operand to rounding instruction.
18625 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18626 Likewise.
18627 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18628 Likewise.
18629 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18630 Likewise.
18631
18632 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18633
18634 * math/libm-test.inc (MIN_EXP): Directly define as
18635 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18636
18637 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18638
18639 * math/libm-test.inc (MANT_DIG): Directly define as
18640 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18641
18642 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18643
18644 * stdlib/gen-tst-strtod-round.c (main):
18645 Change usage to more closely match the generated
18646 output. Add usage and compilation instructions.
18647 (string_to_fp): Add and use FILE* parameter as
18648 output target.
18649 (print_fp): Likewise.
18650 (round_str): Likewise.
18651 (round_for_all): Likewise.
18652 * stdlib/tst-strtod-round.c (tests): Move into
18653 * stdlib/tst-strtod-round-data.h: New file.
18654
18655 2016-05-24 Joseph Myers <joseph@codesourcery.com>
18656
18657 [BZ #15479]
18658 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18659 (__round): Do not force "inexact" exception.
18660 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18661 variable.
18662 (__round): Do not force "inexact" exception.
18663 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18664 (__roundf): Do not force "inexact" exception.
18665 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18666 (__roundl): Do not force "inexact" exception.
18667 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18668 (__roundl): Do not force "inexact" exception.
18669 * math/libm-test.inc (round_test_data): Do not allow spurious
18670 "inexact" exceptions.
18671
18672 [BZ #15479]
18673 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18674 exception in comment.
18675 (huge): Remove variable.
18676 (__floor): Do not force "inexact" exception.
18677 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18678 "inexact" exception in comment.
18679 (huge): Remove variable.
18680 (__floor): Do not force "inexact" exception.
18681 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18682 exception in comment.
18683 (huge): Remove variable.
18684 (__floorf): Do not force "inexact" exception.
18685 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18686 exception in comment.
18687 (huge): Remove variable.
18688 (__floorl): Do not force "inexact" exception.
18689
18690 [BZ #15479]
18691 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18692 exception in comment.
18693 (huge): Remove variable.
18694 (__ceil): Do not force "inexact" exception.
18695 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18696 "inexact" exception in comment.
18697 (huge): Remove variable.
18698 (__ceil): Do not force "inexact" exception.
18699 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18700 (__ceilf): Do not force "inexact" exception.
18701 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18702 exception in comment.
18703 (huge): Remove variable.
18704 (__ceill): Do not force "inexact" exception.
18705
18706 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
18707
18708 * config.h.in (BIND_NOW): New.
18709 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
18710 * configure: Regenerated.
18711 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18712 indirect branch via the GOT slot.
18713
18714 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18715
18716 [BZ #19765]
18717 * sysdeps/s390/mempcpy.S: New File.
18718 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18719 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18720 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18721 Add mempcpy variants.
18722 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18723 (memcpy): Adjust to be usable from mempcpy entry point.
18724 (__memcpy_mvcle): Likewise.
18725 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18726 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18727 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18728 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18729 (__memcpy_z10): Likewise.
18730 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18731
18732 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18733
18734 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18735 Remove __GI_ symbol.
18736 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18737 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18738 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18739 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18740 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18741 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18742
18743 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18744
18745 * sysdeps/s390/s390-64/memcpy.S (memcpy):
18746 Use cghi instead of chi to compare 64bit value.
18747
18748 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18749
18750 * sysdeps/s390/s390-32/memcpy.S (memcpy):
18751 Jump to 1MB check before executing mvc-loop.
18752
18753 2016-05-24 Florian Weimer <fweimer@redhat.com>
18754
18755 [BZ #6527]
18756 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18757 unconditionally.
18758 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18759
18760 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18761
18762 * stdlib/tst-strtod6.c (do_test): Use new type generic
18763 invocation of the test function.
18764 (test): Refactor into ...
18765 (TEST_STRTOD): New macro base function.
18766
18767 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18768
18769 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18770 (TEST_STRTOD): New macro.
18771 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18772
18773 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18774
18775 * stdlib/tst-strtod6.c (do_test): Use new type generic
18776 invocation of the test function.
18777 (test): Refactor into ...
18778 (TEST_STRTOD): New macro base function.
18779
18780 2016-05-23 Florian Weimer <fweimer@redhat.com>
18781
18782 CVE-2016-4429
18783 [BZ #20112]
18784 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18785 payload.
18786
18787 2016-05-23 Florian Weimer <fweimer@redhat.com>
18788
18789 [BZ #20111]
18790 * bits/sockaddr.h (_SS_SIZE): Define.
18791 * bits/socket.h (_SS_SIZE): Remove.
18792 (_SS_PADSIZE): Adjust to account for all padding.
18793 (struct sockaddr_storage): Update comment. Avoid implicit
18794 padding.
18795 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18796 (_SS_PADSIZE): Adjust to account for all padding.
18797 (struct sockaddr_storage): Update comment. Avoid implicit
18798 padding.
18799 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18800 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18801 (_SS_PADSIZE): Adjust to account for all padding.
18802 (struct sockaddr_storage): Update comment. Avoid implicit
18803 padding.
18804 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18805 __SS_SIZE is 126 in this version.
18806 * inet/tst-sockaddr.c: New file.
18807 * inet/Makefile (tests): Add tst-sockaddr.c
18808 (tst-sockaddr.c): Compile with non-strict aliasing.
18809
18810 2016-05-23 Joseph Myers <joseph@codesourcery.com>
18811
18812 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18813 [XPG3 || XPG4].
18814 (NL_ARGMAX): Also expect for [XPG3].
18815 (NL_LANGMAX): Likewise.
18816 (NL_MSGMAX): Likewise.
18817 (NL_NMAX): Likewise.
18818 (NL_SETMAX): Likewise.
18819 (NL_TEXTMAX): Likewise.
18820 (NZERO): Likewise.
18821 (TMP_MAX): Likewise.
18822 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18823 variable.
18824
18825 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18826 (PF_MAX): Update value.
18827 (AF_KCM): New macro.
18828 (SOL_NETBEUI): Likewise.
18829 (SOL_LLC): Likewise.
18830 (SOL_DCCP): Likewise.
18831 (SOL_NETLINK): Likewise.
18832 (SOL_TIPC): Likewise.
18833 (SOL_RXRPC): Likewise.
18834 (SOL_PPPOL2TP): Likewise.
18835 (SOL_BLUETOOTH): Likewise.
18836 (SOL_PNPIPE): Likewise.
18837 (SOL_RDS): Likewise.
18838 (SOL_IUCV): Likewise.
18839 (SOL_CAIF): Likewise.
18840 (SOL_ALG): Likewise.
18841 (SOL_NFC): Likewise.
18842 (SOL_KCM): Likewise.
18843 (MSG_BATCH): New enum value and macro.
18844
18845 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
18846
18847 [BZ #18185]
18848 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18849 sharing L2 cache to 2 for Knights Landing.
18850
18851 2016-05-20 Joseph Myers <joseph@codesourcery.com>
18852
18853 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18854 (FTW_DP): Do not expect for [XPG3 || XPG4].
18855 (FTW_SL): Do not expect for [XPG3].
18856 (FTW_SLN): Likewise.
18857 (FTW_PHYS): Likewise.
18858 (FTW_MOUNT): Likewise.
18859 (FTW_DEPTH): Likewise.
18860 (FTW_CHDIR): Likewise.
18861 (nftw): Likewise.
18862 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18863 variable.
18864
18865 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
18866
18867 * manual/errno.texi: Fix various typos & grammar errors.
18868
18869 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
18870
18871 * manual/intro.texi: Fix duplicated typo.
18872
18873 2016-05-19 Joseph Myers <joseph@codesourcery.com>
18874
18875 [BZ #13304]
18876 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18877 <float.h>, <math_private.h> and <stdlib.h>.
18878 (add_split): New function.
18879 (mul_split): Likewise.
18880 (ext_val): New typedef.
18881 (store_ext_val): New function.
18882 (mul_ext_val): New function.
18883 (compare): New function.
18884 (add_split_ext): New function.
18885 (__fmal): After checking for Inf, NaN and zero, compute result as
18886 an exact sum of scaled double values in round-to-nearest before
18887 adding those up and adjusting for other rounding modes.
18888 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18889 tests of fma.
18890 * math/auto-libm-test-out: Regenerated.
18891
18892 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
18893
18894 [BZ #20119]
18895 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18896 processor level type mask for CPUID with EAX == 11.
18897
18898 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
18899
18900 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18901 logical threads if the HTT bit is 0.
18902 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18903 (index_cpu_HTT): Likewise.
18904 (reg_HTT): Likewise.
18905
18906 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 [BZ #20115]
18909 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18910 Remove alignments on jump targets.
18911
18912 2016-05-19 Joseph Myers <joseph@codesourcery.com>
18913
18914 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18915 (getpwent): Likewise.
18916 (setpwent): Likewise.
18917 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18918 variable.
18919
18920 * conform/data/search.h-data (insque): Do not expect for [XPG3].
18921 (remque): Likewise.
18922 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18923 variable.
18924
18925 2016-05-18 Joseph Myers <joseph@codesourcery.com>
18926
18927 * math/libm-test.inc: Update comment not to refer to signs of NaNs
18928 not being tested.
18929
18930 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18933 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
18934 call.
18935 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18936 (__condvar_cleanup1): Likewise.
18937
18938 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
18939
18940 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18941 New
18942 (__pthread_unwind): Renamed to ...
18943 (PTHREAD_UNWIND): This.
18944 (__pthread_enable_asynccancel): Replace
18945 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18946
18947 2016-05-18 Joseph Myers <joseph@codesourcery.com>
18948
18949 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18950 (CLONE_NEWCGROUP): New macro.
18951
18952 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18953 (Q_GETNEXTQUOTA): New macro.
18954
18955 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
18956
18957 [BZ #19907]
18958 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18959 buffer updated by the previous run.
18960 * string/test-memcpy.c (do_one_test): Likewise.
18961 * benchtests/bench-memmove.c (do_one_test): Add a comment.
18962 * string/test-memmove.c (do_one_test): Likewise.
18963
18964 2016-05-17 Joseph Myers <joseph@codesourcery.com>
18965
18966 [BZ #20094]
18967 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18968 not [__USE_XOPEN].
18969 (unlockpt): Likewise.
18970 (ptsname): Likewise.
18971 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18972 variable.
18973
18974 [BZ #20076]
18975 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18976 instead of [__USE_UNIX98].
18977 (S_ISSOCK): Likewise.
18978 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18979 variable.
18980
18981 [BZ #20074]
18982 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18983 [__USE_POSIX].
18984 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18985 variable.
18986
18987 [BZ #20051]
18988 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18989 (ttyslot): Do not declare.
18990 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18991 (ttyslot): New prototype.
18992 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18993 variable.
18994 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18995
18996 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
18997
18998 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18999
19000 2016-05-13 Florian Weimer <fweimer@redhat.com>
19001
19002 Fix race condition in tst-mallocfork2, use fewer resources.
19003 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
19004 to current process group.
19005 (signal_sender): Yield in the non-sleeping case.
19006
19007 2016-05-13 Joseph Myers <joseph@codesourcery.com>
19008
19009 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
19010 (ecvt): Likewise.
19011 (fcvt): Likewise.
19012 (gcvt): Likewise.
19013 (getsubopt): Likewise.
19014 (grantpt): Likewise.
19015 (initstate): Likewise.
19016 (l64a): Likewise.
19017 (mktemp): Likewise.
19018 (mkstemp): Likewise.
19019 (ptsname): Likewise.
19020 (random): Likewise.
19021 (realpath): Likewise.
19022 (setstate): Likewise.
19023 (srandom): Likewise.
19024 (ttyslot): Likewise.
19025 (unlockpt): Likewise.
19026 (valloc): Likewise.
19027
19028 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
19029 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
19030 variable.
19031
19032 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
19033
19034 [BZ #20072]
19035 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
19036 init_cpu_features only if SHARED is defined.
19037 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
19038
19039 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
19040
19041 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
19042 non-inclusive caches on Intel processors.
19043
19044 2016-05-13 Florian Weimer <fweimer@redhat.com>
19045
19046 * malloc/malloc.c (dumped_main_arena_start)
19047 (dumped_main_arena_end): New variables.
19048 (DUMPED_MAIN_ARENA_CHUNK): New macro.
19049 (do_check_chunk): Skip dumped fake mmapped chunks.
19050 (munmap_chunk): Likewise.
19051 (__libc_free): Do not adjust statistics for fake mmapped chunks.
19052 (__libc_realloc): Adjust hardening check. Always copy dumped fake
19053 mmapped chunks.
19054 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
19055 Mark dumped chunks as using mmap. Update dumped_main_arena_start
19056 and dumped_main_arena_end to cover the dumped heap.
19057
19058 2016-05-12 Joseph Myers <joseph@codesourcery.com>
19059
19060 * conform/data/time.h-data (getdate_err): Do not expect for
19061 [XPG3].
19062 (getdate): Likewise.
19063 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
19064 variable.
19065
19066 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
19067 (F_ULOCK): Likewise.
19068 (F_TEST): Likewise.
19069 (F_TLOCK): Likewise.
19070 (useconds_t): Likewise.
19071 (intptr_t): Do not expect for [XPG3] or [XPG4].
19072 (brk): Do not expect for [XPG3]
19073 (fchown): Likewise.
19074 (fchdir): Likewise.
19075 (ftruncate): Likewise.
19076 (getdtablesize): Likewise.
19077 (gethostid): Likewise.
19078 (getpagesize): Likewise.
19079 (getpgid): Likewise.
19080 (getsid): Likewise.
19081 (getwd): Likewise.
19082 (lchown): Likewise.
19083 (lockf): Likewise.
19084 (readlink): Likewise.
19085 (sbrk): Likewise.
19086 (setpgrp): Likewise.
19087 (setregid): Likewise.
19088 (setreuid): Likewise.
19089 (symlink): Likewise.
19090 (sync): Likewise.
19091 (truncate): Likewise.
19092 (ualarm): Likewise.
19093 (usleep): Likewise.
19094 (vfork): Likewise.
19095 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
19096 variable.
19097
19098 [BZ #20054]
19099 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
19100 not [__USE_UNIX98].
19101 * conform/data/unistd.h-data (gethostname): Do not expect for
19102 [XPG3].
19103
19104 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
19105 [!POSIX] (S_IFBLK): Likewise.
19106 [!POSIX] (S_IFCHR): Likewise.
19107 [!POSIX] (S_IFIFO): Likewise.
19108 [!POSIX] (S_IFREG): Likewise.
19109 [!POSIX] (S_IFDIR): Likewise.
19110 [!POSIX] (S_IFLNK): Likewise.
19111 [!POSIX] (S_IFSOCK): Likewise.
19112 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
19113 variable.
19114 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19115
19116 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
19117
19118 * sysdeps/aarch64/memset.S (__memset):
19119 Rewrite of optimized memset.
19120
19121 2016-05-12 Florian Weimer <fweimer@redhat.com>
19122
19123 [BZ #19703]
19124 Partially async-signal-safe fork for single-threaded processes.
19125 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
19126 variable. Do not acquire and reset/release malloc and libio locks
19127 in single-threaded processes.
19128 * malloc/tst-mallocfork2.c: New file.
19129 * malloc/Makefile (tests): Add it.
19130
19131 2016-05-12 Florian Weimer <fweimer@redhat.com>
19132
19133 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
19134 argument. Use scratch buffer instead of extend_alloca.
19135 (gethosts): Use scratch buffer instead of extend_alloca.
19136 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
19137 extend_alloca.
19138 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
19139
19140 2016-05-11 Joseph Myers <joseph@codesourcery.com>
19141
19142 [BZ #20055]
19143 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
19144 instead of [__USE_UNIX98].
19145 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
19146 [__USE_UNIX98].
19147 * conform/data/termios.h-data (tcgetsid): Do not expect for
19148 [XPG3].
19149 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
19150 variable.
19151 (test-xfail-XPG4/termios.h/conform): Likewise.
19152
19153 2016-05-11 Florian Weimer <fweimer@redhat.com>
19154
19155 Do not use mcheck in localedef.
19156 * locale/programs/localedef.c (turn_on_mcheck)
19157 (__malloc_initialize_hook): Remove.
19158
19159 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19160
19161 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
19162 * sysdeps/s390/s390-64/Makefile: Likewise.
19163
19164 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
19165
19166 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
19167 Remove ifunc-defines.sym.
19168 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
19169 Likewise.
19170 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
19171 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19172 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
19173 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
19174 rtld-global-offsets.sym.
19175 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
19176 * sysdeps/x86/cpu-features-offsets.sym: This.
19177 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
19178 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
19179
19180 2016-05-10 Joseph Myers <joseph@codesourcery.com>
19181
19182 [BZ #20073]
19183 * io/sys/stat.h (fchmod): Declare for
19184 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
19185 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
19186 variable.
19187
19188 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
19189 [XPG3] (S_IFSOCK): Likewise.
19190 [XPG3] (S_ISVTX): Likewise.
19191 [XPG3] (S_ISLNK): Likewise.
19192 [XPG3] (S_ISSOCK): Likewise.
19193 [XPG3] (fchmod): Likewise.
19194 [XPG3] (lstat): Likewise.
19195 [XPG3] (mknod): Likewise.
19196
19197 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
19198 [XPG3]. Expect type long and XFAIL for [XPG4].
19199 (st_blocks): Likewise.
19200
19201 [BZ #20044]
19202 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
19203 (pthread_atfork): New prototype.
19204 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
19205 variable.
19206
19207 [BZ #20043]
19208 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
19209 prototype.
19210
19211 2016-05-10 Florian Weimer <fweimer@redhat.com>
19212
19213 [BZ #20017]
19214 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19215 gmtime.
19216
19217 2016-05-10 Florian Weimer <fweimer@redhat.com>
19218
19219 [BZ #19994]
19220 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19221 flag in _res.options.
19222
19223 2016-05-09 Joseph Myers <joseph@codesourcery.com>
19224
19225 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19226 [XPG3 || XPG4].
19227 (blksize_t): Likewise.
19228 (clockid_t): Likewise.
19229 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19230 variable.
19231 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19232
19233 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
19234
19235 * sysdeps/unix/sysv/linux/s390/init-first.c:
19236 Add VDSO_SYMBOL(getcpu).
19237 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19238 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19239 Add VDSO_SYMBOL(getcpu).
19240 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19241 New define HAVE_GETCPU_VSYSCALL.
19242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19243
19244 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
19245
19246 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19247 instead of <sysdeps/x86_64/cacheinfo.c>.
19248 * sysdeps/x86_64/cacheinfo.c: Moved to ...
19249 * sysdeps/x86/cacheinfo.c: Here.
19250
19251 2016-05-04 Florian Weimer <fweimer@redhat.com>
19252
19253 * malloc/malloc-internal.h: Adjust header file guard.
19254
19255 2016-05-04 Florian Weimer <fweimer@redhat.com>
19256
19257 [BZ #19787]
19258 * inet/getnameinfo.c (check_sprintf_result): New function.
19259 (CHECKED_SNPRINTF): New macro.
19260 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19261 to the host buffer.
19262 (gni_host_local): Use checked_copy to copy the host name.
19263 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19264 (gni_serv_local): Use checked_copy to copy the service name.
19265 (getnameinfo): Remove unnecessary truncation of result buffers.
19266
19267 2016-05-04 Florian Weimer <fweimer@redhat.com>
19268
19269 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19270 in case of inet_ntop failure.
19271
19272 2016-05-04 Florian Weimer <fweimer@redhat.com>
19273
19274 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19275 avoid long lines.
19276 (gni_host_inet_numeric): Likewise. Reduce scope of local
19277 variables.
19278 (gni_host_inet, gni_host_local): Add comment.
19279 (gni_host): Add comment. Use temporary to avoid long lines.
19280
19281 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19282
19283 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19284 registers specifiers where general purpose registers specifiers should
19285 have been used.
19286
19287 2016-05-04 Florian Weimer <fweimer@redhat.com>
19288
19289 [BZ #19779]
19290 CVE-2016-1234
19291 Avoid copying names of directory entries.
19292 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19293 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19294 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19295 (struct readdir_result): New type.
19296 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19297 (GL_READDIR): New macros.
19298 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19299 (convert_dirent, convert_dirent64): New functions.
19300 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
19301 convert_dirent64. Adjust references to the readdir result.
19302 * sysdeps/unix/sysv/linux/i386/glob64.c:
19303 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19304 * posix/bug-glob2.c (LONG_NAME): Define.
19305 (filesystem): Add LONG_NAME.
19306 (my_DIR): Increase the size of room_for_dirent.
19307
19308 2016-05-03 Joseph Myers <joseph@codesourcery.com>
19309
19310 [BZ #20041]
19311 * misc/sys/select.h (__need_timespec): Only define if
19312 [__USE_XOPEN2K].
19313 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19314 variable.
19315 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19316 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19317 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19318
19319 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19320 Segher Boessenkool <segher@gcc.gnu.org>
19321
19322 [BZ #20004]
19323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19324 (__novec_swapcontext): Add missing load.
19325
19326 2016-05-02 Joseph Myers <joseph@codesourcery.com>
19327
19328 [BZ #20023]
19329 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19330 <time.h>.
19331 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19332 variable.
19333 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19334
19335 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19336
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19338 flags CLONE_VM compare.
19339
19340 2016-05-02 Florian Weimer <fweimer@redhat.com>
19341
19342 [BZ #20031]
19343 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19344 completely empty.
19345
19346 2016-05-02 Florian Weimer <fweimer@redhat.com>
19347
19348 [BZ #19573]
19349 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19350 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19351 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19352 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19353 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19354 (hesiod_free_list): Mark as hidden.
19355 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19356 res_set, res_get.
19357 * hesiod/hesiod.c: Remove unnecessary forward declarations.
19358 (init, __hesiod_res_get, __hesiod_res_set): Remove.
19359 (hesiod_init): Remove obsolete res_ninit call.
19360 (hesiod_end): Do not free resolver state. Do not invoke callback.
19361 (hesiod_bind): Do not call init.
19362 (get_txt_records): Use res_mkquery, res_send instead of
19363 res_nmkquery, res_nsend.
19364 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19365 instead of _nss_hesiod_init.
19366 (_nss_hesiod_initgroups_dyn): Likewise.
19367 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19368 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19369 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19370
19371 2016-05-02 Florian Weimer <fweimer@redhat.com>
19372
19373 * hesiod/hesiod_p.h (DEF_RHS): Remove.
19374 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19375
19376 2016-05-02 Florian Weimer <fweimer@redhat.com>
19377
19378 * hesiod/hesiod.h: Remove RCS keyword.
19379 * hesiod/hesiod_p.h: Likewise.
19380
19381 * hesiod/hesiod.c: Likewise.
19382
19383 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
19384
19385 [BZ #12450]
19386 * locale/iso-639.def: Add Samogitian/sgs.
19387
19388 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
19389
19390 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
19391
19392 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
19393
19394 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
19395 Carlos O'Donell <carlos@redhat.com>
19396
19397 [BZ #19072]
19398 * grp/Makefile (headers): Add grp-merge.h
19399 (routines): Add grp-merge.
19400 * grp/getgrgid_r.c: Include grp-merge.h.
19401 (DEEPCOPY_FN): Define.
19402 (MERGE_FN): Define.
19403 * grp/getgrname_r.c: Include grp-merge.h.
19404 (DEEPCOPY_FN): Define.
19405 (MERGE_FN): Define.
19406 * grp/grp-merge.c: New file.
19407 * grp/grp-merge.h: New file.
19408 * include/grp-merge.h: New file.
19409 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
19410 __copy_grp@GLIBC_PRIVATE.
19411 * manual/nss.texi (Actions in the NSS configuration): Describe
19412 return, continue, and merge.
19413 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
19414 (DEEPCOPY_FN): Define.
19415 (MERGE_FN): Define.
19416 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
19417 (DEEPCOPY_FN): Define.
19418 (MERGE_FN): Define.
19419 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
19420 [!MERGE_FN]: Define __merge_einval.
19421 (CHECK_MERGE): Define.
19422 (REENTRANT_NAME): Process merge if do_merge is true.
19423 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
19424 (__nss_getent_r): Likewise.
19425 * nss/nsswitch.c (nss_parse_service_list): Likewise.
19426 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
19427
19428 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19429
19430 [BZ #20012]
19431 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
19432 length to calculate the buffer to read.
19433 (fmemopen_write): Set the buffer position based on bytes written.
19434 (fmemopen_seek): Return EINVAL for invalid whence modes.
19435
19436 [BZ #19957]
19437 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
19438 tst-getpid2.
19439 (test): Add tst-clone2.
19440 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
19441 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
19442 pid/tid fields for CLONE_VM.
19443 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19444 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19445 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19446 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
19447 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19448 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19449 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19450 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19452 Likewise.
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19454 Likewise.
19455 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19456 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19457 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19458 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19459 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19460 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19461 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19462 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
19463
19464 2016-04-29 Florian Weimer <fweimer@redhat.com>
19465
19466 [BZ #19642]
19467 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
19468 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
19469 (gni_serv_local, gni_serv): New functions extracted from
19470 getnameinfo.
19471 (getnameinfo): Call gni_host and gni_serv to perform the
19472 processing. Always free scratch buffer.
19473
19474 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19475
19476 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
19477 remaining bytes in the dest string, with zeros.
19478
19479 2016-04-29 Florian Weimer <fweimer@redhat.com>
19480
19481 [BZ #20010]
19482 CVE-2016-3706
19483 * sysdeps/posix/getaddrinfo.c
19484 (convert_hostent_to_gaih_addrtuple): New function.
19485 (gethosts): Call convert_hostent_to_gaih_addrtuple.
19486 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
19487 AF_INET data.
19488
19489 2016-04-29 Florian Weimer <fweimer@redhat.com>
19490
19491 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
19492 callback function gl_readdir.
19493 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
19494 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
19495 (glob_in_dir): Remove len. Use strdup instead of malloc and
19496 memcpy to copy the name.
19497 * manual/pattern.texi (Calling Glob): Document requirements for
19498 implementations of the gl_readdir callback function.
19499 * manual/examples/mkdirent.c: New example.
19500 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
19501 per the manual guidance.
19502 * posix/tst-gnuglob.c (my_readdir): Likewise.
19503
19504 2016-04-28 Joseph Myers <joseph@codesourcery.com>
19505
19506 [BZ #20014]
19507 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
19508 not [__USE_POSIX].
19509 (getchar_unlocked): Likewise.
19510 (putc_unlocked): Likewise.
19511 (putchar_unlocked): Likewise.
19512 (flockfile): Likewise.
19513 (ftrylockfile): Likewise.
19514 (funlockfile): Likewise.
19515 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
19516 variable.
19517 (test-xfail-XPG4/stdio.h/conform): Likewise.
19518
19519 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
19520 Expect constant.
19521 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
19522 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
19523 variable.
19524 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19525 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19526
19527 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
19528 [__USE_LARGEFILE64] (off64_t): Likewise.
19529 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
19530 variable.
19531
19532 2016-04-28 Florian Weimer <fweimer@redhat.com>
19533
19534 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
19535
19536 2016-04-28 Florian Weimer <fweimer@redhat.com>
19537
19538 * resolv/inet_addr.c: Reindent preprocessor conditionals.
19539 * resolv/res_init.c: Likewise.
19540 * resolv/res_mkquery.c: Likewise.
19541
19542 2016-04-28 Florian Weimer <fweimer@redhat.com>
19543
19544 * resolv/res_init.c (isascii): Do not define. Use definition in
19545 <ctype.h>.
19546 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19547 (LOG_AUTH): Remove.
19548 (SPRINTF): Remove, adjust caller.
19549 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19550
19551 2016-04-28 Florian Weimer <fweimer@redhat.com>
19552
19553 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19554 SUNSECURITY conditional.
19555 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19556
19557 2016-04-28 Florian Weimer <fweimer@redhat.com>
19558
19559 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19560 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19561 Remove BSD-related preprocessor conditionals.
19562 * conf/portability.h: Remove.
19563
19564 2016-04-28 Florian Weimer <fweimer@redhat.com>
19565
19566 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19567 * resolv/res_data.c: Likewise.
19568
19569 2016-04-28 Florian Weimer <fweimer@redhat.com>
19570
19571 * resolv/res_comp.c: Remove code conditional on __ultrix__.
19572 * resolv/res_data.c: Remove code conditional on ultrix.
19573
19574 2016-04-28 Florian Weimer <fweimer@redhat.com>
19575
19576 * resolv/res_init.c (RFC1535): Do not define. Remove
19577 RFC1535 preprocessor conditionals.
19578 * resolv/README: Update. Do not claim strict RFC 1535 compliance
19579 because there configuration options which make the resolver
19580 behavior different.
19581
19582 2016-04-28 Florian Weimer <fweimer@redhat.com>
19583
19584 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
19585 RESOLVSORT preprocessor conditionals.
19586 * resolv/nss_dns/dns-host.c: Likewise.
19587 * resolv/res_init.c: Likewise.
19588
19589 2016-04-28 Florian Weimer <fweimer@redhat.com>
19590
19591 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
19592 is never defined.
19593
19594 2016-04-28 Florian Weimer <fweimer@redhat.com>
19595
19596 * inet/inet_lnaof.c: Remove SCSS keyword.
19597 * inet/inet_mkadr.c: Likewise.
19598 * inet/inet_net.c: Likewise.
19599 * inet/inet_netof.c: Likewise.
19600 * inet/rcmd.c: Likewise.
19601 * inet/rexec.c: Likewise.
19602 * inet/ruserpass.c: Likewise.
19603
19604 2016-04-28 Florian Weimer <fweimer@redhat.com>
19605
19606 * resolv/inet_addr.c: Remove _LIBC conditionals.
19607 * resolv/res_data.c: Likewise.
19608 * resolv/res_init.c: Likewise.
19609 * resolv/res_mkquery.c: Likewise.
19610 * resolv/res_libc.c: Update comment.
19611 * resolv/README: Update.
19612
19613 2016-04-28 Florian Weimer <fweimer@redhat.com>
19614
19615 * resolv/gethnamaddr.c: Remove SCSS keyword.
19616 * resolv/herror.c: Likewise.
19617 * resolv/inet_addr.c: Likewise.
19618 * resolv/inet_net_ntop.c: Likewise.
19619 * resolv/inet_net_pton.c: Likewise.
19620 * resolv/inet_neta.c: Likewise.
19621 * resolv/inet_ntop.c: Likewise.
19622 * resolv/inet_pton.c: Likewise.
19623 * resolv/ns_date.c: Remove RCS keyword.
19624 * resolv/ns_name.c: Likewise.
19625 * resolv/ns_netint.c: Likewise.
19626 * resolv/ns_parse.c: Likewise.
19627 * resolv/ns_print.c: Likewise.
19628 * resolv/ns_samedomain.c: Likewise.
19629 * resolv/ns_ttl.c: Likewise.
19630 * resolv/nsap_addr.c: Likewise.
19631 * resolv/res_comp.c: Remove SCSS and RCS keyword.
19632 * resolv/res_data.c: Remove RCS keyword.
19633 * resolv/res_debug.c: Remove SCSS and RCS keyword.
19634 * resolv/res_init.c: Likewise.
19635 * resolv/res_mkquery.c: Likewise.
19636 * resolv/res_query.c: Likewise.
19637 * resolv/res_send.c: Likewise.
19638
19639 2016-04-27 Joseph Myers <joseph@codesourcery.com>
19640
19641 * conform/data/stdio.h-data (fdopen): Expect also for
19642 [XPG3 || XPG4].
19643
19644 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19645 (fseeko): Likewise.
19646 (ftello): Likewise.
19647 (ftrylockfile): Likewise.
19648 (funlockfile): Likewise.
19649 (getc_unlocked): Likewise.
19650 (getchar_unlocked): Likewise.
19651 (putc_unlocked): Likewise.
19652 (putchar_unlocked): Likewise.
19653
19654 2016-04-27 Florian Weimer <fweimer@redhat.com>
19655
19656 [BZ #19868]
19657 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19658 DNS packet syntax checks (which were not needed before). Skip
19659 over non-PTR records.
19660
19661 2016-04-27 Florian Weimer <fweimer@redhat.com>
19662
19663 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19664 definition. Include <stddef.h> instead.
19665
19666 2016-04-27 Florian Weimer <fweimer@redhat.com>
19667
19668 [BZ #19831]
19669 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19670 function.
19671 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19672 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19673
19674 2016-04-27 Florian Weimer <fweimer@redhat.com>
19675
19676 [BZ #19862]
19677 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19678 (getanswer_r): Do not call syslog.
19679 (gaih_getanswer_slice): Likewise.
19680 * resolv/gethnamaddr.c (AskedForGot): Remove.
19681 (getanswer): Do not call syslog.
19682 (gethostbyaddr): Likewise.
19683
19684 2016-04-27 Joseph Myers <joseph@codesourcery.com>
19685
19686 * conform/data/signal.h-data (union sigval): Expect also if
19687 [XOPEN2K].
19688 (struct sigevent): Likewise.
19689 (SIGEV_NONE): Likewise.
19690 (SIGEV_SIGNAL): Likewise.
19691 (SIGEV_THREAD): Likewise.
19692 (SIGRTMIN): Likewise.
19693 (SIGRTMAX): Likewise.
19694 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19695 variable.
19696 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19697
19698 2016-04-27 Florian Weimer <fweimer@redhat.com>
19699
19700 [BZ #19830]
19701 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19702 (gaih_getanswer_slice): Likewise.
19703 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19704 Also check for availability of RR metadata.
19705
19706 2016-04-27 Florian Weimer <fweimer@redhat.com>
19707
19708 [BZ #19825]
19709 * resolv/res_send.c (send_vc): Remove early *resplen2
19710 initialization. Set *resplen2 on socket error. Call
19711 close_and_return_error for other errors.
19712
19713 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
19714
19715 * sysdeps/unix/sysv/linux/netiucv/iucv.h
19716 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19717 (SCM_IUCV_TRGCLS): New define.
19718
19719 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19720
19721 [BZ #20005]
19722 * libio/fmemopen.c (fmemopen_write): Update internal position after
19723 write.
19724 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19725 * stdio-common/tst-fmemopen4.c: New file..
19726
19727 2016-04-26 Joseph Myers <joseph@codesourcery.com>
19728
19729 [BZ #19996]
19730 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19731 not [__USE_XOPEN2K].
19732 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19733 variable.
19734
19735 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19736 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19737 variable.
19738
19739 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19740 [__USE_XOPEN2K8].
19741 [__USE_LARGEFILE64] (off64_t): Likewise.
19742 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19743 variable.
19744
19745 2016-04-25 Joseph Myers <joseph@codesourcery.com>
19746
19747 [BZ #19989]
19748 * libio/stdio.h (cuserid): Do not declare if
19749 [__USE_XOPEN2K && !__USE_GNU].
19750 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19751 variable.
19752
19753 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19754
19755 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19756 (sysdep_routines): Add P8 and PPC64 strcspn targets.
19757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19758 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19759 ifunc'ed strcspn.
19760 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19761 [EALIGN]: Removed.
19762 [END]: Likewise
19763 [STRSPN]: Define instead of the above to control symbol name.
19764 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19765 New file.
19766 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19767 Likewise.
19768 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19769 Likewise.
19770 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19771 Likewise.
19772 * sysdeps/powerpc/powerpc64/power8/strspn.S:
19773 [INITIAL_MASK]: New macro.
19774 [STRCSPN]: Likewise.
19775 [UPDATE_MASK]: Likewise.
19776 [USE_AS_STRCSPN]: Likewise.
19777
19778 2016-04-25 Florian Weimer <fweimer@redhat.com>
19779
19780 [BZ #19931]
19781 * stdio-common/tst-vfprintf-width-prec.c: New file.
19782 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19783 (tests-special): Add tst-vfprintf-width-prec-mem.out.
19784 (generated): Add mtrace-related files.
19785 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19786 (tst-%-mem.out): New pattern rule, replaces
19787 tst-printf-bz18872-mem.out.
19788 * stdio-common/vfprintf.c (vfprintf): When handling a precision
19789 specifier, deallocate any previously allocated work buffer.
19790
19791 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19792
19793 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19794 Add nop before __startcontext, add explaining comments.
19795
19796 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
19797
19798 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19799 any more. Notably since IPV6_PKTINFO has been reintroduced with a
19800 completely different API.
19801
19802 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19803 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19804 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19805 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19806 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19807 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19808 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19809 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19810 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19811 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19812
19813 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
19814
19815 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19816
19817 2016-04-23 Mike Frysinger <vapier@gentoo.org>
19818
19819 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19820 when it is the default of 0.
19821
19822 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19823
19824 * sysdeps/powerpc/locale-defines.sym: Add new macros.
19825 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19826 (sysdep_routines): Add new strcasestr targets.
19827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19828 (__libc_ifunc_impl_list): Likewise.
19829 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19830 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19831 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19832 * sysdeps/powerpc/powerpc64/power8/Makefile:
19833 New file to add strcasestr-ppc64 to sysdep_routines.
19834 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19835 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19836
19837 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
19838
19839 * benchtests/Makefile (wcsmbs-benchset): Include only for
19840 native builds and runs.
19841 (LOCALES): Likewise.
19842 (bench-build): Build timing-type here instead of the bench
19843 target. Generate locale only for native builds.
19844 * benchtests/README: Add note for cross-building.
19845
19846 * benchtests/Makefile (bench-clean): Clean up extra-objs.
19847
19848 * benchtests/README: Update README to include instructions on
19849 using bench-build.
19850
19851 * Makefile.in (bench-build): New target.
19852 * Rules (PHONY): Add bench-build target.
19853 * benchtests/Makefile (bench): Depend on bench-build.
19854 (bench-build): New target.
19855
19856 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19857
19858 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19859 profil_reply_port.
19860 (profile_waiter): Do not initialize profil_reply_port.
19861 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19862 frequency instead of tick length in us.
19863
19864 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
19865
19866 [BZ #18712]
19867 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19868 (__old_mempcpy_small): Likewise.
19869 (__old_strcpy_small): Likewise.
19870 (__old_stpcpy_small): Likewise.
19871 (__old_strpbrk_c2): Fix compat symbol name.
19872 (__old_strpbrk_c3): Likewise.
19873 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19874 (__mempcpy_small): Remove.
19875 (__strcpy_small): Remove.
19876 (__stpcpy_small): Remove.
19877
19878 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
19879
19880 [BZ #19400]
19881 * locale/iso-639.def: Add the Talossan/tzl language.
19882
19883 2016-04-16 Mike Frysinger <vapier@gentoo.org>
19884
19885 [BZ #16983]
19886 * locale/programs/ld-address.c (address_finish): Update postal_fmt
19887 comment. Add "ln" to strchr check on postal_fmt.
19888
19889 2016-04-16 Mike Frysinger <vapier@gentoo.org>
19890
19891 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19892 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
19893 tel_dom_fmt.
19894
19895 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
19896
19897 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19898 (sysdep_routines): Added __strlen_power8.
19899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19900 __strlen_power8 entry.
19901 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19902 Implementation for POWER8.
19903 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19904 for __strlen_power8.
19905 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19906 Implementation for POWER8.
19907
19908 2016-04-15 Mike Frysinger <vapier@gentoo.org>
19909
19910 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19911
19912 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
19913
19914 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19915 Goldmont and Airmont processors.
19916
19917 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
19918
19919 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19920 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19921 (__STRING2_SMALL_GET32): Remove.
19922 (memset): Remove.
19923 (__memset_1): Remove.
19924 (__memset_gc): Remove.
19925 (__mempcpy): Remove.
19926 (mempcpy): Remove.
19927 (__mempcpy_args): Remove.
19928 (strchr): Remove.
19929 (strcpy): Remove.
19930 (strcpy_args): Remove.
19931 (__stpcpy_args): Remove.
19932 (__strcmp_cc): Remove.
19933 (__strcmp_gc): Remove.
19934 (strstr): Remove.
19935
19936 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
19937
19938 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19939 * nis/nis_call.c (nis_server_cache_add): Likewise.
19940
19941 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19942
19943 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19944
19945 2016-04-14 Florian Weimer <fweimer@redhat.com>
19946
19947 * malloc/arena.c (__malloc_fork_lock_parent)
19948 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19949 internal_function attribute.
19950
19951 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
19952
19953 * stdio-common/printf_fp.c (__printf_fp_l):
19954 Rename ___printf_fp_l to __printf_fp_l and
19955 remove strong alias. Use libc_hidden_def instead
19956 of ldbl_hidden_def macro.
19957
19958 2016-04-14 Florian Weimer <fweimer@redhat.com>
19959
19960 Remove malloc hooks from fork handler. They are no longer needed
19961 because malloc runs right before fork, and no malloc calls from
19962 other fork handlers are not possible anymore.
19963 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19964 declarations.
19965 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19966 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19967 (atfork_recursive_cntr): Remove.
19968 (__malloc_fork_lock_parent): Do not override malloc hooks and
19969 thread_arena.
19970 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19971 thread_arena.
19972 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
19973 thread_arena instead of save_arena.
19974
19975 2016-04-14 Florian Weimer <fweimer@redhat.com>
19976
19977 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19978 (thread_atfork, thread_atfork_static): Remove.
19979 * sysdeps/mach/hurd/malloc-machine.h:
19980 (thread_atfork, thread_atfork_static): Remove.
19981
19982 2016-04-14 Florian Weimer <fweimer@redhat.com>
19983
19984 [BZ #19431]
19985 Run the malloc fork handler as late as possible to avoid deadlocks.
19986 * malloc/malloc-internal.h: New file.
19987 * malloc/malloc.c: Include it.
19988 * malloc/arena.c (ATFORK_MEM): Remove.
19989 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19990 Update comment.
19991 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19992 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19993 Remove outdated comment.
19994 (ptmalloc_init): Do not call thread_atfork. Remove
19995 thread_atfork_static.
19996 * malloc/tst-malloc-fork-deadlock.c: New file.
19997 * Makefile (tests): Add tst-malloc-fork-deadlock.
19998 (tst-malloc-fork-deadlock): Link against libpthread.
19999 * manual/memory.texi (Aligned Memory Blocks): Update safety
20000 annotation comments.
20001 * sysdeps/nptl/fork.c (__libc_fork): Call
20002 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
20003 __malloc_fork_unlock_child.
20004 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
20005
20006 2016-04-14 Florian Weimer <fweimer@redhat.com>
20007
20008 [BZ #19613]
20009 Remove union wait.
20010 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
20011 (w_stopsig, w_stopval): Remove.
20012 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
20013 stat_loc argument.
20014 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
20015 (__WAIT_STATUS_DEFN): Remove.
20016 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20017 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
20018 (wait, wait3, wait4): Use int * for the stat_loc argument.
20019 * posix/wait.c (__wait): Likewise.
20020 * posix/wait3.c (__wait3): Likewise.
20021 * posix/wait4.c (__wait4): Likewise.
20022 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
20023 (__WAIT_STATUS_DEFN): Remove.
20024 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20025 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
20026 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
20027 argument.
20028 * sysdeps/posix/wait.c (__libc_wait): Likewise.
20029 * sysdeps/posix/wait3.c (__wait3): Likewise.
20030 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
20031 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20032 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
20033 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
20034 stat_loc argument.
20035 * manual/process.texi (BSD Wait Functions): Remove union wait.
20036
20037 2016-04-13 Andreas Schwab <schwab@suse.de>
20038
20039 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
20040 (test-extras): Add tst-tlsalign-vars.
20041 * math/Makefile: Wrap long lines.
20042 (libm-vec-test-wrappers): Define.
20043 (test-extras): Add $(libm-vec-test-wrappers).
20044 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
20045 * nss/Makefile (extra-test-objs): Add nss_test1.os.
20046 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
20047 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
20048 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
20049 (extra-test-objs): Add corresponding objects.
20050
20051 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
20052
20053 [BZ #19928]
20054 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
20055 New.
20056 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
20057 times of shared cache size.
20058 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
20059 (VMOVNT): New.
20060 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
20061 (VMOVNT): Likewise.
20062 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
20063 (VMOVNT): Likewise.
20064 (VMOVU): Changed to movups for smaller code sizes.
20065 (VMOVA): Changed to movaps for smaller code sizes.
20066 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
20067 comments.
20068 (PREFETCH): New.
20069 (PREFETCH_SIZE): Likewise.
20070 (PREFETCHED_LOAD_SIZE): Likewise.
20071 (PREFETCH_ONE_SET): Likewise.
20072 Rewrite to use forward and backward loops, which move 4 vector
20073 registers at a time, to support overlapping addresses and use
20074 non temporal store if size is above the threshold and there is
20075 no overlap between destination and source.
20076
20077 2016-04-12 Alex Smith <alex.smith@imgtec.com>
20078
20079 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
20080 Include dl-vdso.
20081 * sysdeps/unix/sysv/linux/mips/Versions: Add
20082 __vdso_clock_gettime.
20083 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
20084 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
20085 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
20086 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
20087 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
20088 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
20089 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20090 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20091 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20092
20093 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20094
20095 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
20096 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
20097 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20098 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20099 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20100 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20103 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
20104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
20105 syscalls generation.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20107 [__NR_pwrite64] (__NR_write): Remove define.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20109 [__NR_pwrite64] (__NR_write): Remove define.
20110 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
20111 Remove define.
20112 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
20113 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
20114 Remove define.
20115 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
20116 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
20117 Linux implementation as base.
20118 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20119
20120 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
20121 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
20122 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20123 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20126 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
20127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
20128 syscall generation.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20130 [__NR_pread64] (__NR_pread): Remove define.
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20132 [__NR_pread64] (__NR_pread): Likewise.
20133 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
20134 define.
20135 (__libc_pread): Use SYSCALL_LL macro on offset argument.
20136 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
20137 Remove define.
20138 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
20139 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
20140 Linux implementation as base.
20141 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20142 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20143 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20144
20145 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
20146 definition.
20147 (__ALIGNMENT_COUNT): Likewise.
20148 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
20149 (__ALIGNMENT_COUNT): Likewise.
20150 (SYSCALL_LL): New define.
20151 (SYSCALL_LL64): Likewise.
20152 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
20153 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
20154 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
20155 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
20156
20157 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20158 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
20159 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20160 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20161 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20162 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20163
20164 2016-04-11 Florian Weimer <fweimer@redhat.com>
20165
20166 [BZ #19865]
20167 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
20168 original buffer before retry.
20169
20170 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20171
20172 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
20173 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
20174 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
20175 GLRO(dl_auxv) list.
20176 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
20177 including <ldsodefs.h>.
20178 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
20179
20180 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
20181
20182 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
20183 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
20184 $(CPPFLAGS).
20185
20186 2016-04-09 Khem Raj <raj.khem@gmail.com>
20187
20188 [BZ #17950]
20189 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
20190 Add -mfpmath=387.
20191
20192 2016-04-09 Mike Frysinger <vapier@gentoo.org>
20193
20194 * sysdeps/i386/configure.ac: Change == to = when calling test.
20195 * sysdeps/x86_64/configure.ac: Likewise.
20196 * sysdeps/i386/configure: Regenerated.
20197 * sysdeps/x86_64/configure: Likewise.
20198
20199 2016-04-08 Mike Frysinger <vapier@gentoo.org>
20200
20201 [BZ #16137]
20202 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
20203 * benchtests/bench-strcoll.c (input_files): Likewise.
20204 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20205 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
20206 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
20207
20208 2016-04-08 Joseph Myers <joseph@codesourcery.com>
20209
20210 [BZ #19929]
20211 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20212 [__USE_XOPEN2K8 && !__USE_GNU].
20213 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20214 variable.
20215
20216 [BZ #19925]
20217 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20218 define if [!__USE_MISC && __USE_XOPEN2K].
20219 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20220 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20221 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20222 Likewise.
20223 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20224 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20225 variable.
20226 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20227
20228 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20229
20230 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20231 (sysdep_routines): Add new strspn targets.
20232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20233 (__libc_ifunc_impl_list): Add strspn.
20234 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20235 New file.
20236 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20237 Likewise.
20238 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20239 Likewise.
20240 * sysdeps/powerpc/powerpc64/power8/strspn.S:
20241 Likewise.
20242
20243 2016-04-07 Florian Weimer <fweimer@redhat.com>
20244
20245 * misc/hsearch_r.c: Include <limits.h>.
20246
20247 2016-04-07 Florian Weimer <fweimer@redhat.com>
20248
20249 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20250
20251 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
20252
20253 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20254 (MEMCPY_SYMBOL): New.
20255 (MEMPCPY_SYMBOL): Likewise.
20256 (MEMMOVE_CHK_SYMBOL): Likewise.
20257 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20258 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20259 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
20260 Provide alias for memcpy in libc.a and ld.so.
20261
20262 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
20263
20264 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20265 (MEMSET_CHK_SYMBOL): New. Define if not defined.
20266 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20267 Disabled fro now.
20268 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20269 symbols. Properly check USE_MULTIARCH on __memset symbols.
20270
20271 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
20272
20273 * benchtests/Makefile (string-benchset): Add memcpy-large,
20274 memmove-large and memset-large.
20275 * benchtests/bench-memcpy-large.c: New file.
20276 * benchtests/bench-memmove-large.c: Likewise.
20277 * benchtests/bench-memmove-large.c: Likewise.
20278 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20279
20280 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
20281
20282 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20283 32-bit displacement to avoid long nop between instructions.
20284
20285 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
20286
20287 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20288 a comment on VMOVU and VMOVA.
20289
20290 2016-04-04 Florian Weimer <fweimer@redhat.com>
20291
20292 [BZ #19633]
20293 Use specified locale for number formatting in strfmon_l.
20294 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20295 (__nl_lookup_word): New inline functions.
20296 * include/printf.h (__print_fp_l): Declare.
20297 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20298 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
20299 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20300 (___printf_fp): New function.
20301 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20302 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20303 * stdlib/tst-strfmon_l.c (do_test): New test.
20304 * stdlib/Makefile (tests): Add kt.
20305 (LOCALES): Build additional locales.
20306 (tst-strfmon_l.out): Require locales.
20307
20308 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
20309
20310 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20311 if not in libc.
20312 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20313 Likewise.
20314 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20315 Likewise.
20316 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20317 Likewise.
20318
20319 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
20320
20321 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20322 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20323 with unaligned_erms.
20324 (__memmove_erms): Skip if source == destination.
20325 (__memmove_unaligned_erms): Don't check source == destination
20326 first.
20327
20328 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
20329
20330 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20331 bit_arch_Fast_Copy_Backward for Intel Core proessors.
20332
20333 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20334
20335 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20336 * string/strspn.c (strspn): Likewise.
20337
20338 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
20339
20340 * benchtests/bench-memset.c (do_test): Support 64-byte
20341 alignment.
20342 (test_main): Test 64-byte alignment.
20343
20344 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
20345
20346 * benchtests/bench-memmove.c (test_main): Test 64-byte
20347 alignment.
20348
20349 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
20350
20351 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20352
20353 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20354
20355 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20356 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20357 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20358
20359 * string/strpbrk.c (strpbrk): Rewrite function.
20360 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20361 (__strpbrk_c2): Likewise.
20362 (__strpbrk_c3): Likewise.
20363 * string/string-inlines.c
20364 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20365 Likewise.
20366 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20367 Likewise.
20368
20369 * string/strspn.c (strcspn): Rewrite function.
20370 * string/bits/string2.h (strspn): Use __builtin_strcspn.
20371 (__strspn_c1): Remove inline function.
20372 (__strspn_c2): Likewise.
20373 (__strspn_c3): Likewise.
20374 * string/string-inlines.c
20375 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20376 compatibility symbol.
20377 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20378 Likewise.
20379 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20380 Likewise.
20381 * string/string-inlines.c: Include generic version.
20382
20383 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
20384 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20385
20386 * string/Version (libc): Add GLIBC_2.24.
20387 * string/strcspn.c (strcspn): Rewrite function.
20388 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20389 (__strcspn_c1): Remove inline function.
20390 (__strcspn_c2): Likewise.
20391 (__strcspn_c3): Likewise.
20392 * string/string-inline.c
20393 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
20394 compatibility symbol.
20395 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
20396 Likewise.
20397 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
20398 Likewise.
20399 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
20400
20401 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
20402
20403 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20404 Use ahi instead of aghi to adjust stack pointer.
20405
20406 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20407
20408 [BZ #19853]
20409 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
20410 TEST to take significant digits as second parameter.
20411 [TEST]: Redefine in terms of TEST_N taking 30
20412 significant digits.
20413 (do_test): Add test case to demonstrate precision
20414 failure in the ldbl-128ibm printf.
20415 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
20416 (__mpn_extract_long_double): Carry 7 extra intermediate
20417 bits of precision to aide computing difference when
20418 signs differ.
20419
20420 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
20421
20422 [BZ #19881]
20423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20424 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
20425 memset-avx512-unaligned-erms.
20426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20427 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
20428 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
20429 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
20430 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
20431 __memset_sse2_unaligned_erms, __memset_erms,
20432 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
20433 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20434 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
20435 file.
20436 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20437 Likewise.
20438 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
20439 Likewise.
20440 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
20441 Likewise.
20442
20443 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
20444
20445 [BZ #19776]
20446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20447 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
20448 memmove-avx512-unaligned-erms.
20449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20450 (__libc_ifunc_impl_list): Test
20451 __memmove_chk_avx512_unaligned_2,
20452 __memmove_chk_avx512_unaligned_erms,
20453 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
20454 __memmove_chk_sse2_unaligned_2,
20455 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
20456 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
20457 __memmove_avx512_unaligned_erms, __memmove_erms,
20458 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
20459 __memcpy_chk_avx512_unaligned_2,
20460 __memcpy_chk_avx512_unaligned_erms,
20461 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
20462 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
20463 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
20464 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
20465 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
20466 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
20467 __mempcpy_chk_avx512_unaligned_erms,
20468 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
20469 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
20470 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
20471 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
20472 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
20473 __mempcpy_erms.
20474 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
20475 file.
20476 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20477 Likewise.
20478 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20479 Likewise.
20480 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20481 Likewise.
20482
20483 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
20484
20485 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
20486 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
20487 (La_s390_64_regs): Likewise.
20488 (La_s390_32_retval): Append vector register lrv_v24.
20489 (La_s390_64_retval): Likeweise.
20490 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
20491 Handle extended structs La_s390_32_regs and La_s390_32_retval.
20492 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
20493 Handle extended structs La_s390_64_regs and La_s390_64_retval.
20494
20495 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
20496
20497 [BZ #19916]
20498 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
20499 to create a non-vector/vector version for _dl_runtime_resolve and
20500 _dl_runtime_profile. Move implementation to ...
20501 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
20502 (_dl_runtime_resolve) Save and restore fpr/vrs.
20503 (_dl_runtime_profile) Save and restore vrs and fix some issues
20504 if _dl_call_pltexit is called.
20505 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
20506 Choose the correct resolver function if running on a machine with vx.
20507 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
20508 to create a non-vector/vector version for _dl_runtime_resolve and
20509 _dl_runtime_profile. Move implementation to ...
20510 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
20511 (_dl_runtime_resolve) Save and restore fpr/vrs.
20512 (_dl_runtime_profile) Save and restore vrs and fix some issues
20513 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
20514 Choose the correct resolver function if running on a machine with vx.
20515
20516 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20517
20518 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
20519
20520 2016-03-31 Florian Weimer <fweimer@redhat.com>
20521
20522 [BZ #19509]
20523 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
20524 skip_map != NULL.
20525 * elf/tst-dlsym-error.c: New file.
20526 * elf/Makefile (tests): Add tst-dlsym-error.
20527 (tst-dlsym-error): Link against libdl.
20528
20529 2016-03-29 Joseph Myers <joseph@codesourcery.com>
20530
20531 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20532 (__ASSUME_FUTIMESAT): Remove macro.
20533 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20534
20535 2016-03-29 Florian Weimer <fweimer@redhat.com>
20536
20537 [BZ #19879]
20538 CVE-2016-3075
20539 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20540 copy name.
20541
20542 2016-03-29 Florian Weimer <fweimer@redhat.com>
20543
20544 [BZ #19837]
20545 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20546 error if parse_line fails.
20547
20548 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
20549
20550 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20551 (index_cpu_ERMS): Likewise.
20552 (reg_ERMS): Likewise.
20553
20554 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
20555
20556 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20557 PER_LINUX_FDPIC): Add.
20558
20559 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
20560
20561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20562 memcpy-avx512-no-vzeroupper.
20563 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20564 to ...
20565 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20566 (MEMCPY): Don't define.
20567 (MEMCPY_CHK): Likewise.
20568 (MEMPCPY): Likewise.
20569 (MEMPCPY_CHK): Likewise.
20570 (MEMPCPY_CHK): Renamed to ...
20571 (__mempcpy_chk_avx512_no_vzeroupper): This.
20572 (MEMPCPY_CHK): Renamed to ...
20573 (__mempcpy_chk_avx512_no_vzeroupper): This.
20574 (MEMCPY_CHK): Renamed to ...
20575 (__memmove_chk_avx512_no_vzeroupper): This.
20576 (MEMCPY): Renamed to ...
20577 (__memmove_avx512_no_vzeroupper): This.
20578 (__memcpy_avx512_no_vzeroupper): New alias.
20579 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20580
20581 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 [BZ #18858]
20584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20585 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20586 and mempcpy-avx512-no-vzeroupper.
20587 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20588 New.
20589 (MEMPCPY): Likewise.
20590 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20591 (MEMPCPY_CHK): New.
20592 (MEMPCPY): Likewise.
20593 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20594 (MEMPCPY): Likewise.
20595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20596 (MEMPCPY): Likewise.
20597 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20598 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20599 Likewise.
20600 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20601 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20602
20603 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
20604 Amit Pawar <Amit.Pawar@amd.com>
20605
20606 [BZ #19583]
20607 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20608 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20609 processors. Set Fast_Copy_Backward for AMD Excavator
20610 processors.
20611 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20612 New.
20613 (index_arch_Fast_Unaligned_Copy): Likewise.
20614 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20615 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20616
20617 2016-03-25 Florian Weimer <fweimer@redhat.com>
20618
20619 [BZ #19791]
20620 * resolv/res_send.c (close_and_return_error): New function.
20621 (send_dg): Initialize *resplen2 after reopen failure. Call
20622 close_and_return_error for error returns. On error paths without
20623 __res_iclose, initialze *resplen2 explicitly. Update comment for
20624 successful return.
20625
20626 2016-03-25 Florian Weimer <fweimer@redhat.com>
20627
20628 [BZ #19860]
20629 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20630 zero if the compiler does not provide the AVX512F bit.
20631
20632 2016-03-24 Joseph Myers <joseph@codesourcery.com>
20633
20634 [BZ #19848]
20635 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20636 from 8 to 4.
20637 (__ieee754_powl): Compare integer exponent against 4 not 8.
20638 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20639 from 8 to 4.
20640 (__ieee754_powl): Compare integer exponent against 4 not 8.
20641 * math/auto-libm-test-in: Add more tests of pow.
20642 * math/auto-libm-test-out: Regenerated.
20643 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20645
20646 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
20647
20648 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20649 Make code unconditional.
20650 [!__NR_utimensat]: Remove conditional code.
20651 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20652 Make code unconditional.
20653 [!__NR_utimensat]: Remove conditional code.
20654 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20655 Make code unconditional.
20656 [!__NR_utimensat]: Remove conditional code.
20657
20658 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
20659
20660 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20661 Make code unconditional.
20662
20663 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
20664
20665 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20666 call-clobbered %eax on retry path.
20667 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20668
20669 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
20670
20671 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20672 Don't set %rcx twice before "rep movsb".
20673
20674 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
20675
20676 [BZ #19583]
20677 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20678 inline. Check family before setting family, model and
20679 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
20680 bits here.
20681 (init_cpu_features): Replace HAS_CPU_FEATURE and
20682 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20683 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
20684 for Intel processors with usable AVX2. Call get_common_indeces
20685 for other processors with family == NULL.
20686 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20687 (CPU_FEATURES_ARCH_P): Likewise.
20688 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20689 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20690
20691 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20692
20693 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20694 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20695 $(shared-thread-library) instead of hardcoding the path to libpthread.
20696
20697 2016-03-22 Joseph Myers <joseph@codesourcery.com>
20698
20699 * sysdeps/unix/sysv/linux/kernel-features.h
20700 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20701 * sysdeps/unix/sysv/linux/getdents.c
20702 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20703 [!have_no_getdents64_defined]: Likewise.
20704 (__GETDENTS): Remove __have_no_getdents64 conditional.
20705
20706 2016-03-21 Joseph Myers <joseph@codesourcery.com>
20707
20708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20709 Remove macro.
20710 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20711 <kernel-features.h>.
20712 (signalfd) [__NR_signalfd4]: Make code unconditional.
20713 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20714
20715 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20716
20717 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20718 style.
20719
20720 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
20721
20722 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20723 (__pthread_enable_asynccancel): Use JUMPTARGET to call
20724 __pthread_unwind.
20725 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20726 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20727 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20728 (__condvar_cleanup1): Likewise.
20729
20730 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
20731
20732 [BZ #19822]
20733 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20734 move it to the final $@ location.
20735
20736 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20737
20738 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20739 access where posix_spawn success and pid argument is null.
20740 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20741 success case.
20742
20743 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
20744
20745 * sysdeps/mach/hurd/i386/c++-types.data: New file.
20746
20747 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20748
20749 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20750 and __fcntl.
20751 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20752 __fcntl only.
20753 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20754 adding attribute_hidden to __open and __fcntl.
20755
20756 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20757 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20758 depend on libc-modules.h,
20759 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20760
20761 2016-03-17 Joseph Myers <joseph@codesourcery.com>
20762
20763 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20764 Remove macro.
20765 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20766 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20767 entry.
20768
20769 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20770 Remove macro.
20771 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20772 include <kernel-features.h>.
20773 [!__ASSUME_FALLOCATE]: Remove conditional code.
20774 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20775
20776 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
20777
20778 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20779 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20780 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20781 (_ZGVdN4v_cos_avx2): Likewise.
20782 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20783 (_ZGVdN4v_cos): Likewise.
20784 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20785 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20786 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20787 (_ZGVdN4v_exp_avx2): Likewise.
20788 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20789 (_ZGVdN4v_exp): Likewise.
20790 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20791 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20792 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20793 (_ZGVdN4v_log_avx2): Likewise.
20794 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20795 (_ZGVdN4v_log): Likewise.
20796 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20797 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20798 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20799 (_ZGVdN4vv_pow_avx2): Likewise.
20800 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20801 (_ZGVdN4vv_pow): Likewise.
20802 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20803 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20804 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20805 (_ZGVdN4v_sin_avx2): Likewise.
20806 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20807 (_ZGVdN4v_sin): Likewise.
20808 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20809 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20810 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20811 (_ZGVdN4vvv_sincos_avx2): Likewise.
20812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20813 (_ZGVdN4vvv_sincos): Likewise.
20814 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20815 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20816 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20817 (_ZGVbN4v_cosf_sse4): Likewise.
20818 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20819 (_ZGVdN8v_cosf_avx2): Likewise.
20820 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20821 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20822 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20823 (_ZGVbN4v_expf_sse4): Likewise.
20824 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20825 (_ZGVdN8v_expf_avx2): Likewise.
20826 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20827 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20828 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20829 (_ZGVbN4v_logf_sse4): Likewise.
20830 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20831 (_ZGVdN8v_logf_avx2): Likewise.
20832 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20833 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20834 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20835 (_ZGVbN4vv_powf_sse4): Likewise.
20836 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20837 (_ZGVdN8vv_powf_avx2): Likewise.
20838 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20839 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20840 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20841 (_ZGVbN4vvv_sincosf_sse4): Likewise.
20842 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20843 (_ZGVdN8vvv_sincosf_avx2): Likewise.
20844 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20845 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20846 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20847 (_ZGVbN4v_sinf_sse4): Likewise.
20848 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20849 (_ZGVdN8v_sinf_avx2): Likewise.
20850 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20851 Use JUMPTARGET to call callee.
20852 (WRAPPER_IMPL_SSE2_ff): Likewise.
20853 (WRAPPER_IMPL_SSE2_fFF): Likewise.
20854 (WRAPPER_IMPL_AVX): Likewise.
20855 (WRAPPER_IMPL_AVX_ff): Likewise.
20856 (WRAPPER_IMPL_AVX_fFF): Likewise.
20857 (WRAPPER_IMPL_AVX512): Likewise.
20858 (WRAPPER_IMPL_AVX512_ff): Likewise.
20859 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20860 Likewise.
20861 (WRAPPER_IMPL_SSE2_ff): Likewise.
20862 (WRAPPER_IMPL_SSE2_fFF): Likewise.
20863 (WRAPPER_IMPL_AVX): Likewise.
20864 (WRAPPER_IMPL_AVX_ff): Likewise.
20865 (WRAPPER_IMPL_AVX_fFF): Likewise.
20866 (WRAPPER_IMPL_AVX512): Likewise.
20867 (WRAPPER_IMPL_AVX512_ff): Likewise.
20868 (WRAPPER_IMPL_AVX512_fFF): Likewise.
20869
20870 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20871
20872 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20873 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20874 qualifier.
20875 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20876 internal_function qualifiers.
20877
20878 2016-03-15 Carlos O'Donell <carlos@redhat.com>
20879
20880 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20881 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20882 * math/atest-exp.c (exp_mpn): Mark chk unused.
20883 * math/atest-exp2.c (exp_mpn): Likewise.
20884 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20885 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20886
20887 2016-03-15 Joseph Myers <joseph@codesourcery.com>
20888
20889 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20890 Remove macro.
20891 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20892 <kernel-features.h>.
20893 [__NR_ppoll]: Make code unconditional.
20894 [!__ASSUME_PPOLL]: Remove conditional code.
20895
20896 * sysdeps/unix/sysv/linux/kernel-features.h
20897 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20898 (__ASSUME_ACCEPT4): Likewise.
20899 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20900 Define.
20901 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20902 Likewise.
20903 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20904 Likewise.
20905 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20906 Likewise.
20907 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20908 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20909 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20910 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20911 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20912 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20913 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20914 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20915 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20916 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20917 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20918 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20919 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20920 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20921 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20922 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20923 Likewise.
20924 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20925 Likewise.
20926 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20927 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20928 0x040300].
20929 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20930 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20931 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20932 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20933 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20934 0x030300].
20935 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20936 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20937 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20938 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20939 0x040300].
20940 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20941 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20943 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20944 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20945 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20946 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20947 0x030300].
20948 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20949 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20950 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20951 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20952 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20953 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20954 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20955 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20956 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20957 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20958 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20959 0x040300].
20960 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20961 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20962 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20963 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20964 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20965 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20966 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20967 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20968 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20969 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20970 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20971 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20972 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20973 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20974 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20975 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20976 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20977 Likewise.
20978 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20979 Likewise.
20980
20981 2016-03-15 Andreas Schwab <schwab@suse.de>
20982
20983 [BZ #19257]
20984 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20985 statp->_u._ext.nscount as loop count.
20986
20987 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
20988
20989 * math/test-signgam-finite-c99.c: Also #undef
20990 __LIBC_INTERNAL_MATH_INLINES.
20991 * math/test-signgam-main.c: Likewise.
20992
20993 2016-03-14 Joseph Myers <joseph@codesourcery.com>
20994
20995 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20996 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20997 (MADV_FREE): Likewise.
20998 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20999 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
21000 EPOLLEXCLUSIVE.
21001
21002 2016-03-14 Carlos O'Donell <carlos@redhat.com>
21003
21004 * timezone/README: Remove mention of checktab.awk. Mention wiki
21005 SharedSourceFiles.
21006
21007 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
21008
21009 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
21010 WUNTRACED.
21011
21012 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21013
21014 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
21015 order to match the type of p when calling atomic_exchange_acq().
21016
21017 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21018
21019 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
21020 cfi_offset calls.
21021 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
21022 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
21023 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
21024 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
21025 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
21026
21027 2016-03-10 Carlos O'Donell <carlos@redhat.com>
21028
21029 * timezone/checktab.awk: Removed.
21030
21031 2016-03-10 Joseph Myers <joseph@codesourcery.com>
21032
21033 * manual/math.texi (Errors in Math Functions): Document relaxed
21034 accuracy goals for IBM long double.
21035 * math/libm-test.inc (test_exceptions): Always allow spurious
21036 "underflow" and "inexact" exceptions for IBM long double.
21037
21038 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
21039
21040 [BZ #19762]
21041 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21042 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
21043 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
21044 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
21045 (bit_arch_*): This for feature array.
21046 (bit_*): Renamed to ...
21047 (bit_cpu_*): This for cpu array.
21048 (index_*): Renamed to ...
21049 (index_arch_*): This for feature array.
21050 (index_*): Renamed to ...
21051 (index_cpu_*): This for cpu array.
21052 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
21053 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
21054 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
21055 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
21056 bit_##name with index_cpu_##name and bit_cpu_##name.
21057 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
21058 bit_##name with index_arch_##name and bit_arch_##name.
21059
21060 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
21061
21062 [BZ #19792]
21063 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
21064 Terminate FDE before return label.
21065
21066 2016-03-09 Joseph Myers <joseph@codesourcery.com>
21067
21068 [BZ #19790]
21069 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
21070 (rintl): Define as macro.
21071 [USE_AS_NEARBYINTL] (__rintl): Likewise.
21072 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
21073 of fesetround. Ensure results are evaluated before end of scope.
21074 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
21075 USE_AS_NEARBYINTL and include s_rintl.c.
21076 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
21077 Disable exception traps in new environment.
21078 (libc_feholdsetround_ppc_ctx): Likewise.
21079
21080 2016-03-08 Roland McGrath <roland@hack.frob.com>
21081
21082 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
21083 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
21084 (tst_audit10_aux) [__AVX512F__]: ... here.
21085
21086 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
21087
21088 * include/sys/auxv.h: New file.
21089
21090 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
21091
21092 [BZ #19759]
21093 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
21094
21095 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21096
21097 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
21098 operand modifier.
21099 (feclearexcept): Likewise.
21100
21101 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21102
21103 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
21104 to reflect the entire 32-bit HWCAP.
21105 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
21106 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
21107
21108 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
21109
21110 [BZ #19783]
21111 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
21112 $(test-via-rtld-prefix).
21113 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
21114
21115 2016-03-08 Florian Weimer <fweimer@redhat.com>
21116
21117 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
21118 union wait. Report any non-zero exit status as error.
21119
21120 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21121
21122 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
21123 configured with --enable-hardcoded-path-in-tests.
21124
21125 2016-03-08 Joseph Myers <joseph@codesourcery.com>
21126
21127 [BZ #19677]
21128 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21129 (__ieee754_remainderl): Put zero low parts in canonical form.
21130 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
21131 file. Based on
21132 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
21133 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
21134 with wrapper round test-fmodrem-ldbl-128ibm.c.
21135 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
21136 file.
21137 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
21138 Likewise.
21139 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
21140 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
21141
21142 2016-03-07 Florian Weimer <fweimer@redhat.com>
21143
21144 [BZ #19610]
21145 * elf/ldconfig.c (opt_link): Update comment.
21146 (options): Update help string for option -X.
21147 (search_dir): Unlink stale symbolic link only if updating symbolic
21148 links.
21149 * elf/tst-ldconfig-X.sh: New file.
21150 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
21151 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
21152
21153 2016-03-07 Andreas Schwab <schwab@suse.de>
21154
21155 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
21156 needed arguments.
21157
21158 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
21159
21160 [BZ #15333]
21161 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
21162 to lstat64.
21163
21164 2016-03-07 Florian Weimer <fweimer@redhat.com>
21165
21166 * libio/filedoalloc.c (isatty): Remove.
21167 (local_isatty): Add comment. Call __isatty directly.
21168 (_IO_file_doallocate): Update comment. Assume _LIBC.
21169 * libio/wfiledoalloc.c (isatty): Remove.
21170 (_IO_wfile_doallocate): Update comment.
21171
21172 2016-03-07 Florian Weimer <fweimer@redhat.com>
21173
21174 [BZ #19269]
21175 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
21176 tst-audit4-aux.o.
21177 (tst-audit10): Depend on tst-audit10-aux.o.
21178 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
21179 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
21180 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
21181 instead of inline AVX code.
21182 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
21183 instead of inline AVX512 code.
21184 * sysdeps/x86_64/tst-audit4-aux.c: New file
21185 * sysdeps/x86_64/tst-audit10-aux.c: New file
21186
21187 [BZ #19648]
21188 * test-skeleton.c (main): Do not set RLIMIT_DATA.
21189
21190 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21191
21192 [BZ #14750]
21193 [BZ #10354]
21194 [BZ #18433]
21195 * include/sched.h (__clone): Add hidden prototype.
21196 (__clone2): Likewise.
21197 * include/unistd.h (__dup): Likewise.
21198 * posix/Makefile (tests): Add tst-spawn2.
21199 * posix/tst-spawn2.c: New file.
21200 * sysdeps/posix/dup.c (__dup): Add hidden definition.
21201 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
21202 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21203 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21204 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21205 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21206 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
21207 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21208 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
21209 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21210 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21212 Likewise.
21213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21214 Likewise.
21215 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21216 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21217 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21218 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21219 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21220 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21221 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21222 * sysdeps/unix/sysv/linux/nptl-signals.h
21223 (____nptl_is_internal_signal): New function.
21224 * sysdeps/unix/sysv/linux/spawni.c: New file.
21225
21226 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21227 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21228 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21229 * posix/tst-execvp2.c (do_test): Likewise.
21230 * posix/tst-execvp3.c (do_test): Likewise.
21231 * posix/tst-execvp4.c (do_test): Likewise.
21232 * posix/tst-execvpe1.c: New file.
21233 * posix/tst-execvpe2.c: Likewise.
21234 * posix/tst-execvpe3.c: Likewise.
21235 * posix/tst-execvpe4.c: Likewise.
21236 * posix/tst-execvpe5.c: Likewise.
21237 * posix/tst-execvpe6.c: Likewise.
21238
21239 [BZ #19534]
21240 * posix/execl.c (execl): Remove dynamic memory allocation.
21241 * posix/execle.c (execle): Likewise.
21242 * posix/execlp.c (execlp): Likewise.
21243
21244 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
21245
21246 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21247 Replace .text with .text.avx512.
21248 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21249 Likewise.
21250
21251 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
21252
21253 * sysdeps/generic/libnsl.abilist: New file.
21254 * sysdeps/generic/libutil.abilist: New file.
21255
21256 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
21257
21258 [BZ #19762]
21259 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21260 HAS_ARCH_FEATURE with Fast_Rep_String.
21261 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21262 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21263 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21264 Likewise.
21265 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21266 Likewise.
21267 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21268 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21269 Likewise.
21270 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21271 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21272 Likewise.
21273
21274 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
21275
21276 [BZ #19745]
21277 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21278 with *%rax in call.
21279
21280 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
21281
21282 [BZ #19745]
21283 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21284 with *__libc_start_main@GOTPCREL(%rip) in call.
21285
21286 2016-03-04 Roland McGrath <roland@hack.frob.com>
21287
21288 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21289 inside conditional for nonempty $(CXX).
21290
21291 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21292 nonempty.
21293
21294 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21295 to test for empty $(CXX) rather than $(CXX) of "no".
21296
21297 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
21298
21299 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21300
21301 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
21302 H.J. Lu <hongjiu.lu@intel.com>
21303
21304 [BZ #18880]
21305 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21306 instead of Slow_BSF, and also check for Fast_Copy_Backward to
21307 enable __memcpy_ssse3_back.
21308
21309 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
21310
21311 [BZ #19758]
21312 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21313 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21314
21315 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
21316
21317 [BZ #19490]
21318 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21319 (__fentry__): Likewise.
21320
21321 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
21322
21323 * gmon/Makefile (noprof): Add $(sysdep_noprof).
21324 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21325
21326 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
21327
21328 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21329 __mcount_internal directly.
21330 (C_LABEL(__fentry__)): Likewise.
21331 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21332 directly.
21333
21334 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
21335
21336 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21337 (__start_context): Call __setcontext directly.
21338
21339 2016-02-26 Joseph Myers <joseph@codesourcery.com>
21340
21341 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21342 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21343 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21344 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21345 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21346 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21347 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21348 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21349 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21350 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21351 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21352 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21353 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21354 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21355 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21356 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21357 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21359 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21360 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21361 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21362 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21363 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21364 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21365 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21366 Remove conditional code.
21367 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21368 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21369 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21370 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21371 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21372 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21373 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21374 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21375 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21376 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21377 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21378 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21379
21380 2016-02-24 Marko Myllynen <myllynen@redhat.com>
21381
21382 * NEWS (2.23): Fix typo in bug 19048 text.
21383
21384 2016-02-24 Carlos O'Donell <carlos@redhat.com>
21385
21386 [BZ #14259]
21387 * Makeconfig: Rename msgcatdir to localedir.
21388 Rename inst_msgcatdir to inst_localedir.
21389 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21390 * config.make.in: Add localedir.
21391 * elf/Makefile ($(objpfx)sotruss): Use localedir.
21392 (ldd-rewrite): Likewise.
21393 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
21394 (install-others): Use inst_localedir.
21395 (CPPFLAGS): Use localedir.
21396 * locale/Makefile (locale-CPPFLAGS): Likewise.
21397 * po/Makefile (mo-installed): Use inst_localedir.
21398
21399 [BZ #19575]
21400 * localedata/charmaps/GB18030: Update comments regarding PAU to
21401 non-PUA mappings.
21402
21403 2016-02-24 Joseph Myers <joseph@codesourcery.com>
21404
21405 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
21406 test for header.
21407 * sysdeps/unix/sysv/linux/configure: Regenerated.
21408 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
21409 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
21410 Remove conditional code.
21411 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
21412
21413 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21414 Define to 3.2.0.
21415 (arch_minimum_kernel): Likewise.
21416 * sysdeps/unix/sysv/linux/configure: Regenerated.
21417 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
21418 Define to 2.6.32.
21419 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
21420 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
21421 (arch_minimum_kernel): Define to 2.6.32.
21422 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
21423 * README: Document Linux 3.2 requirement.
21424 * manual/install.texi (Linux): Document Linux 3.2 headers
21425 requirement.
21426 * INSTALL: Regenerated.
21427
21428 2016-02-24 Andreas Schwab <schwab@suse.de>
21429
21430 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
21431 if !NO_LONG_DOUBLE.
21432
21433 2016-02-22 Roland McGrath <roland@hack.frob.com>
21434
21435 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
21436 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
21437
21438 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
21439
21440 [BZ #19512]
21441 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
21442
21443 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21444
21445 * posix/tst-dir.c: Include libc-internal.h.
21446
21447 2016-02-20 Florian Weimer <fweimer@redhat.com>
21448
21449 [BZ #19056]
21450 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
21451 * manual/filesys.texi (Reading/Closing Directory): Mention
21452 deprecaion.
21453 * posix/tst-dir.c (main): Disable deprecation warning in test.
21454
21455 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
21456
21457 [BZ #19679]
21458 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
21459 Renamed to ...
21460 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
21461 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21462 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
21463 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21464 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21465 * sysdeps/x86_64/dl-trampoline.h
21466 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21467 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21468
21469 2016-02-19 Mark Wielaard <mjw@redhat.com>
21470
21471 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
21472
21473 2016-02-19 Mark Wielaard <mjw@redhat.com>
21474
21475 * elf/elf.h (R_386_GOT32X): New.
21476 (R_386_NUM): Update.
21477 (R_X86_64_GOTPCRELX: New.
21478 (R_X86_64_REX_GOTPCRELX): New.
21479 (R_X86_64_NUM): Update.
21480
21481 2016-02-19 Mike Frysinger <vapier@gentoo.org>
21482
21483 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
21484
21485 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
21486
21487 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
21488 assign attr->stackaddr to it, and adjust it down when
21489 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
21490 [_STACK_GROWS_UP]: Delete assert.
21491 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
21492 Implement stack grows up logic.
21493 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
21494 stack grows up logic.
21495
21496 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21497
21498 * NEWS: Update with 2.24 template.
21499
21500 2016-02-19 Joseph Myers <joseph@codesourcery.com>
21501
21502 [BZ #19678]
21503 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21504 Ensure +0.0 is returned when taking the next value below the least
21505 positive value.
21506
21507 2016-02-19 Florian Weimer <fweimer@redhat.com>
21508
21509 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
21510 available. Do not define NO_THREADS.
21511 * malloc/malloc.c: Do not check NO_THREADS.
21512 * malloc/arena.c: Likewise.
21513
21514 2016-02-19 Florian Weimer <fweimer@redhat.com>
21515
21516 * malloc/malloc.c (__libc_mallinfo): Update comment.
21517 (struct malloc_par): Remove max_total_mem member, it was always 0.
21518 (int_mallinfo): Store 0 into usmblks (no functional change).
21519 * malloc/hooks.c (struct malloc_state): Document that
21520 max_total_mem is always 0.
21521 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
21522 always 0.
21523 * manual/memory.texi (Statistics of Malloc): Likewise.
21524
21525 2016-02-19 Florian Weimer <fweimer@redhat.com>
21526
21527 * malloc/malloc.c (sysmalloc): Do not update arena_max.
21528 * malloc/arena.c (arena_max): Remove.
21529 (heap_trim, _int_new_arena): Do not update arena_max.
21530
21531 2016-02-19 Florian Weimer <fweimer@redhat.com>
21532
21533 * resolv/res_init.c (res_ninit): Update comment.
21534
21535 2016-02-19 Florian Weimer <fweimer@redhat.com>
21536
21537 [BZ #19505]
21538 * posix/spawn_int.h: Add headers and include guard.
21539 (__spawn_valid_fd): New function.
21540 * posix/spawn_faction_addopen.c
21541 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21542 * posix/spawn_faction_addclose.c
21543 (posix_spawn_file_actions_addclose): Likewise.
21544 * posix/spawn_faction_adddup2.c
21545 (posix_spawn_file_actions_adddup2): Likewise. Add check for
21546 second file descriptor.
21547 * posix/spawn_valid_fd.c: New file.
21548 * posix/tst-posix_spawn-fd.c: New file.
21549 * posix/Makefile (routines): Add spawn_valid_fd.
21550 (tests): Add tst-posix_spawn-fd.
21551
21552 2016-02-19 Florian Weimer <fweimer@redhat.com>
21553
21554 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21555 (do_test): Limit the number of arenas, so that we can use fewer
21556 outer threads. Limit timeout to 3 seconds, in preparation for a
21557 larger TIMEOUT value.
21558
21559 2016-02-19 Joseph Myers <joseph@codesourcery.com>
21560
21561 [BZ #19674]
21562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21563 sign in overflowing and underflowing results when overflow or
21564 underflow is detected early. Include sign in result before rather
21565 than after scaling.
21566
21567 [BZ #19603]
21568 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21569 (__ieee754_remainderl): Adjust sign of integer version of low part
21570 when taking absolute value of high part.
21571 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21572 * math/libm-test.inc (remainder_test_data): Add another test.
21573 (remquo_test_data): Likewise.
21574
21575 2016-02-18 Joseph Myers <joseph@codesourcery.com>
21576
21577 [BZ #19602]
21578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21579 equal high parts and both low parts zero specially.
21580 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21581 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21582 Add test-fmodl-ldbl-128ibm.
21583
21584 [BZ #19595]
21585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21586 common logic for all cases of shifting subnormal results. Do not
21587 insert sign bit in shifted mantissa. Always pass -1023 as biased
21588 exponent to ldbl_insert_mantissa in subnormal case.
21589
21590 [BZ #19594]
21591 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21592 on high and low parts then adjust result and use
21593 ldbl_canonicalize_int if needed.
21594
21595 [BZ #19593]
21596 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21597 on high part and __floor or __ceil on low part then use
21598 ldbl_canonicalize_int if needed.
21599
21600 [BZ #19592]
21601 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21602 high and low parts then use ldbl_canonicalize_int if needed.
21603
21604 [BZ #17899]
21605 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21606 New function.
21607 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21608 on high and low parts then use ldbl_canonicalize_int if needed.
21609
21610 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21611
21612 * configure: Regenerated.
21613
21614 * po/libc.pot: Regenerated.
21615
21616 * po/be.po: Updated translation.
21617 * po/bg.po: Likewise.
21618 * po/ca.po: Likewise.
21619 * po/cs.po: Likewise.
21620 * po/da.po: Likewise.
21621 * po/el.po: Likewise.
21622 * po/eo.po: Likewise.
21623 * po/es.po: Likewise.
21624 * po/fi.po: Likewise.
21625 * po/fr.po: Likewise.
21626 * po/gl.po: Likewise.
21627 * po/hr.po: Likewise.
21628 * po/hu.po: Likewise.
21629 * po/ia.po: Likewise.
21630 * po/id.po: Likewise.
21631 * po/it.po: Likewise.
21632 * po/ja.po: Likewise.
21633 * po/lt.po: Likewise.
21634 * po/nb.po: Likewise.
21635 * po/nl.po: Likewise.
21636 * po/pt_BR.po: Likewise.
21637 * po/rw.po: Likewise.
21638 * po/sk.po: Likewise.
21639 * po/sl.po: Likewise.
21640 * po/sv.po: Likewise.
21641 * po/tr.po: Likewise.
21642 * po/zh_CN.po: Likewise.
21643 * po/zh_TW.po: Likewise.
21644
21645 * version.h (RELEAES): Set to "development".
21646 (VERSION): Set to 2.23.90.
21647
21648 * version.h (RELEASE): Set to "stable".
21649 (VERSION): Set to 2.23.
21650 * include/feature.h (__GLIBC_MINOR__): Set to 23.
21651
21652 * NEWS: Updated fixed bugs.
21653
21654 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
21655 Wilco Dijkstra <wdijkstr@arm.com>
21656
21657 [BZ #19462]
21658 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21659 (_STRING_INLINE_unaligned): This.
21660 * include/string.h: Include <string_private.h>.
21661 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21662 _STRING_INLINE_unaligned.
21663 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21664 (_STRING_INLINE_unaligned): New.
21665 * sysdeps/aarch64/string_private.h: New file.
21666 * sysdeps/generic/string_private.h: Likewise.
21667 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21668 * sysdeps/s390/string_private.h: Likewise.
21669 * sysdeps/x86/string_private.h: Likewise.
21670 * sysdeps/m68k/m680x0/m68020/bits/string.h
21671 (_STRING_ARCH_unaligned): Renamed to ...
21672 (_STRING_INLINE_unaligned): This.
21673 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21674 to ...
21675 (_STRING_INLINE_unaligned): This.
21676 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21677 to ...
21678 (_STRING_INLINE_unaligned): This.
21679 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21680 to ...
21681 (_STRING_INLINE_unaligned): This.
21682
21683 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
21684 H.J. Lu <hongjiu.lu@intel.com>
21685
21686 [BZ #19590]
21687 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21688 relocation.
21689
21690 2016-02-15 Carlos O'Donell <carlos@redhat.com>
21691
21692 [BZ #18665]
21693 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21694 *herrno_p.
21695 (gaih_getanswer): Document functional behviour. Return tryagain
21696 if any result is tryagain.
21697 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21698 when freed.
21699 * resolv/res_send.c: Add copyright text.
21700 (__libc_res_nsend): Document that MAXPACKET is expected.
21701 (send_vc): Document. Remove buffer reuse.
21702 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21703 size of the buffer. Add Dprint for truncated UDP buffer.
21704
21705 2016-02-14 Carlos O'Donell <carlos@redhat.com>
21706
21707 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21708 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21709 * INSTALL: Regenerate.
21710
21711 2016-02-14 Jakub Jelinek <jakub@redhat.com>
21712 Jonathan Wakely <jwakely@redhat.com>
21713 Carlos O'Donell <carlos@redhat.com>
21714
21715 [BZ 19439]
21716 * math/Makefile (tests): Add test-math-isinff.
21717 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21718 * math/bits/mathcalls.h [__USE_MISC]: Use
21719 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21720 functions not in C++11 and which don't conflict e.g. isinff,
21721 isinfl etc.
21722 * math/test-math-isinff.cc: New file.
21723
21724 2016-02-12 Florian Weimer <fweimer@redhat.com>
21725
21726 * misc/bug18240.c (do_test): Set RLIMIT_AS.
21727
21728 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
21729
21730 [BZ #19529]
21731 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21732
21733 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21734
21735 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21736
21737 2016-02-01 Joseph Myers <joseph@codesourcery.com>
21738
21739 [BZ #19550]
21740 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21741 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21742 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21743 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21744 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21745 New syscall entry.
21746 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21747 New syscall entry.
21748 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21749 syscall entry.
21750
21751 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
21752
21753 [BZ #18240]
21754 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21755 unsigned int wraparound.
21756
21757 2016-01-27 Florian Weimer <fweimer@redhat.com>
21758
21759 [BZ #18240]
21760 * misc/bug18240.c: New test.
21761 * misc/Makefile (tests): Add it.
21762
21763 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
21764 Joseph Myers <joseph@codesourcery.com>
21765
21766 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21767 load in branch delay slot when less than a word of input left.
21768
21769 2016-01-27 Andreas Schwab <schwab@suse.de>
21770
21771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21772 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21773 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21774 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21775
21776 2016-01-26 David S. Miller <davem@davemloft.net>
21777
21778 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21779
21780 2016-01-25 David S. Miller <davem@davemloft.net>
21781
21782 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21783 __sqrtl_finite.
21784 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21785 instead using versioned_symbol.
21786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21787 of entries.
21788
21789 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21790 __sqrtl_finite to GLIBC_2.23
21791
21792 2016-01-25 Ricchard Henderson <rth@redhat.com>
21793
21794 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21795
21796 2016-01-25 Andreas Schwab <schwab@suse.de>
21797
21798 [BZ #17514]
21799 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21800 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21801 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21802 * nptl/tst-mutex-errorcheck.c: New file.
21803
21804 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21805
21806 [BZ #18560]
21807 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21808 (IPCOP_semop): Likewise.
21809 (IPCOP_semget): Likewise.
21810 (IPCOP_semctl): Likewise.
21811 (IPCOP_msgsnd): Likewise.
21812 (IPCOP_msgrcv): Likewise.
21813 (IPCOP_msgget): Likewise.
21814 (IPCOP_msgctl): Likewise.
21815 (IPCOP_shmat): Likewise.
21816 (IPCOP_shmdt): Likewise.
21817 (IPCOP_shmget): Likewise.
21818 (IPCOP_shmctl): Likewise.
21819
21820 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21821
21822 * string/tst-endian.c: Include <libc-internal.h>.
21823 (do_test): Ignore tautological-compare warnings around
21824 "htobeXX (beXXtoh (i)) != i" and
21825 "htoleXX (leXXtoh (i)) != i" if-statements.
21826
21827 2016-01-24 David S. Miller <davem@davemloft.net>
21828
21829 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21830 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21831 alias.
21832 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21833 __sqrtl_finite.
21834
21835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21836
21837 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
21838
21839 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21840 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21841 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21842
21843 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21844
21845 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21846 (thread_func): Use new function to simplify barrier check.
21847 (do_test): Use new function to simplify checking barrier exit
21848 code, and actually join the child thread.
21849
21850 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21851
21852 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21853 semicolon.
21854 (__libc_tend): Likewise.
21855 (__libc_tabort): Likewise.
21856
21857 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
21858
21859 * sysdeps/nios2/libm-test-ulps: Update.
21860 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21861 (__gtsf2): Likewise.
21862 (__unorddf2): Likewise.
21863 (__unordsf2): Likewise.
21864 (__ledf2): Likewise.
21865
21866 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
21867
21868 * nis/nis_table.c (__follow_path): Disable diagnostic for
21869 uninitialized variable that is a false positive for gcc 4.7.
21870 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21871
21872 2016-01-20 Roland McGrath <roland@hack.frob.com>
21873
21874 * sysdeps/nacl/lowlevellock-futex.h
21875 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21876 Always evaluate PRIVATE argument.
21877
21878 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
21879
21880 [BZ #19490]
21881 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21882 (pthread_cond_broadcast): Use ENTRY/END
21883 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21884 (pthread_cond_signal): Likewise.
21885 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21886 Likewise.
21887 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21888 Likewise.
21889 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21890 Likewise.
21891
21892 2016-01-20 Joseph Myers <joseph@codesourcery.com>
21893
21894 * sysdeps/ieee754/dbl-64/s_finite.c
21895 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21896 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21897 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21899 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21900
21901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21902 (__gtsf2): Add as optional for libc.so.
21903 (__unordsf2): Likewise.
21904 (__signbit): Remove for libc.so.
21905 (__signbitl): Likewise.
21906
21907 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
21908
21909 * iconvdata/bug-iconv11.c (test_ibm93x):
21910 Use %zu printf format specifier for size_t argument.
21911
21912 2016-01-19 Joseph Myers <joseph@codesourcery.com>
21913
21914 * math/gen-libm-test.pl (parse_ulps): Do not reduce
21915 already-recorded ulps.
21916 * sysdeps/arm/libm-test-ulps: Regenerated.
21917 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21918 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21919 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21920
21921 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
21922 Paul Pluzhnikov <ppluzhnikov@google.com>
21923
21924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21925 assembler not supporting AVX-512.
21926
21927 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
21928
21929 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21930
21931 2016-01-18 Joseph Myers <joseph@codesourcery.com>
21932
21933 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21934 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21935
21936 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21937
21938 * sysdeps/arm/libm-test-ulps: Regenerated.
21939
21940 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21941
21942 [BZ #19451]
21943 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21944
21945 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21946
21947 [BZ #19486]
21948 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21949 * sysdeps/generic/fix-fp-int-convert-overflow.h
21950 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21951 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21952 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21953 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21954 Likewise.
21955 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21956 Avoid conversions to long int where inexact exceptions
21957 could be raised.
21958 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21959 Likewise.
21960 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21961 Avoid conversions to long long int where inexact exceptions
21962 could be raised.
21963 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21964 Likewise.
21965
21966 2016-01-17 Mike Frysinger <vapier@gentoo.org>
21967
21968 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21969 * configure: Regenerated.
21970
21971 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
21972
21973 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21974
21975 2016-01-16 Mike Frysinger <vapier@gentoo.org>
21976
21977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21978 outside of comment.
21979
21980 2016-01-15 Torvald Riegel <triegel@redhat.com>
21981
21982 * nptl/tst-barrier1.c: Add description on first line.
21983 * nptl/tst-barrier2.c: Likewise.
21984 * nptl/tst-barrier3.c: Likewise.
21985 * nptl/tst-barrier4.c: Likewise.
21986 * nptl/tst-barrier5.c: Likewise.
21987
21988 2016-01-15 Torvald Riegel <triegel@redhat.com>
21989
21990 [BZ #18868]
21991 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21992
21993 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
21994
21995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21997 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21998 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21999 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
22000 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
22001 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22002 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22003 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22004 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22005 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22006
22007 2016-01-15 Torvald Riegel <triegel@redhat.com>
22008
22009 [BZ #13065]
22010 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
22011 new implementation.
22012 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
22013 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
22014 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
22015 (BARRIER_IN_THRESHOLD): New macro.
22016 * nptl/pthread_barrierattr_setpshared.c
22017 (pthread_barrierattr_setpshared): Clean up.
22018 * nptl/tst-barrier4.c: Correct comment.
22019 * nptl/tst-barrier5.c: New file.
22020 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
22021 (gen-as-const-headers): Remove lowlevelbarrier.sym.
22022 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
22023 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
22024 * nptl/lowlevelbarrier.sym: Remove.
22025 * nptl/DESIGN-barrier.txt: Remove.
22026 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
22027 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
22028 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
22029 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
22030 error.
22031 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
22032 implementation.
22033
22034 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22035
22036 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
22037 (do_child): Mask SIGRTMIN while thr is running.
22038
22039 2016-01-15 Martin Sebor <msebor@redhat.com>
22040
22041 [BZ #19432]
22042 * iconvdata/Makefile: Add bug-iconv11.
22043 * iconvdata/bug-iconv11.c: New test.
22044 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
22045 * iconvdata/ibm933.c: Same.
22046 * iconvdata/ibm935.c: Same.
22047 * iconvdata/ibm937.c: Same.
22048 * iconvdata/ibm939.c: Same.
22049
22050 2016-01-15 Martin Sebor <msebor@redhat.com>
22051
22052 [BZ #19443]
22053 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
22054 [DEBUG] (_ufc_set_bits): Declare used.
22055 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
22056 [DEBUG] (print_all): Declare used.
22057 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
22058 operands of the ternary ?: expression to target type.
22059 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
22060 calling the undeclared abort.
22061 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
22062
22063 2016-01-15 Martin Sebor <msebor@redhat.com>
22064
22065 [BZ #18755]
22066 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
22067 warnings.
22068 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
22069 (__gai_create_helper_thread): Same.
22070 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
22071 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
22072 to suppress -Wmaybe-uninitialized warnings.
22073
22074 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
22075
22076 [BZ #19465]
22077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
22078 inside if.
22079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22080 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22082
22083 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 [BZ #19466]
22086 * time/tst-mktime2.c (time_t_max): Removed.
22087 (time_t_min): Likewise.
22088 (TYPE_SIGNED): New.
22089 (TYPE_MINIMUM): Likewise.
22090 (TYPE_MAXIMUM): Likewise.
22091 (TIME_T_MIN): Likewise.
22092 (TIME_T_MAX): Likewise.
22093 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
22094 and TIME_T_MIN.
22095 (do_test): Likewise.
22096
22097 2016-01-14 Amit Pawar <amit.pawar@amd.com>
22098
22099 [BZ #19467]
22100 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22101 index_Fast_Unaligned_Load flag for Excavator family CPUs.
22102
22103 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
22104
22105 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
22106
22107 2016-01-13 Carlos O'Donell <carlos@redhat.com>
22108
22109 * benchtests/Makefile (PYTHON): Define.
22110 (bench-func): Use $(PYTHON) to run python scripts.
22111 ($(objpfx)bench-%.c): Likewise.
22112
22113 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
22114
22115 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
22116 leading slash when `file_name' is "/".
22117
22118 2016-01-12 Joseph Myers <joseph@codesourcery.com>
22119
22120 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
22121 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
22122 Likewise.
22123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
22124 Likewise.
22125 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
22126 Likewise.
22127 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
22128 enum constant and macro.
22129 (PTRACE_SETSIGMASK): Likewise.
22130 (PTRACE_SECCOMP_GET_FILTER): Likewise.
22131 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22132 (PTRACE_GETSIGMASK): Likewise.
22133 (PTRACE_SETSIGMASK): Likewise.
22134 (PTRACE_SECCOMP_GET_FILTER): Likewise.
22135 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
22136 Likewise.
22137 (PTRACE_SETSIGMASK): Likewise.
22138 (PTRACE_SECCOMP_GET_FILTER): Likewise.
22139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22140 (PTRACE_GETSIGMASK): Likewise.
22141 (PTRACE_SETSIGMASK): Likewise.
22142 (PTRACE_SECCOMP_GET_FILTER): Likewise.
22143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
22144 Likewise.
22145 (PTRACE_SETSIGMASK): Likewise.
22146 (PTRACE_SECCOMP_GET_FILTER): Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
22148 Likewise.
22149 (PTRACE_SETSIGMASK): Likewise.
22150 (PTRACE_SECCOMP_GET_FILTER): Likewise.
22151 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
22152 Likewise.
22153 (PTRACE_SETSIGMASK): Likewise.
22154 (PTRACE_SECCOMP_GET_FILTER): Likewise.
22155
22156 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
22157 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22158
22159 [BZ #19439]
22160 * math/bits/mathcalls.h
22161 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
22162 prototype.
22163 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
22164
22165 2016-01-11 Andreas Schwab <schwab@suse.de>
22166
22167 [BZ #19253]
22168 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
22169 cache when TZDEFRULES was used.
22170 * time/tst-tzname.c: New file.
22171 * time/Makefile (test): Add tst-tzname.
22172 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
22173 * timezone/Makefile (test-zones): Add $(posixrules-file).
22174 ($(testdata)/$(posixrules-file)): New rule.
22175
22176 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
22177
22178 Fix doc quoting problems with Texinfo 5
22179 Without this change, in the info file output, Texinfo 5 quotes code
22180 in text with undirected single quotes 'like this' and generates
22181 code examples that with many PDF readers cannot be cut out of PDFs
22182 and pasted into code.
22183 * manual/libc.texinfo: Configure the libc manual like the GNU
22184 Emacs manual, by using @documentencoding and setting
22185 txicodequoteundirected and txicodequotebacktick. This way,
22186 Texinfo 5 quotes code in text with directed single quotes ‘like
22187 this’ and produces examples that can be cut out of PDFs. This
22188 change causes Texinfo 5 to generate info files that contain UTF-8
22189 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
22190 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
22191
22192 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22193
22194 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
22195 __libc_tabort, __libc_tend): New wrappers that enforce compiler
22196 barriers to their respective compiler built-ins.
22197 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
22198 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
22199 * sysdeps/powerpc/sysdep.h: Likewise.
22200 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
22201 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
22202 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
22203
22204 2016-01-08 Marko Myllynen <myllynen@redhat.com>
22205
22206 * scripts/config.guess: Revert previous shebang change.
22207 * scripts/config.sub: Likewise.
22208 * scripts/mkinstalldirs: Likewise.
22209
22210 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22211
22212 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22213 PPC_FEATURE2_HAS_IEEE128.
22214 * sysdeps/powerpc/dl-procinfo.c:
22215 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22216
22217 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
22218
22219 [BZ #19415]
22220 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22221 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
22222 (_dl_lookup_address): Rewrite using function resolver trampoline.
22223 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22224 two bits in address.
22225
22226 2016-01-07 Mike Frysinger <vapier@gentoo.org>
22227
22228 * longlong.h: Change !__SHMEDIA__ to
22229 (!defined (__SHMEDIA__) || !__SHMEDIA__).
22230 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22231
22232 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
22233 Joseph Myers <joseph@codesourcery.com>
22234 Mark Shinwell <shinwell@codesourcery.com>
22235 Andrew Stubbs <ams@codesourcery.com>
22236 Rich Felker <dalias@libc.org>
22237
22238 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22239
22240 2016-01-07 Richard Henderson <rth@redhat.com>
22241
22242 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22243
22244 2016-01-07 Mike Frysinger <vapier@gentoo.org>
22245
22246 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22247 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22248 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22249 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22250 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22251
22252 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
22253 Joseph Myers <joseph@codesourcery.com>
22254
22255 * timezone/private.h: Update from tzcode 2015g.
22256 * timezone/tzfile.h: Likewise.
22257 * timezone/tzselect.ksh: Likewise.
22258 * timezone/zdump.c: Likewise.
22259 * timezone/zic.c: Likewise.
22260 * timezone/ialloc.c: Remove file.
22261 * timezone/scheck.c: Likewise.
22262 * timezone/Makefile (extra-objs): Remove variable.
22263 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22264 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22265 -Wno-maybe-uninitialized.
22266 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22267 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22268 (CFLAGS-ialloc.c): Remove variable.
22269 (CFLAGS-scheck.c): Likewise.
22270 * timezone/README: Update list of files from tzcode.
22271
22272 2016-01-07 Khem Raj <raj.khem@gmail.com>
22273
22274 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22275 instead of __fxprintf when _LIBC is undefined.
22276
22277 2016-01-07 Marko Myllynen <myllynen@redhat.com>
22278
22279 * catgets/test-gencat.sh: Remove space after shebang.
22280 * conform/GlibcConform.pm: Likewise.
22281 * conform/check-header-lists.sh: Likewise.
22282 * conform/conformtest.pl: Likewise.
22283 * conform/linknamespace.pl: Likewise.
22284 * conform/list-header-symbols.pl: Likewise.
22285 * debug/catchsegv.sh: Likewise.
22286 * elf/genrtldtbl.awk: Likewise.
22287 * elf/tst-pathopt.sh: Likewise.
22288 * elf/tst-rtld-load-self.sh: Likewise.
22289 * grp/tst_fgetgrent.sh: Likewise.
22290 * iconvdata/gen-8bit-gap-1.sh: Likewise.
22291 * iconvdata/gen-8bit-gap.sh: Likewise.
22292 * iconvdata/gen-8bit.sh: Likewise.
22293 * iconvdata/run-iconv-test.sh: Likewise.
22294 * intl/tst-gettext.sh: Likewise.
22295 * intl/tst-gettext2.sh: Likewise.
22296 * intl/tst-gettext4.sh: Likewise.
22297 * intl/tst-gettext6.sh: Likewise.
22298 * intl/tst-translit.sh: Likewise.
22299 * io/ftwtest-sh: Likewise.
22300 * libio/test-freopen.sh: Likewise.
22301 * locale/gen-translit.pl: Likewise.
22302 * malloc/tst-mtrace.sh: Likewise.
22303 * manual/check-safety.sh: Likewise.
22304 * manual/libc-texinfo.sh: Likewise.
22305 * manual/tsort.awk: Likewise.
22306 * manual/xtract-typefun.awk: Likewise.
22307 * nptl/tst-cancel-wrappers.sh: Likewise.
22308 * nptl/tst-tls6.sh: Likewise.
22309 * posix/globtest.sh: Likewise.
22310 * posix/tst-getconf.sh: Likewise.
22311 * posix/wordexp-tst.sh: Likewise.
22312 * scripts/check-c++-types.sh: Likewise.
22313 * scripts/check-local-headers.sh: Likewise.
22314 * scripts/config.guess: Likewise.
22315 * scripts/config.sub: Likewise.
22316 * scripts/cpp: Likewise.
22317 * scripts/cross-test-ssh.sh: Likewise.
22318 * scripts/documented.sh: Likewise.
22319 * scripts/evaluate-test.sh: Likewise.
22320 * scripts/gen-libc-abis: Likewise.
22321 * scripts/gen-sorted.awk: Likewise.
22322 * scripts/list-fixed-bugs.py: Likewise.
22323 * scripts/merge-test-results.sh: Likewise.
22324 * scripts/mkinstalldirs: Likewise.
22325 * scripts/rellns-sh: Likewise.
22326 * scripts/test-installation.pl: Likewise.
22327 * scripts/update-copyrights: Likewise.
22328 * stdio-common/tst-printf.sh: Likewise.
22329 * stdio-common/tst-unbputc.sh: Likewise.
22330 * stdlib/tst-fmtmsg.sh: Likewise.
22331 * stdlib/tst-setcontext3.sh: Likewise.
22332 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22333 * sysdeps/unix/make-syscalls.sh: Likewise.
22334
22335 2016-01-06 John David Anglin <dave.anglin@bell.net>
22336
22337 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22338 asm stw with atomic_exchange_rel. Add explanatory comment.
22339 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22340 Likewise.
22341
22342 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
22343
22344 [BZ #19122]
22345 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22346 * sysdeps/generic/dl-unistd.h: New file.
22347 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22348
22349 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
22350
22351 [BZ #19122]
22352 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22353 * sysdeps/generic/dl-mman.h: New file.
22354 * sysdeps/mach/hurd/dl-mman.h: Likewise.
22355
22356 2016-01-05 Joseph Myers <joseph@codesourcery.com>
22357
22358 * manual/texinfo.tex: Update to version 2016-01-04.21 with
22359 trailing whitespace removed.
22360 * scripts/config.guess: Update to version 2016-01-01.
22361 * scripts/config.sub: Update to version 2016-01-01.
22362 * scripts/move-if-change: Update from gnulib.
22363
22364 2016-01-04 Anton Blanchard <anton@samba.org>
22365
22366 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22367 for array indices.
22368 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22369
22370 2016-01-04 Joseph Myers <joseph@codesourcery.com>
22371
22372 * NEWS: Update copyright dates.
22373 * catgets/gencat.c (print_version): Likewise.
22374 * csu/version.c (banner): Likewise.
22375 * debug/catchsegv.sh: Likewise.
22376 * debug/pcprofiledump.c (print_version): Likewise.
22377 * debug/xtrace.sh (do_version): Likewise.
22378 * elf/ldconfig.c (print_version): Likewise.
22379 * elf/ldd.bash.in: Likewise.
22380 * elf/pldd.c (print_version): Likewise.
22381 * elf/sotruss.sh: Likewise.
22382 * elf/sprof.c (print_version): Likewise.
22383 * iconv/iconv_prog.c (print_version): Likewise.
22384 * iconv/iconvconfig.c (print_version): Likewise.
22385 * locale/programs/locale.c (print_version): Likewise.
22386 * locale/programs/localedef.c (print_version): Likewise.
22387 * login/programs/pt_chown.c (print_version): Likewise.
22388 * malloc/memusage.sh (do_version): Likewise.
22389 * malloc/memusagestat.c (print_version): Likewise.
22390 * malloc/mtrace.pl: Likewise.
22391 * manual/libc.texinfo: Likewise.
22392 * nptl/version.c (banner): Likewise.
22393 * nscd/nscd.c (print_version): Likewise.
22394 * nss/getent.c (print_version): Likewise.
22395 * nss/makedb.c (print_version): Likewise.
22396 * posix/getconf.c (main): Likewise.
22397 * scripts/test-installation.pl: Likewise.
22398 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22399
22400 * All files with FSF copyright notices: Update copyright dates
22401 using scripts/update-copyrights.
22402 * intl/plural.c: Regenerated.
22403 * locale/programs/charmap-kw.h: Likewise.
22404 * locale/programs/locfile-kw.h: Likewise.
22405
22406 2016-01-02 Helge Deller <deller@gmx.de>
22407
22408 [BZ #19285]
22409 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
22410 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
22411 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
22412 (MADV_xxK_PAGES): Remove.
22413
22414 2016-01-01 Mike Frysinger <vapier@gentoo.org>
22415
22416 [BZ #15421]
22417 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
22418 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
22419 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
22420 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
22421
22422 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
22423
22424 [BZ #19408]
22425 * sysdeps/unix/sysv/linux/personality.c: New file.
22426 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
22427 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
22428 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
22429 (sysdep_routines): Add personality.
22430 (tests): Add tst-personality.
22431 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
22432 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
22433 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
22434 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
22435 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
22436 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
22437 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
22438 Likewise.
22439 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
22440 Likewise.
22441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
22442 Likewise.
22443 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
22444 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
22445 Likewise.
22446
22447 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
22448
22449 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
22450 (PATH_ARM_SYSTYPE): Remove.
22451 (PATH_CPUINFO): Likewise.
22452 (IO_BASE_FOOTBRIDGE): Likewise.
22453 (IO_SHIFT_FOOTBRIDGE): Likewise.
22454 (struct platform): Likewise.
22455 (init_iosys): Remove compatibility code for 2.4 kernels.
22456 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
22457
22458 2015-12-29 Florian Weimer <fweimer@redhat.com>
22459
22460 * malloc/tst-malloc-thread-fail.c: New file.
22461 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
22462 (tst-malloc-thread-fail): Link against libpthread.
22463
22464 2015-12-29 Mike Frysinger <vapier@gentoo.org>
22465
22466 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
22467 (get_parser): New function.
22468 (main): New function.
22469
22470 2015-12-29 Rob Wu <rob@robwu.nl>
22471
22472 [BZ #19369]
22473 * resolv/res_init.c (__res_vinit): Reset defdname before use.
22474
22475 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
22476
22477 [BZ #19270]
22478 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22479
22480 2015-12-28 Mike Frysinger <vapier@gentoo.org>
22481
22482 [BZ #15421]
22483 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
22484
22485 2015-12-23 Torvald Riegel <triegel@redhat.com>
22486
22487 [BZ #13690]
22488 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
22489 after releasing it.
22490 (__lll_robust_unlock): Likewise.
22491 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22492 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
22493 (lll_robust_unlock): Likewise.
22494 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
22495 Prevent warnings in callers.
22496
22497 2015-12-23 Florian Weimer <fweimer@redhat.com>
22498
22499 * malloc/arena.c (list_lock): Update comment.
22500
22501 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22502
22503 * sysdeps/powerpc/hwcapinfo.c: Export symbol
22504 __parse_hwcap_and_convert_at_platform to libc.a.
22505
22506 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22507
22508 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
22509 platform and feature support for POWER9.
22510 * sysdeps/powerpc/dl-procinfo.h: Likewise.
22511 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
22512 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
22513 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
22514 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
22515 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
22516 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
22517 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
22518
22519 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22520
22521 Harmonize generic stdio-lock support with nptl
22522
22523 This fixes build when _IO_funlockfile is a macro, fixes build where
22524 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
22525 stack unwind.
22526
22527 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
22528 _IO_release_lock ): Use cleanup attribute on new
22529 _IO_acquire_lock_file variable instead of assuming that
22530 _IO_release_lock will be called.
22531 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
22532 _IO_acquire_lock_needs_exceptions_enabled.
22533 (_IO_acquire_lock_clear_flags2): New macro.
22534
22535 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22536
22537 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22538
22539 2015-12-21 Florian Weimer <fweimer@redhat.com>
22540
22541 [BZ #19182]
22542 * malloc/arena.c (list_lock): Document lock ordering requirements.
22543 (free_list_lock): New lock.
22544 (ptmalloc_lock_all): Comment on free_list_lock.
22545 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22546 (detach_arena): Update comment. free_list_lock is now needed.
22547 (_int_new_arena): Use free_list_lock around detach_arena call.
22548 Acquire arena lock after list_lock. Add comment, including FIXME
22549 about incorrect synchronization.
22550 (get_free_list): Switch to free_list_lock.
22551 (reused_arena): Acquire free_list_lock around detach_arena call
22552 and attached threads counter update. Add two FIXMEs about
22553 incorrect synchronization.
22554 (arena_thread_freeres): Switch to free_list_lock.
22555 * malloc/malloc.c (struct malloc_state): Update comments to
22556 mention free_list_lock.
22557
22558 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
22559
22560 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22561 Remove functions.
22562 (sloww, sloww1): Accept argument to offset quadrant.
22563 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22564 quadrant.
22565 (__sin, __cos): Consolidate common code into new functions.
22566 (reduce_sincos_1, do_sincos_1): New functions.
22567 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22568
22569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22570 code to new functions.
22571 (reduce_sincos_2, do_sincos_2): New functions.
22572 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22573
22574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22575 common code for sincos.
22576 (__cos) [!IN_SINCOS]: Likewise.
22577 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22578 New function.
22579 (__sincos): Use it.
22580
22581 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
22582
22583 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22584 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22585 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22586
22587 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
22588
22589 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22592 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22593 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22594 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22595 index_Prefer_No_VZEROUPPER): New feature.
22596 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22597 Prefer_No_VZEROUPPER for Knights Landing.
22598
22599 015-12-18 Torvald Riegel <triegel@redhat.com>
22600
22601 * math/atest-exp2.c (mp_exp_m1): Remove.
22602
22603 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22604
22605 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22606 syscalls.
22607 (__SYSCALL0): New macro.
22608 (__SYSCALL1): Likewise.
22609 (__SYSCALL2): Likewise.
22610 (__SYSCALL3): Likewise.
22611 (__SYSCALL4): Likewise.
22612 (__SYSCALL5): Likewise.
22613 (__SYSCALL6): Likewise.
22614 (__SYSCALL_CONCAT_X): Likewise.
22615 (__SYSCALL_CONCAT): Likewise.
22616 (__SYSCALL_DIST): Likewise.
22617 (__SYSCALL_CALL): Likewise.
22618
22619 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
22620
22621 [BZ #19363]
22622 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22623
22624 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22625
22626 [BZ #19375]
22627 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22628 negative subnormals.
22629
22630 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
22631
22632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22633 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22634 (INTERNAL_SYSCALL_NCS): Use it.
22635 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22636
22637 2015-12-16 Florian Weimer <fweimer@redhat.com>
22638
22639 [BZ #19243]
22640 * malloc/arena.c (get_free_list): Remove assert and adjust
22641 reference count handling. Add comment about reused_arena
22642 interaction.
22643 (reused_arena): Add comments abount get_free_list interaction.
22644 * malloc/tst-malloc-thread-exit.c: New file.
22645 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22646 (tst-malloc-thread-exit): Link against libpthread.
22647
22648 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
22649
22650 [BZ #19367]
22651 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22652 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22653 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22654 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22655 (index_Prefer_MAP_32BIT_EXEC): Likewise.
22656
22657 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
22658
22659 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22660 Silvermont optimizations for Knights Landing.
22661
22662 2015-12-15 Andreas Schwab <schwab@suse.de>
22663
22664 [BZ #17197]
22665 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22666 immediately after emitting SI.
22667 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22668 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22669 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22670 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22671 * iconvdata/bug-iconv10.c: New file.
22672 * iconvdata/Makefile (tests): Add bug-iconv10.
22673 ($(objpfx)bug-iconv10.out): New rule.
22674
22675 2015-12-15 Florian Weimer <fweimer@redhat.com>
22676
22677 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22678 aliasing violation.
22679
22680 2015-12-14 Joseph Myers <joseph@codesourcery.com>
22681
22682 [BZ #18472]
22683 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22684 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22685 conditionals for them.
22686 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22687 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22689 sys/kdaemon.h.
22690 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22691 compat-only syscall, obsoleted in glibc 2.23.
22692 (create_module): Likewise.
22693 (get_kernel_syms): Likewise.
22694 (query_module): Likewise.
22695 (uselib): Likewise.
22696 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22697
22698 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
22699
22700 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22701 <linux/version.h>.
22702 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22703 conditional code.
22704 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22705 and ioshift_name initialization.
22706
22707 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
22708
22709 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22710 Fix indentation.
22711
22712 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
22713
22714 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22715
22716 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
22717
22718 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22719
22720 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
22721 Jakub Wilk <jwilk@debian.org>
22722
22723 [BZ #19347]
22724 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22725 to change the group of the device to the tty group.
22726
22727 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
22728
22729 Split large string section; add truncation advice
22730 * manual/examples/strncat.c: Remove.
22731 This example was misleading, as the code would have undefined
22732 behavior if "hello" was longer than SIZE. Anyway, the manual
22733 shouldn't encourage strncpy+strncat for this sort of thing.
22734 * manual/string.texi (Copying Strings and Arrays): Split into
22735 three sections Copying Strings and Arrays, Concatenating Strings,
22736 and Truncating Strings, as this section was way too long. All
22737 cross-referenced changed. Add advice about string-truncation
22738 functions. Remove misleading strncat example.
22739
22740 2015-12-10 Carlos O'Donell <carlos@redhat.com>
22741
22742 * manual/nss.texi (NSS Modules Interface): Document
22743 NSS_STATUS_NOTFOUND and SUCCESS.
22744
22745 2015-12-09 Mike FABIAN <mfabian@redhat.com>
22746
22747 [BZ 18568]
22748 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22749 201505L, for Unicode 8.
22750
22751 2015-12-09 Carlos O'Donell <carlos@redhat.com>
22752
22753 * locale/C-translit.h: Regenerate.
22754
22755 2015-12-09 Mike FABIAN <mfabian@redhat.com>
22756
22757 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22758 and U+0153.
22759
22760 2015-12-09 Joseph Myers <joseph@codesourcery.com>
22761
22762 [BZ #19351]
22763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22764 expanding log(1+z), compare z rather than its square with epsilon
22765 to determine when to avoid evaluating the expansion.
22766
22767 [BZ #19350]
22768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22769 Increase overflow threshold.
22770
22771 [BZ #19349]
22772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22773 when small.
22774
22775 * sysdeps/unix/sysv/linux/i386/kernel-features.h
22776 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22777 New macro.
22778 [__LINUX_KERNEL_VERSION >= 0x040300]
22779 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22780 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22781 Likewise.
22782 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22783 Likewise.
22784 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22785 Likewise.
22786 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22787 Likewise.
22788 [__LINUX_KERNEL_VERSION >= 0x040300]
22789 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22790 [__LINUX_KERNEL_VERSION >= 0x040300]
22791 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22792 [__LINUX_KERNEL_VERSION >= 0x040300]
22793 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22794 [__LINUX_KERNEL_VERSION >= 0x040300]
22795 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22796 [__LINUX_KERNEL_VERSION >= 0x040300]
22797 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22798 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22799 Likewise.
22800 [__LINUX_KERNEL_VERSION >= 0x040300]
22801 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22802 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22803 Likewise.
22804 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22805 Likewise.
22806 [__LINUX_KERNEL_VERSION >= 0x040300]
22807 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22808 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22809 Likewise.
22810 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22811 Likewise.
22812 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22813 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22814 Likewise.
22815 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22816 Likewise.
22817 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22818 Likewise.
22819 [__LINUX_KERNEL_VERSION >= 0x040300]
22820 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22821 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22822 Likewise.
22823 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22824 Likewise.
22825 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22826 Likewise.
22827 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22828 Likewise.
22829 [__LINUX_KERNEL_VERSION >= 0x040300]
22830 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22831 [__LINUX_KERNEL_VERSION >= 0x040300]
22832 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22833 [__LINUX_KERNEL_VERSION >= 0x040300]
22834 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22835 [__LINUX_KERNEL_VERSION >= 0x040300]
22836 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22837 [__LINUX_KERNEL_VERSION >= 0x040300]
22838 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22839 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22840 Likewise.
22841 [__LINUX_KERNEL_VERSION >= 0x040300]
22842 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22843 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22844 Likewise.
22845 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22846 Likewise.
22847 [__LINUX_KERNEL_VERSION >= 0x040300]
22848 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22849 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22850 Likewise.
22851 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22852 Likewise.
22853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22854 (__ASSUME_SOCKET_SYSCALL): Likewise.
22855 (__ASSUME_BIND_SYSCALL): Likewise.
22856 (__ASSUME_CONNECT_SYSCALL): Likewise.
22857 (__ASSUME_LISTEN_SYSCALL): Likewise.
22858 (__ASSUME_ACCEPT_SYSCALL): Likewise.
22859 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22860 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22861 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22862 (__ASSUME_SEND_SYSCALL): Likewise.
22863 (__ASSUME_SENDTO_SYSCALL): Likewise.
22864 (__ASSUME_RECV_SYSCALL): Likewise.
22865 (__ASSUME_RECVFROM_SYSCALL): Likewise.
22866 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22867 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22868 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22869 (__ASSUME_SENDMSG_SYSCALL): Likewise.
22870 (__ASSUME_RECVMSG_SYSCALL): Likewise.
22871 * sysdeps/unix/sysv/linux/sh/kernel-features.h
22872 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22873 Likewise.
22874 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22875 Likewise.
22876 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22877 Likewise.
22878 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22879 Likewise.
22880 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22881 Likewise.
22882 [__LINUX_KERNEL_VERSION >= 0x020625]
22883 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22884 [__LINUX_KERNEL_VERSION >= 0x020625]
22885 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22886 [__LINUX_KERNEL_VERSION >= 0x020625]
22887 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22888 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22889 Likewise.
22890 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22891 Likewise.
22892 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22893 Likewise.
22894 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22895 Likewise.
22896 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22897 Likewise.
22898 [__LINUX_KERNEL_VERSION >= 0x020625]
22899 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22900 [__LINUX_KERNEL_VERSION >= 0x020625]
22901 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22902 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22903 Likewise.
22904 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22905 Likewise.
22906
22907 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
22908
22909 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22910 record the current if the current ABI and CPU support the FP64
22911 extension.
22912 (has-modd-spreg): Define to record the current if the current ABI and
22913 CPU support 32-bit floating point values in odd FPU registers.
22914 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22915 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22916 $(has-modd-spreg) equals yes.
22917 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22918 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22919 $(has-modd-spreg) equal yes.
22920
22921 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
22922
22923 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22924 basename.
22925
22926 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
22927
22928 * benchtests/Makefile (bench-math): Move ffs and ffsll...
22929 (bench-string): ... here.
22930 (bench): Add bench-string.
22931 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22932 to *-benchset to reflect what they are.
22933 (benchset): Adjust.
22934
22935 * benchtests/sincos-inputs: Add inputs from sin-inputs and
22936 cos-inputs.
22937
22938 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
22939
22940 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22941 __attribute__ ((__simd__)) for vector math function declarations.
22942
22943 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
22944
22945 Fix typo in strncat, wcsncat manual entries
22946 * manual/string.texi (Copying and Concatenation): Fix typos in
22947 sample implementations of strncat and wcsncat, by having them use
22948 the old value of the destination length, not the new one.
22949
22950 2015-12-04 Joseph Myers <joseph@codesourcery.com>
22951
22952 [BZ #16961]
22953 [BZ #16962]
22954 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22955 string on the stack for strtod.
22956 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22957 a string on the stack for strtof.
22958 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22959 constructing a string on the stack for strtold.
22960 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22961 __strtold_nan to GLIBC_PRIVATE.
22962 * math/test-nan-overflow.c: New file.
22963 * math/test-nan-payload.c: Likewise.
22964 * math/Makefile (tests): Add test-nan-overflow and
22965 test-nan-payload.
22966
22967 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
22968
22969 Consistency about byte vs character in string.texi
22970 * manual/string.texi (String and Array Utilities):
22971 Distinguish more carefully among bytes, multibyte characters,
22972 and wide characters. Use "byte" when talking about C 'char',
22973 to distinguish it more clearly from multibyte characters.
22974 Say "wide character" or "multibyte character" instead of
22975 "character", when a wide or multibyte character is intended.
22976 Similarly for "multibyte string" versus "string".
22977 Define these terms more carefully.
22978
22979 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
22980
22981 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22982 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22983 Likewise.
22984 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22985 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22986 * sysdeps/sh/math_private.h: New file.
22987 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22988 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22989 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22990 long double function name.
22991 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22997 Remove __finitel, __isinfl, and __isnanl.
22998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22999 Likewise.
23000 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23002 Remove __finitel.
23003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23004 Likewise.
23005 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23006
23007 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
23008
23009 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
23010 installed libmvec_nonshared.a.
23011
23012 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23013
23014 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
23015 (sysdep_routines): Likewise.
23016 (sysdep-rtld-routines): Likewise.
23017 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
23018 [$(subdir) = nptl](tests-static): test-get_hwcap-static
23019 * sysdeps/powerpc/Versions: Added new
23020 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
23021 * sysdeps/powerpc/hwcapinfo.c: New file.
23022 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
23023 and parse hwcap, hwcap2 and platform number information.
23024 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
23025 to store HWCAP+HWCAP2 and platform number.
23026 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
23027 for HWCAP+HWCAP2 and platform number in the TCB.
23028 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
23029 the HWCAP, HWCAP2 and platform number in the TCB.
23030 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
23031 (TLS_INIT_TP): Included calls to add the hwcap and
23032 at_platform values in the TCB in TP initialization.
23033 (TLS_DEFINE_INIT_TP): Likewise.
23034 (THREAD_GET_HWCAP): New macro.
23035 (THREAD_SET_HWCAP): Likewise.
23036 (THREAD_GET_AT_PLATFORM): Likewise.
23037 (THREAD_SET_AT_PLATFORM): Likewise.
23038 * sysdeps/powerpc/powerpc32/dl-machine.h:
23039 (dl_platform_init): New function that calls
23040 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
23041 powerpc32.
23042 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
23043 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
23044 this functionality, static linking case.
23045 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
23046 linking case.
23047 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
23048 __parse_hwcap_and_convert_at_platform for the static linking case.
23049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
23050 Included the new __parse_hwcap_and_convert_at_platform symbol in the
23051 ABI list for GLIBC 2.23.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
23053 Likewise.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
23055 Likewise.
23056
23057 2015-12-02 Ludovic Courtès <ludo@gnu.org>
23058
23059 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
23060 * configure: Regenerate.
23061 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
23062 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
23063
23064 2015-12-02 Carlos O'Donell <carlos@redhat.com>
23065
23066 * iconvdata/ibm930.c: Add comment explaining encoding uses.
23067 * iconvdata/ibm933.c: Likewise.
23068 * iconvdata/ibm935.c: Likewise.
23069 * iconvdata/ibm937.c: Likewise.
23070 * iconvdata/ibm939.c: Likewise.
23071
23072 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23073
23074 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
23075 pthread_join.
23076 * nptl/tst-cancel21.c (tf): Likewise.
23077
23078 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
23079
23080 [BZ #19313]
23081 * bits/typesizes.h (__CPU_MASK_TYPE): New.
23082 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23083 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23084 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
23085 Likewise.
23086 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
23087 Likewise.
23088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
23089 Likewise.
23090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
23091 Likewise.
23092 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
23093 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
23094 unsigned long int with __CPU_MASK_TYPE.
23095
23096 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
23097
23098 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23099
23100 2015-12-01 Joseph Myers <joseph@codesourcery.com>
23101
23102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
23103 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
23104 t512.x.
23105 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
23106
23107 2015-11-30 Amit Pawar <amit.pawar@amd.com>
23108
23109 [BZ #19214]
23110 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
23111 argument to return extended model. Update family and model
23112 with extended family and model when family == 0x0f.
23113 (init_cpu_features): Updated.
23114
23115 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23116
23117 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
23118 signed off_t, so 32bit bigger than 2GiB values are fine actually.
23119
23120 * sysdeps/mach/hurd/mmap64.c: New file.
23121
23122 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
23123
23124 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
23125 rights for its main user thread in NEWTASK.
23126
23127 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
23128
23129 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
23130 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
23131
23132 2015-11-27 Carlos O'Donell <carlos@redhat.com>
23133
23134 [BZ #14259]
23135 * Makeconfig: Rename localedir to complocaledir.
23136 Rename inst_localedir to inst_complocaledir.
23137 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
23138 * config.make.in: Use complocaledir and libc_cv_complocaledir.
23139 * configure.ac: Use libc_cv_complocaledir.
23140 * configure: Regenerate.
23141 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
23142 -DCOMPLOCALEDIR.
23143 * locale/findlocale.c: Use COMPLOCALEDIR.
23144 * locale/loadarchive.c: Likewise.
23145 * locale/programs/locale.c: Likewise.
23146 * locale/programs/localedef.c: Likewise.
23147 * locale/programs/locarchive.c: Likewise.
23148 * localedata/Makefile: Use inst_complocaledir.
23149 * sysdeps/gnu/configure: Regenerate.
23150 * sysdeps/hppa/configure: Regenerate.
23151 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23152 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23154 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23155 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23156 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23157 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23158
23159 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
23160
23161 [BZ #19058]
23162 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
23163 AS_NEEDED.
23164 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
23165 workaround.
23166 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
23167 libmvec-static-only-routines): Added new file.
23168 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
23169
23170 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23171
23172 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
23173 of interrupted RPC instead of restoring it.
23174
23175 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
23176 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
23177 libc_hidden_def.
23178 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
23179 into initialized data instead of common. Define rtld_hidden_data_def.
23180 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
23181 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
23182 libc_hidden_def.
23183 (if_freenameindex): Add libc_hidden_weak.
23184 (if_nameindex): Add libc_hidden_weak.
23185 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
23186 __open64.
23187 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
23188 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
23189 * sysdeps/mach/nanosleep.c: Include <time.h>
23190 (__nanosleep): Rename to __libc_nanosleep.
23191 (__nanosleep): Add weak_alias.
23192 (nanosleep): Update alias.
23193
23194 2015-11-24 Joseph Myers <joseph@codesourcery.com>
23195
23196 * stdlib/strtod_nan.c: New file.
23197 * stdlib/strtod_nan_double.h: Likewise.
23198 * stdlib/strtod_nan_float.h: Likewise.
23199 * stdlib/strtod_nan_main.c: Likewise.
23200 * stdlib/strtod_nan_narrow.h: Likewise.
23201 * stdlib/strtod_nan_wide.h: Likewise.
23202 * stdlib/strtof_nan.c: Likewise.
23203 * stdlib/strtold_nan.c: Likewise.
23204 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
23205 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
23206 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
23207 * wcsmbs/wcstod_nan.c: Likewise.
23208 * wcsmbs/wcstof_nan.c: Likewise.
23209 * wcsmbs/wcstold_nan.c: Likewise.
23210 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23211 strtold_nan.
23212 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23213 wcstof_nan.
23214 * include/stdlib.h (__strtof_nan): Declare and use
23215 libc_hidden_proto.
23216 (__strtod_nan): Likewise.
23217 (__strtold_nan): Likewise.
23218 (__wcstof_nan): Likewise.
23219 (__wcstod_nan): Likewise.
23220 (__wcstold_nan): Likewise.
23221 * include/wchar.h (____wcstoull_l_internal): Declare.
23222 * stdlib/strtod_l.c: Do not include <ieee754.h>.
23223 (____strtoull_l_internal): Remove declaration.
23224 (STRTOF_NAN): Define macro.
23225 (SET_MANTISSA): Remove macro.
23226 (STRTOULL): Likewise.
23227 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23228 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23229 (STRTOF_NAN): Define macro.
23230 (SET_MANTISSA): Remove macro.
23231 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23232 (SET_MANTISSA): Remove macro.
23233 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23234 macro.
23235 (SET_MANTISSA): Remove macro.
23236 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23237 macro.
23238 (SET_MANTISSA): Remove macro.
23239 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23240 (SET_MANTISSA): Remove macro.
23241 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23242 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23243 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23244
23245 [BZ #19266]
23246 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23247 upper case and lower case letters inside NAN(), not using TOLOWER.
23248 * stdlib/tst-strtod-nan-locale-main.c: New file.
23249 * stdlib/tst-strtod-nan-locale.c: Likewise.
23250 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23251 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23252 Depend on $(gen-locales).
23253 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23254 * wcsmbs/tst-wcstod-nan-locale.c: New file.
23255 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23256 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23257 Depend on $(gen-locales).
23258 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23259
23260 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
23261
23262 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23263
23264 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23266 __finitel, __isinfl, and __isnanl.
23267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23268 Likewise.
23269 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23271 __finitel.
23272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23273 Likewise.
23274 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23275
23276 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
23277
23278 * malloc/memusage.c (me): Remove redundant getenv call.
23279
23280 2015-10-24 Florian Weimer <fweimer@redhat.com>
23281
23282 [BZ #19143]
23283 [BZ #19164]
23284 * nptl/check-cpuset.h: Remove.
23285 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23286 Remove CPU set size check.
23287 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23288 Likewise.
23289 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23290 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23291 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23292 (__pthread_setaffinity_new): Remove CPU set size check.
23293 * sysdeps/unix/sysv/linux/sched_setaffinity.c
23294 (__kernel_cpumask_size): Remove.
23295 (__sched_setaffinity_new): Remove CPU set size check.
23296 * manual/threads.texi (Default Thread Attributes): Remove stale
23297 reference to check_cpuset_attr, determine_cpumask_size in comment.
23298 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23299 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
23300 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23301 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23302 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23303 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23304 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23305 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23306 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23307 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23308 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23309 skeleton test file.
23310 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
23311 tst-affinity-pid.
23312
23313 2015-11-24 Florian Weimer <fweimer@redhat.com>
23314
23315 * scripts/update-abilist.sh: New file.
23316 * Makefile (+subdir_targets): Add subdir_update-all-abi.
23317 * Makerules (update-all-abi-%, update-all-abi)
23318 (subdir_update-all-abi): New targets.
23319 * elf/Makefile (update-all-abi): New target.
23320
23321 2015-11-24 Florian Weimer <fweimer@redhat.com>
23322
23323 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23324 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23325 (__libc_lock_define_initialized): Use it.
23326 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23327 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23328 * malloc/malloc.c (main_arena): Likewise.
23329 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23330 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23331
23332 2015-11-23 Joseph Myers <joseph@codesourcery.com>
23333
23334 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23335 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23336 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23337 (PTRACE_O_MASK): Update value.
23338 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23339 New value in enum __ptrace_setoptions.
23340 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23341 (PTRACE_O_MASK): Update value.
23342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23343 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23344 (PTRACE_O_MASK): Update value.
23345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23346 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23347 (PTRACE_O_MASK): Update value.
23348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23349 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23350 (PTRACE_O_MASK): Update value.
23351 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23352 New value in enum __ptrace_setoptions.
23353 (PTRACE_O_MASK): Update value.
23354 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23355 New value in enum __ptrace_setoptions.
23356 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23357 (PTRACE_O_MASK): Update value.
23358
23359 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23360 New macro.
23361 (PACKET_AUXDATA): Likewise.
23362 (PACKET_ORIGDEV): Likewise.
23363 (PACKET_VERSION): Likewise.
23364 (PACKET_HDRLEN): Likewise.
23365 (PACKET_RESERVE): Likewise.
23366 (PACKET_TX_RING): Likewise.
23367 (PACKET_LOSS): Likewise.
23368 (PACKET_VNET_HDR): Likewise.
23369 (PACKET_TX_TIMESTAMP): Likewise.
23370 (PACKET_TIMESTAMP): Likewise.
23371 (PACKET_FANOUT): Likewise.
23372 (PACKET_TX_HAS_OFF): Likewise.
23373 (PACKET_QDISC_BYPASS): Likewise.
23374 (PACKET_ROLLOVER_STATS): Likewise.
23375 (PACKET_FANOUT_DATA): Likewise.
23376 (PACKET_MR_UNICAST): Likewise.
23377
23378 [BZ #19242]
23379 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23380 (TOUPPER): Likewise.
23381 * stdlib/tst-strtol-locale-main.c: New file.
23382 * stdlib/tst-strtol-locale.c: Likewise.
23383 * stdlib/Makefile (tests): Add tst-strtol-locale.
23384 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23385 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23386 Depend on $(gen-locales).
23387 * wcsmbs/tst-wcstol-locale.c: New file.
23388 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23389 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23390 tr_TR.ISO-8859-9.
23391 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
23392 Depend on $(gen-locales).
23393
23394 2015-11-20 Roland McGrath <roland@hack.frob.com>
23395
23396 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
23397 __glibc_likely instead of __builtin_expect. After falling back to
23398 dyncode_create in a non-ET_DYN case, use the allocate_code_data
23399 system interface to register the code pages as occupied.
23400
23401 2015-11-20 Joseph Myers <joseph@codesourcery.com>
23402
23403 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23404 [!ARM_MATH_PRIVATE_H].
23405 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
23406 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23407 [!HPPA_MATH_PRIVATE_H].
23408 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
23409 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
23410 to [!I386_MATH_PRIVATE_H].
23411 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
23412 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
23413 Change guard to [!M68K_MATH_PRIVATE_H].
23414 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
23415 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
23416 guard to [!MICROBLAZE_MATH_PRIVATE_H].
23417 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
23418 macro.
23419 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23420 [!MIPS_MATH_PRIVATE_H].
23421 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
23422 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23423 [!NIO2_MATH_PRIVATE_H].
23424 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
23425 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23426 [!TILE_MATH_PRIVATE_H].
23427 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
23428
23429 [BZ #15421]
23430 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
23431 initialize with 0 and define as weak alias of __signgam.
23432 * include/math.h [!_ISOMAC] (__signgam): Declare.
23433 * math/Makefile (libm-calls): Add w_lgamma_compat.
23434 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
23435 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
23436 test-signgam-ullong-init.
23437 (tests-static): Add test-signgam-uchar-static,
23438 test-signgam-uchar-init-static, test-signgam-uint-static,
23439 test-signgam-uint-init-static, test-signgam-ullong-static and
23440 test-signgam-ullong-init-static.
23441 (CFLAGS-test-signgam-uchar.c): New variable.
23442 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23443 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23444 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23445 (CFLAGS-test-signgam-uint.c): Likewise.
23446 (CFLAGS-test-signgam-uint-init.c): Likewise.
23447 (CFLAGS-test-signgam-uint-static.c): Likewise.
23448 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23449 (CFLAGS-test-signgam-ullong.c): Likewise.
23450 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23451 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23452 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23453 * math/Versions (libm): Add GLIBC_2.23.
23454 * math/lgamma-compat.h: New file.
23455 * math/test-signgam-main.c: Likewise.
23456 * math/test-signgam-uchar-init-static.c: Likewise.
23457 * math/test-signgam-uchar-init.c: Likewise.
23458 * math/test-signgam-uchar-static.c: Likewise.
23459 * math/test-signgam-uchar.c: Likewise.
23460 * math/test-signgam-uint-init-static.c: Likewise.
23461 * math/test-signgam-uint-init.c: Likewise.
23462 * math/test-signgam-uint-static.c: Likewise.
23463 * math/test-signgam-uint.c: Likewise.
23464 * math/test-signgam-ullong-init-static.c: Likewise.
23465 * math/test-signgam-ullong-init.c: Likewise.
23466 * math/test-signgam-ullong-static.c: Likewise.
23467 * math/test-signgam-ullong.c: Likewise.
23468 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
23469 wrapper of w_lgamma_main.c.
23470 * math/w_lgamma_compat.c: New file.
23471 * math/w_lgamma_compatf.c: Likewise.
23472 * math/w_lgamma_compatl.c: Likewise.
23473 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
23474 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
23475 defining compatibility symbols.
23476 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
23477 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
23478 wrapper of w_lgammaf_main.c.
23479 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
23480 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
23481 defining compatibility symbols.
23482 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
23483 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
23484 wrapper of w_lgammal_main.c.
23485 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
23486 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
23487 defining compatibility symbols.
23488 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
23489 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
23490 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
23491 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
23492 <lgamma-compat.h>.
23493 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
23494 (__ieee754_gamma): Define as alias.
23495 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
23496 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
23497 <lgamma-compat.h>.
23498 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
23499 (__ieee754_gammaf): Define as alias.
23500 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
23501 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
23502 <lgamma-compat.h>.
23503 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
23504 (__ieee754_gammal): Define as alias.
23505 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
23506 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
23507 <math/w_lgamma_compat.c>.
23508 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
23509 Define as alias of __lgamma_compat and use in defining lgammal.
23510 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
23511 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
23512 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
23513 (USE_AS_COMPAT): New macro.
23514 (LGAMMA_OLD_VER): Undefine and redefine.
23515 (lgammal): Do not define here.
23516 (gammal): Only define here if [GAMMA_ALIAS].
23517 * conform/linknamespace.pl (@whitelist): Remove signgam.
23518 * sysdeps/nacl/libm.abilist: Update.
23519 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23520 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23521 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23522 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23523 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23524 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23525 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23526 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23527 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23528 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23529 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23530 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23532 Likewise.
23533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23534 Likewise.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23536 Likewise.
23537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23538 Likewise.
23539 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23540 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23541 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23542 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23543 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23545 Likewise.
23546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23547 Likewise.
23548 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23549 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23550 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23551
23552 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23553
23554 [BZ #16364]
23555 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23556 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23557
23558 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
23559
23560 * sysdeps/s390/fpu/bits/mathinline.h:
23561 Use __asm__ [__volatile__] instead of asm [volatile].
23562 * sysdeps/s390/abort-instr.h: Likewise.
23563 * sysdeps/s390/atomic-machine.h: Likewise.
23564 * sysdeps/s390/bits/string.h: Likewise.
23565 * sysdeps/s390/dl-tls.h: Likewise.
23566 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23567 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23568 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23569 * sysdeps/s390/fpu/fesetround.c: Likewise.
23570 * sysdeps/s390/fpu/fpu_control.h: Likewise.
23571 * sysdeps/s390/fpu/s_fma.c: Likewise.
23572 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23573 * sysdeps/s390/memusage.h: Likewise.
23574 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23575 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23576 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23577 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23578 * sysdeps/s390/nptl/tls.h: Likewise.
23579 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23580 * sysdeps/s390/s390-32/backtrace.c: Likewise.
23581 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23582 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23583 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23584 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23585 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23586 * sysdeps/s390/s390-64/backtrace.c: Likewise.
23587 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23588 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23589 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23590 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23591 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23592 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23593 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23594 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23595 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23596 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23597 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23599 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23601 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23602
23603 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23604 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23605
23606 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23607 Add lwarx hint, and use macro for acquire instruction.
23608 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23609 Likewise.
23610 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23611 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23612 update to use new atomic macros.
23613
23614 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23615
23616 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23617 (__lll_trylock_elision): Fix setting of adapt_count.
23618 * sysdeps/unix/sysv/linux/powerpc/htm.h
23619 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23620 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23621 (_ABORT_SYSCALL): Renumber, and clarify definition.
23622 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23623
23624 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23625
23626 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23627 after system headers to prevent MIN/MAX redefinition. Define
23628 HAVE_ALLOCA to preserve builtin alloca usage.
23629
23630 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
23631
23632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23633 static and don't set or restore rounding.
23634 (__cos)[IN_SINCOS]: Likewise.
23635 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23636 (__sincos): Set and restore rounding mode. Remove check for infinite
23637 or NaN input.
23638
23639 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23640
23641 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23642 as used.
23643
23644 2015-11-16 Florian Weimer <fweimer@redhat.com>
23645
23646 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23647
23648 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
23649
23650 * config.make.in (have-glob-dat-reloc): New.
23651 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
23652 target supports GLOB_DAT relocaton. AC_SUBST.
23653 * configure: Regenerated.
23654 * elf/Makefile (tests): Add tst-prelink.
23655 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23656 (tst-prelink-ENV): New.
23657 ($(objpfx)tst-prelink-conflict.out): Likewise.
23658 ($(objpfx)tst-prelink-cmp.out): Likewise.
23659 * sysdeps/x86/tst-prelink.c: Moved to ...
23660 * elf/tst-prelink.c: Here.
23661 * sysdeps/x86/tst-prelink.exp: Moved to ...
23662 * elf/tst-prelink.exp: Here.
23663 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23664 (tst-prelink-ENV): Removed.
23665 ($(objpfx)tst-prelink-conflict.out): Likewise.
23666 ($(objpfx)tst-prelink-cmp.out): Likewise.
23667 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23668
23669 2015-11-13 Joseph Myers <joseph@codesourcery.com>
23670
23671 [BZ #14551]
23672 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23673 (__mpn_construct_long_double): If high part overflows to infinity,
23674 set errno and recompute overflowed result of the correct sign.
23675 * sysdeps/ieee754/ldbl-128ibm/Makefile
23676 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23677 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23678 $(libm).
23679 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23680
23681 2015-11-12 Joseph Myers <joseph@codesourcery.com>
23682
23683 [BZ #15479]
23684 [BZ #19238]
23685 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23686 floating-point state after first operation on input. Restore full
23687 state rather than just rounding mode.
23688 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23689 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23690 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23691
23692 [BZ #19235]
23693 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23694 add 0.5 to integer arguments.
23695 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23696 Likewise.
23697 (.LC2): New object.
23698
23699 2015-11-11 Mike Frysinger <vapier@gentoo.org>
23700
23701 * scripts/pylintrc (reports): Set to no.
23702
23703 2015-11-10 Roland McGrath <roland@hack.frob.com>
23704
23705 * elf/dl-load.c (open_verify): Take new argument FD.
23706 Skip __open call if passed FD is not -1.
23707 (_dl_map_object, open_path): Update callers.
23708 * elf/dl-sysdep-open.h: New file.
23709 * elf/dl-load.c: Include it.
23710 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23711 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23712 * sysdeps/nacl/dl-sysdep-open.h: New file.
23713 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23714 from libc to rtld.
23715
23716 2015-11-10 Joseph Myers <joseph@codesourcery.com>
23717
23718 [BZ #19228]
23719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23720 and restore full floating-point state.
23721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23722 Likewise.
23723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23724 Likewise.
23725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23726 Likewise.
23727 * math/test-nearbyint-except-2.c: New file.
23728 * math/Makefile (tests): Add test-nearbyint-except-2.
23729
23730 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
23731
23732 [BZ #19178]
23733 * sysdeps/x86/Makefile (tests): Add tst-prelink.
23734 (tst-prelink-ENV): New.
23735 ($(objpfx)tst-prelink-conflict.out): Likewise.
23736 ($(objpfx)tst-prelink-cmp.out): Likewise.
23737 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23738 * sysdeps/x86/tst-prelink.c: New file.
23739 * sysdeps/x86/tst-prelink.exp: Likewise.
23740
23741 2015-11-10 Joseph Myers <joseph@codesourcery.com>
23742
23743 * math/auto-libm-test-in: Add another test of pow.
23744 * math/auto-libm-test-out: Regenerated.
23745 * math/libm-test.inc (pow_test_data): Add another test.
23746
23747 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23748
23749 [BZ #19219]
23750 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23751 weak_alias to nearbyintl.
23752
23753 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
23754
23755 * sysdeps/aarch64/bits/string.h: New file.
23756 (_STRING_ARCH_unaligned): Define.
23757
23758 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
23759
23760 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23761 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23762 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23763 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23765
23766 2015-11-09 Ulrich Drepper <drepper@gmail.com>
23767
23768 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23769 for original name of the DSO. Add it to the name list of the DSO
23770 if it is actually given.
23771 (_dl_map_object): Keep track of whether an audit module rewrote
23772 the file name. If yes, pass the original name to
23773 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
23774 debugging is enabled, log the change of the file name.
23775 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23776 _dl_map_object_from_fd.
23777 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23778 * elf/tst-audit11.c: New file
23779 * elf/tst-auditmod11.c: New file.
23780 * elf/tst-audit11mod1.c: New file.
23781 * elf/tst-audit11mod2.c: New file.
23782 * elf/tst-audit11mod2.map: New file.
23783 * elf/tst-audit12.c: New file
23784 * elf/tst-auditmod12.c: New file.
23785 * elf/tst-audit12mod1.c: New file.
23786 * elf/tst-audit12mod2.c: New file.
23787 * elf/tst-audit12mod2.map: New file.
23788 * elf/tst-audit12mod3.c: New file.
23789
23790 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
23791
23792 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23793 Don't create weak aliases,
23794 because versioned symbols are created later.
23795 * sysdeps/s390/s390-32/setjmp.S
23796 (setjmp, _setjmp): Remove weak and rename to an unique name
23797 in SHARED case due to existing versioned symbols.
23798 * sysdeps/s390/s390-64/setjmp.S: Likewise.
23799 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23800 (getcontext): Create weak alias only in non SHARED case.
23801 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23802
23803 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
23804
23805 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23806 (__ASSUME_*_SYSCALL) Define new macros.
23807 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23808 Remove socketcall syscalls.
23809 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23810 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23811 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23812 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23813 * sysdeps/unix/sysv/linux/send.c (__libc_send):
23814 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23815
23816 2015-11-09 Florian Weimer <fweimer@redhat.com>
23817
23818 [BZ #12926]
23819 Terminate process on invalid netlink response.
23820 * sysdeps/unix/sysv/linux/netlinkaccess.h
23821 (__netlink_assert_response): Declare.
23822 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23823 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23824 (sysdep_routines): Add netlink_assert_response.
23825 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23826 __netlink_assert_response.
23827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23828 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23829 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23830 __netlink_assert_response.
23831
23832 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
23833
23834 [BZ #19178]
23835 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23836 (RTYPE_CLASS_PLT): Likewise.
23837 (RTYPE_CLASS_COPY): Likewise.
23838 (RTYPE_CLASS_TLS): Likewise.
23839 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23840 to set relocation type class for DL_DEBUG_PRELINK. Keep only
23841 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23842 DL_DEBUG_PRELINK.
23843
23844 2015-11-06 Joseph Myers <joseph@codesourcery.com>
23845
23846 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23847 calls with argument -0.5.
23848 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23849
23850 * configure.ac (libc_cv_z_nodelete): Remove configure test.
23851 (libc_cv_z_nodlopen): Likewise.
23852 (libc_cv_z_initfirst): Likewise.
23853 * configure: Regenerated.
23854
23855 2015-11-06 Florian Weimer <fweimer@redhat.com>
23856
23857 Simplify abilist format to be line-based.
23858 * scripts/abilist.awk: Collect descriptors in the descs variable.
23859 (emit): Write descs variable and sort it
23860 externally, with sort.
23861 * sysdeps/**/*.abilist: Convert to new format.
23862
23863 2015-11-06 Mark Wielaard <mjw@redhat.com>
23864
23865 [BZ #11460]
23866 * io/Makefile (routines): Add fts64.
23867 (tests): Add tst-fts and tst-fts-lfs.
23868 (CFLAGS-fts64.c): New.
23869 * io/Versions (GLIBC_2.23): New.
23870 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23871 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23872 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23873 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23874 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23875 (FTSENT64): Likewise.
23876 (fts64_children): Likewise.
23877 (fts64_close): Likewise.
23878 (fts64_open): Likewise.
23879 (fts64_read): Likewise.
23880 (fts64_set): Likewise.
23881 * io/fts64.c: New file.
23882 * io/tst-fts.c: New test.
23883 * io/tst-fts-lfs.c: Likewise.
23884 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23885 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23886 fts64_set.
23887 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23888 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23889 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23890 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23891 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23892 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23893 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23894 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23895 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23896 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23897 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23898 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23899 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23901 Likewise.
23902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23903 Likewise.
23904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23906 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23907 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23908 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23909 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23910 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23913 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23914 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23915 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23916 * sysdeps/wordsize-64/fts.c: New file.
23917 * sysdeps/wordsize-64/fts64.c: Likewise.
23918 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23919 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23920 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23921 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23922
23923 2015-11-05 Joseph Myers <joseph@codesourcery.com>
23924
23925 * math/libm-test.inc (NON_FINITE): New macro.
23926 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23927 * math/gen-libm-test.pl (show_exceptions): Add argument
23928 $non_finite.
23929 (parse_args): Update call to show_exceptions.
23930 * math/test-math-finite.h: New file.
23931 * math/test-math-no-finite.h: Likewise.
23932 * math/test-double-finite.c: Likewise.
23933 * math/test-float-finite.c: Likewise.
23934 * math/test-ldouble-finite.c: Likewise.
23935 * math/test-double.c: Include "test-math-no-finite.h".
23936 * math/test-float.c: Include "test-math-no-finite.h".
23937 * math/test-ldouble.c: Include "test-math-no-finite.h".
23938 * math/test-math-inline.h (TEST_FINITE): New macro.
23939 * math/test-math-vector.h (TEST_FINITE): Likewise.
23940 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23941 (libm-tests): Add test-float-finite and test-double-finite.
23942 ($(objpfx)test-float-finite.o): New dependency on
23943 $(objpfx)libm-test.stmp.
23944 ($(objpfx)test-double-finite.o): Likewise.
23945 ($(objpfx)test-ldouble-finite.o): Likewise.
23946 (libm-test-no-inline-cflags): New variable.
23947 (libm-test-finite-cflags): Likewise.
23948 (CFLAGS-test-float-finite.c): Likewise.
23949 (CFLAGS-test-double-finite.c): Likewise.
23950 (CFLAGS-test-ldouble-finite.c): Likewise.
23951 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23952 (CFLAGS-test-double.c): Likewise.
23953 (CFLAGS-test-ldouble.c): Likewise.
23954
23955 2015-11-05 Roland McGrath <roland@hack.frob.com>
23956
23957 * io/fcntl.c (__fcntl): Add ... to prototype.
23958 * misc/ioctl.c (__ioctl): Likewise.
23959 * misc/syscall.c (syscall): Likewise.
23960
23961 2015-11-05 Joseph Myers <joseph@codesourcery.com>
23962
23963 * scripts/list-fixed-bugs.py: New file.
23964
23965 [BZ #19213]
23966 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23967 returned for argument 1.
23968 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23969 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23970 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23971 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23972 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23973 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23974
23975 [BZ #19211]
23976 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23977 __USE_XOPEN], not if [!__USE_ISOC99].
23978 (lgammaf): Likewise.
23979 (lgammal): Likewise.
23980 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23981 (gammaf): Likewise.
23982 (gammal): Likewise.
23983 * math/test-signgam-finite-c11.c: New file.
23984 * math/test-signgam-finite-c99.c: Likewise.
23985 * math/test-signgam-finite.c: Likewise.
23986 * math/Makefile (tests): Add test-signgam-finite,
23987 test-signgam-finite-c99 and test-signgam-finite-c11.
23988 (CFLAGS-test-signgam-finite.c): New variable.
23989 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23990 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23991
23992 [BZ #19212]
23993 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23994 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23995 500].
23996 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23997 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23998 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23999 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
24000 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
24001 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
24002 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
24003 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
24004 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
24005 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
24006
24007 [BZ #19209]
24008 * math/bits/math-finite.h (ldexp): Remove declaration.
24009 (ldexpf): Likewise.
24010 (ldexpl): Likewise.
24011
24012 [BZ #19205]
24013 * math/bits/math-finite.h (acosf): Condition declaration on
24014 [__USE_ISOC99].
24015 (acosl): Likewise.
24016 (acoshf): Likewise.
24017 (acoshl): Likewise.
24018 (asinf): Likewise.
24019 (asinl): Likewise.
24020 (atan2f): Likewise.
24021 (atan2l): Likewise.
24022 (atanhf): Likewise.
24023 (atanhl): Likewise.
24024 (coshf): Likewise.
24025 (coshl): Likewise.
24026 (expf): Likewise.
24027 (expl): Likewise.
24028 (fmodf): Likewise.
24029 (fmodl): Likewise.
24030 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
24031 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
24032 (j0l): Likewise.
24033 (y0f): Likewise.
24034 (y0l): Likewise.
24035 (j1f): Likewise.
24036 (j1l): Likewise.
24037 (y1f): Likewise.
24038 (y1l): Likewise.
24039 (jnf): Likewise.
24040 (jnl): Likewise.
24041 (ynf): Likewise.
24042 (ynl): Likewise.
24043 (lgammaf_r): Condition declaration on [__USE_ISOC99].
24044 (lgammal_r): Likewise.
24045 (__lgamma_r_finite): New declaration.
24046 (__lgammaf_r_finite): Likewise.
24047 (__lgammal_r_finite): Likewise.
24048 (lgamma): Use __lgamma_r_finite.
24049 (lgammaf): Condition definition on [__USE_ISOC99]. Use
24050 __lgammaf_r_finite.
24051 (lgammal): Condition definition on [__USE_ISOC99]. Use
24052 __lgammal_r_finite.
24053 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
24054 __lgamma_r_finite.
24055 (gammaf): Condition definition on [__USE_ISOC99]. Use
24056 __lgammaf_r_finite.
24057 (gammal): Condition definition on [__USE_ISOC99]. Use
24058 __lgammal_r_finite.
24059 (logf): Condition declaration on [__USE_ISOC99].
24060 (logl): Likewise.
24061 (log10f): Likewise.
24062 (log10l): Likewise.
24063 (ldexpf): Likewise.
24064 (ldexpl): Likewise.
24065 (powf): Likewise.
24066 (powl): Likewise.
24067 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
24068 __USE_ISOC99].
24069 (remainderf): Condition declaration on [__USE_ISOC99].
24070 (remainderl): Likewise.
24071 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
24072 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
24073 (scalbl): Likewise.
24074 (sinhf): Condition declaration on [__USE_ISOC99].
24075 (sinhl): Likewise.
24076 (sqrtf): Likewise.
24077 (sqrtl): Likewise.
24078
24079 2015-11-04 Joseph Myers <joseph@codesourcery.com>
24080
24081 * sysdeps/arm/atomic-machine.h
24082 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24083 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24084 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
24085 Remove conditional code.
24086 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24087 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24088 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
24089 Change conditional to [__ASSEMBLER__].
24090 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24091 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
24092 [!__ASSEMBLER__].
24093 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
24094 code.
24095 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
24096 conditional macro definitions.
24097 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
24098 (__arch_compare_and_exchange_val_16_acq): Likewise.
24099 (__arch_compare_and_exchange_val_32_acq): Likewise.
24100 (atomic_exchange_and_add): Likewise.
24101 (atomic_add): Likewise.
24102 (atomic_add_negative): Likewise.
24103 (atomic_add_zero): Likewise.
24104 (atomic_bit_set): Likewise.
24105 (atomic_bit_test_set): Likewise.
24106 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
24107 code unconditional.
24108 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24109
24110 * math/test-math-errno.h: New file.
24111 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
24112 empty.
24113 (TEST_ERRNO): New macro.
24114 (TEST_EXCEPTIONS): Likewise.
24115 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
24116 (TEST_EXCEPTIONS): Likewise.
24117 * math/test-math-vector.h (TEST_ERRNO): Likewise.
24118 * math/test-double.c: Include "test-math-errno.h".
24119 * math/test-float.c: Likewise.
24120 * math/test-ldouble.c: Likewise.
24121 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
24122 code unconditional.
24123 (test_exceptions): Only run code if TEST_EXCEPTIONS.
24124 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
24125 unconditional.
24126 (test_errno): Only run code if TEST_ERRNO.
24127 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
24128
24129 2015-11-04 Florian Weimer <fweimer@redhat.com>
24130
24131 * nptl/tst-once5.cc: Remove attribution.
24132
24133 2015-11-04 Joseph Myers <joseph@codesourcery.com>
24134
24135 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
24136 sqrt, tan, tanh, y0, y1 and yn.
24137 * math/auto-libm-test-out: Regenerated.
24138 * math/libm-test.inc (scalb_test_data): Add more tests.
24139 (scalbn_test_data): Likewise.
24140 (scalbln_test_data): Likewise.
24141 (signbit_test_data): Likewise.
24142 (sin_test_data): Likewise.
24143 (sincos_test_data): Likewise.
24144 (sinh_test_data): Likewise.
24145 (sqrt_test_data): Likewise.
24146 (tan_test_data): Likewise.
24147 (tanh_test_data): Likewise.
24148 (tgamma_test_data): Likewise.
24149 (y0_test_data): Likewise.
24150 (y1_test_data): Likewise.
24151 (yn_test_data): Likewise.
24152 (significand_test_data): Likewise.
24153 * sysdeps/i386/fpu/libm-test-ulps: Update.
24154
24155 2015-11-03 David Kastrup <dak@gnu.org>
24156
24157 [BZ #18604]
24158 * assert/assert.h (assert): Don't macro-expand failed assertion
24159 expression in error message.
24160 * malloc/malloc.c (assert): Likewise.
24161
24162 2015-11-03 Joseph Myers <joseph@codesourcery.com>
24163
24164 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
24165 test.
24166 * configure: Regenerated.
24167
24168 2015-11-02 Joseph Myers <joseph@codesourcery.com>
24169
24170 * math/libm-test.inc (modf_test_data): Add more tests.
24171 (nearbyint_test_data): Likewise.
24172 (nextafter_test_data): Likewise.
24173 (nexttoward_test_data): Likewise.
24174 (pow_test_data): Likewise.
24175 (remainder_test_data): Likewise.
24176 (remquo_test_data): Likewise.
24177 (rint_test_data): Likewise.
24178
24179 [BZ #19201]
24180 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24181 Check for zero remainder in case of large exponents and ensure
24182 correct sign of result in that case.
24183 * math/libm-test.inc (remainder_test_data): Add more tests.
24184
24185 [BZ #6799]
24186 * math/s_nextafter.c: Include <errno.h>.
24187 (__nextafter): Set errno on overflow and underflow.
24188 * math/s_nexttowardf.c: Include <errno.h>.
24189 (__nexttowardf): Set errno on overflow and underflow.
24190 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
24191 (__nextafterl): Set errno on overflow and underflow.
24192 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
24193 (__nexttoward): Set errno on overflow and underflow.
24194 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
24195 (__nexttowardf): Set errno on overflow and underflow.
24196 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
24197 (__nextafterf): Set errno on overflow and underflow.
24198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
24199 (__nextafterl): Set errno on overflow and underflow.
24200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
24201 (__nexttoward): Set errno on overflow and underflow.
24202 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
24203 (__nexttowardf): Set errno on overflow and underflow.
24204 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
24205 (__nextafterl): Set errno on overflow and underflow.
24206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
24207 (__nexttoward): Set errno on overflow and underflow.
24208 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
24209 (__nexttowardf): Set errno on overflow and underflow.
24210 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24211 (__nexttoward): Set errno on overflow and underflow.
24212 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24213 (__nexttowardf): Set errno on overflow and underflow.
24214 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24215 (__nldbl_nexttowardf): Set errno on overflow and underflow.
24216 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24217 (__nextafterl): Set errno on overflow and underflow.
24218 * math/libm-test.inc (nextafter_test_data): Do not allow errno
24219 setting to be missing on overflow. Add more tests.
24220 (nexttoward_test_data): Likewise.
24221
24222 * configure.ac (libc_cv_initfini_array): Remove configure test.
24223 * configure: Regenerated.
24224
24225 2015-10-29 Joseph Myers <joseph@codesourcery.com>
24226
24227 [BZ #19189]
24228 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24229 non-finite argument handle arguments with negative sign.
24230
24231 * math/libm-test.inc (j0_test_data): Do not test sign of zero
24232 result from infinite argument.
24233 (j1_test_data): Likewise.
24234 (jn_test_data): Likewise.
24235 (y0_test_data): Likewise.
24236 (y1_test_data): Likewise.
24237 (yn_test_data): Likewise.
24238
24239 [BZ #16171]
24240 * math/w_remainder.c (drem): Define as weak alias of __remainder.
24241 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24242 * math/w_remainderf.c (dremf): Define as weak alias of
24243 __remainderf.
24244 * math/w_remainderl.c (dreml): Define as weak alias of
24245 __remainderl.
24246 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24247 __remainder.
24248 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24249 __remainderf.
24250 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24251 __remainderl.
24252 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24253 weak alias of remainderl.
24254 * sysdeps/ieee754/ldbl-opt/w_remainder.c
24255 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24256 alias of __remainder.
24257 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24258 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24259 strong alias of __remainderl.
24260 (dreml): Use long_double_symbol.
24261 * math/Makefile (libm-calls): Remove w_drem.
24262 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24263 (CFLAGS-nldbl-drem.c): Remove variable.
24264 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24265 * math/w_drem.c: Remove file.
24266 * math/w_dremf.c: Likewise.
24267 * math/w_dreml.c: Likewise.
24268 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24269 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24270 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24271
24272 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24273 * sysdeps/i386/configure: Regenerated.
24274 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24275 * sysdeps/x86_64/configure: Regenerated.
24276
24277 * configure.ac (libc_cv_asm_protected_directive): Remove configure
24278 test.
24279 (libc_cv_visibility_attribute): Likewise.
24280 (libc_cv_protected_data): Test unconditionally.
24281 (libc_cv_broken_visibility_attribute): Remove configure test.
24282 (libc_cv_have_sdata_section): Test unconditionally.
24283 * configure: Regenerated.
24284
24285 * include/libc-internal.h (libc_max_align_t): Remove typedef.
24286 * include/scratch_buffer.h: Include <stddef.h> instead of
24287 <libc-internal.h>.
24288 (struct scratch_buffer): Use max_align_t instead of
24289 libc_max_align_t.
24290
24291 2015-10-29 Florian Weimer <fweimer@redhat.com>
24292
24293 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24294 instead of extend_alloca. Change control flow to avoid a goto.
24295 Remove assert which is trivially always true.
24296
24297 2015-10-28 Joseph Myers <joseph@codesourcery.com>
24298
24299 [BZ #16068]
24300 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24301 (FE_ALL_EXCEPT_X86): New macro.
24302 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24303 FE_ALL_EXCEPT. Ensure precision control is included in
24304 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24305 handle "denormal operand exception" and clear FZ and DAZ bits.
24306 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24307 (FE_ALL_EXCEPT_X86): New macro.
24308 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24309 FE_ALL_EXCEPT. Ensure precision control is included in
24310 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24311 handle "denormal operand exception" and clear FZ and DAZ bits.
24312 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24313 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24314 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24315 test-fenv-x87 and test-fenv-sse-2.
24316 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24317
24318 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24319 * math/test-double.h (BUILD_COMPLEX): New macro.
24320 * math/test-float.h (BUILD_COMPLEX): Likewise.
24321 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24322
24323 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24324 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24325 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24327 instead of DBL_DENORM_MIN in comment.
24328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24329 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24331 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24332 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24333 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24334
24335 2015-10-28 Florian Weimer <fweimer@redhat.com>
24336
24337 [BZ #19048]
24338 * malloc/malloc.c (struct malloc_state): Update comment. Add
24339 attached_threads member.
24340 (main_arena): Initialize attached_threads.
24341 * malloc/arena.c (list_lock): Update comment.
24342 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24343 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24344 (deattach_arena): New function.
24345 (_int_new_arena): Initialize arena reference count and deattach
24346 replaced arena.
24347 (get_free_list, reused_arena): Update reference count and deattach
24348 replaced arena.
24349 (arena_thread_freeres): Update arena reference count and only put
24350 unreferenced arenas on the free list.
24351
24352 2015-10-28 Joseph Myers <joseph@codesourcery.com>
24353
24354 [BZ #19181]
24355 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24356 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24357 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24358 * math/test-fenv-clear-main.c: New file.
24359 * math/test-fenv-clear.c: Likewise.
24360 * math/Makefile (tests): Add test-fenv-clear.
24361 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24362 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24363 test-fenv-clear-sse.
24364 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24365
24366 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24367 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24368 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24369
24370 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24371
24372 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24373 static libc.
24374
24375 2015-10-28 Joseph Myers <joseph@codesourcery.com>
24376
24377 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24378 test.
24379 * sysdeps/i386/configure: Regenerated.
24380 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24381 test.
24382 * sysdeps/x86_64/configure: Regenerated.
24383 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24385 memset-avx2 unconditionally instead of conditionally on
24386 [$(config-cflags-avx2) = yes].
24387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24388 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24389 unconditional.
24390 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24391 * sysdeps/x86_64/multiarch/memset_chk.S
24392 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
24393 to [IS_IN (libc) && SHARED].
24394
24395 2015-10-27 Joseph Myers <joseph@codesourcery.com>
24396
24397 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
24398 configure test.
24399 * sysdeps/arm/configure: Regenerated.
24400 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
24401 Define variable if not already defined.
24402
24403 [BZ #17404]
24404 * sysdeps/mips/atomic-machine.h
24405 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
24406 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
24407 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24408
24409 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
24410 unconditional.
24411 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
24412 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24413 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
24414 unconditional.
24415 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24416 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
24417 unconditional.
24418 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24419 * stdlib/setenv.c
24420 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
24421 code unconditional.
24422 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
24423 Remove conditional code.
24424 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24425 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
24426 unconditional.
24427 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24428 code.
24429 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24430 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
24431 unconditional.
24432 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24433 code.
24434 * sysdeps/ieee754/ldbl-128/k_tanl.c
24435 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24436 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24437 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
24438 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24439 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24440 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
24441 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
24442 unconditional.
24443 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24444 code.
24445 * sysdeps/ieee754/ldbl-96/k_tanl.c
24446 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24447 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24448
24449 * nptl/tst-initializers1-c11.c: New file.
24450 * nptl/tst-initializers1-gnu11.c: Likewise.
24451 * nptl/Makefile (tests): Add these new tests.
24452 (CFLAGS-tst-initializers1-c11.c): New variable.
24453 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24454
24455 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
24456 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
24457 instead of -std=gnu99.
24458 * configure.ac (systemtap): Test with -std=gnu11 instead of
24459 -std=gnu99.
24460 * configure: Regenerated.
24461 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
24462 in compilation command in comment.
24463
24464 * sysdeps/nptl/configure.ac: Remove file.
24465 * sysdeps/nptl/configure: Remove generated file.
24466 * configure.ac (libc_cv_forced_unwind): Do not substitute.
24467 * configure: Regenerated.
24468 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
24469 * config.make.in (have-forced-unwind): Remove variable.
24470 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24471 unconditional.
24472 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
24473 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
24474 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
24475 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
24476 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24477 unconditional.
24478
24479 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24480
24481 [BZ #19174]
24482 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
24483 .skip_lock_out_of_tbegin_retries.
24484 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24485 (__lll_lock_elision): Likewise, and respect a value of
24486 try_tbegin <= 0.
24487
24488 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24489
24490 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
24491 statement.
24492
24493 2015-10-27 Joseph Myers <joseph@codesourcery.com>
24494
24495 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
24496 variable.
24497 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24498 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24499
24500 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
24501 of -std=c1x -D_ISOC11_SOURCE.
24502
24503 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
24504 * configure: Regenerated.
24505 * manual/install.texi (Tools for Compilation): Document
24506 requirement for GCC 4.7 or later.
24507 * INSTALL: Regenerated.
24508
24509 2015-10-27 Ludovic Courtès <ludo@gnu.org>
24510
24511 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
24512 on CNT to a conditional jump to 'puntdata'.
24513
24514 2015-10-27 Joseph Myers <joseph@codesourcery.com>
24515
24516 * configure.ac (libc_cv_gcc___thread): Remove configure test.
24517 (libc_cv_gcc_tls_model_attr): Likewise.
24518 * configure: Regenerated.
24519
24520 * configure.ac (libc_cv_need_minus_P): Remove configure test.
24521 * configure: Regenerated.
24522 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
24523
24524 2015-10-26 Joseph Myers <joseph@codesourcery.com>
24525
24526 * configure.ac (old_glibc_headers): Remove configure test.
24527 * configure: Regenerated.
24528 * config.make.in (old-glibc-headers): Remove variable.
24529 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
24530 (install): Remove dependency on remove-old-headers.
24531 (headers2_0): Remove variable.
24532 (remove-old-headers): Remove rule.
24533
24534 * configure.ac (libc_cv_dot_text): Remove configure test.
24535 (libc_cv_asm_set_directive): Use .text instead of
24536 ${libc_cv_dot_text} in configure test.
24537 * configure: Regenerated.
24538
24539 2015-10-26 Florian Weimer <fweimer@redhat.com>
24540
24541 [BZ #19168]
24542 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24543
24544 2015-10-26 Florian Weimer <fweimer@redhat.com>
24545
24546 * configure.ac (CXX): Clear the variable if the C++ toolchain does
24547 not support static linking.
24548 * configure: Regenerate.
24549
24550 2015-10-23 Joseph Myers <joseph@codesourcery.com>
24551
24552 * math/libm-test.inc (check_float_internal): Do not special-case
24553 errors up to 0.5 ulp.
24554
24555 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24556 log2.
24557 * math/auto-libm-test-out: Regenerated.
24558 * math/libm-test.inc (MAX_EXP): New macro.
24559 (ilogb_test_data): Add more tests.
24560 (isfinite_test_data): Likewise.
24561 (isgreater_test_data): Likewise.
24562 (isgreaterequal_test_data): Likewise.
24563 (isinf_test_data): Likewise.
24564 (isless_test_data): Likewise.
24565 (islessequal_test_data): Likewise.
24566 (islessgreater_test_data): Likewise.
24567 (isnan_test_data): Likewise.
24568 (isnormal_test_data): Likewise.
24569 (issignaling_test_data): Likewise.
24570 (isunordered_test_data): Likewise.
24571 (j0_test_data): Likewise.
24572 (j1_test_data): Likewise.
24573 (jn_test_data): Likewise.
24574 (lgamma_test_data): Likewise.
24575 (log_test_data): Likewise.
24576 (log10_test_data): Likewise.
24577 (log1p_test_data): Likewise.
24578 (log2_test_data): Likewise.
24579 (logb_test_data): Likewise.
24580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24581
24582 [BZ #18611]
24583 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24584 avoid excess range and precision on underflow.
24585 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24586 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24587 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24588 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24589 underflow.
24590 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24592 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24593 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24594 * math/auto-libm-test-in: Do not allow missing errno setting for
24595 tests of j1 and jn.
24596 * math/auto-libm-test-out: Regenerated.
24597
24598 2015-10-22 Joseph Myers <joseph@codesourcery.com>
24599
24600 [BZ #15491]
24601 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24602 floating-point environment instead of clearing all exceptions.
24603 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24604 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24605 merging in "invalid" exceptions from frndint.
24606 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24607 * math/test-nearbyint-except.c: New file.
24608 * math/Makefile (tests): Add test-nearbyint-except.
24609
24610 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
24611
24612 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24613
24614 * sysdeps/tile/libm-test-ulps: Regenerated.
24615
24616 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24617
24618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24619 (__NR_sync_file_range2): Assume it is always defined.
24620 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24621 (__NR_sync_file_range): Assume it is always defined.
24622
24623 2015-10-22 Andreas Schwab <schwab@suse.de>
24624
24625 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24626 INTERNAL_SYSCALL_ERRNO.
24627 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24628 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24629 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24630 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24631 Likewise.
24632 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24633
24634 2015-10-21 Joseph Myers <joseph@codesourcery.com>
24635
24636 * io/tst-fcntl.c (fd): New static variable.
24637 (do_prepare): Open temporary file here....
24638 (do_test): ...not here.
24639
24640 * io/ftwtest-sh: Also trap on exit to remove temporary files.
24641
24642 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
24643
24644 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24645 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24646 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24647 Moved before "#ifdef __ASSEMBLER__".
24648
24649 2015-10-21 Joseph Myers <joseph@codesourcery.com>
24650
24651 [BZ #19156]
24652 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24653 arguments very close to 0.
24654
24655 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
24656
24657 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24658 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24659
24660 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
24661
24662 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24663 New. Defined for GCC 5 and above when not compiling for
24664 profiling.
24665 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24666
24667 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24668 Renamed to ...
24669 (CFLAGS-epoll_pwait.o): This.
24670 (CFLAGS-mmap.c): Renamed to ...
24671 (CFLAGS-mmap.o): This.
24672 (CFLAGS-mmap64.c): Renamed to ...
24673 (CFLAGS-mmap64.o): This.
24674 (CFLAGS-epoll_pwait.os): New.
24675 (CFLAGS-mmap.os): Likewise.
24676 (CFLAGS-mmap64.os): Likewise.
24677 (CFLAGS-semtimedop.os): Likewise.
24678 (CFLAGS-semtimedop.c): Renamed to ...
24679 (CFLAGS-semtimedop.o): This.
24680
24681 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24682
24683 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24684 warning message.
24685
24686 2015-10-21 Joseph Myers <joseph@codesourcery.com>
24687
24688 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24689 * Makefile ($(objpfx)c++-types-check.out): Filter out
24690 $(+gccwarn-c) instead of -Wstrict-prototypes.
24691
24692 * io/fts.c (fts_open): Convert to prototype-style function
24693 definition.
24694 * malloc/mcheck.c (mcheck): Likewise.
24695 (mcheck_pedantic): Likewise.
24696 * posix/regexec.c (re_search_2_stub): Likewise. Use
24697 internal_function.
24698 (re_search_internal): Likewise.
24699 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24700 prototype-style function definition.
24701 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24702 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24703 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24704 (xdr_utmpptr): Likewise.
24705 (xdr_utmparr): Likewise.
24706 (xdr_utmpidle): Likewise.
24707 (xdr_utmpidleptr): Likewise.
24708 (xdr_utmpidlearr): Likewise.
24709
24710 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24711 log, log10 and log2.
24712 * math/auto-libm-test-out: Regenerated.
24713 * math/libm-test.inc (fmod_test_data): Add more tests.
24714 (fpclassify_test_data): Likewise.
24715 (frexp_test_data): Likewise.
24716 (hypot_test_data): Likewise.
24717 (ilogb_test_data): Likewise.
24718
24719 2015-10-20 Joseph Myers <joseph@codesourcery.com>
24720
24721 * debug/fortify_fail.c (__fortify_fail): Convert to
24722 prototype-style function definition. Use internal_function.
24723 * libio/genops.c (save_for_backup): Convert to prototype-style
24724 function definition.
24725 * libio/wgenops.c (save_for_wbackup): Likewise.
24726 * login/grantpt.c (grantpt): Likewise.
24727 * login/ptsname.c (ptsname): Likewise.
24728 (__ptsname_r): Likewise.
24729 * login/unlockpt.c (unlockpt): Likewise.
24730 * mach/msgserver.c (__mach_msg_server): Likewise.
24731 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24732 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24733 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24734 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24735 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24736 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24737 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24738 Likewise.
24739 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
24740 internal_function.
24741 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24742 prototype-style function definition.
24743 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24744 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24745 (__pthread_create_2_0): Likewise.
24746 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24747 * nptl/register-atfork.c (__register_atfork): Likewise.
24748 * posix/glob.c (glob): Likewise.
24749 * posix/regcomp.c (re_comp): Likewise.
24750 * posix/regexec.c (re_exec): Likewise.
24751 * stdlib/add_n.c [__STDC__]: Make code unconditional.
24752 [!__STDC__]: Remove conditional code.
24753 * stdlib/cmp.c [__STDC__]: Make code unconditional.
24754 [!__STDC__]: Remove conditional code.
24755 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24756 [!__STDC__]: Remove conditional code.
24757 * stdlib/divrem.c [__STDC__]: Make code unconditional.
24758 [!__STDC__]: Remove conditional code.
24759 * stdlib/lshift.c [__STDC__]: Make code unconditional.
24760 [!__STDC__]: Remove conditional code.
24761 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24762 [!__STDC__]: Remove conditional code.
24763 * stdlib/mul.c [__STDC__]: Make code unconditional.
24764 [!__STDC__]: Remove conditional code.
24765 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24766 [!__STDC__]: Remove conditional code.
24767 * stdlib/rshift.c [__STDC__]: Make code unconditional.
24768 [!__STDC__]: Remove conditional code.
24769 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24770 function definition.
24771 (STRTOF): Likewise.
24772 * stdlib/strtod_l.c (__STRTOF): Likewise.
24773 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24774 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24775 (__strtol_l): Likewise.
24776 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24777 [!__STDC__]: Remove conditional code.
24778 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24779 definition.
24780 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24781 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24782 type.
24783 (__strcasecmp): Convert to prototype-style function definition.
24784 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24785 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24786 type.
24787 (__strncasecmp): Convert to prototype-style function definition.
24788 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24789 * sunrpc/xdr.c (xdr_union): Likewise.
24790 * sunrpc/xdr_array.c (xdr_array): Likewise.
24791 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24792 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24793 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24794 Likewise.
24795 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24796 Likewise.
24797 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24798 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24799 Likewise.
24800 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24801 (LOCALE_PARAM_PROTO): Likewise.
24802 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24803 argument type.
24804 (ut_argument_spec): Remove macro.
24805 (ut_argument_spec_iso): Rename to ut_argument_spec.
24806 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
24807 prototype-style function definition.
24808 (memcpy_uppcase): Likewise.
24809 (__strftime_internal): Likewise.
24810 (my_strftime): Likewise.
24811 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24812 (LOCALE_PARAM_DECL): Likewise.
24813 [_LIBC] (LOCALE_PARAM): Include argument type.
24814 (__strptime_internal): Convert to prototype-style function
24815 definition.
24816 (strptime): Likewise.
24817 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24818 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24819 type.
24820 (__wcscasecmp): Convert to prototype-style function definition.
24821 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24822 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24823 type.
24824 (__wcsncasecmp): Convert to prototype-style function definition.
24825
24826 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24827 function definition.
24828 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24829 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24830 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24831 * elf/dl-minimal.c (_itoa): Likewise.
24832 * hurd/hurdmalloc.c (malloc): Likewise.
24833 (free): Likewise.
24834 (realloc): Likewise.
24835 * inet/inet6_option.c (inet6_option_space): Likewise.
24836 (inet6_option_init): Likewise.
24837 (inet6_option_append): Likewise.
24838 (inet6_option_alloc): Likewise.
24839 (inet6_option_next): Likewise.
24840 (inet6_option_find): Likewise.
24841 * io/ftw.c (FTW_NAME): Likewise.
24842 (NFTW_NAME): Likewise.
24843 (NFTW_NEW_NAME): Likewise.
24844 (NFTW_OLD_NAME): Likewise.
24845 * libio/iofwide.c (_IO_fwide): Likewise.
24846 * libio/strops.c (_IO_str_init_static_internal): Likewise.
24847 (_IO_str_init_static): Likewise.
24848 (_IO_str_init_readonly): Likewise.
24849 (_IO_str_overflow): Likewise.
24850 (_IO_str_underflow): Likewise.
24851 (_IO_str_count): Likewise.
24852 (_IO_str_seekoff): Likewise.
24853 (_IO_str_pbackfail): Likewise.
24854 (_IO_str_finish): Likewise.
24855 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24856 (_IO_wstr_overflow): Likewise.
24857 (_IO_wstr_underflow): Likewise.
24858 (_IO_wstr_count): Likewise.
24859 (_IO_wstr_seekoff): Likewise.
24860 (_IO_wstr_pbackfail): Likewise.
24861 (_IO_wstr_finish): Likewise.
24862 * locale/programs/localedef.c (normalize_codeset): Likewise.
24863 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24864 (add_locales_to_archive): Likewise.
24865 (delete_locales_from_archive): Likewise.
24866 * malloc/malloc.c (__libc_mallinfo): Likewise.
24867 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24868 * misc/tsearch.c (__tfind): Likewise.
24869 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24870 * nptl/pthread_attr_getdetachstate.c
24871 (__pthread_attr_getdetachstate): Likewise.
24872 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24873 Likewise.
24874 * nptl/pthread_attr_getinheritsched.c
24875 (__pthread_attr_getinheritsched): Likewise.
24876 * nptl/pthread_attr_getschedparam.c
24877 (__pthread_attr_getschedparam): Likewise.
24878 * nptl/pthread_attr_getschedpolicy.c
24879 (__pthread_attr_getschedpolicy): Likewise.
24880 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24881 Likewise.
24882 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24883 Likewise.
24884 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24885 Likewise.
24886 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24887 Likewise.
24888 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24889 (__pthread_attr_init_2_0): Likewise.
24890 * nptl/pthread_attr_setdetachstate.c
24891 (__pthread_attr_setdetachstate): Likewise.
24892 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24893 Likewise.
24894 * nptl/pthread_attr_setinheritsched.c
24895 (__pthread_attr_setinheritsched): Likewise.
24896 * nptl/pthread_attr_setschedparam.c
24897 (__pthread_attr_setschedparam): Likewise.
24898 * nptl/pthread_attr_setschedpolicy.c
24899 (__pthread_attr_setschedpolicy): Likewise.
24900 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24901 Likewise.
24902 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24903 Likewise.
24904 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24905 Likewise.
24906 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24907 Likewise.
24908 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24909 Likewise.
24910 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24911 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24912 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24913 use internal_function.
24914 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24915 prototype-style function definition.
24916 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24917 (__pthread_mutex_cond_lock_adjust): Likewise. Use
24918 internal_function.
24919 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24920 Convert to prototype-style function definition.
24921 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24922 Likewise.
24923 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24924 Likewise.
24925 (__pthread_mutex_unlock): Likewise.
24926 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24927 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24928 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24929 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24930 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24931 * nss/makedb.c (process_input): Likewise.
24932 * posix/fnmatch.c (__strchrnul): Likewise.
24933 (__wcschrnul): Likewise.
24934 (fnmatch): Likewise.
24935 * posix/fnmatch_loop.c (FCT): Likewise.
24936 * posix/glob.c (globfree): Likewise.
24937 (__glob_pattern_type): Likewise.
24938 (__glob_pattern_p): Likewise.
24939 * posix/regcomp.c (re_compile_pattern): Likewise.
24940 (re_set_syntax): Likewise.
24941 (re_compile_fastmap): Likewise.
24942 (regcomp): Likewise.
24943 (regerror): Likewise.
24944 (regfree): Likewise.
24945 * posix/regexec.c (regexec): Likewise.
24946 (re_match): Likewise.
24947 (re_search): Likewise.
24948 (re_match_2): Likewise.
24949 (re_search_2): Likewise.
24950 (re_search_stub): Likewise. Use internal_function
24951 (re_copy_regs): Likewise.
24952 (re_set_registers): Convert to prototype-style function
24953 definition.
24954 (prune_impossible_nodes): Likewise. Use internal_function.
24955 * resolv/inet_net_pton.c (inet_net_pton): Convert to
24956 prototype-style function definition.
24957 (inet_net_pton_ipv4): Likewise.
24958 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24959 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24960 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24961 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24962 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24963 Make variadic.
24964 * time/strptime_l.c (localtime_r): Convert to prototype-style
24965 function definition.
24966 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24967 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24968 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24969 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24970
24971 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24972 definition.
24973 (_ufc_doit_r): Likewise.
24974 * crypt/crypt_util.c (_ufc_copymem): Likewise.
24975 (_ufc_output_conversion_r): Likewise.
24976 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24977 * inet/rcmd.c (rcmd_af): Likewise.
24978 (rcmd): Likewise.
24979 (ruserok_af): Likewise.
24980 (ruserok): Likewise.
24981 (ruserok2_sa): Likewise.
24982 (ruserok_sa): Likewise.
24983 (iruserok_af): Likewise.
24984 (iruserok): Likewise.
24985 (__ivaliduser): Likewise.
24986 (__validuser2_sa): Likewise.
24987 * inet/rexec.c (rexec_af): Likewise.
24988 (rexec): Likewise.
24989 * inet/ruserpass.c (ruserpass): Likewise.
24990 * locale/programs/xmalloc.c (xcalloc): Likewise.
24991 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24992 * math/w_drem.c (__drem): Likewise.
24993 * math/w_dremf.c (__dremf): Likewise.
24994 * math/w_dreml.c (__dreml): Likewise.
24995 * misc/daemon.c (daemon): Likewise.
24996 * resolv/res_debug.c (p_fqnname): Likewise.
24997 * stdlib/div.c (div): Likewise.
24998 * string/memcmp.c (memcmp_bytes): Likewise.
24999 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
25000 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
25001
25002 * crypt/cert.c (main): Convert to prototype-style function
25003 definition.
25004 * io/pipe.c (__pipe): Likewise.
25005 * io/pipe2.c (__pipe2): Likewise.
25006 * misc/futimesat.c (futimesat): Likewise.
25007 * misc/utimes.c (__utimes): Likewise.
25008 * posix/execve.c (__execve): Likewise.
25009 * posix/execvp.c (execvp): Likewise.
25010 * posix/execvpe.c (__execvpe): Likewise.
25011 * posix/fexecve.c (fexecve): Likewise.
25012 * socket/socketpair.c (socketpair): Likewise.
25013 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25014 * stdlib/erand48.c (erand48): Likewise.
25015 * stdlib/erand48_r.c (__erand48_r): Likewise.
25016 * stdlib/jrand48.c (jrand48): Likewise.
25017 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
25018 * stdlib/lcong48.c (lcong48): Likewise.
25019 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
25020 * stdlib/nrand48.c (nrand48): Likewise.
25021 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
25022 * stdlib/seed48.c (seed48): Likewise.
25023 * stdlib/seed48_r.c (__seed48_r): Likewise.
25024 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
25025 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
25026 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
25027
25028 2015-10-19 Joseph Myers <joseph@codesourcery.com>
25029
25030 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
25031 * configure: Regenerated.
25032 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
25033 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
25034 unconditional.
25035 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25036 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25037 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25038 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
25039 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
25040 unconditional.
25041 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25042
25043 * posix/Makefile (CFLAGS-regex.c): Remove variable.
25044 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
25045
25046 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
25047 function definition.
25048 * crypt/crypt_util.c (__encrypt_r): Likewise.
25049 * libio/genops.c (_IO_no_init): Likewise.
25050 * libio/iofopncook.c (_IO_fopencookie): Likewise.
25051 (_IO_old_fopencookie): Likewise.
25052 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25053 * libio/iogetline.c (_IO_getline): Likewise.
25054 (_IO_getline_info): Likewise.
25055 * libio/iogetwline.c (_IO_getwline): Likewise.
25056 (_IO_getwline_info): Likewise.
25057 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
25058 * libio/vswprintf.c (_IO_vswprintf): Likewise.
25059 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
25060 (find_entry): Likewise.
25061 (iterate_table): Likewise.
25062 (lookup): Likewise.
25063 * login/forkpty.c (forkpty): Likewise.
25064 * misc/hsearch_r.c (__hsearch_r): Likewise.
25065 * misc/select.c (__select): Likewise.
25066 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
25067 Likewise.
25068 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
25069 Likewise.
25070 * nptl/old_pthread_cond_timedwait.c
25071 (__pthread_cond_timedwait_2_0): Likewise.
25072 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25073 * nptl/pthread_barrierattr_getpshared.c
25074 (pthread_barrierattr_getpshared): Likewise.
25075 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
25076 Likewise.
25077 * nptl/pthread_mutex_setprioceiling.c
25078 (pthread_mutex_setprioceiling): Likewise.
25079 * nptl/pthread_mutexattr_getprioceiling.c
25080 (pthread_mutexattr_getprioceiling): Likewise.
25081 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25082 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25083 Likewise.
25084 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25085 Likewise.
25086 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
25087 Likewise.
25088 * socket/recvfrom.c (__recvfrom): Likewise.
25089 * socket/sendto.c (__sendto): Likewise.
25090 * socket/setsockopt.c (__setsockopt): Likewise.
25091 * stdio-common/_itoa.c (_itoa): Likewise.
25092 * stdio-common/_itowa.c (_itowa): Likewise.
25093 * stdio-common/reg-printf.c (__register_printf_specifier):
25094 Likewise.
25095 (__register_printf_function): Likewise.
25096 * stdio-common/tempname.c (__path_search): Likewise.
25097 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
25098 * stdlib/mul_1.c (mpn_mul_1): Likewise.
25099 * stdlib/random_r.c (__initstate_r): Likewise.
25100 * stdlib/setenv.c (__add_to_environ): Likewise.
25101 * stdlib/submul_1.c (mpn_submul_1): Likewise.
25102 * streams/getpmsg.c (getpmsg): Likewise.
25103 * streams/putmsg.c (putmsg): Likewise.
25104 * streams/putpmsg.c (putpmsg): Likewise.
25105 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
25106 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
25107 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
25108 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
25109 * sunrpc/pm_getport.c (pmap_getport): Likewise.
25110 * sunrpc/svc_udp.c (cache_get): Likewise.
25111 * sunrpc/xdr_array.c (xdr_vector): Likewise.
25112 * sysdeps/mach/hurd/getcwd.c
25113 (__canonicalize_directory_name_internal): Likewise.
25114 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
25115 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
25116 * sysdeps/mach/hurd/select.c (__select): Likewise.
25117 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25118 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
25119 * sysdeps/sparc/nptl/pthread_barrier_init.c
25120 (__pthread_barrier_init): Likewise.
25121 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
25122 (__pthread_cond_timedwait): Likewise.
25123 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
25124 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
25125 Likewise.
25126 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
25127 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
25128 Likewise.
25129 * sysvipc/semtimedop.c (semtimedop): Likewise.
25130 * time/setitimer.c (__setitimer): Likewise.
25131 * time/strftime_l.c (emacs_strftime): Likewise.
25132
25133 2015-10-19 Mike Frysinger <vapier@gentoo.org>
25134
25135 * config.make.in (have-ssp): Delete.
25136 (stack-protector): New variable.
25137 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
25138 cache test for -fstack-protector-strong. Export stack_protector to
25139 the best ssp flag.
25140 * configure: Regenerated.
25141 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
25142 * nscd/Makefile (CFLAGS-nscd): Likewise.
25143 * resolv/Makefile (CFLAGS-libresolv): Likewise.
25144
25145 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
25146
25147 [BZ #19122]
25148 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
25149 attribute_hidden.
25150
25151 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25152
25153 [BZ #18743]
25154 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
25155 code to...
25156 (ELIDE_LOCK): ...here.
25157 (__get_new_count): New function with part of the code from
25158 __elide_lock that updates the value of adapt_count after a
25159 transaction abort.
25160 (__elided_trylock): Moved this code to...
25161 (ELIDE_TRYLOCK): ...here.
25162
25163 2015-10-19 Mike Frysinger <vapier@gentoo.org>
25164
25165 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
25166 * configure: Regenerate.
25167 * INSTALL: Regenerate.
25168 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
25169 and tweak grammar.
25170
25171 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
25172
25173 * login/programs/pt_chown.c: Include signal.h
25174 (main): Clear any signal mask from the parent process.
25175
25176 2015-10-19 Joseph Myers <joseph@codesourcery.com>
25177
25178 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
25179 * configure: Regenerated.
25180 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
25181 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
25182 $(gnu89-inline-CFLAGS).
25183
25184 * configure.ac (libc_cv_asm_weak_directive): Remove configure
25185 test.
25186 (libc_cv_asm_weakext_directive): Likewise.
25187 * configure: Regenerated.
25188 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
25189 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
25190 * include/libc-symbols.h
25191 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
25192 #error.
25193 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
25194 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
25195
25196 * sysdeps/arm/backtrace.c (__backtrace): Convert to
25197 prototype-style function definition.
25198 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25199 * sysdeps/i386/ffs.c (__ffs): Likewise.
25200 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25201 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
25202 Likewise.
25203 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25204 Likewise.
25205 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25207 Likewise.
25208 * sysdeps/m68k/ffs.c (__ffs): Likewise.
25209 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
25210 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25211 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25212 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25213 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25214 * sysdeps/mach/hurd/access.c (__access): Likewise.
25215 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25216 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25217 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25218 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25219 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25220 (cthread_getspecific): Likewise.
25221 (cthread_setspecific): Likewise.
25222 (__libc_getspecific): Likewise.
25223 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25224 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25225 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25226 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25227 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25228 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25229 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25230 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25231 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25232 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25233 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25234 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25235 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25236 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25237 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25238 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25239 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25240 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25241 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25242 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25243 * sysdeps/mach/hurd/link.c (__link): Likewise.
25244 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25245 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25246 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25247 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25248 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25249 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25250 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25251 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25252 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25253 * sysdeps/mach/hurd/rename.c (rename): Likewise.
25254 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25255 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25256 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25257 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25258 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25259 * sysdeps/mach/hurd/send.c (__send): Likewise.
25260 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25261 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25262 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25263 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25264 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25265 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25266 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25267 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25268 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25269 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25270 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25271 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25272 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25273 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25274 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25275 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25276 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25277 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25278 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25279 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25280 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25281 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25282 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25283 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25284 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25285 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25286 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25287 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25288 * sysdeps/posix/alarm.c (alarm): Likewise.
25289 * sysdeps/posix/cuserid.c (cuserid): Likewise.
25290 * sysdeps/posix/dirfd.c (dirfd): Likewise.
25291 * sysdeps/posix/dup.c (__dup): Likewise.
25292 * sysdeps/posix/dup2.c (__dup2): Likewise.
25293 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25294 (main): Likewise.
25295 * sysdeps/posix/flock.c (__flock): Likewise.
25296 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25297 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25298 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25299 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25300 * sysdeps/posix/isatty.c (__isatty): Likewise.
25301 * sysdeps/posix/killpg.c (killpg): Likewise.
25302 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25303 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25304 * sysdeps/posix/raise.c (raise): Likewise.
25305 * sysdeps/posix/remove.c (remove): Likewise.
25306 * sysdeps/posix/rename.c (rename): Likewise.
25307 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25308 * sysdeps/posix/seekdir.c (seekdir): Likewise.
25309 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25310 * sysdeps/posix/sigignore.c (sigignore): Likewise.
25311 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25312 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25313 * sysdeps/posix/sigset.c (sigset): Likewise.
25314 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25315 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25316 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25317 * sysdeps/posix/time.c (time): Likewise.
25318 * sysdeps/posix/ttyname.c (getttyname): Likewise.
25319 (ttyname): Likewise.
25320 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25321 * sysdeps/posix/utime.c (utime): Likewise.
25322 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25323 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25324 Likewise.
25325 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25326 (pthread_spin_trylock): Likewise.
25327 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25328 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25329 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25330 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25331 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25332 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25333 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25334 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25335 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25336 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25337 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25338 * sysdeps/s390/ffs.c (__ffs): Likewise.
25339 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25340 Likewise.
25341 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25342 Likewise.
25343 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25344 Likewise.
25345 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25346 (pthread_barrier_destroy): Likewise.
25347 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25348 (__pthread_barrier_wait): Likewise.
25349 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25350 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25351 (__pthread_barrier_wait): Likewise.
25352 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25353 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25354 (memcmp_not_common_alignment): Likewise.
25355 (MEMCMP): Likewise.
25356 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25357 (_wordcopy_fwd_dest_aligned): Likewise.
25358 (_wordcopy_bwd_aligned): Likewise.
25359 (_wordcopy_bwd_dest_aligned): Likewise.
25360 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25361 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25362 * sysdeps/unix/bsd/stty.c (stty): Likewise.
25363 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25364 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25365 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25366 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25367 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25368 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25369 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25370 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25371 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25372 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25373 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25374 * sysdeps/unix/stime.c (stime): Likewise.
25375 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25376 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25377 Likewise. Use internal_function.
25378 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25379 Convert to prototype-style function definition.
25380 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25381 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25382 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25383 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25384 Likewise. Use internal_function.
25385 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25386 prototype-style function definition
25387 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25388 Likewise.
25389 (__getlogin_r): Likewise.
25390 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25391 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
25392 (__pthread_cond_broadcast): Likewise.
25393 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
25394 (__pthread_cond_destroy): Likewise.
25395 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
25396 (__pthread_cond_init): Likewise.
25397 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
25398 (__pthread_cond_signal): Likewise.
25399 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
25400 (__pthread_cond_wait): Likewise.
25401 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
25402 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25403 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
25404 Likewise.
25405 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
25406 Likewise.
25407 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25408 Likewise.
25409 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
25410 Likewise.
25411 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
25413 (__ftruncate64): Likewise.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
25415 (truncate64): Likewise.
25416 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
25417 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
25418 (pthread_getcpuclockid): Likewise.
25419 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
25420 Likewise.
25421 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
25422 Likewise.
25423 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
25424 Likewise.
25425 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
25426 Likewise.
25427 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
25428 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
25429 (__libc_sigaction): Likewise.
25430 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
25431 Likewise.
25432 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25433 (__sigprocmask): Likewise.
25434 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
25435 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
25436 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
25437 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25438 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25439 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
25440 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25441 Likewise.
25442 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
25443 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
25444 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25445 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
25446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
25447 Likewise.
25448 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25449 (__sigprocmask): Likewise.
25450 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
25451 (cfgetispeed): Likewise.
25452 (cfsetospeed): Likewise.
25453 (cfsetispeed): Likewise.
25454 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
25455 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
25456 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25457 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25458 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
25459 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
25460 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
25461 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
25462 Likewise.
25463 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
25464 Likewise.
25465 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
25466 Likewise.
25467 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25468 Likewise.
25469 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25470
25471 2015-10-17 Florian Weimer <fweimer@redhat.com>
25472
25473 sunrpc: Rewrite with explicit TLS access using __thread.
25474 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
25475 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
25476 directly.
25477 (__rpc_thread_variables): Access thread_rpc_vars directly.
25478 Eliminate redundant assignment of the tvp variable.
25479
25480 2015-10-17 Florian Weimer <fweimer@redhat.com>
25481
25482 malloc: Rewrite with explicit TLS access using __thread.
25483 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
25484 (tsd_setspecific, tsd_getspecific): Remove.
25485 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
25486 (tsd_setspecific, tsd_getspecific): Likewise.
25487 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
25488 (tsd_setspecific, tsd_getspecific): Likewise.
25489 * malloc/arena.c (thread_arena): New TLS variable.
25490 (arena_key): Remove variable.
25491 (arena_get): Use thread_arena.
25492 (arena_lookup): Remove macro.
25493 (malloc_atfork, free_atfork, ptmalloc_lock_all)
25494 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
25495 (_int_new_arena, get_free_list, reused_arena)
25496 (arena_thread_freeres): Use thread_arena.
25497 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
25498 tsd_getspecific, tsd_setspecific from safety annotations.
25499 (Allocating Cleared Space): Remove arena_lookup from safety
25500 annotations.
25501
25502 2015-10-17 Florian Weimer <fweimer@redhat.com>
25503
25504 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
25505 struct scratch_buffer instead of extend_alloca.
25506
25507 2015-10-17 Florian Weimer <fweimer@redhat.com>
25508
25509 * sysdeps/unix/sysv/linux/kernel-features.h
25510 (__ASSUME_SOCK_CLOEXEC): Remove.
25511 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
25512 (__have_paccept): Remove unused macro.
25513 * include/unistd.h (__have_sock_cloexec): Remove declaration.
25514 * misc/syslog.c (openlog_internal): Remove fallback code for
25515 !__ASSUME_SOCK_CLOEXEC.
25516 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
25517 missing SOCK_CLOEXEC.
25518 * nscd/connections.c (have_sock_cloexec): Remove definition.
25519 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25520 * nscd/nscd_helper.c (open_socket): Remove fallback code for
25521 !__ASSUME_SOCK_CLOEXEC.
25522 * resolv/res_send.c (__have_o_nonblock): Remove definition.
25523 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25524 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
25525 definition.
25526 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
25527 code for !__ASSUME_SOCK_CLOEXEC.
25528
25529 2015-10-17 Florian Weimer <fweimer@redhat.com>
25530
25531 [BZ #18982]
25532 * manual/stdio.texi (Variable Arguments Output): Add portability
25533 note, explaining that vfprintf clobbers the va_list pointer.
25534
25535 2015-10-16 Joseph Myers <joseph@codesourcery.com>
25536
25537 * math/libm-test.inc (fabs_test_data): Add more tests.
25538 (fdim_test_data): Likewise.
25539 (fma_test_data): Likewise.
25540 (fmax_test_data): Likewise.
25541 (fmin_test_data): Likewise.
25542 (fmod_test_data): Likewise.
25543
25544 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
25545
25546 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
25547 data.
25548
25549 2015-10-16 Joseph Myers <joseph@codesourcery.com>
25550
25551 * math/libm-test.inc (ceil_test_data): Add more tests and more
25552 expectations for "inexact".
25553 (floor_test_data): Add more tests.
25554 (round_test_data): Likewise.
25555 (trunc_test_data): Likewise.
25556
25557 * crypt/cert.c (good_bye): Convert to prototype-style function
25558 definition.
25559 (get8): Likewise.
25560 (put8): Likewise.
25561 * crypt/crypt-entry.c (crypt): Likewise.
25562 (__fcrypt): Likewise.
25563 * crypt/crypt_util.c (_ufc_prbits): Likewise.
25564 (_ufc_set_bits): Likewise.
25565 (_ufc_clearmem): Likewise.
25566 (__init_des_r): Likewise.
25567 (shuffle_sb): Likewise.
25568 (shuffle_sb): Likewise.
25569 (_ufc_setup_salt_r): Likewise.
25570 (_ufc_mk_keytab_r): Likewise.
25571 (_ufc_dofinalperm_r): Likewise.
25572 (encrypt): Likewise.
25573 (__setkey_r): Likewise.
25574 (setkey): Likewise.
25575 * crypt/md5.c (md5_init_ctx): Likewise.
25576 (md5_read_ctx): Likewise.
25577 (md5_finish_ctx): Likewise.
25578 (md5_stream): Likewise.
25579 (md5_buffer): Likewise.
25580 (md5_process_bytes): Likewise.
25581 * crypt/sha256.c (__sha256_init_ctx): Likewise.
25582 (__sha256_finish_ctx): Likewise.
25583 (__sha256_process_bytes): Likewise.
25584 * crypt/sha512.c (__sha512_init_ctx): Likewise.
25585 (__sha512_finish_ctx): Likewise.
25586 (__sha512_process_bytes): Likewise.
25587 * ctype/isctype.c (__isctype): Likewise.
25588 * debug/backtrace.c (__backtrace): Likewise.
25589 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25590 * debug/fgets_chk.c (__fgets_chk): Likewise.
25591 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25592 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25593 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25594 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25595 * debug/memset_chk.c (__memset_chk): Likewise.
25596 * debug/strcat_chk.c (__strcat_chk): Likewise.
25597 * debug/strncat_chk.c (__strncat_chk): Likewise.
25598 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25599 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25600 * dirent/dirfd.c (dirfd): Likewise.
25601 * dirent/getdents.c (__getdirentries): Likewise.
25602 * dirent/getdents64.c (getdirentries64): Likewise.
25603 * dirent/rewinddir.c (__rewinddir): Likewise.
25604 * dirent/seekdir.c (seekdir): Likewise.
25605 * dirent/telldir.c (telldir): Likewise.
25606 * elf/sln.c (makesymlinks): Likewise.
25607 (makesymlink): Likewise.
25608 * gmon/gmon.c (__moncontrol): Likewise.
25609 (__monstartup): Likewise.
25610 (write_hist): Likewise.
25611 (write_call_graph): Likewise.
25612 (write_bb_counts): Likewise.
25613 * grp/setgroups.c (setgroups): Likewise.
25614 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25615 * inet/inet_net.c (inet_network): Likewise.
25616 * inet/inet_netof.c (inet_netof): Likewise.
25617 * inet/rcmd.c (rresvport_af): Likewise.
25618 (rresvport): Likewise.
25619 * io/access.c (__access): Likewise.
25620 * io/chdir.c (__chdir): Likewise.
25621 * io/chmod.c (__chmod): Likewise.
25622 * io/chown.c (__chown): Likewise.
25623 * io/close.c (__close): Likewise.
25624 * io/creat.c (creat): Likewise.
25625 * io/creat64.c (creat64): Likewise.
25626 * io/dup.c (__dup): Likewise.
25627 * io/dup2.c (__dup2): Likewise.
25628 * io/dup3.c (__dup3): Likewise.
25629 * io/euidaccess.c (__euidaccess): Likewise.
25630 * io/faccessat.c (faccessat): Likewise.
25631 * io/fchmod.c (__fchmod): Likewise.
25632 * io/fchmodat.c (fchmodat): Likewise.
25633 * io/fchown.c (__fchown): Likewise.
25634 * io/fchownat.c (fchownat): Likewise.
25635 * io/fcntl.c (__fcntl): Likewise.
25636 * io/flock.c (__flock): Likewise.
25637 * io/fts.c (fts_load): Likewise.
25638 (fts_close): Likewise.
25639 (fts_read): Likewise.
25640 (fts_set): Likewise.
25641 (fts_children): Likewise.
25642 (fts_build): Likewise.
25643 (fts_stat): Likewise.
25644 (fts_sort): Likewise.
25645 (fts_alloc): Likewise.
25646 (fts_lfree): Likewise.
25647 (fts_palloc): Likewise.
25648 (fts_padjust): Likewise.
25649 (fts_maxarglen): Likewise.
25650 (fts_safe_changedir): Likewise.
25651 * io/getwd.c (getwd): Likewise.
25652 * io/isatty.c (__isatty): Likewise.
25653 * io/lchown.c (__lchown): Likewise.
25654 * io/link.c (__link): Likewise.
25655 * io/linkat.c (linkat): Likewise.
25656 * io/lseek.c (__libc_lseek): Likewise.
25657 * io/mkdir.c (__mkdir): Likewise.
25658 * io/mkdirat.c (mkdirat): Likewise.
25659 * io/mkfifo.c (mkfifo): Likewise.
25660 * io/mkfifoat.c (mkfifoat): Likewise.
25661 * io/open.c (__libc_open): Likewise.
25662 * io/open64.c (__libc_open64): Likewise.
25663 * io/readlink.c (__readlink): Likewise.
25664 * io/readlinkat.c (readlinkat): Likewise.
25665 * io/rmdir.c (__rmdir): Likewise.
25666 * io/symlink.c (__symlink): Likewise.
25667 * io/symlinkat.c (symlinkat): Likewise.
25668 * io/ttyname.c (ttyname): Likewise.
25669 * io/ttyname_r.c (__ttyname_r): Likewise.
25670 * io/umask.c (__umask): Likewise.
25671 * io/unlink.c (__unlink): Likewise.
25672 * io/unlinkat.c (unlinkat): Likewise.
25673 * io/utime.c (utime): Likewise.
25674 * libio/clearerr.c (clearerr): Likewise.
25675 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25676 * libio/feof.c (_IO_feof): Likewise.
25677 * libio/feof_u.c (feof_unlocked): Likewise.
25678 * libio/ferror.c (_IO_ferror): Likewise.
25679 * libio/ferror_u.c (ferror_unlocked): Likewise.
25680 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25681 * libio/fileno.c (__fileno): Likewise.
25682 * libio/fputc.c (fputc): Likewise.
25683 * libio/fputc_u.c (fputc_unlocked): Likewise.
25684 * libio/fputwc.c (fputwc): Likewise.
25685 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25686 * libio/freopen.c (freopen): Likewise.
25687 * libio/freopen64.c (freopen64): Likewise.
25688 * libio/fseek.c (fseek): Likewise.
25689 * libio/fseeko.c (fseeko): Likewise.
25690 * libio/fseeko64.c (fseeko64): Likewise.
25691 * libio/ftello.c (__ftello): Likewise.
25692 * libio/ftello64.c (ftello64): Likewise.
25693 * libio/fwide.c (fwide): Likewise.
25694 * libio/genops.c (_IO_un_link): Likewise.
25695 (_IO_link_in): Likewise.
25696 (_IO_least_marker): Likewise.
25697 (_IO_switch_to_main_get_area): Likewise.
25698 (_IO_switch_to_backup_area): Likewise.
25699 (_IO_switch_to_get_mode): Likewise.
25700 (_IO_free_backup_area): Likewise.
25701 (_IO_switch_to_put_mode): Likewise.
25702 (__overflow): Likewise.
25703 (__underflow): Likewise.
25704 (__uflow): Likewise.
25705 (_IO_setb): Likewise.
25706 (_IO_doallocbuf): Likewise.
25707 (_IO_default_underflow): Likewise.
25708 (_IO_default_uflow): Likewise.
25709 (_IO_default_xsputn): Likewise.
25710 (_IO_sgetn): Likewise.
25711 (_IO_default_xsgetn): Likewise.
25712 (_IO_sync): Likewise.
25713 (_IO_default_setbuf): Likewise.
25714 (_IO_default_seekpos): Likewise.
25715 (_IO_default_doallocate): Likewise.
25716 (_IO_init): Likewise.
25717 (_IO_old_init): Likewise.
25718 (_IO_default_sync): Likewise.
25719 (_IO_default_finish): Likewise.
25720 (_IO_default_seekoff): Likewise.
25721 (_IO_sputbackc): Likewise.
25722 (_IO_sungetc): Likewise.
25723 (_IO_set_column): Likewise.
25724 (_IO_set_column): Likewise.
25725 (_IO_adjust_column): Likewise.
25726 (_IO_get_column): Likewise.
25727 (_IO_init_marker): Likewise.
25728 (_IO_remove_marker): Likewise.
25729 (_IO_marker_difference): Likewise.
25730 (_IO_marker_delta): Likewise.
25731 (_IO_seekmark): Likewise.
25732 (_IO_unsave_markers): Likewise.
25733 (_IO_nobackup_pbackfail): Likewise.
25734 (_IO_default_pbackfail): Likewise.
25735 (_IO_default_seek): Likewise.
25736 (_IO_default_stat): Likewise.
25737 (_IO_default_read): Likewise.
25738 (_IO_default_write): Likewise.
25739 (_IO_default_showmanyc): Likewise.
25740 (_IO_default_imbue): Likewise.
25741 (_IO_iter_next): Likewise.
25742 (_IO_iter_file): Likewise.
25743 * libio/getc.c (_IO_getc): Likewise.
25744 * libio/getwc.c (_IO_getwc): Likewise.
25745 * libio/iofclose.c (_IO_new_fclose): Likewise.
25746 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25747 * libio/iofflush.c (_IO_fflush): Likewise.
25748 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25749 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25750 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25751 * libio/iofgets.c (_IO_fgets): Likewise.
25752 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25753 * libio/iofgetws.c (fgetws): Likewise.
25754 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25755 * libio/iofopen64.c (_IO_fopen64): Likewise.
25756 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25757 (_IO_cookie_write): Likewise.
25758 (_IO_cookie_seek): Likewise.
25759 (_IO_cookie_close): Likewise.
25760 (_IO_cookie_seekoff): Likewise.
25761 (_IO_old_cookie_seek): Likewise.
25762 * libio/iofputs.c (_IO_fputs): Likewise.
25763 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25764 * libio/iofputws.c (fputws): Likewise.
25765 * libio/iofputws_u.c (fputws_unlocked): Likewise.
25766 * libio/iofread.c (_IO_fread): Likewise.
25767 * libio/iofread_u.c (__fread_unlocked): Likewise.
25768 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25769 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25770 * libio/ioftell.c (_IO_ftell): Likewise.
25771 * libio/iofwrite.c (_IO_fwrite): Likewise.
25772 * libio/iogetdelim.c (_IO_getdelim): Likewise.
25773 * libio/iogets.c (_IO_gets): Likewise.
25774 * libio/iopadn.c (_IO_padn): Likewise.
25775 * libio/iopopen.c (_IO_new_proc_open): Likewise.
25776 (_IO_new_popen): Likewise.
25777 (_IO_new_proc_close): Likewise.
25778 * libio/ioputs.c (_IO_puts): Likewise.
25779 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25780 (_IO_seekoff): Likewise.
25781 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25782 (_IO_seekpos): Likewise.
25783 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25784 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25785 * libio/ioungetc.c (_IO_ungetc): Likewise.
25786 * libio/ioungetwc.c (ungetwc): Likewise.
25787 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25788 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25789 * libio/iowpadn.c (_IO_wpadn): Likewise.
25790 * libio/libc_fatal.c (__libc_fatal): Likewise.
25791 * libio/memstream.c (__open_memstream): Likewise.
25792 (_IO_mem_sync): Likewise.
25793 (_IO_mem_finish): Likewise.
25794 * libio/oldfileops.c (_IO_old_file_init): Likewise.
25795 (_IO_old_file_close_it): Likewise.
25796 (_IO_old_file_finish): Likewise.
25797 (_IO_old_file_fopen): Likewise.
25798 (_IO_old_file_attach): Likewise.
25799 (_IO_old_file_setbuf): Likewise.
25800 (_IO_old_do_write): Likewise.
25801 (old_do_write): Likewise.
25802 (_IO_old_file_underflow): Likewise.
25803 (_IO_old_file_overflow): Likewise.
25804 (_IO_old_file_sync): Likewise.
25805 (_IO_old_file_seekoff): Likewise.
25806 (_IO_old_file_write): Likewise.
25807 (_IO_old_file_xsputn): Likewise.
25808 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25809 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25810 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25811 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25812 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25813 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25814 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25815 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25816 (_IO_old_popen): Likewise.
25817 (_IO_old_proc_close): Likewise.
25818 * libio/oldpclose.c (__old_pclose): Likewise.
25819 * libio/pclose.c (__new_pclose): Likewise.
25820 * libio/peekc.c (_IO_peekc_locked): Likewise.
25821 * libio/putc.c (_IO_putc): Likewise.
25822 * libio/putc_u.c (putc_unlocked): Likewise.
25823 * libio/putchar.c (putchar): Likewise.
25824 * libio/putchar_u.c (putchar_unlocked): Likewise.
25825 * libio/putwc.c (putwc): Likewise.
25826 * libio/putwc_u.c (putwc_unlocked): Likewise.
25827 * libio/putwchar.c (putwchar): Likewise.
25828 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25829 * libio/rewind.c (rewind): Likewise.
25830 * libio/setbuf.c (setbuf): Likewise.
25831 * libio/setlinebuf.c (setlinebuf): Likewise.
25832 * libio/vasprintf.c (_IO_vasprintf): Likewise.
25833 * libio/vscanf.c (_IO_vscanf): Likewise.
25834 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25835 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25836 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25837 * libio/wgenops.c (_IO_least_wmarker): Likewise.
25838 (_IO_switch_to_main_wget_area): Likewise.
25839 (_IO_switch_to_wbackup_area): Likewise.
25840 (_IO_wsetb): Likewise.
25841 (_IO_wdefault_pbackfail): Likewise.
25842 (_IO_wdefault_finish): Likewise.
25843 (_IO_wdefault_uflow): Likewise.
25844 (__woverflow): Likewise.
25845 (__wuflow): Likewise.
25846 (__wunderflow): Likewise.
25847 (_IO_wdefault_xsputn): Likewise.
25848 (_IO_wdefault_xsgetn): Likewise.
25849 (_IO_wdoallocbuf): Likewise.
25850 (_IO_wdefault_doallocate): Likewise.
25851 (_IO_switch_to_wget_mode): Likewise.
25852 (_IO_free_wbackup_area): Likewise.
25853 (_IO_switch_to_wput_mode): Likewise.
25854 (_IO_sputbackwc): Likewise.
25855 (_IO_sungetwc): Likewise.
25856 (_IO_adjust_wcolumn): Likewise.
25857 (_IO_init_wmarker): Likewise.
25858 (_IO_wmarker_delta): Likewise.
25859 (_IO_seekwmark): Likewise.
25860 (_IO_unsave_wmarkers): Likewise.
25861 * libio/wmemstream.c (open_wmemstream): Likewise.
25862 (_IO_wmem_sync): Likewise.
25863 (_IO_wmem_finish): Likewise.
25864 * locale/nl_langinfo.c (nl_langinfo): Likewise.
25865 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25866 * locale/programs/simple-hash.c (init_hash): Likewise.
25867 (delete_hash): Likewise.
25868 (insert_entry): Likewise.
25869 (set_entry): Likewise.
25870 (next_prime): Likewise.
25871 (is_prime): Likewise.
25872 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25873 (xmalloc): Likewise.
25874 (xrealloc): Likewise.
25875 * locale/programs/xstrdup.c (xstrdup): Likewise.
25876 * localedata/collate-test.c (xstrcoll): Likewise.
25877 * localedata/xfrm-test.c (xstrcmp): Likewise.
25878 * login/getlogin_r.c (__getlogin_r): Likewise.
25879 * login/getpt.c (__posix_openpt): Likewise.
25880 * login/login_tty.c (login_tty): Likewise.
25881 * login/setlogin.c (setlogin): Likewise.
25882 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25883 (mach_msg_destroy_port): Likewise.
25884 (mach_msg_destroy_memory): Likewise.
25885 * malloc/mcheck.c (flood): Likewise.
25886 * misc/acct.c (acct): Likewise.
25887 * misc/brk.c (__brk): Likewise.
25888 * misc/chflags.c (chflags): Likewise.
25889 * misc/chroot.c (chroot): Likewise.
25890 * misc/fchflags.c (fchflags): Likewise.
25891 * misc/fstab.c (getfsspec): Likewise.
25892 (getfsfile): Likewise.
25893 * misc/fsync.c (fsync): Likewise.
25894 * misc/ftruncate.c (__ftruncate): Likewise.
25895 * misc/ftruncate64.c (__ftruncate64): Likewise.
25896 * misc/getdomain.c (getdomainname): Likewise.
25897 (getdomainname): Likewise.
25898 * misc/gethostname.c (__gethostname): Likewise.
25899 * misc/getpass.c (getpass): Likewise.
25900 * misc/getttyent.c (skip): Likewise.
25901 (value): Likewise.
25902 * misc/gtty.c (gtty): Likewise.
25903 * misc/hsearch.c (hsearch): Likewise.
25904 (hcreate): Likewise.
25905 * misc/hsearch_r.c (__hcreate_r): Likewise.
25906 (__hdestroy_r): Likewise.
25907 * misc/ioctl.c (__ioctl): Likewise.
25908 * misc/mkdtemp.c (mkdtemp): Likewise.
25909 * misc/mkostemp.c (mkostemp): Likewise.
25910 * misc/mkostemp64.c (mkostemp64): Likewise.
25911 * misc/mkostemps.c (mkostemps): Likewise.
25912 * misc/mkostemps64.c (mkostemps64): Likewise.
25913 * misc/mkstemp.c (mkstemp): Likewise.
25914 * misc/mkstemp64.c (mkstemp64): Likewise.
25915 * misc/mkstemps.c (mkstemps): Likewise.
25916 * misc/mkstemps64.c (mkstemps64): Likewise.
25917 * misc/mktemp.c (__mktemp): Likewise.
25918 * misc/preadv.c (preadv): Likewise.
25919 * misc/preadv64.c (preadv64): Likewise.
25920 * misc/pwritev.c (pwritev): Likewise.
25921 * misc/pwritev64.c (pwritev64): Likewise.
25922 * misc/readv.c (__readv): Likewise.
25923 * misc/revoke.c (revoke): Likewise.
25924 * misc/setdomain.c (setdomainname): Likewise.
25925 * misc/setegid.c (setegid): Likewise.
25926 * misc/seteuid.c (seteuid): Likewise.
25927 * misc/sethostid.c (sethostid): Likewise.
25928 * misc/sethostname.c (sethostname): Likewise.
25929 * misc/setregid.c (__setregid): Likewise.
25930 * misc/setreuid.c (__setreuid): Likewise.
25931 * misc/sstk.c (sstk): Likewise.
25932 * misc/stty.c (stty): Likewise.
25933 * misc/syscall.c (syscall): Likewise.
25934 * misc/syslog.c (setlogmask): Likewise.
25935 * misc/truncate.c (__truncate): Likewise.
25936 * misc/truncate64.c (truncate64): Likewise.
25937 * misc/ualarm.c (ualarm): Likewise.
25938 * misc/usleep.c (usleep): Likewise.
25939 * misc/ustat.c (ustat): Likewise.
25940 * misc/writev.c (__writev): Likewise.
25941 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25942 * nptl/old_pthread_cond_broadcast.c
25943 (__pthread_cond_broadcast_2_0): Likewise.
25944 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25945 Likewise.
25946 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25947 Likewise.
25948 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25949 Likewise.
25950 * nptl/pt-raise.c (raise): Likewise.
25951 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25952 Likewise.
25953 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25954 * nptl/pthread_barrierattr_destroy.c
25955 (pthread_barrierattr_destroy): Likewise.
25956 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25957 Likewise.
25958 * nptl/pthread_barrierattr_setpshared.c
25959 (pthread_barrierattr_setpshared): Likewise.
25960 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25961 Likewise.
25962 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25963 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25964 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25965 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25966 Likewise.
25967 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25968 Likewise.
25969 * nptl/pthread_condattr_getpshared.c
25970 (pthread_condattr_getpshared): Likewise.
25971 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25972 Likewise.
25973 * nptl/pthread_condattr_setpshared.c
25974 (pthread_condattr_setpshared): Likewise.
25975 * nptl/pthread_detach.c (pthread_detach): Likewise.
25976 * nptl/pthread_equal.c (__pthread_equal): Likewise.
25977 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25978 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25979 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25980 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25981 Likewise.
25982 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25983 Likewise.
25984 * nptl/pthread_mutex_getprioceiling.c
25985 (pthread_mutex_getprioceiling): Likewise.
25986 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25987 Likewise.
25988 * nptl/pthread_mutexattr_getprotocol.c
25989 (pthread_mutexattr_getprotocol): Likewise.
25990 * nptl/pthread_mutexattr_getpshared.c
25991 (pthread_mutexattr_getpshared): Likewise.
25992 * nptl/pthread_mutexattr_getrobust.c
25993 (pthread_mutexattr_getrobust): Likewise.
25994 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25995 Likewise.
25996 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25997 Likewise.
25998 * nptl/pthread_mutexattr_setprioceiling.c
25999 (pthread_mutexattr_setprioceiling): Likewise.
26000 * nptl/pthread_mutexattr_setprotocol.c
26001 (pthread_mutexattr_setprotocol): Likewise.
26002 * nptl/pthread_mutexattr_setpshared.c
26003 (pthread_mutexattr_setpshared): Likewise.
26004 * nptl/pthread_mutexattr_setrobust.c
26005 (pthread_mutexattr_setrobust): Likewise.
26006 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
26007 Likewise.
26008 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
26009 Likewise.
26010 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
26011 Likewise.
26012 * nptl/pthread_rwlockattr_getkind_np.c
26013 (pthread_rwlockattr_getkind_np): Likewise.
26014 * nptl/pthread_rwlockattr_getpshared.c
26015 (pthread_rwlockattr_getpshared): Likewise.
26016 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
26017 Likewise.
26018 * nptl/pthread_rwlockattr_setkind_np.c
26019 (pthread_rwlockattr_setkind_np): Likewise.
26020 * nptl/pthread_rwlockattr_setpshared.c
26021 (pthread_rwlockattr_setpshared): Likewise.
26022 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
26023 Likewise.
26024 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
26025 Likewise.
26026 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
26027 Likewise.
26028 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
26029 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
26030 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
26031 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
26032 * nptl/sem_close.c (sem_close): Likewise.
26033 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
26034 * nptl/sem_init.c (__old_sem_init): Likewise.
26035 * nptl/sigaction.c (__sigaction): Likewise.
26036 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26037 * posix/_exit.c (_exit): Likewise.
26038 * posix/alarm.c (alarm): Likewise.
26039 * posix/confstr.c (confstr): Likewise.
26040 * posix/fpathconf.c (__fpathconf): Likewise.
26041 * posix/getgroups.c (__getgroups): Likewise.
26042 * posix/getpgid.c (__getpgid): Likewise.
26043 * posix/group_member.c (__group_member): Likewise.
26044 * posix/pathconf.c (__pathconf): Likewise.
26045 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
26046 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
26047 * posix/setgid.c (__setgid): Likewise.
26048 * posix/setpgid.c (__setpgid): Likewise.
26049 * posix/setuid.c (__setuid): Likewise.
26050 * posix/sleep.c (__sleep): Likewise.
26051 * posix/sysconf.c (__sysconf): Likewise.
26052 * posix/times.c (__times): Likewise.
26053 * posix/uname.c (__uname): Likewise.
26054 * posix/waitid.c (__waitid): Likewise.
26055 * pwd/getpw.c (__getpw): Likewise.
26056 * resolv/base64.c (b64_pton): Likewise.
26057 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26058 * resolv/gethnamaddr.c (Dprintf): Likewise.
26059 (gethostbyname): Likewise.
26060 (gethostbyname2): Likewise.
26061 (gethostbyaddr): Likewise.
26062 (_sethtent): Likewise.
26063 (_gethtbyname): Likewise.
26064 (_gethtbyname2): Likewise.
26065 (_gethtbyaddr): Likewise.
26066 (map_v4v6_address): Likewise.
26067 (map_v4v6_hostent): Likewise.
26068 (addrsort): Likewise.
26069 (ht_sethostent): Likewise.
26070 (ht_gethostbyname): Likewise.
26071 (ht_gethostbyaddr): Likewise.
26072 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
26073 (inet_net_ntop_ipv4): Likewise.
26074 * resolv/inet_neta.c (inet_neta): Likewise.
26075 * resolv/inet_ntop.c (inet_ntop): Likewise.
26076 (inet_ntop4): Likewise.
26077 (inet_ntop6): Likewise.
26078 * resolv/inet_pton.c (__inet_pton): Likewise.
26079 (inet_pton4): Likewise.
26080 (inet_pton6): Likewise.
26081 * resolv/res_debug.c (loc_aton): Likewise.
26082 (loc_ntoa): Likewise.
26083 * resource/getpriority.c (__getpriority): Likewise.
26084 * resource/getrusage.c (__getrusage): Likewise.
26085 * resource/nice.c (nice): Likewise.
26086 * resource/setpriority.c (__setpriority): Likewise.
26087 * resource/setrlimit64.c (setrlimit64): Likewise.
26088 * resource/vlimit.c (vlimit): Likewise.
26089 * resource/vtimes.c (vtimes): Likewise.
26090 * rt/aio_error.c (aio_error): Likewise.
26091 * rt/aio_return.c (aio_return): Likewise.
26092 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
26093 * signal/kill.c (__kill): Likewise.
26094 * signal/killpg.c (killpg): Likewise.
26095 * signal/raise.c (raise): Likewise.
26096 * signal/sigaction.c (__sigaction): Likewise.
26097 * signal/sigaddset.c (sigaddset): Likewise.
26098 * signal/sigaltstack.c (sigaltstack): Likewise.
26099 * signal/sigandset.c (sigandset): Likewise.
26100 * signal/sigblock.c (__sigblock): Likewise.
26101 * signal/sigdelset.c (sigdelset): Likewise.
26102 * signal/sigempty.c (sigemptyset): Likewise.
26103 * signal/sigfillset.c (sigfillset): Likewise.
26104 * signal/sighold.c (sighold): Likewise.
26105 * signal/sigignore.c (sigignore): Likewise.
26106 * signal/sigintr.c (siginterrupt): Likewise.
26107 * signal/sigisempty.c (sigisemptyset): Likewise.
26108 * signal/sigismem.c (sigismember): Likewise.
26109 * signal/signal.c (signal): Likewise.
26110 * signal/sigorset.c (sigorset): Likewise.
26111 * signal/sigpause.c (__sigpause): Likewise.
26112 * signal/sigpending.c (sigpending): Likewise.
26113 * signal/sigprocmask.c (__sigprocmask): Likewise.
26114 * signal/sigrelse.c (sigrelse): Likewise.
26115 * signal/sigreturn.c (__sigreturn): Likewise.
26116 * signal/sigset.c (sigset): Likewise.
26117 * signal/sigsetmask.c (__sigsetmask): Likewise.
26118 * signal/sigstack.c (sigstack): Likewise.
26119 * signal/sigsuspend.c (__sigsuspend): Likewise.
26120 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
26121 * signal/sysv_signal.c (__sysv_signal): Likewise.
26122 * socket/accept.c (accept): Likewise.
26123 * socket/accept4.c (__libc_accept4): Likewise.
26124 * socket/bind.c (__bind): Likewise.
26125 * socket/connect.c (__connect): Likewise.
26126 * socket/getpeername.c (getpeername): Likewise.
26127 * socket/getsockname.c (__getsockname): Likewise.
26128 * socket/getsockopt.c (getsockopt): Likewise.
26129 * socket/listen.c (__listen): Likewise.
26130 * socket/recv.c (__recv): Likewise.
26131 * socket/recvmsg.c (__recvmsg): Likewise.
26132 * socket/send.c (__send): Likewise.
26133 * socket/sendmsg.c (__sendmsg): Likewise.
26134 * socket/shutdown.c (shutdown): Likewise.
26135 * socket/sockatmark.c (sockatmark): Likewise.
26136 * socket/socket.c (__socket): Likewise.
26137 * stdio-common/ctermid.c (ctermid): Likewise.
26138 * stdio-common/cuserid.c (cuserid): Likewise.
26139 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
26140 * stdio-common/remove.c (remove): Likewise.
26141 * stdio-common/rename.c (rename): Likewise.
26142 * stdio-common/renameat.c (renameat): Likewise.
26143 * stdio-common/tempname.c (__gen_tempname): Likewise.
26144 * stdio-common/xbug.c (InitBuffer): Likewise.
26145 (AppendToBuffer): Likewise.
26146 (ReadFile): Likewise.
26147 * stdlib/a64l.c (a64l): Likewise.
26148 * stdlib/drand48_r.c (drand48_r): Likewise.
26149 * stdlib/getcontext.c (getcontext): Likewise.
26150 * stdlib/getenv.c (getenv): Likewise.
26151 * stdlib/l64a.c (l64a): Likewise.
26152 * stdlib/llabs.c (llabs): Likewise.
26153 * stdlib/lldiv.c (lldiv): Likewise.
26154 * stdlib/lrand48_r.c (lrand48_r): Likewise.
26155 * stdlib/mrand48_r.c (mrand48_r): Likewise.
26156 * stdlib/putenv.c (putenv): Likewise.
26157 * stdlib/random.c (__srandom): Likewise.
26158 (__initstate): Likewise.
26159 (__setstate): Likewise.
26160 * stdlib/random_r.c (__srandom_r): Likewise.
26161 (__setstate_r): Likewise.
26162 (__random_r): Likewise.
26163 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
26164 * stdlib/setcontext.c (setcontext): Likewise.
26165 * stdlib/setenv.c (setenv): Likewise.
26166 (unsetenv): Likewise.
26167 * stdlib/srand48.c (srand48): Likewise.
26168 * stdlib/srand48_r.c (__srand48_r): Likewise.
26169 * stdlib/swapcontext.c (swapcontext): Likewise.
26170 * stdlib/system.c (__libc_system): Likewise.
26171 * stdlib/tst-strtod.c (expand): Likewise.
26172 * stdlib/tst-strtol.c (expand): Likewise.
26173 * stdlib/tst-strtoll.c (expand): Likewise.
26174 * streams/fattach.c (fattach): Likewise.
26175 * streams/fdetach.c (fdetach): Likewise.
26176 * streams/getmsg.c (getmsg): Likewise.
26177 * streams/isastream.c (isastream): Likewise.
26178 * string/ffs.c (__ffs): Likewise.
26179 * string/ffsll.c (ffsll): Likewise.
26180 * string/memcmp.c (memcmp_common_alignment): Likewise.
26181 (memcmp_not_common_alignment): Likewise.
26182 (MEMCMP): Likewise.
26183 * string/memcpy.c (memcpy): Likewise.
26184 * string/memmove.c (MEMMOVE): Likewise.
26185 * string/memset.c (memset): Likewise.
26186 * string/rawmemchr.c (RAWMEMCHR): Likewise.
26187 * string/strchrnul.c (STRCHRNUL): Likewise.
26188 * string/strerror.c (strerror): Likewise.
26189 * string/strndup.c (__strndup): Likewise.
26190 * string/strverscmp.c (__strverscmp): Likewise.
26191 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
26192 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
26193 (clnttcp_freeres): Likewise.
26194 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
26195 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
26196 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
26197 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
26198 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
26199 (xdr_callhdr): Likewise.
26200 * sunrpc/rpcinfo.c (udpping): Likewise.
26201 (tcpping): Likewise.
26202 (pstatus): Likewise.
26203 (pmapdump): Likewise.
26204 (brdcst): Likewise.
26205 (deletereg): Likewise.
26206 (getprognum): Likewise.
26207 (getvers): Likewise.
26208 (get_inet_address): Likewise.
26209 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
26210 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26211 (svcudp_stat): Likewise.
26212 (svcudp_recv): Likewise.
26213 (svcudp_reply): Likewise.
26214 (svcudp_getargs): Likewise.
26215 (svcudp_freeargs): Likewise.
26216 (svcudp_destroy): Likewise.
26217 * sunrpc/xdr.c (xdr_bytes): Likewise.
26218 (xdr_netobj): Likewise.
26219 (xdr_string): Likewise.
26220 (xdr_wrapstring): Likewise.
26221 * sunrpc/xdr_float.c (xdr_float): Likewise.
26222 (xdr_double): Likewise.
26223 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26224 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26225 * sysvipc/ftok.c (ftok): Likewise.
26226 * sysvipc/msgctl.c (msgctl): Likewise.
26227 * sysvipc/msgget.c (msgget): Likewise.
26228 * sysvipc/msgrcv.c (msgrcv): Likewise.
26229 * sysvipc/msgsnd.c (msgsnd): Likewise.
26230 * sysvipc/semget.c (semget): Likewise.
26231 * sysvipc/semop.c (semop): Likewise.
26232 * sysvipc/shmat.c (shmat): Likewise.
26233 * sysvipc/shmctl.c (shmctl): Likewise.
26234 * sysvipc/shmdt.c (shmdt): Likewise.
26235 * sysvipc/shmget.c (shmget): Likewise.
26236 * termios/cfmakeraw.c (cfmakeraw): Likewise.
26237 * termios/speed.c (cfgetospeed): Likewise.
26238 (cfgetispeed): Likewise.
26239 (cfsetospeed): Likewise.
26240 (cfsetispeed): Likewise.
26241 * termios/tcflow.c (tcflow): Likewise.
26242 * termios/tcflush.c (tcflush): Likewise.
26243 * termios/tcgetattr.c (__tcgetattr): Likewise.
26244 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26245 * termios/tcgetsid.c (tcgetsid): Likewise.
26246 * termios/tcsendbrk.c (tcsendbreak): Likewise.
26247 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26248 * time/adjtime.c (__adjtime): Likewise.
26249 * time/dysize.c (dysize): Likewise.
26250 * time/ftime.c (ftime): Likewise.
26251 * time/getitimer.c (__getitimer): Likewise.
26252 * time/gettimeofday.c (__gettimeofday): Likewise.
26253 * time/gmtime.c (__gmtime_r): Likewise.
26254 (gmtime): Likewise.
26255 * time/localtime.c (__localtime_r): Likewise.
26256 (localtime): Likewise.
26257 * time/offtime.c (__offtime): Likewise.
26258 * time/settimeofday.c (__settimeofday): Likewise.
26259 * time/stime.c (stime): Likewise.
26260 * time/strftime_l.c (tm_diff): Likewise.
26261 (iso_week_days): Likewise.
26262 * time/strptime.c (strptime): Likewise.
26263 * time/time.c (time): Likewise.
26264 * time/timespec_get.c (timespec_get): Likewise.
26265 * time/tzset.c (tzset_internal): Likewise.
26266 (compute_change): Likewise.
26267 (__tz_compute): Likewise.
26268 * wcsmbs/btowc.c (__btowc): Likewise.
26269 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26270 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26271 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26272 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26273 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26274 * wcsmbs/wcscat.c (__wcscat): Likewise.
26275 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26276 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26277 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26278 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26279 * wcsmbs/wcsdup.c (wcsdup): Likewise.
26280 * wcsmbs/wcslen.c (__wcslen): Likewise.
26281 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26282 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26283 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26284 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26285 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26286 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26287 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26288 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26289 * wcsmbs/wcstok.c (wcstok): Likewise.
26290 * wcsmbs/wctob.c (wctob): Likewise.
26291 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26292 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26293 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26294 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26295 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26296 * wcsmbs/wmemset.c (__wmemset): Likewise.
26297 * wctype/wcfuncs.c (__towlower): Likewise.
26298 (__towupper): Likewise.
26299
26300 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26301 (lll_unlock_elision): Add adapt_count parameter.
26302
26303 2015-10-15 Joseph Myers <joseph@codesourcery.com>
26304
26305 * sysdeps/nptl/configure.ac: Do not give errors based on the
26306 results of top-level configure tests.
26307 * sysdeps/nptl/configure: Regenerated.
26308
26309 * configure.ac (libc_cv_Bgroup): Remove configure test.
26310 * configure: Regenerated.
26311 * config.make.in (have-Bgroup): Remove variable.
26312
26313 * configure.ac (sizeof_long_double): Remove configure test.
26314 * configure: Regenerated.
26315 * config.make.in (sizeof-long-double): Remove variable.
26316
26317 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26318 * configure: Regenerated.
26319 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26320 variable.
26321 (exceptions): Likewise.
26322 * sysdeps/arm/configure: Regenerated.
26323 * config.make.in (exceptions): Remove variable.
26324 * Makeconfig (uses-callbacks): Use -fexceptions instead of
26325 $(exceptions).
26326 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26327 (CFLAGS-vdprintf_chk.c): Likewise.
26328 (CFLAGS-printf_chk.c): Likewise.
26329 (CFLAGS-fprintf_chk.c): Likewise.
26330 (CFLAGS-vprintf_chk.c): Likewise.
26331 (CFLAGS-vfprintf_chk.c): Likewise.
26332 (CFLAGS-gets_chk.c): Likewise.
26333 (CFLAGS-fgets_chk.c): Likewise.
26334 (CFLAGS-fgets_u_chk.c): Likewise.
26335 (CFLAGS-fread_chk.c): Likewise.
26336 (CFLAGS-fread_u_chk.c): Likewise.
26337 (CFLAGS-wprintf_chk.c): Likewise.
26338 (CFLAGS-fwprintf_chk.c): Likewise.
26339 (CFLAGS-vwprintf_chk.c): Likewise.
26340 (CFLAGS-vfwprintf_chk.c): Likewise.
26341 (CFLAGS-fgetws_chk.c): Likewise.
26342 (CFLAGS-fgetws_u_chk.c): Likewise.
26343 * libio/Makefile (CFLAGS-fileops.c): Likewise.
26344 (CFLAGS-fputc.c): Likewise.
26345 (CFLAGS-fputwc.c): Likewise.
26346 (CFLAGS-freopen64.c): Likewise.
26347 (CFLAGS-freopen.c): Likewise.
26348 (CFLAGS-fseek.c): Likewise.
26349 (CFLAGS-fseeko64.c): Likewise.
26350 (CFLAGS-fseeko.c): Likewise.
26351 (CFLAGS-ftello64.c): Likewise.
26352 (CFLAGS-ftello.c): Likewise.
26353 (CFLAGS-fwide.c): Likewise.
26354 (CFLAGS-genops.c): Likewise.
26355 (CFLAGS-getc.c): Likewise.
26356 (CFLAGS-getchar.c): Likewise.
26357 (CFLAGS-getwc.c): Likewise.
26358 (CFLAGS-getwchar.c): Likewise.
26359 (CFLAGS-iofclose.c): Likewise.
26360 (CFLAGS-iofflush.c): Likewise.
26361 (CFLAGS-iofgetpos64.c): Likewise.
26362 (CFLAGS-iofgetpos.c): Likewise.
26363 (CFLAGS-iofgets.c): Likewise.
26364 (CFLAGS-iofgetws.c): Likewise.
26365 (CFLAGS-iofputs.c): Likewise.
26366 (CFLAGS-iofputws.c): Likewise.
26367 (CFLAGS-iofread.c): Likewise.
26368 (CFLAGS-iofsetpos64.c): Likewise.
26369 (CFLAGS-iofsetpos.c): Likewise.
26370 (CFLAGS-ioftell.c): Likewise.
26371 (CFLAGS-iofwrite.c): Likewise.
26372 (CFLAGS-iogetdelim.c): Likewise.
26373 (CFLAGS-iogetline.c): Likewise.
26374 (CFLAGS-iogets.c): Likewise.
26375 (CFLAGS-iogetwline.c): Likewise.
26376 (CFLAGS-ioputs.c): Likewise.
26377 (CFLAGS-ioseekoff.c): Likewise.
26378 (CFLAGS-ioseekpos.c): Likewise.
26379 (CFLAGS-iosetbuffer.c): Likewise.
26380 (CFLAGS-iosetvbuf.c): Likewise.
26381 (CFLAGS-ioungetc.c): Likewise.
26382 (CFLAGS-ioungetwc.c): Likewise.
26383 (CFLAGS-oldfileops.c): Likewise.
26384 (CFLAGS-oldiofclose.c): Likewise.
26385 (CFLAGS-oldiofgetpos64.c): Likewise.
26386 (CFLAGS-oldiofgetpos.c): Likewise.
26387 (CFLAGS-oldiofsetpos64.c): Likewise.
26388 (CFLAGS-oldiofsetpos.c): Likewise.
26389 (CFLAGS-peekc.c): Likewise.
26390 (CFLAGS-putc.c): Likewise.
26391 (CFLAGS-putchar.c): Likewise.
26392 (CFLAGS-putwc.c): Likewise.
26393 (CFLAGS-putwchar.c): Likewise.
26394 (CFLAGS-rewind.c): Likewise.
26395 (CFLAGS-wfileops.c): Likewise.
26396 (CFLAGS-wgenops.c): Likewise.
26397 (CFLAGS-oldiofopen.c): Likewise.
26398 (CFLAGS-iofopen.c): Likewise.
26399 (CFLAGS-iofopen64.c): Likewise.
26400 (CFLAGS-oldtmpfile.c): Likewise.
26401 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
26402 (CFLAGS-fprintf.c): Likewise.
26403 (CFLAGS-printf.c): Likewise.
26404 (CFLAGS-vfwprintf.c): Likewise.
26405 (CFLAGS-vfscanf.c): Likewise.
26406 (CFLAGS-vfwscanf.c): Likewise.
26407 (CFLAGS-fscanf.c): Likewise.
26408 (CFLAGS-scanf.c): Likewise.
26409 (CFLAGS-isoc99_vfscanf.c): Likewise.
26410 (CFLAGS-isoc99_vscanf.c): Likewise.
26411 (CFLAGS-isoc99_fscanf.c): Likewise.
26412 (CFLAGS-isoc99_scanf.c): Likewise.
26413 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
26414 (CFLAGS-isoc99_fwscanf.c): Likewise.
26415 (CFLAGS-isoc99_vwscanf.c): Likewise.
26416 (CFLAGS-isoc99_vfwscanf.c): Likewise.
26417
26418 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
26419 after mkstemp64.
26420 * login/tst-utmp.c (do_prepare): Likewise.
26421 * rt/tst-aio.c (do_prepare): Likewise.
26422 * rt/tst-aio64.c (do_prepare): Likewise.
26423
26424 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26425
26426 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26427 (__lll_lock_elision): Remove adapt_count decrement...
26428 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26429 (__lll_trylock_elision): Likewise.
26430 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
26431 (__lll_unlock_elision): ... to here. And utilize
26432 new adapt_count parameter.
26433 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26434 (__lll_unlock_elision): Update to include adapt_count
26435 parameter.
26436 (lll_unlock_elision): Pass pointer to adapt_count
26437 variable.
26438
26439 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26440
26441 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
26442 Add elision adapt_count parameter to list of arguments.
26443 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26444 (lll_unlock_elision): Update with new parameter list
26445 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
26446 (lll_unlock_elision): Likewise.
26447 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
26448 (lll_unlock_elision): Likewise.
26449
26450 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
26451
26452 [BZ #19122]
26453 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
26454 attribute_hidden.
26455
26456 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
26457 attribute_hidden.
26458 [IS_IN (rtld)] (__strdup): Likewise.
26459 [IS_IN (rtld)] (__strerror_r): Likewise.
26460 [IS_IN (rtld)] (__strsep_g): Likewise.
26461 [IS_IN (rtld)] (memchr): Likewise.
26462 [IS_IN (rtld)] (memcmp): Likewise.
26463 [IS_IN (rtld)] (memcpy): Likewise.
26464 [IS_IN (rtld)] (memmove): Likewise.
26465 [IS_IN (rtld)] (memset): Likewise.
26466 [IS_IN (rtld)] (rawmemchr): Likewise.
26467 [IS_IN (rtld)] (stpcpy): Likewise.
26468 [IS_IN (rtld)] (strchr): Likewise.
26469 [IS_IN (rtld)] (strcmp): Likewise.
26470 [IS_IN (rtld)] (strlen): Likewise.
26471 [IS_IN (rtld)] (strnlen): Likewise.
26472 [IS_IN (rtld)] (strsep): Likewise.
26473
26474 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
26475 attribute_hidden.
26476 [IS_IN (rtld)] (__strtoul_internal): Likewise.
26477
26478 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
26479 attribute_hidden.
26480 [IS_IN (rtld)] (__libc_sigaction): Likewise.
26481
26482 * include/setjmp.h (__longjmp): Add attribute_hidden.
26483 [IS_IN (rtld)] (__sigsetjmp): Likewise.
26484
26485 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
26486 Add attribute_hidden.
26487
26488 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
26489 [IS_IN (rtld)] (__open): Likewise.
26490 [IS_IN (rtld)] (__fcntl): Likewise.
26491
26492 * include/dirent.h (__opendirat): Add attribute_hidden.
26493 (__getdents): Likewise.
26494 (__getdents64): Likewise.
26495 (__alloc_dir): Likewise.
26496 [IS_IN (rtld)] (__closedir): Likewise.
26497 [IS_IN (rtld)] (__fdopendir): Likewise.
26498 [IS_IN (rtld)] (__readdir): Likewise.
26499 [IS_IN (rtld)] (__readdir64): Likewise.
26500 [IS_IN (rtld)] (__rewinddir): Likewise.
26501
26502 * include/dlfcn.h (_dl_catch_error): Moved to ...
26503 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
26504 attribute_hidden.
26505
26506 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
26507 (_itoa_word): Likewise.
26508
26509 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
26510 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26511 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26512 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
26513 (_dl_higher_prime_number): Likewise.
26514 (_dl_debug_printf_c): Likewise.
26515 (_dl_signal_cerror): Likewise.
26516 (_dl_receive_error): Likewise.
26517 (_dl_reloc_bad_type): Likewise.
26518 (_dl_resolve_conflicts): Likewise.
26519 (_dl_check_all_versions): Likewise.
26520 (_dl_check_map_versions): Likewise.
26521 (_dl_sort_fini): Likewise.
26522 (_dl_debug_initialize): Likewise.
26523 (_dl_init_paths): Likewise.
26524 (_dl_show_auxv): Likewise.
26525 (_dl_next_ld_env_entry): Likewise.
26526 (_dl_important_hwcaps): Likewise.
26527 (_dl_load_cache_lookup): Likewise.
26528 (_dl_update_slotinfo): Likewise.
26529 (_dl_show_scope): Likewise.
26530
26531 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
26532 attribute_hidden.
26533 (_wordcopy_fwd_dest_aligned): Likewise.
26534 (_wordcopy_bwd_aligned): Likewise.
26535 (_wordcopy_bwd_dest_aligned): Likewise.
26536
26537 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26538 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26539 Likewise.
26540 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26541 Likewise.
26542 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26543
26544 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
26545
26546 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26547 GCC 5 requirement.
26548
26549 2015-10-15 Joseph Myers <joseph@codesourcery.com>
26550
26551 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26552 test.
26553 * sysdeps/i386/configure: Regenerated.
26554 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26555 code unconditional.
26556
26557 * configure.ac (libc_cv_asm_previous_directive): Remove configure
26558 test.
26559 (libc_cv_asm_popsection_directive): Likewise.
26560 * configure: Regenerated.
26561 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26562 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26563 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26564 (__make_section_unallocated): Make definition unconditional.
26565 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26566 Remove conditional definition.
26567 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26568 (__make_section_unallocated): Likewise.
26569
26570 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26571 * configure: Regenerated.
26572 * config.make.in (static-libgcc): Remove variable.
26573 * Makerules (build-shlib-helper): Use -static-libgcc instead of
26574 $(static-libgcc).
26575 (build-module-helper): Likewise.
26576
26577 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26578 * configure: Regenerated.
26579
26580 2015-10-15 Florian Weimer <fweimer@redhat.com>
26581
26582 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26583 (struct char_buffer): New type.
26584 (char_buffer_start, char_buffer_size, char_buffer_error)
26585 (char_buffer_rewind, char_buffer_add): New functions.
26586 (ADDW): Remove macro, replaced by the char_buffer_add function.
26587 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26588 of extend_alloca. Make control flow more explicit.
26589
26590 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
26591
26592 [BZ #19137]
26593 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26594 Add -fomit-frame-pointer.
26595 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26596
26597 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
26598
26599 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26600 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26601 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26602 only if !__GNUC_PREREQ (5,0).
26603 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26604 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26605 (INTERNAL_SYSCALL_NCS): Likewise.
26606 (LOADREGS_0): New macro for GCC 5.
26607 (ASMARGS_0): Likewise.
26608 (LOADREGS_1): Likewise.
26609 (ASMARGS_1): Likewise.
26610 (LOADREGS_2): Likewise.
26611 (ASMARGS_2): Likewise.
26612 (LOADREGS_3): Likewise.
26613 (ASMARGS_3): Likewise.
26614 (LOADREGS_4): Likewise.
26615 (ASMARGS_4): Likewise.
26616 (LOADREGS_5): Likewise.
26617 (ASMARGS_5): Likewise.
26618 (LOADREGS_6): Likewise.
26619 (ASMARGS_6): Likewise.
26620
26621 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
26622
26623 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26624 -fomit-frame-pointer.
26625 (CFLAGS-mmap64.c): Likewise.
26626 (CFLAGS-semtimedop.c): Likewise.
26627 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26628 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26629 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26630 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26631
26632 2015-10-15 Florian Weimer <fweimer@redhat.com>
26633
26634 [BZ #18928]
26635 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26636 _dl_pointer_guard member.
26637 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26638 initializer.
26639 (security_init): Always set up pointer guard.
26640 (process_envvars): Do not process LD_POINTER_GUARD.
26641
26642 2015-10-14 Joseph Myers <joseph@codesourcery.com>
26643
26644 [BZ #19134]
26645 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26646 (.LC2): Likewise.
26647 (.LC3): Likewise.
26648 (__lround): Do not add 0.5 to integer or out-of-range arguments.
26649
26650 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
26651
26652 [BZ #19129]
26653 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26654 r0 and r1.
26655
26656 2015-10-14 Namhyung Kim <namhyung@gmail.com>
26657
26658 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26659
26660 2015-10-14 Carlos O'Donell <carlos@redhat.com>
26661
26662 * include/stap-probe.h: Fix macro definition formatting.
26663
26664 2015-10-14 Florian Weimer <fweimer@redhat.com>
26665
26666 [BZ #19074]
26667 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26668 load and store num_ifs.
26669
26670 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
26671
26672 [BZ #18822]
26673 * sysdeps/unix/sysv/linux/sched_getaffinity.c
26674 (__sched_getaffinity_new): Add libc_hidden_proto and
26675 libc_hidden_def.
26676
26677 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
26678
26679 [BZ #19007]
26680 * scripts/localplt.awk: Also allow GOT references.
26681 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26682 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26683 with "+ REL R_386_GLOB_DAT".
26684 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26685 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26686
26687 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
26688
26689 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26690 INLINE_SYSCALL_ERROR_RETURN_VALUE.
26691 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26692 Likewise.
26693 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26694 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26695 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26696 INTERNAL_SYSCALLINTERNAL_SYSCALL and
26697 INLINE_SYSCALL_ERROR_RETURN_VALUE.
26698 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26699 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26700 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26701 Likewise.
26702 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26703
26704 2015-10-13 Joseph Myers <joseph@codesourcery.com>
26705
26706 [BZ #19125]
26707 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26708 <math_private.h> and <stdint.h>.
26709 (__llround): Avoid conversions to and from long long int, and
26710 subtractions, where those might raise spurious exceptions.
26711 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26712 <math_private.h> and <stdint.h>.
26713 (__llroundf): Avoid conversions to and from long long int, and
26714 subtractions, where those might raise spurious exceptions.
26715
26716 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
26717
26718 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26719 INLINE_SYSCALL_ERROR_RETURN_VALUE.
26720 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26721 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26722 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26723 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26724 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26725 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26726 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26727 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26728 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26729 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26730 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26731 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26732 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26733 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26734 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26735 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26736 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26737 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26738 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26739 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26740 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26741 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26742 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26743 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26744 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26745 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26746 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26747 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26748 (__xstat64_conv): Likewise.
26749 (__xstat32_conv): Likewise.
26750
26751 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
26752
26753 * sysdeps/unix/sysv/linux/sysdep.h: New file.
26754 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26755 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26756 <sysdeps/unix/sysv/linux/sysdep.h>.
26757 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26758 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26759 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26760 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26761 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26762 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26763 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26764 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26765 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26768 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26770 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26771 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26773 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26774 (sysdep-dl-routines): Add sysdep.
26775 [$(subdir) == nptl] (libpthread-routines): Likewise.
26776 [$(subdir) == rt] (librt-routines): Likewise.
26777 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26778 PIC when branching to SYSCALL_ERROR_LABEL.
26779 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26781 <sysdeps/unix/sysv/linux/sysdep.h>.
26782 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26783 (SYSCALL_ERROR_ERRNO): Removed.
26784 (SYSCALL_ERROR_HANDLER): Changed to empty.
26785 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26786 (__syscall_error): New prototype.
26787 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26788 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26789
26790 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
26791
26792 [BZ #19124]
26793 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26794 (_dl_runtime_resolve_avx512): Make it a hidden alias of
26795 _dl_runtime_resolve_avx.
26796 (_dl_runtime_profile_avx512): Make it a hidden alias of
26797 _dl_runtime_profile_avx.
26798
26799 2015-10-13 Joseph Myers <joseph@codesourcery.com>
26800
26801 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26802 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26803 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26804 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26805
26806 [BZ #16422]
26807 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26808 New configure test.
26809 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26810 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26811 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26812 <math_private.h> and <stdint.h>.
26813 (__llrint): Avoid conversions to long long int where those might
26814 raise spurious exceptions.
26815 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26816 <math_private.h> and <stdint.h>.
26817 (__llrintf): Avoid conversions to long long int where those might
26818 raise spurious exceptions.
26819
26820 2015-10-12 Andreas Schwab <schwab@suse.de>
26821
26822 [BZ #18969]
26823 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
26824 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26825 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
26826 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26827 $(gen-locales).
26828 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
26829 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26830 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26831 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26832 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26833 $(gen-locales).
26834 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
26835 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26836 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26837 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26838 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26839 ($(objpfx)tst-ftell-active-handler.out)
26840 ($(objpfx)tst-ftell-append.out)
26841 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26842 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26843 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26844 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26845 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
26846 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26847 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26848 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26849 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26850 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26851 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26852 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26853 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26854 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26855 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26856 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26857 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26858 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26859 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
26860 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26861 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26862 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26863 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26864 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
26865 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26866 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26867 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26868 $(gen-locales).
26869 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
26870 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26871 $(gen-locales).
26872 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
26873 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26874 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26875 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26876 $(gen-locales).
26877 * libio/tst_wprintf2.c (main): Use explicit locale.
26878 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26879
26880 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26881
26882 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26883 __msg_sig_post.
26884 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26885
26886 2015-10-09 Joseph Myers <joseph@codesourcery.com>
26887
26888 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26889 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26890
26891 * sysdeps/arm/libm-test-ulps: Regenerated.
26892
26893 [BZ #15470]
26894 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26895
26896 [BZ #16399]
26897 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26898 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26899 and <fix-fp-int-convert-overflow.h>.
26900 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26901 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26902 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26903 and <fix-fp-int-convert-overflow.h>.
26904 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26905 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26906 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26907 <fix-fp-int-convert-overflow.h>.
26908 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26909 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26910 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26911 <fix-fp-int-convert-overflow.h>.
26912 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26913 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26914 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26915 and <fix-fp-int-convert-overflow.h>.
26916 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26917 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26918 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26919 <limits.h> and <fix-fp-int-convert-overflow.h>.
26920 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26921 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26922 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26923 and <fix-fp-int-convert-overflow.h>.
26924 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26925 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26926 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26927 and <fix-fp-int-convert-overflow.h>.
26928 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26929 FIX_DBL_LLONG_CONVERT_OVERFLOW.
26930 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26931
26932 2015-10-09 Carlos O'Donell <carlos@redhat.com>
26933
26934 [BZ #18589]
26935 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26936 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26937 $(gen-locales).
26938
26939 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26940 Phil Blundell <pb@pbcl.net>
26941
26942 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26943 * nptl/tst-cancel26.c: New file.
26944 * nptl/tst-cancel27.c: Likewise.
26945
26946 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
26947
26948 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26949 __ILP32__ isn't defined.
26950 (lrint): Likewise.
26951 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26952 (lrintf): Likewise.
26953 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26954 (lrintl): Likewise.
26955 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26956 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26957 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26958
26959 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26960
26961 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26963
26964 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26965 file.
26966 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26967 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26968
26969 2015-10-09 Joseph Myers <joseph@codesourcery.com>
26970
26971 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26972 configure test.
26973 * sysdeps/i386/configure: Regenerated.
26974 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26975 configure test.
26976 * sysdeps/x86_64/configure: Regenerated.
26977 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26978 Make code unconditional.
26979
26980 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26981 test.
26982 * sysdeps/i386/configure: Regenerated.
26983 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26984 test.
26985 * sysdeps/x86_64/configure: Regenerated.
26986 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26987 Make code unconditional.
26988 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26989 Likewise.
26990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26991 Likewise.
26992 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26993 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26994 code unconditional.
26995 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26996 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26997 code unconditional.
26998 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26999 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
27000 code unconditional.
27001 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
27002 code unconditional.
27003 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27004 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
27005 code unconditional.
27006 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27007 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
27008 code unconditional.
27009 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27010 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
27011 code unconditional.
27012 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27013 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
27014 code unconditional.
27015 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27016 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
27017
27018 [BZ #19095]
27019 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
27020 mantissa to long int before shifting left.
27021
27022 2015-10-08 Joseph Myers <joseph@codesourcery.com>
27023
27024 [BZ #19094]
27025 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
27026 <limits.h>.
27027 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27028 when result overflows but exception would not result from cast.
27029 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
27030 <limits.h>.
27031 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27032 when result overflows but exception would not result from cast.
27033 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
27034 <limits.h>.
27035 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27036 when result overflows but exception would not result from cast.
27037 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
27038 <limits.h>.
27039 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27040 when result overflows but exception would not result from cast.
27041 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
27042 <limits.h>.
27043 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27044 when result overflows but exception would not result from cast.
27045 * math/libm-test.inc (lrint_test_data): Add more tests.
27046 (llrint_test_data): Likewise.
27047
27048 2015-10-08 Roland McGrath <roland@hack.frob.com>
27049
27050 [BZ #18872]
27051 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
27052 Move out from under [$(run-built-tests) = yes] conditional.
27053 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
27054 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
27055
27056 2015-10-08 Carlos O'Donell <carlos@redhat.com>
27057
27058 [BZ #18589]
27059 * string/Makefile (tests): Add bug-strcoll2.
27060 (LOCALES): Add cs_CZ.UTF-8.
27061 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
27062
27063 [BZ #18589]
27064 * string/bug-strcoll2.c: New file.
27065 * locale/categories.def: Revert commit
27066 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
27067 * locale/langinfo.h: Likewise.
27068 * locale/localeinfo.h: Likewise.
27069 * locale/C-collate.c: Likewise.
27070 * locale/programs/ld-collate.c (collate_output): Likewise.
27071 * string/strcoll_l.c (STRDIFF): Likewise.
27072 (STRCOLL): Likewise.
27073 * wcsmbs/wcscoll_l.c: Likewise.
27074
27075 2015-10-08 Joseph Myers <joseph@codesourcery.com>
27076
27077 * math/libm-test.inc (lround_test_data): Do not expect the absence
27078 of "inexact" for some tests with non-integer arguments.
27079 (llround_test_data): Likewise.
27080
27081 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
27082 test.
27083 (libc_cv_cc_sse2avx): Likewise.
27084 * sysdeps/i386/configure: Regenerated.
27085 * sysdeps/i386/i686/multiarch/Makefile
27086 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
27087 [$(subdir) = math].
27088 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
27089 code unconditional.
27090 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27091 Likewise.
27092 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
27093 Likewise.
27094 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27095 Likewise.
27096 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
27097 test.
27098 (libc_cv_cc_sse2avx): Likewise.
27099 * sysdeps/x86_64/configure: Regenerated.
27100 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
27101 unconditional.
27102 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
27103 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
27104 unconditional.
27105 (_dl_runtime_profile)
27106 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
27107 conditional code.
27108 * sysdeps/x86_64/fpu/multiarch/Makefile
27109 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
27110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27111 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27112 * sysdeps/x86_64/fpu/multiarch/e_exp.c
27113 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27114 * sysdeps/x86_64/fpu/multiarch/e_log.c
27115 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27116 * sysdeps/x86_64/fpu/multiarch/s_atan.c
27117 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27118 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27119 Likewise.
27120 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27121 Likewise.
27122 * sysdeps/x86_64/fpu/multiarch/s_sin.c
27123 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27124 * sysdeps/x86_64/fpu/multiarch/s_tan.c
27125 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27126 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
27127 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
27128 (HAVE_SSE2AVX_SUPPORT): Likewise.
27129
27130 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
27131
27132 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
27133 instead of #pragma optimize.
27134
27135 2015-10-07 Carlos O'Donell <carlos@redhat.com>
27136
27137 [BZ #17195]
27138 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
27139 as is similarly done in systrim and _int_free already.
27140
27141 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27142
27143 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
27144
27145 2015-10-07 Joseph Myers <joseph@codesourcery.com>
27146
27147 [BZ #19088]
27148 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
27149 <limits.h>.
27150 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27151 overflows but exception would not result from cast.
27152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
27153 and <limits.h>.
27154 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27155 overflows but exception would not result from cast.
27156 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
27157 <limits.h>.
27158 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27159 overflows but exception would not result from cast.
27160 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
27161 <limits.h>.
27162 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27163 overflows but exception would not result from cast.
27164 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
27165 <limits.h>.
27166 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27167 overflows but exception would not result from cast.
27168 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
27169 <limits.h>.
27170 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27171 overflows but exception would not result from cast.
27172 * math/libm-test.inc (lround_test_data): Add more tests.
27173 (llround_test_data): Likewise.
27174
27175 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
27176
27177 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
27178 (CFLAGS-ialloc.c): Ditto.
27179 (CFLAGS-scheck.c): Ditto.
27180
27181 2015-10-07 Carlos O'Donell <carlos@redhat.com>
27182
27183 [BZ #19086]
27184 * manual/filesys.texi (Storage Allocation): Fix argument order for
27185 posix_fallocate64.
27186
27187 2015-10-07 Joseph Myers <joseph@codesourcery.com>
27188
27189 [BZ #19085]
27190 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
27191 exponent below 48 inside case for non-overflowing exponent.
27192 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
27193
27194 2015-10-07 Florian Weimer <fweimer@redhat.com>
27195
27196 * iconvdata/cp737.h (from_idx): Add const.
27197 * iconvdata/cp775.h (from_idx): Likewise.
27198
27199 2015-10-07 Joseph Myers <joseph@codesourcery.com>
27200
27201 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
27202 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
27203 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
27204
27205 [BZ #19079]
27206 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
27207 file, conditioned on [!_LP64].
27208 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
27209 [!_LP64] (__lround): Do not define as function or alias.
27210 [!_LP64] (lround): Likewise.
27211 [!_LP64] (__lroundl): Likewise.
27212 [!_LP64] (lroundl): Likewise.
27213 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27214 macro.
27215 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27216 Likewise.
27217
27218 2015-10-06 Joseph Myers <joseph@codesourcery.com>
27219
27220 * math/libm-test.inc (lrint_test_data): Add more tests.
27221 (llrint_test_data): Likewise.
27222 (lround_test_data): Likewise.
27223 (llround_test_data): Likewise.
27224
27225 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27226 (llrint_test_data): Add tests used for lrint.
27227
27228 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27229 test.
27230 * sysdeps/i386/configure: Regenerated.
27231 * sysdeps/i386/i686/multiarch/Makefile
27232 [$(config-cflags-sse4) = yes]: Make code unconditional.
27233 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27234 Likewise.
27235 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27236 Likewise.
27237 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27238 test.
27239 * sysdeps/x86_64/configure: Regenerated.
27240 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27241 Make code unconditional.
27242 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27243 Likewise.
27244 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27245 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27246
27247 * scripts/rpm2dynsym.sh: Remove file.
27248
27249 2015-10-06 Florian Weimer <fweimer@redhat.com>
27250
27251 * configure.ac (libc_cv_cxx_thread_local): Define.
27252 * configure: Regenerate.
27253 * config.make.in (have-cxx-thread_local): Define.
27254 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27255 (LDLIBS-tst-thread_local1): Define.
27256 (tests): Add tst-thread_local1.
27257 [have-cxx-thread_local != yes] (tests-unsupported): Add
27258 tst-thread_local1.
27259 * nptl/tst-thread_local1.cc: New file.
27260
27261 2015-10-06 Joseph Myers <joseph@codesourcery.com>
27262
27263 [BZ #19078]
27264 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27265 (u_thres): Likewise.
27266 (__expl): Determine whether to call __kernel_standard_l based on
27267 value of result, not argument.
27268
27269 * math/libm-test.inc (scalb_test_data): Add more expectations for
27270 the "inexact" exception.
27271
27272 [BZ #19077]
27273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27274 0.0L for argument 1.0L.
27275
27276 [BZ #19076]
27277 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27278 constant 0.0L when computing infinite result.
27279
27280 2015-10-06 Florian Weimer <fweimer@redhat.com>
27281
27282 [BZ #10432]
27283 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27284 malloc_usable_size.
27285
27286 2015-10-06 Florian Weimer <fweimer@redhat.com>
27287
27288 [BZ #19018]
27289 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27290 Mangle function pointer before storing it.
27291 (__call_tls_dtors): Demangle function pointer before calling it.
27292
27293 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27294
27295 [BZ #19012]
27296 * iconv/gconv_db.c (gen_steps): Check for additional errors.
27297 Clean up on failure.
27298
27299 2015-10-05 Joseph Myers <joseph@codesourcery.com>
27300
27301 [BZ #19071]
27302 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27303 long int variable to store possibly incremented high part of
27304 mantissa.
27305 * math/libm-test.inc (lround_test_data): Add tests used for
27306 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
27307 for tests requiring 64-bit long. Do not condition tests on
27308 [TEST_FLOAT] unnecessarily.
27309 (llround_test_data): Add tests used for lround. Add another
27310 expectation for the "inexact" exception. Do not condition tests
27311 on [TEST_FLOAT] unnecessarily.
27312
27313 [BZ #887]
27314 [BZ #19049]
27315 [BZ #19050]
27316 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27317 * sysdeps/ieee754/dbl-64/e_log10.c: Include
27318 <fix-int-fp-convert-zero.h>.
27319 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27320 * sysdeps/ieee754/dbl-64/e_log2.c: Include
27321 <fix-int-fp-convert-zero.h>.
27322 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27323 * sysdeps/ieee754/dbl-64/s_erf.c: Include
27324 <fix-int-fp-convert-zero.h>.
27325 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27326 * sysdeps/ieee754/dbl-64/s_logb.c: Include
27327 <fix-int-fp-convert-zero.h>.
27328 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27329 * sysdeps/ieee754/flt-32/e_log10f.c: Include
27330 <fix-int-fp-convert-zero.h>.
27331 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27332 * sysdeps/ieee754/flt-32/e_log2f.c: Include
27333 <fix-int-fp-convert-zero.h>.
27334 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27335 * sysdeps/ieee754/flt-32/s_erff.c: Include
27336 <fix-int-fp-convert-zero.h>.
27337 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27338 * sysdeps/ieee754/flt-32/s_logbf.c: Include
27339 <fix-int-fp-convert-zero.h>.
27340 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27342 <fix-int-fp-convert-zero.h>.
27343 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27345 <fix-int-fp-convert-zero.h>.
27346 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27347 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27348 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27349 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27350 file.
27351 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27352
27353 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
27354
27355 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27356
27357 2015-10-02 Joseph Myers <joseph@codesourcery.com>
27358
27359 [BZ #19059]
27360 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27361 overflowing computation.
27362 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27363 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27364 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27365 Likewise.
27366 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27367 Likewise.
27368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27369 Likewise.
27370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27371 Likewise.
27372 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27373 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27374 Likewise.
27375 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27376 Likewise.
27377 * math/libm-test.inc (nexttoward_test_data): Add more tests.
27378
27379 * nss/rewrite_field.c (__nss_rewrite_field): Use
27380 internal_function.
27381 * nss/valid_field.c (__nss_valid_field): Likewise.
27382 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27383
27384 2015-10-02 Florian Weimer <fweimer@redhat.com>
27385
27386 [BZ #18724]
27387 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27388 (__nss_invalid_field_characters, __nss_valid_field)
27389 (__nss_valid_list_field, __nss_rewrite_field): Declare.
27390 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27391 tst-field.c: New file.
27392 * nss/Makefile (routines): Add valid_field, rewrite_field.
27393 (tests-static): Define unconditionally.
27394 (tests): Include tests-static.
27395 [build-static-nss] (tests-static): Use append.
27396 [build-static-nss] (tests): Remove modification.
27397 * nss/getent.c (print_group): Call putgrent. Report error.
27398 (print_gshadow): Call putsgent. Report error.
27399 (print_passwd): Call putpwent. Report error.
27400 (print_shadow): Call putspent. Report error.
27401 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
27402 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
27403 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
27404 name, password, directory, shell fields for valid syntax. Rewrite
27405 GECOS field to match syntax.
27406 * pwd/Makefile (tests): Add tst-putpwent.
27407 * pwd/tst-putpwent.c: New file.
27408 * grp/putgrent.c (putgrent): Convert to ISO function definition.
27409 Check grName, grpasswd, gr_mem fields for valid syntax.
27410 Change loop variable i to size_t.
27411 * grp/Makefile (tests): Add tst-putgrent.
27412 * grp/tst-putgrent.c: New file.
27413 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
27414 valid syntax.
27415 * shadow/Makefile (tests): Add tst-putspent.
27416 * shadow/tst-putspent.c: New file.
27417 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
27418 sg_mem fields for valid syntax.
27419 * gshadow/Makefile (tests): Add tst-putsgent.
27420 * gshadow/tst-putsgent.c: New file.
27421
27422 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27423
27424 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
27425 assembly instructions.
27426
27427 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27428
27429 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
27430 prefix from operands.
27431
27432 2015-10-01 Joseph Myers <joseph@codesourcery.com>
27433
27434 [BZ #16347]
27435 [BZ #19046]
27436 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
27437 <libc-internal.h>.
27438 (MAXLGM): Do not use diagnostic control macros.
27439 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
27440 threshold for ldbl-128ibm.
27441 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
27442 instead of multiplying by log then subtracting.
27443 * math/auto-libm-test-in: Add more tests of lgamma.
27444 * math/auto-libm-test-out: Regenerated.
27445
27446 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
27447 (TYPE_HEX_DIG): Likewise.
27448 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
27449 precisions when printing floating-point numbers.
27450 (check_float_internal): Likewise.
27451
27452 2015-09-30 Joseph Myers <joseph@codesourcery.com>
27453
27454 [BZ #16620]
27455 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
27456 of log (10) rounded downward to 48 bits.
27457 (log10_low): Use corresponding low part of log (10).
27458
27459 [BZ #19032]
27460 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
27461 compute result as (x - x) / (x - x) not as 0 / 0.
27462 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27463 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
27464
27465 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27466 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
27467 and expm1.
27468 * math/auto-libm-test-out: Regenerated.
27469 * math/libm-test.inc (acos_test_data): Add more tests.
27470 (asin_test_data): Likewise.
27471 (asinh_test_data): Likewise.
27472 (atan_test_data): Likewise.
27473 (atanh_test_data): Likewise.
27474 (atan2_test_data): Likewise.
27475 (cbrt_test_data): Likewise.
27476 (ceil_test_data): Likewise.
27477 (copysign_test_data): Likewise.
27478 (cos_test_data): Likewise.
27479 (cosh_test_data): Likewise.
27480 (erf_test_data): Likewise.
27481 (erfc_test_data): Likewise.
27482 (exp_test_data): Likewise.
27483 (exp10_test_data): Likewise.
27484 (exp2_test_data): Likewise.
27485 (expm1_test_data): Likewise.
27486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27487
27488 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
27489
27490 [BZ #19006]
27491 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
27492 to ...
27493 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
27494 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
27495 to ...
27496 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
27497 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
27498 to ...
27499 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
27500 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
27501 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
27502 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
27503 to ...
27504 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
27505 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27506 Moved to ...
27507 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
27508 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27509 Moved to ...
27510 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
27511 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
27512 to ...
27513 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
27514 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27515 Moved to ...
27516 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
27517 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
27518 to ...
27519 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
27520 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
27521 Removed.
27522 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
27523 Likewise.
27524 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
27525 Likewise.
27526 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
27527 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
27528 Likewise.
27529 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27530 Likewise.
27531 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27532 Likewise.
27533 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27534 Likewise.
27535 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27536 Likewise.
27537 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
27538 Likewise.
27539 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27540 Likewise.
27541 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27542 Likewise.
27543 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27544 Likewise.
27545 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27546 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27547 Likewise.
27548 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27549 Likewise.
27550 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27551 Likewise.
27552 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27553 Likewise.
27554 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27555 Likewise.
27556 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27557 Replace ../i486/pthread_cond_timedwait.S with
27558 ../pthread_cond_timedwait.S.
27559
27560 2015-09-30 Joseph Myers <joseph@codesourcery.com>
27561
27562 * math/libm-test.inc (acos_test_data): Refine expectations for
27563 errno and "inexact" exceptions.
27564 (acosh_test_data): Likewise.
27565 (asin_test_data): Likewise.
27566 (asinh_test_data): Likewise.
27567 (atan_test_data): Likewise.
27568 (atanh_test_data): Likewise.
27569 (atan2_test_data): Likewise.
27570 (cbrt_test_data): Likewise.
27571 (ceil_test_data): Likewise.
27572 (copysign_test_data): Likewise.
27573 (cosh_test_data): Likewise.
27574 (erf_test_data): Likewise.
27575 (erfc_test_data): Likewise.
27576 (exp_test_data): Likewise.
27577 (exp10_test_data): Likewise.
27578 (exp2_test_data): Likewise.
27579 (expm1_test_data): Likewise.
27580 (fabs_test_data): Likewise.
27581 (floor_test_data): Likewise.
27582 (fma_test_data): Likewise.
27583 (fmax_test_data): Likewise.
27584 (fmin_test_data): Likewise.
27585 (fmod_test_data): Likewise.
27586 (fpclassify_test_data): Likewise.
27587 (frexp_test_data): Likewise.
27588 (hypot_test_data): Likewise.
27589 (ilogb_test_data): Likewise.
27590 (isgreater_test_data): Likewise.
27591 (isgreaterequal_test_data): Likewise.
27592 (isinf_test_data): Likewise.
27593 (isless_test_data): Likewise.
27594 (islessequal_test_data): Likewise.
27595 (islessgreater_test_data): Likewise.
27596 (isnan_test_data): Likewise.
27597 (isnormal_test_data): Likewise.
27598 (issignaling_test_data): Likewise.
27599 (isunordered_test_data): Likewise.
27600 (j0_test_data): Likewise.
27601 (j1_test_data): Likewise.
27602 (jn_test_data): Likewise.
27603 (lgamma_test_data): Likewise.
27604 (lrint_test_data): Likewise.
27605 (llrint_test_data): Likewise.
27606 (log_test_data): Likewise.
27607 (log10_test_data): Likewise.
27608 (log1p_test_data): Likewise.
27609 (log2_test_data): Likewise.
27610 (logb_test_data): Likewise.
27611 (lround_test_data): Likewise.
27612 (llround_test_data): Likewise.
27613 (modf_test_data): Likewise.
27614 (nearbyint_test_data): Likewise.
27615 (nextafter_test_data): Likewise.
27616 (nexttoward_test_data): Likewise.
27617 (pow_test_data): Likewise.
27618 (remainder_test_data): Likewise.
27619 (remquo_test_data): Likewise.
27620 (rint_test_data): Likewise.
27621 (round_test_data): Likewise.
27622 (signbit_test_data): Likewise.
27623 (sinh_test_data): Likewise.
27624 (sqrt_test_data): Likewise.
27625 (tanh_test_data): Likewise.
27626 (tgamma_test_data): Likewise.
27627 (trunc_test_data): Likewise.
27628 (y0_test_data): Likewise.
27629 (y1_test_data): Likewise.
27630 (yn_test_data): Likewise.
27631 (significand_test_data): Likewise.
27632
27633 2015-09-29 Carlos O'Donell <carlos@redhat.com>
27634
27635 * manual/filesys.texi (Storage Allocation): Document that
27636 posix_fallocate emulation fails when fd is open with O_WRONLY.
27637
27638 2015-09-28 Joseph Myers <joseph@codesourcery.com>
27639
27640 [BZ #19016]
27641 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27642 allow more cases with X^2 + Y^2 >= 0.5.
27643 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
27644 normal element in sum instead of special-casing based on values of
27645 arguments.
27646 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27647 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
27648 -1 as normal element in sum instead of special-casing based on
27649 values of arguments.
27650 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27651 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27652 (__x2y2m1): Update comment.
27653 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
27654 as normal element in sum instead of special-casing based on values
27655 of arguments.
27656 * math/s_clog.c (__clog): Handle more cases using log1p without
27657 hypot.
27658 * math/s_clog10.c (__clog10): Likewise.
27659 * math/s_clog10f.c (__clog10f): Likewise.
27660 * math/s_clog10l.c (__clog10l): Likewise.
27661 * math/s_clogf.c (__clogf): Likewise.
27662 * math/s_clogl.c (__clogl): Likewise.
27663 * math/auto-libm-test-in: Add more tests of clog and clog10.
27664 * math/auto-libm-test-out: Regenerated.
27665 * sysdeps/i386/fpu/libm-test-ulps: Update.
27666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27667
27668 2015-09-28 Martin Sebor <msebor@redhat.com>
27669
27670 [BZ #18969]
27671 * string/Makefile (LOCALES): Define.
27672 (gen-locales.mk): Include.
27673 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27674 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27675 * string/tst-strxfrm2.c (do_test): Print the name of the locale
27676 on setlocale failure.
27677
27678 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
27679
27680 [BZ #18985]
27681 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27682 (__strftime_internal): Likewise.
27683 * time/tst-strftime.c (do_bz18985): New test.
27684 (do_test): Call it.
27685
27686 2015-09-26 Joseph Myers <joseph@codesourcery.com>
27687
27688 [BZ #18956]
27689 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27690 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
27691 extracting high part.
27692 * math/auto-libm-test-in: Add another test of pow.
27693 * math/auto-libm-test-out: Regenerated.
27694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27695
27696 2015-09-25 Joseph Myers <joseph@codesourcery.com>
27697
27698 [BZ #18825]
27699 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27700 New macro.
27701 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27702 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27703 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27704 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27705 DBL_NARROW_EVAL, reloading the PIC register as needed.
27706 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27707 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27708 FLT_NARROW_EVAL. Use separate return path for case when first
27709 argument is NaN.
27710 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
27711 DEFINE_LDBL_MIN.
27712 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27713 PIC register.
27714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27715 math_check_force_underflow_nonneg.
27716 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27717 underflow for subnormal result.
27718 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27720 math_check_force_underflow_nonneg.
27721 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27722 math_check_force_underflow.
27723 * sysdeps/x86_64/fpu/x86_64-math-asm.h
27724 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27725 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
27726 DEFINE_LDBL_MIN.
27727 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27728 * math/auto-libm-test-in: Add more tests of pow.
27729 * math/auto-libm-test-out: Regenerated.
27730
27731 2015-09-25 Florian Weimer <fweimer@redhat.com>
27732
27733 * nss/bug17079.c (init_test_items): Add diagnostic for
27734 inconsistent entries.
27735 (test_buffer_size): Skip inconsistent entries.
27736
27737 2015-09-25 Joseph Myers <joseph@codesourcery.com>
27738
27739 [BZ #13304]
27740 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27741 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27742 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27743
27744 [BZ #13304]
27745 * sysdeps/microblaze/s_fma.c: New file.
27746 * sysdeps/microblaze/s_fmaf.c: Likewise.
27747 * sysdeps/microblaze/sfp-machine.h: Likewise.
27748
27749 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
27750
27751 [BZ #17250]
27752 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27753 member.
27754
27755 2015-09-24 Joseph Myers <joseph@codesourcery.com>
27756
27757 [BZ #18803]
27758 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27759 (MO): New macro.
27760 (__ieee754_hypot) [PIC]: Load PIC register.
27761 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27762 DBL_NARROW_EVAL.
27763 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27764 math_check_force_underflow_nonneg in case where result might be
27765 tiny.
27766 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27767 Likewise.
27768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27769 Likewise.
27770 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27771 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27772 * math/auto-libm-test-in: Add more tests of hypot.
27773 * math/auto-libm-test-out: Regenerated.
27774
27775 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
27776
27777 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27778
27779 2015-09-24 Joseph Myers <joseph@codesourcery.com>
27780
27781 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27782 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27783 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27784 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27785 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27786 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27787 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27788
27789 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27790 LOAD_PIC_REG.
27791
27792 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27793 (FLT_CHECK_FORCE_UFLOW): Likewise.
27794 (DBL_CHECK_FORCE_UFLOW): Likewise.
27795 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27796 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27797 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27798 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27799 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27800 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27801 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27802 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27803 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27804 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27805 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27806 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27807 (flt_min): Replace with use of DEFINE_FLT_MIN.
27808 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27809 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27810 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27811 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27812 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27813 (flt_min): Replace with use of DEFINE_FLT_MIN.
27814 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27815 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27816 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27817 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27818 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27819 (flt_min): Replace with use of DEFINE_FLT_MIN.
27820 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27821 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27822 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27823 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27824 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27825 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27826 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27827 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27828 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27829 (__atan): Use DBL_CHECK_FORCE_UFLOW.
27830 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27831 (flt_min): Replace with use of DEFINE_FLT_MIN.
27832 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27833 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27834 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27835 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
27836 main computation.
27837 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27838 (flt_min): Replace with use of DEFINE_FLT_MIN.
27839 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
27840 main computation.
27841 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27842 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27843 (MO): New macro.
27844 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27845 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27846 (flt_min): Replace with use of DEFINE_FLT_MIN.
27847 (MO): New macro.
27848 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27849 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27850 (__log1pl): Use MO.
27851
27852 [BZ #19003]
27853 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27854 $(config-cflags-nofma).
27855
27856 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
27857
27858 * sysdeps/aarch64/libm-test-ulps: Regenerated.
27859
27860 2015-09-23 Joseph Myers <joseph@codesourcery.com>
27861
27862 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27863 (TWO127): Likewise.
27864
27865 * sysdeps/generic/math_private.h (fabs_tg): New macro.
27866 (min_of_type): Likewise.
27867 (math_check_force_underflow): Likewise.
27868 (math_check_force_underflow_nonneg): Likewise.
27869 (math_check_force_underflow_complex): Likewise.
27870 * math/e_exp2l.c (__ieee754_exp2l): Use
27871 math_check_force_underflow_nonneg.
27872 * math/k_casinh.c (__kernel_casinh): Likewise.
27873 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27874 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27875 * math/s_catan.c (__catan): Use
27876 math_check_force_underflow_complex.
27877 * math/s_catanf.c (__catanf): Likewise.
27878 * math/s_catanh.c (__catanh): Likewise.
27879 * math/s_catanhf.c (__catanhf): Likewise.
27880 * math/s_catanhl.c (__catanhl): Likewise.
27881 * math/s_catanl.c (__catanl): Likewise.
27882 * math/s_ccosh.c (__ccosh): Likewise.
27883 * math/s_ccoshf.c (__ccoshf): Likewise.
27884 * math/s_ccoshl.c (__ccoshl): Likewise.
27885 * math/s_cexp.c (__cexp): Likewise.
27886 * math/s_cexpf.c (__cexpf): Likewise.
27887 * math/s_cexpl.c (__cexpl): Likewise.
27888 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27889 * math/s_clog10.c (__clog10): Likewise.
27890 * math/s_clog10f.c (__clog10f): Likewise.
27891 * math/s_clog10l.c (__clog10l): Likewise.
27892 * math/s_clogf.c (__clogf): Likewise.
27893 * math/s_clogl.c (__clogl): Likewise.
27894 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27895 * math/s_csinf.c (__csinf): Likewise.
27896 * math/s_csinh.c (__csinh): Likewise.
27897 * math/s_csinhf.c (__csinhf): Likewise.
27898 * math/s_csinhl.c (__csinhl): Likewise.
27899 * math/s_csinl.c (__csinl): Likewise.
27900 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27901 * math/s_csqrtf.c (__csqrtf): Likewise.
27902 * math/s_csqrtl.c (__csqrtl): Likewise.
27903 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27904 * math/s_ctanf.c (__ctanf): Likewise.
27905 * math/s_ctanh.c (__ctanh): Likewise.
27906 * math/s_ctanhf.c (__ctanhf): Likewise.
27907 * math/s_ctanhl.c (__ctanhl): Likewise.
27908 * math/s_ctanl.c (__ctanl): Likewise.
27909 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27910 instead of volatile.
27911 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27912 math_check_force_underflow.
27913 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27914 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27915 volatile when forcing underflow.
27916 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27917 math_check_force_underflow_nonneg.
27918 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27919 Likewise.
27920 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27921 math_check_force_underflow.
27922 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27923 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27924 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27925 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27926 math_check_force_underflow_nonneg.
27927 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27928 math_check_force_underflow.
27929 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27931 instead of volatile.
27932 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27933 math_check_force_underflow.
27934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27935 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27936 math_check_force_underflow_nonneg.
27937 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27938 math_check_force_underflow.
27939 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27940 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27941 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27942 math_check_force_underflow_nonneg.
27943 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27944 Likewise.
27945 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27946 math_check_force_underflow.
27947 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27948 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27949 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27950 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27951 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27952 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27953 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27954 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27955 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27956 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27957 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27958 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27959 Likewise.
27960 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27961 math_check_force_underflow_nonneg.
27962 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27963 Likewise.
27964 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27965 math_check_force_underflow.
27966 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27967 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27968 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27969 Likewise.
27970 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27971 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27972 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27973 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27974 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27975 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27977 instead of volatile.
27978 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27979 math_check_force_underflow.
27980 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27982 math_check_force_underflow.
27983 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27984 Likewise.
27985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27986 Use math_check_force_underflow_nonneg.
27987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27988 math_check_force_underflow.
27989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27990 Likewise.
27991 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27992 Likewise.
27993 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27994 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27995 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27996 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27998 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27999 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28000 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28001 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
28002 math_check_force_underflow_nonneg.
28003 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
28004 math_check_force_underflow.
28005 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28006 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28007 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
28008 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
28009 math_check_force_underflow_nonneg.
28010 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
28011 math_check_force_underflow.
28012 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
28014 instead of volatile.
28015 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
28016 math_check_force_underflow.
28017
28018 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
28019 * stdlib/strtod_l.c: Include <math_private.h>.
28020 (overflow_value): Use math_narrow_eval.
28021 (underflow_value): Likewise.
28022 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28023 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28024 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
28025 (__ieee754_gamma_r): Likewise.
28026 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
28027 Likewise.
28028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
28029 Likewise.
28030 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
28031 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
28032 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28033 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28034 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
28035 (__ieee754_gammaf_r): Likewise.
28036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
28037 Likewise.
28038 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
28039 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
28040 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28041 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28042 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
28043 volatile.
28044 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28045 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
28046 math_narrow_eval.
28047 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28048 Likewise.
28049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28050 Likewise.
28051 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
28052 Likewise.
28053 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
28054 volatile.
28055 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28056 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
28057 math_narrow_eval.
28058 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28059 Likewise.
28060 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28061 Likewise.
28062
28063 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
28064
28065 * nptl/Versions: Remove ignored symbols.
28066
28067 2015-09-22 Florian Weimer <fweimer@redhat.com>
28068
28069 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
28070 * nss/Makefile (tests): Update.
28071
28072 2015-09-22 Florian Weimer <fweimer@redhat.com>
28073
28074 * nss/bug18287.c: New file.
28075 * nss/Makefile (tests): Add bug18287.
28076
28077 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28078
28079 * mach/Versions (__mach_host_self_): Add symbol.
28080
28081 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
28082
28083 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
28084 vm_page_size.
28085
28086 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
28087
28088 Really fix sysdeps/i386/fpu/s_scalbn.S build
28089
28090 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
28091 (libc: GLIBC_2_22): Remove unused version set.
28092
28093 2015-09-18 Mike Frysinger <vapier@gentoo.org>
28094
28095 * config.make.in (enable-timezone-tools): New variable.
28096 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
28097 (enable_timezone_tools): Export to generated files.
28098 * configure: Regenerate.
28099 * INSTALL: Regenerate.
28100 * manual/install.texi (--disable-timezone-tools): Document new flag.
28101 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
28102 ifeq ($(enable-timezone-tools),yes) check.
28103
28104 2015-09-18 Joseph Myers <joseph@codesourcery.com>
28105
28106 * timezone/Makefile: Revert previous change.
28107
28108 [BZ #18980]
28109 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
28110 (DEFINE_DBL_MIN): Likewise.
28111 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28112 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28113 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28114 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28115 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
28116 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28117 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28118 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
28119 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
28120 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28121 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28122 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
28123 (flt_min): Replace with use of DEFINE_FLT_MIN.
28124 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28125 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
28126 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28127 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28128 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
28129 (flt_min): Replace with use of DEFINE_FLT_MIN.
28130 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28131 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
28132 (flt_min): Replace with use of DEFINE_FLT_MIN.
28133 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28134 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
28135 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
28136 (__ieee754_hypot): Use DBL_NARROW_EVAL.
28137 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
28138 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
28139 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
28140 (__ieee754_pow): Use DBL_NARROW_EVAL.
28141 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
28142 (__ieee754_powf): Use FLT_NARROW_EVAL.
28143 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
28144 (__ieee754_expf_sse2): Convert double-precision result to single
28145 precision.
28146 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147
28148 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
28149
28150 * timezone/Makefile: Ignore unused variable errors due to private.h
28151 (time_t_min) and (time_t_max).
28152 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
28153 Likewise.
28154
28155 2015-09-18 Joseph Myers <joseph@codesourcery.com>
28156
28157 [BZ #18981]
28158 * sysdeps/i386/fpu/i386-math-asm.h: New file.
28159 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
28160 (__ieee754_scalb): Use DBL_NARROW_EVAL.
28161 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
28162 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
28163 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
28164 (__scalbn): Use DBL_NARROW_EVAL.
28165 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
28166 (__scalbnf): Use FLT_NARROW_EVAL.
28167
28168 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
28169
28170 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
28171 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
28172 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
28173 * stdio-common/printf_fp.c (___printf_fp):
28174 Use signbit to get the sign. Use isinf macro to allow inlining.
28175 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
28176 * stdio-common/printf_size.c (__printf_size): Likewise.
28177
28178 2015-09-18 Mike Frysinger <vapier@gentoo.org>
28179
28180 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28181
28182 2015-09-18 Joseph Myers <joseph@codesourcery.com>
28183
28184 [BZ #18980]
28185 * sysdeps/generic/math_private.h: Include <float.h>.
28186 (math_narrow_eval): New macro.
28187 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
28188 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
28189 math_narrow_eval on overflowing return value.
28190 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
28191 Likewise.
28192 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28193 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
28194 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
28195 Likewise.
28196 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28197
28198 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
28199
28200 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
28201 * math/Makefile: Remove isinf_ns.c.
28202 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
28203 * math/multc3.c (__multc3): Likewise.
28204 * math/s_casin.c (__casin): Likewise.
28205 * math/s_casinf.c (__casinf): Likewise.
28206 * math/s_casinl.c (__casinl): Likewise.
28207 * math/s_cproj.c (__cproj): Likewise.
28208 * math/s_cprojf.c (__cprojf): Likewise.
28209 * math/s_cprojl.c (__cprofl): Likewise.
28210 * math/s_ctan.c (__ctan): Likewise.
28211 * math/s_ctanf.c (__ctanf): Likewise.
28212 * math/s_ctanh.c (__ctanh): Likewise.
28213 * math/s_ctanhf.c (__ctanhf): Likewise.
28214 * math/s_ctanhl.c (__ctanhl): Likewise.
28215 * math/s_ctanl.c (__ctanl): Likewise.
28216 * math/w_fmod.c (__fmod): Likewise.
28217 * math/w_fmodf.c (__fmodf): Likewise.
28218 * math/w_fmodl.c (_fmodl): Likewise.
28219 * math/w_remainder.c (__remainder): Likewise.
28220 * math/w_remainderf.c (__remainderf): Likewise.
28221 * math/w_remainderl.c (__remainderl): Likewise.
28222 * math/w_scalb.c (__scalb): Likewise.
28223 * math/w_scalbf.c (__scalbf): Likewise.
28224 * math/w_scalbl.c (__scalbl): Likewise.
28225 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28226 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28227 with isinf.
28228 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28230 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28231 __isinf_nsf with isinf.
28232 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28234 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28235 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28236 with isinf.
28237 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28238 __isinf_nsl with isinf.
28239 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28240 with isinf.
28241 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28242 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28243 __isinf_nsl with isinf.
28244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28245 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28246 with isinf.
28247
28248 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
28249
28250 * resolv/base64.c (rcsid): Remove unused static.
28251 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28252 static. (tqpi1): Likewise.
28253 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28254 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28255 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28256 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28258 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28259 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28260 * timezone/private.h (time_t_min): Likewise. (time_t_max):
28261 Likewise.
28262
28263 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
28264
28265 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28266 <nptl/pthreadP.h>.
28267 (_longjmp_unwind): Use __libc_ptf_call.
28268 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28269
28270 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
28271
28272 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28273 * sysdeps/arm/__longjmp.S: Likewise.
28274
28275 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
28276
28277 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28278 Use __builtin_signbit.
28279 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28280 Use __builtin_signbitf.
28281 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28282 Use __builtin_signbitl.
28283 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28284 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28285
28286 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
28287
28288 [BZ #15367]
28289 [BZ #17441]
28290
28291 * math/Makefile: Build test-snan.c with -fsignaling-nans.
28292 * math/math.h (fpclassify): Use __builtin_fpclassify when
28293 available. (signbit): Use __builtin_signbit(f/l).
28294 (isfinite): Use__builtin_isfinite. (isnormal): Use
28295 __builtin_isnormal. (isnan): Use __builtin_isnan.
28296 (isinf): Use __builtin_isinf_sign.
28297
28298 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
28299
28300 * benchtests/Makefile: Add bench-math-inlines, link with libm.
28301 * benchtests/bench-math-inlines.c: New benchmark.
28302 * benchtests/bench-util.h: New file.
28303 * benchtests/bench-util.c: New file.
28304 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28305
28306 2015-09-18 Carlos O'Donell <carlos@redhat.com>
28307
28308 * elf/tst-dlmopen1.c: Define TEST_SO.
28309 (do_test): Use TEST_SO.
28310
28311 * elf/dl-load.c: Include libc-internal.h.
28312 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28313
28314 2015-09-18 Vincent Bernat <vincent@bernat.im>
28315
28316 [BZ #17887]
28317 * time/strptime_l.c (__strptime_internal): Make %z accept
28318 [+-]HH:MM time zones.
28319
28320 2015-09-18 Vincent Bernat <vincent@bernat.im>
28321
28322 [BZ #17886]
28323 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28324 valid time zone.
28325
28326 2015-09-17 Mike Frysinger <vapier@gentoo.org>
28327
28328 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28329 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28330 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28331 (__ASSUME_FDATASYNC): Delete.
28332
28333 2015-09-17 Joseph Myers <joseph@codesourcery.com>
28334
28335 * conform/linknamespace.pl: Require weak undefined symbols to be
28336 in the standard namespace.
28337 (%strong_syms): Rename to %seen_syms.
28338 (%strong_seen): Rename to %seen_where.
28339
28340 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 [BZ #18970]
28343 * misc/error.c (error): Replace pthread_setcancelstate with
28344 __pthread_setcancelstate.
28345 (error_at_line): Likewise.
28346 * posix/wordexp.c (parse_comm): Likewise.
28347 * stdlib/fmtmsg.c (fmtmsg): Likewise.
28348 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28349 (__pthread_setcancelstate): This.
28350 (pthread_setcancelstate): Add an alias.
28351 * nptl/nptl-init.c (pthread_functions): Replace
28352 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28353 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28354 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28355 hidden_proto.
28356 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28357 it with hidden_def.
28358 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28359 (pthread_setcancelstate): Renamed to ...
28360 (__pthread_setcancelstate): This.
28361 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28362 __libc_ptf_call with __pthread_setcancelstate.
28363
28364 2015-09-17 Joseph Myers <joseph@codesourcery.com>
28365 Andreas Schwab <schwab@suse.de>
28366
28367 [BZ #17118]
28368 * math/s_ctan.c (__ctan): Determine sign of zero real part of
28369 result when imaginary part of argument is infinite using sine and
28370 cosine.
28371 * math/s_ctanf.c (__ctanf): Likewise.
28372 * math/s_ctanl.c (__ctanl): Likewise.
28373 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28374 of result when real part of argument is infinite using sine and
28375 cosine.
28376 * math/s_ctanhf.c (__ctanhf): Likewise.
28377 * math/s_ctanhl.c (__ctanhl): Likewise.
28378 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28379 (ctanh_test_data): Add more tests of ctanh.
28380
28381 2015-09-17 Joseph Myers <joseph@codesourcery.com>
28382
28383 [BZ #15384]
28384 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28385 bit-mask as in subtraction.
28386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28387 Likewise.
28388 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28389 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28390 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28391
28392 [BZ #18951]
28393 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
28394 underflow exception for small results.
28395 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28396 Likewise.
28397 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28398 Likewise.
28399 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28400 Likewise.
28401 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28402 Likewise.
28403 * math/auto-libm-test-in: Add more tests of tgamma.
28404 * math/auto-libm-test-out: Regenerated.
28405
28406 2015-09-17 Andreas Schwab <schwab@suse.de>
28407
28408 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
28409
28410 2015-09-16 Joseph Myers <joseph@codesourcery.com>
28411
28412 [BZ #18977]
28413 * math/bits/mathcalls.h
28414 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
28415 not declare.
28416 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
28417 Likewise.
28418 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
28419 Likewise.
28420 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
28421 Likewise.
28422 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
28423 Likewise.
28424 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
28425 Likewise.
28426 * conform/data/math.h-data
28427 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
28428 function.
28429 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
28430 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
28431 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
28432 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
28433 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
28434 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
28435 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
28436 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
28437 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
28438 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
28439 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
28440
28441 [BZ #6803]
28442 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
28443 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
28444 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
28445 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
28446 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
28447 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
28448 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
28449 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
28450 [NO_LONG_DOUBLE] (scalbnl): Likewise.
28451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
28452 Likewise.
28453 [NO_LONG_DOUBLE] (scalbnl): Likewise.
28454 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
28455 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
28456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
28457 long_double_symbol calls.
28458 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
28459 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
28460 strong alias of __ldexpl.
28461 (scalbnl): Define using long_double_symbol.
28462 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
28463 Remove alias.
28464 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
28465 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
28466 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
28467 (scalbln_test_data): Add more errno expectations.
28468
28469 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
28470
28471 Cache the host port like we cache the task port. This way we do not
28472 need to call the kernel just to get the port. Furthermore, we no
28473 longer increase the reference count on every invocation of
28474 `mach_host_self'.
28475
28476 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
28477 Protect declarations against the macro expansion.
28478 * mach/mach_init.c (__mach_host_self_): New variable.
28479 (mach_init): Initialize `__mach_host_self_'.
28480 * mach/mach_init.h (__mach_host_self_): New declaration.
28481 (__mach_host_self, mach_host_self): New macros.
28482 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
28483 Release reference.
28484
28485 2015-09-16 Joseph Myers <joseph@codesourcery.com>
28486
28487 [BZ #4404]
28488 * po/de.po: Update from Translation Project.
28489
28490 [BZ #16415]
28491 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
28492 (__expm1l): Remove code to handle positive infinity and overflow.
28493 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
28494 variable.
28495 (__expm1l): Remove code to handle positive infinity and overflow.
28496
28497 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
28498 Paul Pluzhnikov <ppluzhnikov@google.com>
28499
28500 [BZ #18872]
28501 * stdio-common/Makefile (tst-printf-bz18872): New test.
28502 (tst-printf-bz18872-mem.out): Likewise.
28503 * stdio-common/tst-printf-bz18872.sh: Generate new test.
28504 * stdio-common/vfprintf.c: Fix memory leaks.
28505
28506 2015-09-16 Andreas Schwab <schwab@suse.de>
28507
28508 [BZ #17244]
28509 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
28510 Remove extra va_start/va_end calls.
28511
28512 [BZ #17243]
28513 * posix/execl.c (execl): Add missing va_end.
28514 * posix/execle.c (execle): Likewise.
28515 * posix/execlp.c (execlp): Likewise.
28516
28517 2015-09-15 Roland McGrath <roland@hack.frob.com>
28518
28519 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
28520 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
28521
28522 2015-09-15 Joseph Myers <joseph@codesourcery.com>
28523
28524 [BZ #18967]
28525 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
28526 undefine around includes of <bits/mathcalls.h>.
28527 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
28528 not declare function.
28529 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
28530 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
28531 (scalb): Likewise.
28532 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
28533 not define macro.
28534 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
28535 variable.
28536 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28537 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28538 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28539
28540 [BZ #18857]
28541 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28542 return non-finite argument without doing ordered comparisons on
28543 it.
28544
28545 [BZ #16296]
28546 * math/fenv.h (fegetround): Use __attribute_pure__.
28547 * include/fenv.h (__fegetround): Likewise.
28548
28549 [BZ #18595]
28550 * math/s_ctan.c (__ctan): Force underflow exception for results
28551 whose real or imaginary part has small absolute value.
28552 * math/s_ctanf.c (__ctanf): Likewise.
28553 * math/s_ctanh.c (__ctanh): Likewise.
28554 * math/s_ctanhf.c (__ctanhf): Likewise.
28555 * math/s_ctanhl.c (__ctanhl): Likewise.
28556 * math/s_ctanl.c (__ctanl): Likewise.
28557 * math/auto-libm-test-in: Do not allow missing underflow for ctan
28558 and ctanh. Add more tests of ctan and ctanh.
28559
28560 [BZ #15918]
28561 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28562 handling of cases where one argument is an infinity.
28563
28564 [BZ #18875]
28565 [BZ #18966]
28566 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28567 (MO): New macro.
28568 (__ieee754_exp10): For small results, force underflow exception
28569 and remove excess range and precision from return value.
28570 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28571 (MO): New macro.
28572 (__ieee754_exp10f): For small results, force underflow exception
28573 and remove excess range and precision from return value.
28574 * math/auto-libm-test-in: Add more tests of exp10.
28575 * math/auto-libm-test-out: Regenerated.
28576
28577 2015-09-14 Joseph Myers <joseph@codesourcery.com>
28578
28579 [BZ #18875]
28580 [BZ #18961]
28581 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28582 (MO): New macro.
28583 (__ieee754_exp): For small results, force underflow exception and
28584 remove excess range and precision from return value.
28585 (__exp_finite): Likewise.
28586 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28587 (MO): New macro.
28588 (__ieee754_expf): For small results, force underflow exception and
28589 remove excess range and precision from return value.
28590 (__expf_finite): Likewise.
28591 * math/auto-libm-test-in: Add more tests of exp.
28592 * math/auto-libm-test-out: Regenerated.
28593
28594 [BZ #16521]
28595 [BZ #18875]
28596 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28597 small results.
28598 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28599 (MO): New macro.
28600 (__ieee754_exp2): For small results, force underflow exception and
28601 remove excess range and precision from return value.
28602 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28603 (MO): New macro.
28604 (__ieee754_exp2f): For small results, force underflow exception
28605 and remove excess range and precision from return value.
28606 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28607 (MO): New macro.
28608 (__ieee754_exp2l): Force underflow exception for small results.
28609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28610 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28611 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28612 (MO): New macro.
28613 (__ieee754_exp2l): Force underflow exception for small results.
28614 * math/auto-libm-test-in: Add more tests or exp2.
28615 * math/auto-libm-test-out: Regenerated.
28616
28617 2015-09-14 Carlos O'Donell <carlos@redhat.com>
28618
28619 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28620
28621 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28622 /dev/null.
28623
28624 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
28625
28626 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28627 io fs process)): Drop spurious backslash.
28628
28629 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
28630
28631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28632 Use sysinfo system call instead of parsing /proc/meminfo.
28633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28634 Likewise.
28635
28636 2015-09-11 Mike Frysinger <vapier@gentoo.org>
28637
28638 [BZ #16985]
28639 * programs/localedef.c (main): Display argv[remaining] when
28640 output_path is NULL.
28641
28642 2015-09-11 Joseph Myers <joseph@codesourcery.com>
28643
28644 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28645 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28646 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28647 tanh.
28648 * math/auto-libm-test-out: Regenerated.
28649 * sysdeps/i386/fpu/libm-test-ulps: Update.
28650 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28651 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28653
28654 2015-09-11 Roland McGrath <roland@hack.frob.com>
28655
28656 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28657 Use 'override' keyword to freeze the value here, preventing
28658 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28659
28660 2015-09-11 Joseph Myers <joseph@codesourcery.com>
28661
28662 [BZ #14912]
28663 * sysdeps/aarch64/bits/atomic.h: Move to ...
28664 * sysdeps/aarch64/atomic-machine.h: ...here.
28665 (_AARCH64_BITS_ATOMIC_H): Rename macro to
28666 _AARCH64_ATOMIC_MACHINE_H.
28667 * sysdeps/alpha/bits/atomic.h: Move to ...
28668 * sysdeps/alpha/atomic-machine.h: ...here.
28669 * sysdeps/arm/bits/atomic.h: Move to ...
28670 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
28671 * bits/atomic.h: Move to ...
28672 * sysdeps/generic/atomic-machine.h: ...here.
28673 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28674 * sysdeps/i386/bits/atomic.h: Move to ...
28675 * sysdeps/i386/atomic-machine.h: ...here.
28676 * sysdeps/ia64/bits/atomic.h: Move to ...
28677 * sysdeps/ia64/atomic-machine.h: ...here.
28678 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28679 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28680 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28681 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28682 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28683 * sysdeps/microblaze/bits/atomic.h: Move to ...
28684 * sysdeps/microblaze/atomic-machine.h: ...here.
28685 * sysdeps/mips/bits/atomic.h: Move to ...
28686 * sysdeps/mips/atomic-machine.h: ...here.
28687 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28688 * sysdeps/powerpc/bits/atomic.h: Move to ...
28689 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
28690 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28691 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
28692 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
28693 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28694 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
28695 <atomic-machine.h> instead of <bits/atomic.h>.
28696 * sysdeps/s390/bits/atomic.h: Move to ...
28697 * sysdeps/s390/atomic-machine.h: ...here.
28698 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28699 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28700 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28701 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28702 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28703 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28704 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28705 * sysdeps/tile/bits/atomic.h: Move to ...
28706 * sysdeps/tile/atomic-machine.h: ...here.
28707 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28708 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
28709 <sysdeps/tile/atomic-machine.h> instead of
28710 <sysdeps/tile/bits/atomic.h>.
28711 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28712 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28713 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
28714 <sysdeps/tile/atomic-machine.h> instead of
28715 <sysdeps/tile/bits/atomic.h>.
28716 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28717 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28718 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
28719 <sysdeps/arm/atomic-machine.h> instead of
28720 <sysdeps/arm/bits/atomic.h>.
28721 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28722 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28723 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28724 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28725 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28726 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28727 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28728 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28729 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28730 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28731 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28732 * sysdeps/x86_64/bits/atomic.h: Move to ...
28733 * sysdeps/x86_64/atomic-machine.h: ...here.
28734 * include/atomic.h: Include <atomic-machine.h> instead of
28735 <bits/atomic.h>.
28736
28737 * sysdeps/mips/mips32/libm-test-ulps: Update.
28738 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28739
28740 [BZ #18952]
28741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28742 not convert non-integer negative arguments to int to determine the
28743 value of signgam.
28744 * math/auto-libm-test-in: Add more tests of lgamma.
28745 * math/auto-libm-test-out: Regenerated.
28746
28747 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28748 cosh, csqrt, erfc, expm1 and lgamma.
28749 * math/auto-libm-test-out: Regenerated.
28750 * sysdeps/i386/fpu/libm-test-ulps: Update.
28751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28752
28753 2015-09-10 Joseph Myers <joseph@codesourcery.com>
28754
28755 [BZ #2542]
28756 [BZ #2543]
28757 [BZ #2558]
28758 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28759 __lgamma_neg for arguments from -28.0 to -2.0.
28760 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28761 __lgamma_negf for arguments from -15.0 to -2.0.
28762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28763 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28764 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28765 Call __lgamma_negl for arguments from -33.0 to -2.0.
28766 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28767 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28768 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28769 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28776 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28777 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28778 (__lgamma_neg): Likewise.
28779 (__lgamma_negl): Likewise.
28780 (__lgamma_product): Likewise.
28781 (__lgamma_productl): Likewise.
28782 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28783 * math/auto-libm-test-in: Add more tests of lgamma.
28784 * math/auto-libm-test-out: Regenerated.
28785 * sysdeps/i386/fpu/libm-test-ulps: Update.
28786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28787
28788 2015-09-09 Justin Maggard <jmaggard@netgear.com>
28789
28790 [BZ #18675]
28791 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28792
28793 2015-09-08 Joseph Myers <joseph@codesourcery.com>
28794
28795 [BZ #14912]
28796 * bits/libc-lock.h: Move to ...
28797 * sysdeps/generic/libc-lock.h: ...here.
28798 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28799 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28800 * sysdeps/mach/hurd/libc-lock.h: ...here.
28801 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28802 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28803 * sysdeps/mach/bits/libc-lock.h: Move to ...
28804 * sysdeps/mach/libc-lock.h: ...here.
28805 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28806 * sysdeps/nptl/bits/libc-lock.h: Move to ...
28807 * sysdeps/nptl/libc-lock.h: ...here.
28808 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28809 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28810 * sysdeps/nptl/libc-lockP.h: ...here.
28811 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28812 * crypt/crypt_util.c: Include <libc-lock.h> instead of
28813 <bits/libc-lock.h>.
28814 * dirent/scandir-tail.c: Likewise.
28815 * dlfcn/dlerror.c: Likewise.
28816 * elf/dl-close.c: Likewise.
28817 * elf/dl-iteratephdr.c: Likewise.
28818 * elf/dl-lookup.c: Likewise.
28819 * elf/dl-open.c: Likewise.
28820 * elf/dl-support.c: Likewise.
28821 * elf/dl-writev.h: Likewise.
28822 * elf/rtld.c: Likewise.
28823 * grp/fgetgrent.c: Likewise.
28824 * gshadow/fgetsgent.c: Likewise.
28825 * gshadow/sgetsgent.c: Likewise.
28826 * iconv/gconv_conf.c: Likewise.
28827 * iconv/gconv_db.c: Likewise.
28828 * iconv/gconv_dl.c: Likewise.
28829 * iconv/gconv_int.h: Likewise.
28830 * iconv/gconv_trans.c: Likewise.
28831 * include/link.h: Likewise.
28832 * inet/getnameinfo.c: Likewise.
28833 * inet/getnetgrent.c: Likewise.
28834 * inet/getnetgrent_r.c: Likewise.
28835 * intl/bindtextdom.c: Likewise.
28836 * intl/dcigettext.c: Likewise.
28837 * intl/finddomain.c: Likewise.
28838 * intl/gettextP.h: Likewise.
28839 * intl/loadmsgcat.c: Likewise.
28840 * intl/localealias.c: Likewise.
28841 * intl/textdomain.c: Likewise.
28842 * libidn/idn-stub.c: Likewise.
28843 * libio/libioP.h: Likewise.
28844 * locale/duplocale.c: Likewise.
28845 * locale/freelocale.c: Likewise.
28846 * locale/newlocale.c: Likewise.
28847 * locale/setlocale.c: Likewise.
28848 * login/getutent_r.c: Likewise.
28849 * login/getutid_r.c: Likewise.
28850 * login/getutline_r.c: Likewise.
28851 * login/utmp-private.h: Likewise.
28852 * login/utmpname.c: Likewise.
28853 * malloc/mtrace.c: Likewise.
28854 * misc/efgcvt.c: Likewise.
28855 * misc/error.c: Likewise.
28856 * misc/fstab.c: Likewise.
28857 * misc/getpass.c: Likewise.
28858 * misc/mntent.c: Likewise.
28859 * misc/syslog.c: Likewise.
28860 * nis/nis_call.c: Likewise.
28861 * nis/nis_callback.c: Likewise.
28862 * nis/nss-default.c: Likewise.
28863 * nis/nss_compat/compat-grp.c: Likewise.
28864 * nis/nss_compat/compat-initgroups.c: Likewise.
28865 * nis/nss_compat/compat-pwd.c: Likewise.
28866 * nis/nss_compat/compat-spwd.c: Likewise.
28867 * nis/nss_nis/nis-alias.c: Likewise.
28868 * nis/nss_nis/nis-ethers.c: Likewise.
28869 * nis/nss_nis/nis-grp.c: Likewise.
28870 * nis/nss_nis/nis-hosts.c: Likewise.
28871 * nis/nss_nis/nis-network.c: Likewise.
28872 * nis/nss_nis/nis-proto.c: Likewise.
28873 * nis/nss_nis/nis-pwd.c: Likewise.
28874 * nis/nss_nis/nis-rpc.c: Likewise.
28875 * nis/nss_nis/nis-service.c: Likewise.
28876 * nis/nss_nis/nis-spwd.c: Likewise.
28877 * nis/nss_nisplus/nisplus-alias.c: Likewise.
28878 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28879 * nis/nss_nisplus/nisplus-grp.c: Likewise.
28880 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28881 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28882 * nis/nss_nisplus/nisplus-network.c: Likewise.
28883 * nis/nss_nisplus/nisplus-proto.c: Likewise.
28884 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28885 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28886 * nis/nss_nisplus/nisplus-service.c: Likewise.
28887 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28888 * nis/ypclnt.c: Likewise.
28889 * nptl/libc_pthread_init.c: Likewise.
28890 * nss/getXXbyYY.c: Likewise.
28891 * nss/getXXent.c: Likewise.
28892 * nss/getXXent_r.c: Likewise.
28893 * nss/nss_db/db-XXX.c: Likewise.
28894 * nss/nss_db/db-netgrp.c: Likewise.
28895 * nss/nss_db/nss_db.h: Likewise.
28896 * nss/nss_files/files-XXX.c: Likewise.
28897 * nss/nss_files/files-alias.c: Likewise.
28898 * nss/nsswitch.c: Likewise.
28899 * posix/regex_internal.h: Likewise.
28900 * posix/wordexp.c: Likewise.
28901 * pwd/fgetpwent.c: Likewise.
28902 * resolv/res_hconf.c: Likewise.
28903 * resolv/res_libc.c: Likewise.
28904 * shadow/fgetspent.c: Likewise.
28905 * shadow/lckpwdf.c: Likewise.
28906 * shadow/sgetspent.c: Likewise.
28907 * socket/opensock.c: Likewise.
28908 * stdio-common/reg-modifier.c: Likewise.
28909 * stdio-common/reg-printf.c: Likewise.
28910 * stdio-common/reg-type.c: Likewise.
28911 * stdio-common/vfprintf.c: Likewise.
28912 * stdio-common/vfscanf.c: Likewise.
28913 * stdlib/abort.c: Likewise.
28914 * stdlib/cxa_atexit.c: Likewise.
28915 * stdlib/fmtmsg.c: Likewise.
28916 * stdlib/random.c: Likewise.
28917 * stdlib/setenv.c: Likewise.
28918 * string/strsignal.c: Likewise.
28919 * sunrpc/auth_none.c: Likewise.
28920 * sunrpc/bindrsvprt.c: Likewise.
28921 * sunrpc/create_xid.c: Likewise.
28922 * sunrpc/key_call.c: Likewise.
28923 * sunrpc/rpc_thread.c: Likewise.
28924 * sysdeps/arm/backtrace.c: Likewise.
28925 * sysdeps/generic/ldsodefs.h: Likewise.
28926 * sysdeps/generic/stdio-lock.h: Likewise.
28927 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28928 * sysdeps/i386/backtrace.c: Likewise.
28929 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28930 * sysdeps/m68k/backtrace.c: Likewise.
28931 * sysdeps/mach/hurd/cthreads.c: Likewise.
28932 * sysdeps/mach/hurd/dirstream.h: Likewise.
28933 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28934 * sysdeps/nptl/malloc-machine.h: Likewise.
28935 * sysdeps/nptl/stdio-lock.h: Likewise.
28936 * sysdeps/posix/dirstream.h: Likewise.
28937 * sysdeps/posix/getaddrinfo.c: Likewise.
28938 * sysdeps/posix/system.c: Likewise.
28939 * sysdeps/pthread/aio_suspend.c: Likewise.
28940 * sysdeps/s390/s390-32/backtrace.c: Likewise.
28941 * sysdeps/s390/s390-64/backtrace.c: Likewise.
28942 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28943 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28944 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28945 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28946 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28947 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28948 * sysdeps/unix/sysv/linux/system.c: Likewise.
28949 * sysdeps/x86_64/backtrace.c: Likewise.
28950 * time/alt_digit.c: Likewise.
28951 * time/era.c: Likewise.
28952 * time/tzset.c: Likewise.
28953 * wcsmbs/wcsmbsload.c: Likewise.
28954 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28955 instead of <bits/libc-lock.h> in comment.
28956
28957 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
28958
28959 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28960 Only use .set mips2 if the current ISA is below mips2.
28961 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28962 Likewise.
28963 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28964 mips32r2 if the current ISA is below mips32r2.
28965 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28966 (TLS_IE): Updated to use the TLD_RDHWR macro.
28967 (TLS_LE): Likewise.
28968 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28969 __ASSEMBLER__ condition.
28970
28971 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28972
28973 Fix parallel build of before-compile targets.
28974
28975 * sysdeps/mach/Makefile ($(patsubst
28976 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28977 mach-before-compile target.
28978 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28979 io fs process)): Move rule to dedicated hurd-before-compile target.
28980
28981 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28982
28983 Fix rules generating headers in hurd/ and mach/ when initial make call
28984 has subdir= explicitly set.
28985
28986 * sysdeps/mach/Makefile ($(patsubst
28987 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28988 calling $(MAKE).
28989 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28990 io fs process)): Force subdir to hurd when calling $(MAKE).
28991 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28992 subdir to mach when calling $(MAKE).
28993
28994 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
28995
28996 Check sysheaders when looking for Mach and Hurd headers
28997
28998 * sysdeps/mach/configure.ac: Add sysheaders check.
28999 * sysdeps/mach/configure: Regenerate.
29000 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
29001 * sysdeps/mach/hurd/configure: Regenerate.
29002
29003 2015-09-04 Roland McGrath <roland@hack.frob.com>
29004
29005 [BZ #18921]
29006 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
29007 Fix inverted sense of test of 'o_directory_works' value.
29008 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
29009 Bernhard Voelker <mail@bernhard-voelker.de>.
29010
29011 2015-09-04 Joseph Myers <joseph@codesourcery.com>
29012
29013 [BZ #14912]
29014 * bits/linkmap.h: Move to ...
29015 * sysdeps/generic/linkmap.h: ...here.
29016 * sysdeps/aarch64/bits/linkmap.h: Move to ...
29017 * sysdeps/aarch64/linkmap.h: ...here.
29018 * sysdeps/arm/bits/linkmap.h: Move to ...
29019 * sysdeps/arm/linkmap.h: ...here.
29020 * sysdeps/hppa/bits/linkmap.h: Move to ...
29021 * sysdeps/hppa/linkmap.h: ...here.
29022 * sysdeps/ia64/bits/linkmap.h: Move to ...
29023 * sysdeps/ia64/linkmap.h: ...here.
29024 * sysdeps/mips/bits/linkmap.h: Move to ...
29025 * sysdeps/mips/linkmap.h: ...here.
29026 * sysdeps/s390/bits/linkmap.h: Move to ...
29027 * sysdeps/s390/linkmap.h: ...here.
29028 * sysdeps/sh/bits/linkmap.h: Move to ...
29029 * sysdeps/sh/linkmap.h: ...here.
29030 * sysdeps/x86/bits/linkmap.h: Move to ...
29031 * sysdeps/x86/linkmap.h: ...here.
29032 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
29033
29034 2015-09-04 Andreas Schwab <schwab@suse.de>
29035
29036 [BZ #18635]
29037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
29038 (__makecontext): Terminate FDE before return label.
29039 (__novec_makecontext): Likewise.
29040
29041 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
29042
29043 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
29044 first member of struct sv in syscall macro.
29045
29046 2015-09-04 Joseph Myers <joseph@codesourcery.com>
29047
29048 [BZ #14912]
29049 * bits/stdio-lock.h: Move to ...
29050 * sysdeps/generic/stdio-lock.h: ...here.
29051 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29052 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
29053 * sysdeps/nptl/stdio-lock.h: ...here.
29054 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29055 * include/libio.h: Include <stdio-lock.h> instead of
29056 <bits/stdio-lock.h>.
29057 * sysdeps/nptl/fork.c: Likewise.
29058 * sysdeps/pthread/flockfile.c: Likewise.
29059 * sysdeps/pthread/ftrylockfile.c: Likewise.
29060 * sysdeps/pthread/funlockfile.c: Likewise.
29061
29062 [BZ #14912]
29063 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
29064 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
29065 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
29066 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
29067 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
29068 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29069 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
29070
29071 2015-09-03 Roland McGrath <roland@hack.frob.com>
29072
29073 * elf/Makefile (test-xfail-tst-protected1a): New variable.
29074 (test-xfail-tst-protected1b): New variable.
29075
29076 2015-09-03 Joseph Myers <joseph@codesourcery.com>
29077
29078 [BZ #14912]
29079 * bits/libc-tsd.h: Move to ...
29080 * sysdeps/generic/libc-tsd.h: ...here.
29081 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
29082 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
29083 * sysdeps/mach/hurd/libc-tsd.h: ...here.
29084 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
29085 * include/ctype.h: Include <libc-tsd.h> instead of
29086 <bits/libc-tsd.h>.
29087 * include/rpc/rpc.h: Likewise.
29088 * locale/localeinfo.h: Likewise.
29089 * sunrpc/rpc_thread.c: Likewise.
29090 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29091 * sysdeps/nptl/malloc-machine.h: Likewise.
29092
29093 * Makefile (headers): Remove bits/libc-lock.h.
29094 * libio/Makefile (headers): Remove bits/stdio-lock.h.
29095
29096 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
29097 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
29098 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
29099 <bits/stdio-lock.h>.
29100 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
29101 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
29102
29103 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29104
29105 [BZ #18757]
29106 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
29107 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
29108 BZ #18757.
29109
29110 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29111
29112 * malloc/mtrace.pl: Filter out NULL entries.
29113
29114 2015-09-01 Joseph Myers <joseph@codesourcery.com>
29115
29116 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
29117 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
29118 macro.
29119
29120 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
29121 (TCP_CC_INFO): Likewise.
29122 (TCP_SAVE_SYN): Likewise.
29123 (TCP_SAVED_SYN): Likewise.
29124
29125 2015-08-31 Brett Neumeier <brett@neumeier.us>
29126
29127 [BZ #18870]
29128 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
29129
29130 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
29131
29132 [BZ #18873]
29133 Fix broken overflow check in posix_fallocate
29134 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
29135 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29136 Fix parenthesization typo.
29137
29138 2015-08-28 Mike Frysinger <vapier@gentoo.org>
29139
29140 [BZ #18887]
29141 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
29142 tst-mntent-blank-passno.
29143 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
29144 * misc/tst-mntent-blank-corrupt.c: New test.
29145 * misc/tst-mntent-blank-passno.c: New test ripped from ...
29146 * misc/tst-mntent.c (do_test): ... here.
29147
29148 2015-08-29 Mike Frysinger <vapier@gentoo.org>
29149
29150 [BZ #4404]
29151 * po/de.po: Fix SIGALRM typo.
29152
29153 2015-08-28 James Perkins <james@loowit.net>
29154
29155 * time/tst-strptime2.c (tests): Replace short list of test
29156 strings for strptime %z specifier with code which exhaustively
29157 tests every combination of sign and 0 to 5 digits. Tests for
29158 rejection of invalid strings.
29159
29160 2015-08-28 James Perkins <james@loowit.net>
29161
29162 [BZ #16141]
29163 * time/strptime_l.c (__strptime_internal): Fix %z minutes
29164 calculation, removing incorrect decimal time rounding, so that
29165 all minute values result in a valid seconds value.
29166 * time/strptime_l.c (__strptime_internal): Extend %z time zone
29167 offset range limits to UTC-99:59 through UTC+99:59 to parse
29168 current and historical use cases.
29169 * time/tst-strptime2.c (tests): Modify and add tests for the
29170 strptime %z input field descriptor, specifically conversion of
29171 minutes to seconds and validating an offset range of -9959 to
29172 +9959.
29173
29174 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29175 Dmitry V. Levin <ldv@altlinux.org>
29176
29177 [BZ #18877]
29178 * posix/Makefile (tests): Add tst-mmap-offset.
29179 * posix/tst-mmap.c: New file.
29180 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
29181 offset calculation for negative values.
29182
29183 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29184
29185 * sysdeps/i386/init-arch.h: New file.
29186 * sysdeps/i386/i586/init-arch.h: Likewise.
29187 * sysdeps/i386/i686/init-arch.h: Likewise.
29188 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
29189 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
29190 * sysdeps/x86/cpu-features.h (bit_I586): New.
29191 (bit_I686): Likewise.
29192 (bit_CX8): Likewise.
29193 (bit_CMOV): Likewise.
29194 (index_CX8): Likewise.
29195 (index_CMOV): Likewise.
29196 (index_I586): Likewise.
29197 (index_I686): Likewise.
29198 (reg_CX8): Likewise.
29199 (reg_CMOV): Likewise.
29200 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
29201 available at compile-time.
29202 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
29203 available at compile-time.
29204 * sysdeps/x86/init-arch.h (USE_I586): New macro.
29205 (USE_I686): Likewise.
29206
29207 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29208
29209 * sysdeps/i386/bcopy.S: New file.
29210 * sysdeps/i386/bzero.S: Likewise.
29211 * sysdeps/i386/memcpy.S: Likewise.
29212 * sysdeps/i386/memmove.S: Likewise.
29213 * sysdeps/i386/mempcpy.S: Likewise.
29214 * sysdeps/i386/memset.S: Likewise.
29215 * sysdeps/i386/bzero.c: Removed.
29216 * sysdeps/i386/memset.c: Likewise.
29217 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29218 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29219 * sysdeps/i386/i586/memset_chk.S: Likewise.
29220 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29221 * sysdeps/i386/memcpy_chk.S: Here.
29222 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29223 * sysdeps/i386/memmove_chk.S: Here.
29224 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29225 * sysdeps/i386/mempcpy_chk.S: Likewise.
29226 * sysdeps/i386/i686/memset_chk.S: Moved to ...
29227 * sysdeps/i386/memset_chk.S: Likewise.
29228
29229 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
29230
29231 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29232 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29233 file, move DIAG_POP_NEEDS_COMMENT to end of file.
29234 * soft-fp/fmadf4.c: Ditto.
29235 * soft-fp/fmatf4.c: Ditto.
29236
29237 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29238
29239 * sysdeps/i386/i586/Implies: Removed.
29240 * sysdeps/i386/i686/Implies: Likewise.
29241
29242 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29243
29244 * sysdeps/i386/i486/strlen.S: Moved to ...
29245 * sysdeps/i386/strlen.S: Here.
29246
29247 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29248
29249 * sysdeps/i386/i486/strcat.S: Moved to ...
29250 * sysdeps/i386/strcat.S: Here.
29251
29252 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29253
29254 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29255 * sysdeps/i386/pthread_spin_trylock.S: Here.
29256 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29257 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29258
29259 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29260
29261 * sysdeps/i386/i486/string-inlines.c: Moved to ...
29262 * sysdeps/i386/string-inlines.c: Here.
29263
29264 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29265
29266 * sysdeps/i386/i486/htonl.S: Moved ...
29267 * sysdeps/i386/htonl.S: here.
29268
29269 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29270
29271 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29272 * sysdeps/i386/bits/atomic.h: Here.
29273
29274 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
29275
29276 * sysdeps/i386/i486/Versions: Removed.
29277
29278 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
29279
29280 [BZ #2898]
29281 * misc/mktemp.c: Add mkdtemp to the link_warning message.
29282 Based on patch by Aurelien Jarno.
29283
29284 2015-08-26 Stan Shebs <stanshebs@google.com>
29285
29286 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29287 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29288
29289 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
29290
29291 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29292 * sysdeps/powerpc/dl-procinfo.c:
29293 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29294 feature so it shows when LD_SHOW_AUXV=1.
29295
29296 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29297
29298 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29299 (__arch_compare_and_exchange_val_32_acq): Remove and use common
29300 definition. ISA 2.07B no longer requires full sync.
29301
29302 2015-08-26 Mike Frysinger <vapier@gentoo.org>
29303
29304 [BZ #18863]
29305 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29306 (si_call_addr): Define.
29307 (si_syscall): Define.
29308 (si_arch): Define.
29309
29310 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
29311
29312 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29313 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29314 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29315 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29316 (__memset_zero_constant_len_parameter): New.
29317 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29318 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29319 (__memset_zero_constant_len_parameter): Don't define if
29320 __memset_chk or USE_AS_BZERO are defined.
29321
29322 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29323 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29324 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29325
29326 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29327 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29328 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29329 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
29330 comments.
29331 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29332 -mno-mmx for $(all-rtld-routines).
29333 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29334 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
29335 i386.
29336
29337 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
29338
29339 * sysdeps/generic/unwind.h
29340 (_Unwind_Word): Use __mode__(__unwind_word__)
29341 instead of __mode__(__word__).
29342 (_Unwind_Sword): Likewise.
29343
29344 * sysdeps/s390/s390-64/utf8-utf16-z9.c
29345 (MAX_NEEDED_INPUT): New define.
29346 (MAX_NEEDED_OUTPUT): New define.
29347
29348 * NEWS: New item for IBM z13 string optimizations.
29349
29350 * sysdeps/s390/multiarch/memrchr-c.c: New File.
29351 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29352 * sysdeps/s390/multiarch/memrchr.c: Likewise.
29353 * sysdeps/s390/multiarch/Makefile
29354 (sysdep_routines): Add memrchr functions.
29355 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29356 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29357
29358 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29359 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29360 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29361 * sysdeps/s390/multiarch/Makefile
29362 (sysdep_routines): Add wmemcmp functions.
29363 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29364 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29365 * benchtests/bench-wmemcmp.c: New File.
29366 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29367
29368 * sysdeps/s390/multiarch/wmemset-c.c: New File.
29369 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29370 * sysdeps/s390/multiarch/wmemset.c: Likewise.
29371 * sysdeps/s390/multiarch/Makefile
29372 (sysdep_routines): Add wmemset functions.
29373 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29374 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29375 * wcsmbs/wmemset.c: Use WMEMSET if defined.
29376 * string/test-memset.c: Add wmemset support.
29377 * wcsmbs/test-wmemset.c: New File.
29378 * wcsmbs/Makefile (strop-tests): Add wmemset.
29379 * benchtests/bench-memset.c: Add wmemset support.
29380 * benchtests/bench-wmemset.c: New File.
29381 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29382
29383 * sysdeps/s390/multiarch/memccpy-c.c: New File.
29384 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29385 * sysdeps/s390/multiarch/memccpy.c: Likewise.
29386 * sysdeps/s390/multiarch/Makefile
29387 (sysdep_routines): Add memccpy functions.
29388 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29389 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29390 * string/memccpy.c: Use MEMCCPY if defined.
29391
29392 * sysdeps/s390/multiarch/memchr-vx.S: New File.
29393 * sysdeps/s390/multiarch/memchr.c: Likewise.
29394 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
29395 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
29396 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
29397 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
29398 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
29399 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
29400 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
29401 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
29402 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
29403 and rawmemchr functions.
29404 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29405 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
29406 and wmemchr.
29407 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
29408 * string/test-memchr.c: Add wmemchr support.
29409 * wcsmbs/test-wmemchr.c: New File.
29410 * wcsmbs/Makefile (strop-tests): Add wmemchr.
29411 * benchtests/bench-memchr.c: Add wmemchr support.
29412 * benchtests/bench-wmemchr.c: New File.
29413 * benchtests/Makefile (wcsmbs-bench): wmemchr.
29414
29415 * sysdeps/s390/multiarch/strcspn-c.c: New File.
29416 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
29417 * sysdeps/s390/multiarch/strcspn.c: Likewise.
29418 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
29419 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
29420 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
29421 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
29422 wcscspn functions.
29423 * sysdeps/s390/multiarch/ifunc-impl-list.c
29424 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
29425 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
29426 * string/test-strcspn.c: Add wcscspn support.
29427 * wcsmbs/test-wcscspn.c: New File.
29428 * wcsmbs/Makefile (strop-tests): Add wcscspn.
29429 * benchtests/bench-strcspn.c: Add wcscspn support.
29430 * benchtests/bench-wcscspn.c: New File.
29431 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
29432
29433 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
29434 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
29435 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
29436 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
29437 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
29438 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
29439 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
29440 wcspbrk functions.
29441 * sysdeps/s390/multiarch/ifunc-impl-list.c
29442 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
29443 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
29444 * string/test-strpbrk.c: Add wcspbrk support.
29445 * wcsmbs/test-wcspbrk.c: New File.
29446 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
29447 * benchtests/bench-strpbrk.c: Add wcspbrk support.
29448 * benchtests/bench-wcspbrk.c: New File.
29449 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
29450
29451 * sysdeps/s390/multiarch/strspn-c.c: New File.
29452 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
29453 * sysdeps/s390/multiarch/strspn.c: Likewise.
29454 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
29455 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
29456 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
29457 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
29458 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
29459 wcsspn functions.
29460 * sysdeps/s390/multiarch/ifunc-impl-list.c
29461 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
29462 * string/test-strspn.c: Add wcsspn support.
29463 * wcsmbs/test-wcsspn.c: New File.
29464 * wcsmbs/Makefile (strop-tests): Add wcsspn.
29465 * benchtests/bench-strspn.c: Add wcsspn support.
29466 * benchtests/bench-wcsspn.c: New File.
29467 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
29468
29469 * sysdeps/s390/multiarch/strrchr-c.c: New File.
29470 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
29471 * sysdeps/s390/multiarch/strrchr.c: Likewise.
29472 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
29473 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
29474 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
29475 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
29476 wcsrchr functions.
29477 * sysdeps/s390/multiarch/ifunc-impl-list.c
29478 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
29479 * benchtests/bench-wcsrchr.c: New File.
29480 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
29481
29482 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
29483 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
29484 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
29485 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
29486 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
29487 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
29488 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
29489 wcschrnul functions.
29490 * sysdeps/s390/multiarch/ifunc-impl-list.c
29491 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
29492 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
29493 * string/test-strchr.c: Add wcschrnul support.
29494 * wcsmbs/test-wcschrnul.c: New File.
29495 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
29496 * benchtests/bench-strchr.c: Add wcschrnul support.
29497 * benchtests/bench-wcschrnul.c: New File.
29498 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
29499
29500 * sysdeps/s390/multiarch/strchr-c.c: New File.
29501 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
29502 * sysdeps/s390/multiarch/strchr.c: Likewise.
29503 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
29504 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
29505 * sysdeps/s390/multiarch/wcschr.c: Likewise.
29506 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
29507 wcschr functions.
29508 * sysdeps/s390/multiarch/ifunc-impl-list.c
29509 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
29510 * string/strchr.c (STRCHR): Define and use macro.
29511 * benchtests/bench-wcschr.c: New File.
29512 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
29513
29514 * sysdeps/s390/multiarch/strncmp-c.c: New File.
29515 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
29516 * sysdeps/s390/multiarch/strncmp.c: Likewise.
29517 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
29518 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
29519 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
29520 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
29521 wcsncmp functions.
29522 * sysdeps/s390/multiarch/ifunc-impl-list.c
29523 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
29524 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
29525 * benchtests/bench-strncmp.c: Add wcsncmp support.
29526 * benchtests/bench-wcsncmp.c: New File.
29527 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
29528
29529 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
29530 * sysdeps/s390/multiarch/strcmp.c: Likewise.
29531 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
29532 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
29533 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
29534 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
29535 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
29536 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
29537 wcscmp functions.
29538 * sysdeps/s390/multiarch/ifunc-impl-list.c
29539 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29540 * string/strcmp.c (STRCMP): Define and use macro.
29541 * benchtests/bench-wcscmp.c: New File.
29542 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29543 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29544 instead of _HAVE_STRING_ARCH_memchr.
29545
29546 * sysdeps/s390/multiarch/strncat-c.c: New File.
29547 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29548 * sysdeps/s390/multiarch/strncat.c: Likewise.
29549 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29550 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29551 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29552 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29553 wcsncat functions.
29554 * sysdeps/s390/multiarch/ifunc-impl-list.c
29555 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29556 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29557 * string/test-strncat.c: Add wcsncat support.
29558 * wcsmbs/test-wcsncat.c: New File.
29559 * wcsmbs/Makefile (strop-tests): Add wcsncat.
29560 * benchtests/bench-strncat.c: Add wcsncat support.
29561 * benchtests/bench-wcsncat.c: New File.
29562 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29563
29564 * sysdeps/s390/multiarch/strcat-c.c: New File.
29565 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29566 * sysdeps/s390/multiarch/strcat.c: Likewise.
29567 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29568 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29569 * sysdeps/s390/multiarch/wcscat.c: Likewise.
29570 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29571 wcscat functions.
29572 * sysdeps/s390/multiarch/ifunc-impl-list.c
29573 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29574 * string/strcat.c (STRCAT): Define and use macro.
29575 * wcsmbs/wcscat.c: Use WCSCAT if defined.
29576 * string/test-strcat.c: Add wcscat support.
29577 * wcsmbs/test-wcscat.c: New File.
29578 * wcsmbs/Makefile (strop-tests): Add wcscat.
29579 * benchtests/bench-strcat.c: Add wcscat support.
29580 * benchtests/bench-wcscat.c: New File.
29581 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29582
29583 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29584 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29585 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29586 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29587 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29588 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29589 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29590 wcpncpy functions.
29591 * sysdeps/s390/multiarch/ifunc-impl-list.c
29592 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29593 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29594 * string/test-stpncpy.c: Add wcpncpy support.
29595 * wcsmbs/test-wcpncpy.c: New File.
29596 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29597 * benchtests/bench-stpncpy.c: Add wcpncpy support.
29598 * benchtests/bench-wcpncpy.c: New File.
29599 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29600
29601 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29602 * sysdeps/s390/multiarch/strncpy.c: Likewise.
29603 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29604 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29605 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29606 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29607 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29608 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29609 wcsncpy functions.
29610 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29611 * sysdeps/s390/multiarch/ifunc-impl-list.c
29612 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29613 * string/test-strncpy.c: Add wcsncpy support.
29614 * wcsmbs/test-wcsncpy.c: New File.
29615 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29616 * benchtests/bench-strncpy.c: Add wcsncpy support.
29617 * benchtests/bench-wcsncpy.c: New File.
29618 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29619
29620 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29621 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29622 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29623 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29624 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29625 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29626 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29627 wcpcpy functions.
29628 * string/stpcpy.c: Use STPCPY if defined.
29629 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29630 * sysdeps/s390/multiarch/ifunc-impl-list.c
29631 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29632 * string/test-stpcpy.c: Add wcpcpy support.
29633 * wcsmbs/test-wcpcpy.c: New File.
29634 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29635 * benchtests/bench-stpcpy.c: Add wcpcpy support.
29636 * benchtests/bench-wcpcpy.c: New File.
29637 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29638
29639 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29640 * sysdeps/s390/multiarch/strcpy.c: Likewise.
29641 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29642 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29643 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29644 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29645 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29646 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29647 wcscpy functions.
29648 * sysdeps/s390/multiarch/ifunc-impl-list.c
29649 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29650 * benchtests/bench-wcscpy.c: New File.
29651 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29652
29653 * sysdeps/s390/multiarch/strnlen-c.c: New File.
29654 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29655 * sysdeps/s390/multiarch/strnlen.c: Likewise.
29656 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29657 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29658 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29659 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29660 wcsnlen functions.
29661 * sysdeps/s390/multiarch/ifunc-impl-list.c
29662 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29663 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29664 * string/test-strnlen.c: Add wcsnlen support.
29665 * wcsmbs/test-wcsnlen.c: New File.
29666 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29667 * benchtests/bench-strnlen.c: Add wcsnlen support.
29668 * benchtests/bench-wcsnlen.c: New File.
29669 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29670
29671 * sysdeps/s390/multiarch/Makefile: New File.
29672 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29673 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29674 * sysdeps/s390/multiarch/strlen.c: Likewise.
29675 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29676 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29677 * sysdeps/s390/multiarch/wcslen.c: Likewise.
29678 * string/strlen.c (STRLEN): Define and use macro.
29679 * sysdeps/s390/multiarch/ifunc-impl-list.c
29680 (IFUNC_VX_IMPL): New macro function.
29681 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29682 * benchtests/Makefile (wcsmbs-bench): New variable.
29683 (string-bench-all): Added wcsmbs-bench.
29684 * benchtests/bench-wcslen.c: New File.
29685
29686 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29687 s390_vx_libc_ifunc2): New macro function.
29688
29689 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29690 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29691 assembler support.
29692 * sysdeps/s390/configure: Regenerated.
29693
29694 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29695 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29696
29697 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29698 * sysdeps/s390/dl-procinfo.h: Add vector capability.
29699 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29700
29701 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29702 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29703 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29704 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29705 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29706 (memcmp, bcmp): Use __memcmp_default as alias source.
29707 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29708 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29709 Rename to __memcmp_default.
29710 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29711 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29712 (memcpy): Use __memcpy_default as alias source.
29713 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29714 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29715 Rename to __memcpy_default.
29716 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29717 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29718 (memset): Use __memset_default as alias source.
29719 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29720 * sysdeps/s390/s390-32/memset.S (__memset_g5):
29721 Rename to __memset_default.
29722 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29723 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29724 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29725 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29726 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29727 (memcmp, bcmp): Use __memcmp_default as alias source.
29728 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29729 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29730 Rename to __memcmp_default.
29731 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29732 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29733 (memcpy): Use __memcpy_default as alias source.
29734 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29735 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29736 Rename to __memcpy_default.
29737 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29738 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29739 (memset): Use __memset_default as alias source.
29740 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29741 * sysdeps/s390/s390-64/memset.S (__memset_z900):
29742 Rename to __memset_default.
29743 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29744 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29745
29746 [BZ #18610]
29747 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29748 __ieee_instruction_pointer to __unused.
29749 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29750 __ieee_instruction_pointer.
29751 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29752 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29753 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29754 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29755 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29756 Mark dxc-field as reserved.
29757
29758 2015-08-25 Roland McGrath <roland@hack.frob.com>
29759
29760 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29761 if the weak reference is not null.
29762
29763 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29766
29767 [BZ #11214]
29768 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29769
29770 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29771
29772 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29773 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29774 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29775 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29776 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29777 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29778 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29779 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29780 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29781 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29782 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29783 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29784 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29785 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29786 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29787 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29788 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29789 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29790
29791 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29792
29793 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29794 register other than r0 for tabort, it has special meaning.
29795 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29796 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29797 transaction before starting syscall.
29798
29799 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29800
29801 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29802
29803 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
29804
29805 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29806
29807 * sysdeps/x86_64/rtld-memcmp.c: Removed.
29808 * sysdeps/x86_64/rtld-memset.S: Likewise.
29809 * sysdeps/x86_64/rtld-strchr.S: Likewise.
29810 * sysdeps/x86_64/rtld-strlen.S: Likewise.
29811 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29812 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29813
29814 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29815
29816 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
29817
29818 * debug/strcpy_chk.c: Improve performance.
29819 * debug/stpcpy_chk.c: Likewise.
29820 * sysdeps/x86_64/strcpy_chk.S: Remove.
29821 * sysdeps/x86_64/stpcpy_chk.S: Remove.
29822
29823 [BZ #18240]
29824 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29825
29826 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
29827
29828 [BZ #15128]
29829 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29830 ifuncmain8.
29831 (modules-names): Add ifuncmod8.
29832 ($(objpfx)ifuncmain8): New rule.
29833 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29834 <cpuid.h>.
29835 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29836 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29837 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29838 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29839 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29840 * sysdeps/x86_64/dl-trampoline.h: Likewise.
29841 * sysdeps/x86_64/ifuncmain8.c: New file.
29842 * sysdeps/x86_64/ifuncmod8.c: Likewise.
29843 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29844 Removed.
29845 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29846 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29847 Change rtld_savespace_sse to __glibc_unused2.
29848 (RTLD_CHECK_FOREIGN_CALL): Removed.
29849 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29850 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29851 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29852
29853 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
29854
29855 * sysdeps/aarch64/bzero.S (__bzero): Remove.
29856
29857 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
29858
29859 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29860 Unconditionally set __fpcr to avoid uninialized warning.
29861 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29862
29863 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29864
29865 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29866 is corrupt.
29867
29868 * malloc/arena.c (arena_get2): Drop unused argument.
29869 (arena_lock): Adjust.
29870 (arena_get_retry): Likewise.
29871
29872 2015-08-24 Andreas Schwab <schwab@suse.de>
29873
29874 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29875 Don't define.
29876 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29877 (__ASSUME_IPC64): Don't undef.
29878 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29879 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29880 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29881 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29882 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29883 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29884 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29885 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29886 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29887 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29888 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29889 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29890 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29891 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29892 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29893 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29894 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29895 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29896 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29897 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29898 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29899
29900 2015-08-21 Mike Frysinger <vapier@gentoo.org>
29901
29902 * manual/Makefile (install): Only build manual when perl is available.
29903
29904 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
29905
29906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29907 '#undef memcpy' by '#undef memchr'.
29908
29909 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
29910
29911 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29912 memchr not point to the internal __GI_memchr implementation.
29913
29914 2015-08-20 Joseph Myers <joseph@codesourcery.com>
29915
29916 * timezone/Makefile (CFLAGS-zdump.c): Remove
29917 -Wno-strict-prototypes.
29918 (CFLAGS-zic.c): Likewise.
29919 (CFLAGS-ialloc.c): Likewise.
29920 (CFLAGS-scheck.c): Likewise.
29921
29922 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29923 -Wno-error=undef.
29924
29925 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
29926
29927 * i386/i686/multiarch/strcasestr-c.c: Removed.
29928 * x86_64/multiarch/strcasestr.c: Likewise.
29929 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29930 Remove strcasestr.
29931
29932 2015-08-20 Joseph Myers <joseph@codesourcery.com>
29933
29934 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29935
29936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29937 variables for high and low parts before possibly modifying them.
29938
29939 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
29940
29941 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29942 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29943 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29944 of "multiarch/init-arch.h".
29945 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29946 * sysdeps/x86/init-arch.h: This.
29947
29948 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
29949
29950 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29951 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29952
29953 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
29954
29955 [BZ #17787]
29956 * manual/macros.texi: Add twoexp macro.
29957 * manual/filesys.texi: Fix exponents.
29958 * manual/llio.texi: Likewise.
29959 * manual/stdio.texi: Likewise.
29960
29961 2015-08-20 Florian Weimer <fweimer@redhat.com>
29962
29963 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29964 incorrect use.
29965
29966 2015-08-19 Joseph Myers <joseph@codesourcery.com>
29967
29968 [BZ #18370]
29969 * math/s_csqrt.c (__csqrt): Force underflow exception for results
29970 whose real or imaginary part has small absolute value.
29971 * math/s_csqrtf.c (__csqrtf): Likewise.
29972 * math/s_csqrtl.c (__csqrtl): Likewise.
29973 * math/auto-libm-test-in: Add more tests of csqrt.
29974 * math/auto-libm-test-out: Regenerated.
29975 * sysdeps/i386/fpu/libm-test-ulps: Update.
29976
29977 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29978
29979 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29980 __ppc_set_ppr_very_low): New functions.
29981 * manual/platform.texi: Add documentation about
29982 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29983
29984 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
29985
29986 * string/stpncpy.c (stpncpy): Improve performance using
29987 __strnlen/memcpy/memset.
29988
29989 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
29990
29991 [BZ #18796]
29992 * scripts/test-installation.pl: Don't add -lmvec to build options if
29993 libmvec wasn't built.
29994
29995 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
29996
29997 [BZ #14341]
29998 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29999 case when there is a gap between DT_REL and DT_JMPREL sections.
30000 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
30001 (LDFLAGS-tst-split-dynreloc): New.
30002 (tst-split-dynreloc-ENV): Likewise.
30003 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
30004 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
30005
30006 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
30007
30008 [BZ #18822]
30009 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
30010 attribute_hidden.
30011 (__xstat64_conv): Likewise.
30012 (__xstat32_conv): Likewise.
30013
30014 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
30015
30016 [BZ #18822]
30017 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
30018 Don't load %ebx when calling __setcontext. Call __setcontext
30019 with HIDDEN_JUMPTARGET.
30020 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
30021 libc_hidden_def.
30022
30023 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 * sysdeps/i386/i686/Makefile
30026 [$(subdir) == string] (sysdep_routines): Moved to ...
30027 * sysdeps/i386/Makefile: Here.
30028 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
30029 * sysdeps/i386/cacheinfo.c: Here.
30030 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
30031 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
30032 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
30033 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
30034
30035 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
30036
30037 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
30038 __i586__ is defined.
30039 (HAS_I686): Defined to 1 if __i686__ is defined.
30040
30041 2015-08-19 Joseph Myers <joseph@codesourcery.com>
30042
30043 * elf/Makefile [$(have-z-execstack) = yes]
30044 (CPPFLAGS-tst-execstack.c): New variable.
30045
30046 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
30047 conditional to [defined UTMPX || _HAVE_UT_TYPE].
30048 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
30049 UTMPX || _HAVE_UT_TV].
30050 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
30051 UTMPX || _HAVE_UT_TV - 0].
30052
30053 2015-08-18 Joseph Myers <joseph@codesourcery.com>
30054
30055 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
30056 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
30057 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
30058
30059 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30060
30061 * sysdeps/powerpc/dl-procinfo.c:
30062 (_dl_powerpc_cap_flags): Added missing strings for some
30063 hwcap features.
30064 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
30065
30066 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
30067
30068 Port the 0x7efe...feff pattern to GCC 6.
30069 See Steve Ellcey's bug report in:
30070 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
30071 * string/memrchr.c (MEMRCHR):
30072 * string/rawmemchr.c (RAWMEMCHR):
30073 * string/strchr.c (strchr):
30074 * string/strchrnul.c (STRCHRNUL):
30075 Rewrite code to avoid issues with signed shift overflow.
30076
30077 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
30078
30079 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
30080 whether cpuid is available only if HAS_CPUID is 0.
30081 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
30082 (HAS_I586): Likewise.
30083 (HAS_I686): Likewise.
30084
30085 2015-08-18 Zack Weinberg <zackw@panix.com>
30086
30087 * misc/Versions (libc): Add GLIBC_2.23.
30088
30089 2015-08-18 Alan Modra <amodra@gmail.com>
30090
30091 [BZ #18421]
30092 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
30093 .Lp__global.
30094 (_start): Load %dp via .Lp__global.
30095 [!SHARED]: Use .section .rodata.
30096
30097 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30098
30099 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
30100 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
30101
30102 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30103
30104 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
30105 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
30106
30107 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30108
30109 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
30110 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
30111
30112 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30113
30114 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
30115 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
30116
30117 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30118
30119 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
30120 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
30121
30122 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30123
30124 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
30125 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
30126
30127 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30128
30129 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
30130
30131 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30132
30133 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
30134 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
30135 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30136 (__ASSUME_LWS_CAS): Delete.
30137
30138 2015-08-18 Mike Frysinger <vapier@gentoo.org>
30139
30140 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
30141 * sysdeps/hppa/configure: Regenerated.
30142 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
30143 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
30144 * sysdeps/hppa/nptl/tls.h: Likewise.
30145
30146 2015-08-17 Joseph Myers <joseph@codesourcery.com>
30147
30148 [BZ #18823]
30149 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
30150 for scaling up small arguments.
30151 * math/s_csqrtf.c (__csqrtf): Likewise.
30152 * math/s_csqrtl.c (__csqrtl): Likewise.
30153 * math/auto-libm-test-in: Add more tests of csqrt.
30154 * math/auto-libm-test-out: Regenerated.
30155
30156 2015-08-17 Andreas Schwab <schwab@suse.de>
30157
30158 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
30159 version set GLIBC_2.19.
30160
30161 2015-08-16 Zack Weinberg <zackw@panix.com>
30162
30163 [BZ #18681]
30164 * misc/regexp.h: This interface is no longer supported.
30165 Remove all contents, leaving only an #error directive.
30166 * misc/regexp.c (loc1, loc2, locs, step, advance):
30167 Demote to compatibility symbols.
30168
30169 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
30170
30171 [BZ #18084]
30172 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
30173 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
30174 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
30175 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
30176 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
30177 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
30178 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
30179 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
30180 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
30181
30182 2015-08-15 Zack Weinberg <zackw@panix.com>
30183
30184 [BZ #18795]
30185 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
30186 buffer length is known to be too large, not if it's known to be
30187 small enough.
30188 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
30189 overflow at runtime, involving a length parameter, twice: once
30190 with a compile-time constant length parameter, once without.
30191
30192 2015-08-14 Joseph Myers <joseph@codesourcery.com>
30193
30194 [BZ #18824]
30195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
30196 scaling x * y up instead of down.
30197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30198 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30199 * math/auto-libm-test-in: Add more tests of fma.
30200 * math/auto-libm-test-out: Regenerated.
30201
30202 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
30203
30204 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30205
30206 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30207
30208 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
30209 unnecessary movq.
30210 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30211 Likewise.
30212
30213 2015-08-13 Joseph Myers <joseph@codesourcery.com>
30214
30215 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30216 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30217 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30218 and tgamma.
30219 * math/auto-libm-test-out: Regenerated.
30220 * sysdeps/i386/fpu/libm-test-ulps: Update.
30221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30222
30223 [BZ #16520]
30224 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30225 (__tanh): Force underflow exception for arguments with small
30226 absolute value.
30227 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30228 (__tanhf): Force underflow exception for arguments with small
30229 absolute value.
30230 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30231 (__tanhl): Force underflow exception for arguments with small
30232 absolute value.
30233 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30234 (__tanhl): Force underflow exception for arguments with small
30235 absolute value.
30236 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30237 (__tanhl): Force underflow exception for arguments with small
30238 absolute value.
30239 * math/auto-libm-test-in: Add more tests of tanh.
30240 * math/auto-libm-test-out: Regenerated.
30241 * sysdeps/i386/fpu/libm-test-ulps: Update.
30242
30243 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
30244
30245 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30246 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30247
30248 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
30249
30250 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30251 <cpuid.h>.
30252
30253 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30256 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30257
30258 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
30259
30260 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30261 Remove $(objpfx)init-arch.o.
30262 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30263 init-arch.
30264 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30265 (INIT_ARCH_EXT): Defined as empty.
30266 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30267 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30268 __init_cpu_features call. Replace HAS_XXX with
30269 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30270 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30271 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30272 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30273 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30274 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30275 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30276 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30277 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30278 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30279 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30280 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30281 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30282 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30283 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30284 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30286 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30287 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30288 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30289 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30290 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30291 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30292 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30293 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30294 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30295 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30296 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30297 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30298 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30299 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30300 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30301 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30302 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30303 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30304 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30305
30306 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
30307
30308 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30309 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30310 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30311 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30312 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30313 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30314 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30315 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30316 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30317 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30318 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30319 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
30320 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30321 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30322 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30323 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30324 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30325 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30326 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30327 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30328 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30329 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30330 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30331 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30332 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30333 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30334 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30335 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30336 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30337 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30338 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30339 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30340 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30342 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30343 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30344 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30346 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30347 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30348 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30349 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30350 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30351
30352 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
30353
30354 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30355 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30359 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30361 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30362 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30363 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30364 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30365 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30366 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30367 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30368 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30369 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30370 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30371 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30372 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30373 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30375 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30376 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30377 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30378 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30379 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30380 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30381 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
30382 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30383 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30384 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30385 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30386 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30387 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30388 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30389 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30390 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30391 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30392 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30393 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30394 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30395 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30396 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30397
30398 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
30399
30400 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
30401 (dl_platform_init): Call init_cpu_features.
30402 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
30403 * sysdeps/i386/i686/cacheinfo.c
30404 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
30405 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
30406 * sysdeps/i386/i686/multiarch/Versions: Removed.
30407 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
30408 Removed.
30409 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
30410 * sysdeps/unix/sysv/linux/x86/Makefile
30411 (libpthread-sysdep_routines): Remove init-arch.
30412 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
30413 <sysdeps/x86_64/dl-procinfo.c> instead of
30414 sysdeps/generic/dl-procinfo.c>.
30415 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
30416 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
30417 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
30418 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
30419 [$(subdir) == elf] (tests-static): Add
30420 tst-get-cpu-features-static.
30421 * sysdeps/x86/Versions: New file.
30422 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
30423 * sysdeps/x86/cpu-features.c: Likewise.
30424 * sysdeps/x86/cpu-features.h: Likewise.
30425 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
30426 * sysdeps/x86/libc-start.c: Likewise.
30427 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
30428 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
30429 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
30430 * sysdeps/x86_64/dl-procinfo.c: Likewise.
30431 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
30432 Assume USE_MULTIARCH is defined and don't check it.
30433 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
30434 (is_amd): Likewise.
30435 (max_cpuid): Likewise.
30436 (intel_check_word): Likewise.
30437 (__cache_sysconf): Don't call __init_cpu_features.
30438 (__x86_preferred_memory_instruction): Removed.
30439 (init_cacheinfo): Don't call __init_cpu_features. Replace
30440 __cpu_features with GLRO(dl_x86_cpu_features).
30441 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
30442 (dl_platform_init): Call init_cpu_features.
30443 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
30444 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
30445 * sysdeps/x86_64/multiarch/Versions: Removed.
30446 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
30447 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
30448 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
30449 Removed.
30450 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
30451
30452 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
30453
30454 [BZ #18820]
30455 * libio/Makefile (test-fmemopen-mem): New test.
30456 * libio/test-fmemopen.c (do_bz18820): New test.
30457 * libio/fmemopen.c (__fmemopen): Fix memory leak.
30458 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
30459
30460 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
30461
30462 [BZ #16734]
30463 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
30464 (FREE_BUF): Delete.
30465 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
30466 * libio/genops.c (_IO_setb): Use malloc and free directly.
30467 (_IO_default_doallocate, _IO_default_finish): Likewise.
30468 ( _IO_unbuffer_all): Likewise.
30469 ( libc_freeres_fn): Likewise.
30470 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30471 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
30472 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
30473 (_IO_wdefault_doallocate): Likewise.
30474
30475 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
30476
30477 [BZ #18086]
30478 * sysdeps/posix/nice.c (nice): Restore old errno.
30479 * posix/tst-nice.c (do_test): Add test for BZ #18086.
30480
30481 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
30482
30483 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
30484
30485 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30486
30487 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
30488 __bcopy and add a weak_alias to bcopy.
30489 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
30490 for static build.
30491
30492 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
30493 cleanup macro usage.
30494 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
30495 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
30496 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30497 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
30498 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30499 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
30500 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
30501 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30502 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30503 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
30504 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30505 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
30506 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30507 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
30508 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30509 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
30510 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
30511 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
30512 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30513
30514 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
30515 libc_hidden_def.
30516 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
30517
30518 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
30519 (sysdep_routines): Add strstr-ppc64.
30520 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
30521
30522 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
30523
30524 [BZ #18778]
30525 * elf/Makefile (tests): Add Add tst-nodelete2.
30526 (modules-names): Add tst-nodelete2mod.
30527 (tst-nodelete2mod.so-no-z-defs): New.
30528 ($(objpfx)tst-nodelete2): Likewise.
30529 ($(objpfx)tst-nodelete2.out): Likewise.
30530 (LDFLAGS-tst-nodelete2): Likewise.
30531 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
30532 out of loop through all loaded libraries.
30533 * elf/tst-nodelete2.c: New file.
30534 * elf/tst-nodelete2mod.c: Likewise.
30535 * elf/tst-znodelete-zlib.cc: Delete.
30536
30537 2015-08-11 Andreas Schwab <schwab@suse.de>
30538
30539 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30540 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30541 (__openat64_nocancel): Likewise.
30542
30543 2015-08-11 Joseph Myers <joseph@codesourcery.com>
30544
30545 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30546 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30547 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30548 * math/auto-libm-test-out: Regenerated.
30549 * sysdeps/i386/fpu/libm-test-ulps: Update.
30550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30551
30552 2015-08-10 Joseph Myers <joseph@codesourcery.com>
30553
30554 [BZ #18790]
30555 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30556 threshold for returning +/- 1.
30557 * math/auto-libm-test-in: Add more tests of tanh.
30558 * math/auto-libm-test-out: Regenerated.
30559 * sysdeps/i386/fpu/libm-test-ulps: Update.
30560
30561 2015-08-10 Andreas Schwab <schwab@suse.de>
30562
30563 [BZ #18781]
30564 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30565 MORE_OFLAGS to oflag.
30566 * io/test-lfs.c (do_test): Test openat64.
30567
30568 2015-08-10 Joseph Myers <joseph@codesourcery.com>
30569
30570 [BZ #18789]
30571 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30572 smaller threshold for returning the argument.
30573 * math/auto-libm-test-in: Add more tests of sinh.
30574 * math/auto-libm-test-out: Regenerated.
30575 * sysdeps/i386/fpu/libm-test-ulps: Update.
30576
30577 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
30578
30579 [BZ #18674]
30580 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30581 break.
30582
30583 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
30584
30585 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30586 (generated): Don't add $(addprefix z.,$(tzfiles)).
30587
30588 2015-08-09 Mike Frysinger <vapier@gentoo.org>
30589
30590 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30591 * scripts/sysd-rules.awk: Likewise.
30592
30593 2015-08-09 Mike Frysinger <vapier@gentoo.org>
30594
30595 * iconvdata/tst-tables.sh: Change echo -n to printf.
30596 * nss/db-Makefile: Likewise.
30597 * posix/tst-getconf.sh: Likewise.
30598 * stdio-common/tst-unbputc.sh: Likewise.
30599
30600 2015-08-09 Mike Frysinger <vapier@gentoo.org>
30601
30602 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30603 MADV_*_PAGES defines behind this feature check.
30604
30605 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
30606
30607 [BZ #18480]
30608 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30609 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30610 Define.
30611 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30612 LOAD_REGS_5, LOAD_REGS_6): Update.
30613 (INTERNAL_SYSCALL): Update using new LOAD defines.
30614 (INTERNAL_SYSCALL_NCS): Likewise.
30615 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30616
30617 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30618
30619 [BZ #16734]
30620 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30621
30622 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30623
30624 [BZ #17905]
30625 * catgets/Makefile (tst-catgets-mem): New test.
30626 * catgets/catgets.c (catopen): Don't use unbounded alloca.
30627 * catgets/open_catalog.c (__open_catalog): Likewise.
30628 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30629
30630 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
30631
30632 [BZ #18787]
30633 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30634 clobber registers.
30635 (atomic_compare_and_exchange_val_acq): Use register asms to assign
30636 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
30637 Cast return to __typeof (oldval).
30638
30639 2015-08-08 Mike Frysinger <vapier@gentoo.org>
30640
30641 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30642 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
30643 and delete sys/syscall.h include.
30644
30645 2015-08-07 Joseph Myers <joseph@codesourcery.com>
30646
30647 [BZ #16517]
30648 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30649 (tan): Force underflow exception for arguments with small absolute
30650 value.
30651 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30652 (__kernel_tanf): Force underflow exception for arguments with
30653 small absolute value.
30654 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30655 (__kernel_tanl): Force underflow exception for arguments with
30656 small absolute value.
30657 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30658 (__kernel_tanl): Force underflow exception for arguments with
30659 small absolute value.
30660 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30661 (__kernel_tanl): Force underflow exception for arguments with
30662 small absolute value.
30663 * math/auto-libm-test-in: Add more tests of tan.
30664 * math/auto-libm-test-out: Regenerated.
30665
30666 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30667
30668 Fix sysdeps/i386/fpu/s_scalbn.S build
30669
30670 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30671
30672 2015-08-07 Mike Frysinger <vapier@gentoo.org>
30673
30674 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30675
30676 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30677
30678 Fix gcrt0.o compilation
30679
30680 When static-start-installed-name is different from
30681 start-installed-name, we must not use the shared objects.
30682
30683 * csu/Makefile
30684 (extra-objs): Add gmon-start.o when building shared library and
30685 $(static-start-installed-name) is different from
30686 $(start-installed-name).
30687 $(objpfx)g$(static-start-installed-name): When building shared
30688 library and $(static-start-installed-name) is different from
30689 $(static-start-installed-name), revert to non-shared rule,
30690 i.e. using $(objpfx)% and gmon-start.o.
30691
30692 2015-08-06 Joseph Myers <joseph@codesourcery.com>
30693
30694 [BZ #16519]
30695 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30696 (__ieee754_sinh): Force underflow exception for arguments with
30697 small absolute value.
30698 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30699 (__ieee754_sinhf): Force underflow exception for arguments with
30700 small absolute value.
30701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30702 (__ieee754_sinhl): Force underflow exception for arguments with
30703 small absolute value.
30704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30705 (__ieee754_sinhl): Force underflow exception for arguments with
30706 small absolute value.
30707 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30708 (__ieee754_sinhl): Force underflow exception for arguments with
30709 small absolute value.
30710 * math/auto-libm-test-in: Add more tests of sinh.
30711 * math/auto-libm-test-out: Regenerated.
30712 * sysdeps/i386/fpu/libm-test-ulps: Update.
30713
30714 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30715
30716 * libio/oldfileops.c: Include unistd.h.
30717
30718 2015-08-06 Mike Frysinger <vapier@gentoo.org>
30719
30720 * stdlib/isomac.c: Include ctype.h.
30721
30722 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
30723
30724 * dirent/tst-seekdir.c (main): Converted to ...
30725 (do_test): ... this.
30726 (TEST_FUNCTION): New macro.
30727 Include test-skeleton.c.
30728 * elf/tst-dlmodcount.c (main): Converted to ...
30729 (do_test): ... this.
30730 (TEST_FUNCTION): New macro.
30731 Include test-skeleton.c.
30732 * elf/tst-order-main.c (main): Converted to ...
30733 (do_test): ... this.
30734 (TEST_FUNCTION): New macro.
30735 Include test-skeleton.c.
30736 * elf/tst-pie2.c (main): Converted to ...
30737 (do_test): ... this.
30738 (TEST_FUNCTION): New macro.
30739 Include test-skeleton.c.
30740 * inet/tst-ether_aton.c (main): Converted to ...
30741 (do_test): ... this.
30742 (TEST_FUNCTION): New macro.
30743 Include test-skeleton.c.
30744 * misc/tst-mntent.c (main): Converted to ...
30745 (do_test): ... this.
30746 (TEST_FUNCTION): New macro.
30747 Include test-skeleton.c.
30748 * misc/tst-tsearch.c (main): Converted to ...
30749 (do_test): ... this.
30750 (TEST_FUNCTION): New macro.
30751 Include test-skeleton.c.
30752 * posix/tst-regexloc.c (main): Converted to ...
30753 (do_test): ... this.
30754 (TEST_FUNCTION): New macro.
30755 Include test-skeleton.c.
30756 * resolv/tst-aton.c (main): Converted to ...
30757 (do_test): ... this.
30758 (TEST_FUNCTION): New macro.
30759 Include test-skeleton.c.
30760 * stdio-common/test-fwrite.c (main): Converted to ...
30761 (do_test): ... this.
30762 (TEST_FUNCTION): New macro.
30763 Include test-skeleton.c.
30764 * stdio-common/tst-ferror.c (main): Converted to ...
30765 (do_test): ... this.
30766 (TEST_FUNCTION): New macro.
30767 Include test-skeleton.c.
30768 * stdio-common/tst-printf.c (main): Converted to ...
30769 (do_test): ... this.
30770 (TEST_FUNCTION): New macro.
30771 Include test-skeleton.c.
30772 * stdio-common/tst-printfsz.c (main): Converted to ...
30773 (do_test): ... this.
30774 (TEST_FUNCTION): New macro.
30775 Include test-skeleton.c.
30776 * stdlib/tst-strtod.c (main): Converted to ...
30777 (do_test): ... this.
30778 (TEST_FUNCTION): New macro.
30779 Include test-skeleton.c.
30780 * string/tst-strlen.c (main): Converted to ...
30781 (do_test): ... this.
30782 (TEST_FUNCTION): New macro.
30783 Include test-skeleton.c.
30784 * string/tst-svc.c (main): Converted to ...
30785 (do_test): ... this.
30786 (TEST_FUNCTION): New macro.
30787 Include test-skeleton.c.
30788 * time/tst-strptime.c (main): Converted to ...
30789 (do_test): ... this.
30790 (TEST_FUNCTION): New macro.
30791 Include test-skeleton.c.
30792 * timezone/tst-timezone.c (main): Converted to ...
30793 (do_test): ... this.
30794 (TEST_FUNCTION): New macro.
30795 Include test-skeleton.c.
30796
30797 2015-08-05 Zack Weinberg <zackw@panix.com>
30798
30799 * misc/regexp.h: Update comments.
30800
30801 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
30802
30803 [BZ #18635]
30804 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30805 before return label.
30806
30807 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
30808
30809 [BZ #18661]
30810 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30811 when calling __errno_location.
30812 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30813 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30814
30815 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
30816
30817 [BZ #18661]
30818 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30819 (__lll_timedwait_tid): Align stack to 16 bytes when calling
30820 __gettimeofday.
30821
30822 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
30823
30824 [BZ #18661]
30825 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30826 (__start_context): Don't use pop to restore %rdi so that stack
30827 is aligned to 16 bytes when calling __setcontext.
30828
30829 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
30830
30831 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30832 only for libc.
30833 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30834
30835 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
30836
30837 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30838 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
30839 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30840
30841 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
30842
30843 * string/memccpy.c (memccpy):
30844 Improve performance by using memchr/memcpy/__mempcpy.
30845
30846 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
30847
30848 * string/strncpy.c (strncpy):
30849 Improve performance by using __strnlen/memcpy.
30850
30851 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
30852
30853 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30854 Optimize to avoid an unnecessary FPCR read.
30855
30856 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
30857
30858 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30859 Optimize to reduce FPCR/FPSR accesses.
30860
30861 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
30862
30863 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30864 dead->data[category] != NULL.
30865
30866 2015-08-05 Joseph Myers <joseph@codesourcery.com>
30867
30868 [BZ #18647]
30869 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30870 and |x| close to 1, use absolute value of x when computing log.
30871 * math/auto-libm-test-in: Add more tests of pow.
30872 * math/auto-libm-test-out: Regenerated.
30873
30874 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30875
30876 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30877 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30878 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30879
30880 2015-08-05 Marko Myllynen <myllynen@redhat.com>
30881
30882 [BZ #18525]
30883 * locales/km_KH: Remove timezone definition.
30884 * locales/lo_LA: Likewise.
30885 * locales/my_MM: Likewise.
30886 * locales/nan_TW@latin: Likewise.
30887 * locales/th_TH: Likewise.
30888 * locales/uk_UA: Likewise.
30889
30890 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
30891
30892 [BZ #18265]
30893 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30894 (wcsncat): Likewise.
30895 (wcscmp): Likewise.
30896 (wcsncmp): Likewise.
30897
30898 2015-08-05 Mike Frysinger <vapier@gentoo.org>
30899
30900 * test-skeleton.c (usage): New function.
30901 (main): Call usage when opt is '?'.
30902
30903 2015-08-05 Mike Frysinger <vapier@gentoo.org>
30904
30905 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30906 before first use.
30907
30908 2015-08-05 Mike Frysinger <vapier@gentoo.org>
30909
30910 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30911 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
30912 in there too.
30913
30914 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
30915
30916 * version.h (RELEASE): Set to "development".
30917 (VERSION): Set to "2.22.90"
30918
30919 * version.h (RELEASE): Set to "stable".
30920 (VERSION): Set to "2.22"
30921 * include/features.h (__GLIBC_MINOR__): Set to 22.
30922
30923 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
30924
30925 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30926 Restructure macro to avoid "value computed is not used" warning.
30927 (atomic_compare_and_exchange_val_acq): Likewise.
30928
30929 2015-08-04 Andreas Schwab <schwab@suse.de>
30930
30931 [BZ #18635]
30932 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30933 ret.
30934 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30935
30936 2015-08-01 Carlos O'Donell <carlos@redhat.com>
30937
30938 * po/pl.po: Updated translation.
30939 * po/uk.po: Likewise.
30940 * po/fi.po: Likewise.
30941 * po/ko.po: Likewise.
30942 * po/ru.po: Likewise.
30943 * po/vi.po: Likewise.
30944
30945 2015-07-31 Zack Weinberg <zackw@panix.com>
30946
30947 [BZ #18681]
30948 * regexp.h: Add unconditional #warning stating that this header
30949 will be removed soon. Revise banner comment to match.
30950 (compile): Consistently use ERROR instead of RETURN to report
30951 errors (partial fix for BZ #18681).
30952 * regexp.c: Don't include regexp.h. Remove some unnecessary
30953 declarations.
30954
30955 2015-07-31 Carlos O'Donell <carlos@redhat.com>
30956
30957 * po/libc.pot: Regenerated.
30958
30959 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
30960
30961 [BZ #18740]
30962 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30963 float-vlen4-arch-ext-cflags): Removed.
30964 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30965 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30966
30967 2015-07-30 Mike Frysinger <vapier@gentoo.org>
30968
30969 [BZ #14113]
30970 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30971 aligned to __aligned__.
30972 (pthread_cond_t, pthread_rwlock_t): Likewise.
30973
30974 2015-07-30 Torvald Riegel <triegel@redhat.com>
30975
30976 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30977
30978 2015-07-30 Mike Frysinger <vapier@gentoo.org>
30979
30980 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30981 (struct sigaction): Change sa_flags from a long to an int, and add
30982 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30983
30984 2015-07-30 Mike Frysinger <vapier@gentoo.org>
30985
30986 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30987 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30988 sysdeps/generic/sysdep.h include.
30989 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30990 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
30991 sysdeps/hppa/sysdep.h.
30992 (ENTRY, PSEUDO): Undefine before defining.
30993
30994 2015-07-30 Mike Frysinger <vapier@gentoo.org>
30995
30996 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30997 from scratch to use INTERNAL_SYSCALL.
30998
30999 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
31000
31001 [BZ #18078]
31002 * scripts/check-localplt.awk: Support alternate relocations.
31003 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
31004 sections.
31005 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
31006 malloc entries with + REL R_386_GLOB_DAT.
31007 * sysdeps/x86_64/localplt.data: New file.
31008
31009 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
31010
31011 [BZ #18731]
31012 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
31013 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31014 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31015
31016 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31017
31018 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
31019
31020 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31021
31022 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
31023 directly in terms of __sync_fetch_and_add and delete (int) cast.
31024
31025 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31026
31027 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
31028 the -D_ASM_IA64_CURRENT_H flag.
31029
31030 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31031
31032 [BZ #18641]
31033 * pwd/pwd.h (putpwent): Delete __nonnull markings.
31034
31035 2015-07-27 Andreas Schwab <schwab@suse.de>
31036
31037 * conform/conformtest.pl (checknamespace): Filter out string
31038 literals while tokenizing.
31039
31040 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
31041
31042 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31043 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
31044 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31045
31046 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
31047
31048 * nptl/tst-join7mod.c: Add #include <string.h>.
31049
31050 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
31051
31052 * sysdeps/nios2/libm-test-ulps: Update.
31053
31054 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
31055
31056 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
31057 Fix order of arguments to the rt_sigprocmask syscall.
31058 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
31059 Likewise.
31060
31061 2015-07-24 Roland McGrath <roland@hack.frob.com>
31062
31063 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
31064
31065 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31066
31067 [BZ #18457]
31068 * nptl/Makefile (tests): New test case tst-join7.
31069 (modules-names): New test case module tst-join7mod.
31070 * nptl/tst-join7.c: New file.
31071 * nptl/tst-join7mod.c: New file.
31072 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
31073 all translation units in libc.so, libpthread.so and rtld.
31074
31075 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31076
31077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31078
31079 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
31080
31081 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
31082 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31083 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31084 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31085 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31087 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31088 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31089 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31090 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31091 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31092 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31093 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
31094 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31095 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
31096 implementation.
31097
31098 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31099
31100 [BZ #17711]
31101 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31102 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
31103 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31104 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31105 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
31106 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31107
31108 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31109
31110 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
31111 instead of just saying load lock in the comments.
31112
31113 2015-07-23 Roland McGrath <roland@hack.frob.com>
31114
31115 * sysdeps/unix/Subdirs: Moved ...
31116 * sysdeps/posix/Subdirs: ... here.
31117 * login/pty.h (struct termios, struct winsize): Add forward decls.
31118 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
31119 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
31120 * sysdeps/arm/nacl/libc.abilist: Updated.
31121 * sysdeps/nacl/libutil.abilist: New file.
31122
31123 * bits/signum.h: Update comments to mention 1003.1-2013 too.
31124 (SIGWINCH): New macro.
31125
31126 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
31127 * sysdeps/arm/nacl/libc.abilist: Add it.
31128
31129 2015-07-23 Mike Frysinger <vapier@gentoo.org>
31130
31131 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
31132
31133 2015-07-23 Mike Frysinger <vapier@gentoo.org>
31134
31135 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31136 Swap __glibc_reserved0 and sa_flags order.
31137
31138 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31139
31140 [BZ #18657]
31141 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
31142 are pending TLS destructor calls.
31143 * include/link.h (struct link_map): Add concurrency note for
31144 L_TLS_DTOR_COUNT.
31145 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31146 Don't touch the link map flag. Atomically increment
31147 l_tls_dtor_count.
31148 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
31149 Avoid taking the load lock and don't touch the link map flag.
31150 * stdlib/tst-tls-atexit-nodelete.c: New test case.
31151 * stdlib/Makefile (tests): Use it.
31152 * stdlib/tst-tls-atexit.c (do_test): dlopen
31153 tst-tls-atexit-lib.so again before dlclose. Add conditionals
31154 to allow tst-tls-atexit-nodelete test case to use it.
31155
31156 2015-07-22 Mike Frysinger <vapier@gentoo.org>
31157
31158 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
31159 to bits/types.h.
31160 (msgqnum_t): New typedef.
31161 (msglen_t): Likewise.
31162 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
31163 and msg_qbytes type to msglen_t.
31164
31165 2015-07-22 Mike Frysinger <vapier@gentoo.org>
31166
31167 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
31168 pad0 to __glibc_reserved0.
31169 (struct stat64): Likewise.
31170
31171 2015-07-22 Mike Frysinger <vapier@gentoo.org>
31172
31173 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31174 Change sa_flags from a long to an int and add __glibc_reserved0 before
31175 it for padding.
31176
31177 2015-07-22 Mike Frysinger <vapier@gentoo.org>
31178
31179 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
31180 anonymous by deleting "siginfo" name.
31181
31182 2015-07-21 Roland McGrath <roland@hack.frob.com>
31183
31184 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
31185 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31186 rather than __nacl_irt_filename.
31187 * sysdeps/nacl/xstat.c (__xstat): Likewise.
31188
31189 * NEWS: New item for arm-nacl port.
31190 * sysdeps/arm/nacl/libc.abilist: New file.
31191 * sysdeps/nacl/ld.abilist: New file.
31192 * sysdeps/nacl/libBrokenLocale.abilist: New file.
31193 * sysdeps/nacl/libanl.abilist: New file.
31194 * sysdeps/nacl/libcrypt.abilist: New file.
31195 * sysdeps/nacl/libdl.abilist: New file.
31196 * sysdeps/nacl/libm.abilist: New file.
31197 * sysdeps/nacl/libpthread.abilist: New file.
31198 * sysdeps/nacl/libresolv.abilist: New file.
31199 * sysdeps/nacl/librt.abilist: New file.
31200
31201 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
31202
31203 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
31204 __startcontext to initialize the new context.
31205 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
31206 up CFI directive to forbid further backtracing.
31207
31208 2015-07-21 Marko Myllynen <myllynen@redhat.com>
31209
31210 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31211 reference.
31212 * charmaps/ANSI_X3.4-1968: Likewise.
31213 * charmaps/BS_4730: Likewise.
31214 * charmaps/BS_VIEWDATA: Likewise.
31215 * charmaps/CP1250: Likewise.
31216 * charmaps/CP1251: Likewise.
31217 * charmaps/CP1252: Likewise.
31218 * charmaps/CP1253: Likewise.
31219 * charmaps/CP1254: Likewise.
31220 * charmaps/CP1255: Likewise.
31221 * charmaps/CP1256: Likewise.
31222 * charmaps/CSN_369103: Likewise.
31223 * charmaps/EBCDIC-DK-NO: Likewise.
31224 * charmaps/GB_1988-80: Likewise.
31225 * charmaps/GREEK-CCITT: Likewise.
31226 * charmaps/GREEK7: Likewise.
31227 * charmaps/INIS-8: Likewise.
31228 * charmaps/ISIRI-3342: Likewise.
31229 * charmaps/ISO_2033-1983: Likewise.
31230 * charmaps/ISO_5427-EXT: Likewise.
31231 * locales/POSIX: Likewise.
31232 * locales/ar_SA: Likewise.
31233 * locales/be_BY: Likewise.
31234 * locales/be_BY@latin: Likewise.
31235 * locales/ca_ES: Likewise.
31236 * locales/cs_CZ: Likewise.
31237 * locales/da_DK: Likewise.
31238 * locales/de_BE: Likewise.
31239 * locales/de_CH: Likewise.
31240 * locales/de_LU: Likewise.
31241 * locales/en_AU: Likewise.
31242 * locales/en_BW: Likewise.
31243 * locales/en_CA: Likewise.
31244 * locales/en_DK: Likewise.
31245 * locales/en_GB: Likewise.
31246 * locales/en_IE: Likewise.
31247 * locales/en_NZ: Likewise.
31248 * locales/en_ZA: Likewise.
31249 * locales/en_ZW: Likewise.
31250 * locales/es_AR: Likewise.
31251 * locales/es_BO: Likewise.
31252 * locales/es_CL: Likewise.
31253 * locales/es_CO: Likewise.
31254 * locales/es_DO: Likewise.
31255 * locales/es_EC: Likewise.
31256 * locales/es_ES: Likewise.
31257 * locales/es_HN: Likewise.
31258 * locales/es_MX: Likewise.
31259 * locales/es_PA: Likewise.
31260 * locales/es_PE: Likewise.
31261 * locales/es_PY: Likewise.
31262 * locales/es_SV: Likewise.
31263 * locales/es_US: Likewise.
31264 * locales/es_UY: Likewise.
31265 * locales/es_VE: Likewise.
31266 * locales/et_EE: Likewise.
31267 * locales/fa_IR: Likewise.
31268 * locales/fo_FO: Likewise.
31269 * locales/fr_CA: Likewise.
31270 * locales/fr_CH: Likewise.
31271 * locales/gv_GB: Likewise.
31272 * locales/he_IL: Likewise.
31273 * locales/hr_HR: Likewise.
31274 * locales/id_ID: Likewise.
31275 * locales/is_IS: Likewise.
31276 * locales/it_CH: Likewise.
31277 * locales/iw_IL: Likewise.
31278 * locales/kl_GL: Likewise.
31279 * locales/ko_KR: Likewise.
31280 * locales/kw_GB: Likewise.
31281 * locales/lg_UG: Likewise.
31282 * locales/lt_LT: Likewise.
31283 * locales/lv_LV: Likewise.
31284 * locales/mi_NZ: Likewise.
31285 * locales/nhn_MX: Likewise.
31286 * locales/nl_BE: Likewise.
31287 * locales/pl_PL: Likewise.
31288 * locales/sk_SK: Likewise.
31289 * locales/sl_SI: Likewise.
31290 * locales/sv_FI: Likewise.
31291 * locales/tl_PH: Likewise.
31292 * locales/tr_TR: Likewise.
31293 * locales/vi_VN: Likewise.
31294
31295 2015-07-21 Khem Raj <raj.khem@gmail.com>
31296
31297 [BZ #17475]
31298 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31299 of tu_IN and bh_IN.
31300
31301 2015-07-21 Mike Frysinger <vapier@gentoo.org>
31302
31303 [BZ #18694]
31304 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31305 bits/wordsize.h.
31306 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31307
31308 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31309
31310 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31311 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31312 (spawn_thread): New function.
31313 (load): Rename to reg_dtor_and_close. Move dlopen to...
31314 (do_test): ... here. Use IS_LOADED to test for its
31315 availability.
31316
31317 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
31318
31319 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31320
31321 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
31322
31323 [BZ #18696]
31324 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31325 si_addr_bnd.
31326 (si_lower): New.
31327 (si_upper): Likewise.
31328
31329 2015-07-16 David S. Miller <davem@davemloft.net>
31330
31331 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31332
31333 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31334
31335 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31336 buffer.
31337 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31338 fail output information.
31339
31340 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31341
31342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31343 and strstr-ppc64..
31344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31345 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31346 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31347 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31348 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31349
31350 2015-07-16 Mike Frysinger <vapier@gentoo.org>
31351
31352 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31353 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31354 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31355 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31356
31357 2015-07-16 Mike Frysinger <vapier@gentoo.org>
31358
31359 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31360 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31361 rtld_hidden_proto.
31362 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31363
31364 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31365
31366 * tst-nodelete-opened.c (do_test): Add comment to clarify how
31367 the test can fail.
31368
31369 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31370
31371 [BZ #18676]
31372 * elf/tst-nodelete-opened.c: New test case.
31373 * elf/tst-nodelete-opened-lib.c: New test case module.
31374 * elf/Makefile (tests, modules-names): Use them.
31375 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31376 early.
31377
31378 2015-07-15 David S. Miller <davem@davemloft.net>
31379
31380 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31381 futex-intenal.h
31382 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31383 * sysdeps/sparc/sparc64/Makefile: Likewise.
31384 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31385 Remove space from macro define.
31386 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31387
31388 2015-07-15 Pravin Satpute <psatpute@redhat.com>
31389
31390 [BZ #17475]
31391 * locale/iso-639.def: Update Bhili and Tulu language codes as
31392 per iso639-3.
31393
31394 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
31395
31396 * elf/tst-leaks1.c (main): Converted to ...
31397 (do_test): ... this.
31398 (TEST_FUNCTION): New macro.
31399 Include test-skeleton.c.
31400 * localedata/tst-langinfo.c (main): Converted to ...
31401 (do_test): ... this.
31402 (TEST_FUNCTION): New macro.
31403 Include test-skeleton.c.
31404 * math/test-fpucw.c (main): Converted to ...
31405 (do_test): ... this.
31406 (TEST_FUNCTION): New macro.
31407 Include test-skeleton.c.
31408 * math/test-tgmath.c (main): Converted to ...
31409 (do_test): ... this.
31410 (TEST_FUNCTION): New macro.
31411 Include test-skeleton.c.
31412 * math/test-tgmath2.c (main): Converted to ...
31413 (do_test): ... this.
31414 (TEST_FUNCTION): New macro.
31415 Include test-skeleton.c.
31416 * setjmp/tst-setjmp.c (main): Converted to ...
31417 (do_test): ... this.
31418 (TEST_FUNCTION): New macro.
31419 Include test-skeleton.c.
31420 * stdio-common/tst-sscanf.c (main): Converted to ...
31421 (do_test): ... this.
31422 (TEST_FUNCTION): New macro.
31423 Include test-skeleton.c.
31424 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
31425 (do_test): ... this.
31426 (TEST_FUNCTION): New macro.
31427 Include test-skeleton.c.
31428
31429 * elf/tst-audit9.c (main): Converted to ...
31430 (do_test): ... this.
31431 (TEST_FUNCTION): New macro.
31432 Include test-skeleton.c.
31433
31434 2015-07-15 Mike Frysinger <vapier@gentoo.org>
31435
31436 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
31437
31438 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31439
31440 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
31441 New variable.
31442
31443 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31444
31445 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31446
31447 2015-07-14 Roland McGrath <roland@hack.frob.com>
31448
31449 * sysdeps/generic/dl-fileid.h: New file.
31450 * sysdeps/posix/dl-fileid.h: New file.
31451 * sysdeps/nacl/dl-fileid.h: New file.
31452 * include/link.h: Include <dl-fileid.h>.
31453 (struct link_map): Replace l_dev and l_ino with l_file_id.
31454 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
31455 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
31456 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
31457
31458 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31459
31460 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
31461
31462 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31463
31464 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
31465 Add iff $CXX is set.
31466 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
31467 Likewise.
31468 (tst-nodelete-zmodiff): Likewise.
31469 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
31470
31471 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31472
31473 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
31474
31475 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
31476
31477 * sysdeps/aarch64/fpu/math_private.h
31478 (define math_opt_barrier): Add AArch64 version.
31479 (math_force_eval): Likewise.
31480
31481 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
31482
31483 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
31484
31485 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
31486
31487 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
31488 %ld with %jd and cast to intmax_t.
31489 (do_test_length_zero): Likewise.
31490
31491 2015-07-10 Roland McGrath <roland@hack.frob.com>
31492
31493 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
31494
31495 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
31496
31497 * sysdeps/tile/libm-test-ulps: Regenerated.
31498
31499 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
31500 Comment out the whole function, not just its body.
31501
31502 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31503
31504 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
31505 locks.
31506
31507 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
31508
31509 2015-07-10 Torvald Riegel <triegel@redhat.com>
31510
31511 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
31512 (sem_assume_only_signals_cause_futex_EINTR): Remove.
31513
31514 2015-07-10 Torvald Riegel <triegel@redhat.com>
31515
31516 * sysdeps/nptl/futex-internal.h: New file.
31517 * sysdeps/nacl/futex-internal.h: New file.
31518 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
31519 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
31520 error checking.
31521 (setxid_unmark_thread): Likewise.
31522 (__nptl_setxid): Likewise.
31523 (__wait_lookup_done): Likewise.
31524 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31525 * nptl/nptl-init.c (sighandler_setxid): Likewise.
31526 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
31527 * nptl/pthread_once.c (clear_once_control): Likewise.
31528 (__pthread_once_slow): Likewise.
31529 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
31530 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
31531 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
31532 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
31533 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
31534 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
31535 Likewise.
31536 (__pthread_rwlock_rdlock): Likewise.
31537 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31538 Likewise.
31539 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31540 Likewise.
31541 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31542 Likewise.
31543 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31544 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31545 Likewise.
31546 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31547 __ASSUME_PRIVATE_FUTEX check.
31548 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31549 Check that shared futexes are supported.
31550 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31551 wrappers with error checking.
31552 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31553 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31554 * nptl/pthread_barrierattr_setpshared.c
31555 (pthread_barrierattr_setpshared): Check that shared futexes are
31556 supported.
31557 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31558 Likewise.
31559 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31560 Likewise.
31561 * nptl/sem_init.c (futex_private_if_supported): Remove.
31562 (__new_sem_init): Adapt and check that shared futexes are supported.
31563 * nptl/sem_open.c (sem_open): Likewise.
31564 * nptl/sem_post.c (futex_wake): Remove.
31565 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31566 (do_futex_wait): Use futex wrappers with error checking.
31567 * nptl/sem_wait.c: Include lowlevellock.h.
31568 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31569 Use futex_supports_pshared.
31570 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31571 Use futex wrappers with error checking.
31572 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31573 Likewise.
31574 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31575 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31576 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31577 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31578 (futex_wake): Likewise.
31579 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31580 (do_futex_wait): Use futex wrappers with error checking.
31581 (__new_sem_wait_slow): Update EINTR handling.
31582 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31583
31584 2015-07-09 Martin Sebor <msebor@redhat.com>
31585
31586 [BZ #18435]
31587 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31588 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31589 * nptl/Makefile (test-xfail-tst-once5): Define.
31590
31591 2015-07-09 Roland McGrath <roland@hack.frob.com>
31592
31593 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31594 * elf/dl-minimal.c: For readability, reorder some definitions and
31595 introduce more page breaks. Include <stdio.h>.
31596 (__libc_fatal): New function.
31597
31598 * include/unistd.h: Add rtld_hidden_proto for _exit.
31599 * posix/_exit.c: Add rtld_hidden_def.
31600 * sysdeps/mach/hurd/_exit.c: Likewise.
31601 * sysdeps/nacl/_exit.c: Likewise.
31602 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31603 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31604
31605 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
31606
31607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31608 bndmov encoding with zero displacement.
31609
31610 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
31611 H.J. Lu <hongjiu.lu@intel.com>
31612
31613 [BZ #18134]
31614 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31615 * sysdeps/i386/configure: Regenerated.
31616 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31617 (_dl_runtime_profile): Save and restore Intel MPX return bound
31618 registers when calling _dl_call_pltexit. Add
31619 PRESERVE_BND_REGS_PREFIX before return.
31620 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31621 (LRV_BND1_OFFSET): Likewise.
31622 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31623 lrv_bnd1.
31624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31625 typo in bndmov encoding.
31626 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31627 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
31628 branch instructions to preserve bounds.
31629
31630 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31631
31632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31633 [GLIBC_2.22]: Add fmemopen.
31634
31635 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
31636
31637 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31638 returns an error, also try to use host port from __mach_host_self for
31639 the __vm_wire call.
31640 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31641
31642 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
31643
31644 [BZ #18400]
31645 [BZ #18648]
31646 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31647 Fix pr_uid and pr_gid members.
31648 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31649 definition to elf_greg_t.
31650
31651 2015-07-08 Roland McGrath <roland@hack.frob.com>
31652
31653 [BZ #18383]
31654 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31655 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31656 * sysdeps/arm/configure: Regenerated.
31657 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31658 (test-xfail-tst-tlsalign-static): Variable removed.
31659
31660 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31661 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31662 rather than explicit 'ln -s'.
31663
31664 * resolv/rpc/netdb.h: New file.
31665 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31666
31667 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31668
31669 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31670 length buffers.
31671 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31672 test-skeleton.c.
31673
31674 [BZ #6544]
31675 [BZ #11216]
31676 [BZ #12836]
31677 [BZ #13151]
31678 [BZ #13152]
31679 [BZ #14292]
31680 * include/stdio.h (fmemopen): Remove hidden prototype.
31681 (__fmemopen): Add new hidden prototype.
31682 * libio/Makefile: Add oldfmemopen object.
31683 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31684 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31685 compliance.
31686 * libio/oldfmemopen.c: New file: old fmemopen implementation for
31687 symbol compatibility.
31688 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31689 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31690 fmemopen.
31691 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31692 on append and read mode.
31693 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31694 fmemopen.
31695 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31696 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31697 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31698 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31699 Likewise.
31700 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31701 [GLIBC_2.22]: Likewise.
31702 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31703 Likewise.
31704 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31705 Likewise.
31706 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31707 [GLIBC_2.22]: Likewise.
31708 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31709 [GLIBC_2.22]: Likewise.
31710 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31711 [GLIBC_2.22]: Likewise.
31712 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31713 [GLIBC_2.22]: Likewise.
31714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31715 [GLIBC_2.22]: Likewise.
31716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31717 [GLIBC_2.22]: Likewise.
31718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31719 [GLIBC_2.22]: Likewise.
31720 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31721 Likewise.
31722 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31723 Likewise.
31724 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31725 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31726 [GLIBC_2.22]: Likewise.
31727 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31728 [GLIBC_2.22]: Likewise.
31729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31730 [GLIBC_2.22]: Likewise.
31731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31732 [GLIBC_2.22]: Likewise.
31733 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31734 Likewise.
31735 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31736 Likewise.
31737 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31738 Likewise.
31739 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31740 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31741
31742 2015-07-08 Carlos O'Donell <carlos@redhat.com>
31743
31744 [BZ #18643]
31745 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31746 IPV6_PATHMTU, and IPV6_DONTFRAG.
31747
31748 2015-07-08 Feng Gao <gfree.wind@gmail.com>
31749
31750 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31751 and _IO_UNBUFFERED.
31752 * libio/oldfileops.c: Likewise.
31753 * libio/wfileops.c: Likewise.
31754
31755 2015-07-08 Mike Frysinger <vapier@gentoo.org>
31756
31757 * nscd/selinux.c: Delete selinux/flask.h include.
31758
31759 2015-07-08 Mike Frysinger <vapier@gentoo.org>
31760
31761 [BZ #18641]
31762 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31763 (putpwent): Likewise.
31764 (getpwnam): Likewise.
31765 (getpwent_r): Likewise.
31766 (getpwuid_r): Likewise.
31767 (getpwnam_r): Likewise.
31768 (fgetpwent_r): Likewise.
31769
31770 2015-07-08 Carlos O'Donell <carlos@redhat.com>
31771
31772 [BZ #18557]
31773 * inet/rcmd.c (__validuser2_sa): Check user first to
31774 short-circuit host check.
31775
31776 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
31777 Mikhail Ilin <m.ilin@samsung.com>
31778
31779 [BZ #17833]
31780 * elf/Makefile (tests): Add tst-nodelete.
31781 (modules-names): Add tst-nodelete-uniquemod.
31782 (tst-nodelete-uniquemod.so-no-z-defs): New.
31783 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31784 (tst-nodelete-zmod.so-no-z-defs): Likewise.
31785 ($(objpfx)tst-nodelete): Likewise.
31786 ($(objpfx)tst-nodelete.out): Likewise.
31787 (LDFLAGS-tst-nodelete): Likewise.
31788 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31789 * elf/dl-close.c (_dl_close_worker): Add a parameter to
31790 implement forced object deletion.
31791 (_dl_close): Pass false to _dl_close_worker.
31792 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31793 * elf/tst-nodelete.cc: New file.
31794 * elf/tst-nodeletelib.cc: Likewise.
31795 * elf/tst-znodeletelib.cc: Likewise.
31796 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31797
31798 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
31799
31800 [BZ #18508]
31801 * stdlib/Makefile ($(objpfx)tst-makecontext3):
31802 Depend on $(libdl).
31803 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31804 is not called infinitely times.
31805 (backtrace_helper): New function.
31806 (trace_arg): New struct.
31807 (st1): Enlarge stack size.
31808 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31809 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31810 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31811 Likewise.
31812
31813 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
31814
31815 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31816
31817 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
31818
31819 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31820 Include sys/types.h instead of bits/types.h.
31821 Remove inclusion of bits/wordsize.h.
31822
31823 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
31824
31825 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31826 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31827 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31828 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31829 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31830 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31831
31832 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
31833
31834 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31835 link-defines.sym.
31836 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31837 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31838 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31839 and LR_SIZE.
31840 * sysdeps/i386/link-defines.sym: New file.
31841
31842 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
31843
31844 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31845 (modules-names): Add tst-auditmod3a tst-auditmod3b.
31846 ($(objpfx)tst-audit3): New rule.
31847 ($(objpfx)tst-audit3.out): Likewise.
31848 * sysdeps/i386/tst-audit3.c: New file.
31849 * sysdeps/i386/tst-audit3.h: Likewise.
31850 * sysdeps/i386/tst-auditmod3a.c: Likewise.
31851 * sysdeps/i386/tst-auditmod3b.c: Likewise.
31852
31853 2015-07-07 Torvald Riegel <triegel@redhat.com>
31854
31855 [BZ #18633]
31856 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31857 pointer in C code.
31858 (__strcat_c): Likewise.
31859 (__strcat_g): Likewise.
31860
31861 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
31862
31863 [BZ #18592]
31864 * misc/sbrk.c: Set errno to ENOMEM on overflow.
31865
31866 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
31867
31868 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31869 New function. (__ieee754_sqrtf): New function.
31870 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31871 New function.
31872 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31873 New function.
31874
31875 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
31876
31877 * sysdeps/ieee754/support.c: Remove unused file.
31878
31879 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
31880
31881 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31882 registers instead of d ones so the layout is kernel abi compatible.
31883 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31884 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31885 Likewise.
31886
31887 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31888
31889 * sysdeps/aarch64/libm-test-ulps: Regenerated.
31890
31891 2015-07-01 Joseph Myers <joseph@codesourcery.com>
31892
31893 [BZ #18619]
31894 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31895 and return argument in case of subnormal argument.
31896
31897 2015-07-01 Martin Sebor <msebor@redhat.com>
31898
31899 [BZ #18435]
31900 * nptl/Makefile: Add tst-once5.cc.
31901 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31902 Remove macro redefinitions.
31903 * nptl/tst-once5.cc: New test.
31904
31905 2015-07-01 Joseph Myers <joseph@codesourcery.com>
31906
31907 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31908
31909 * sysdeps/arm/libm-test-ulps: Regenerated.
31910
31911 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31912 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31913
31914 2015-06-30 Torvald Riegel <triegel@redhat.com>
31915
31916 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31917 lll_lock_wait_private and lll_futex_wake probes.
31918
31919 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31920 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31921 Likewise.
31922 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31923 atomic_spin_nop.
31924 * sysdeps/x86_64/bits/atomic.h: Likewise.
31925 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31926 to atomic_spin_nop and move ...
31927 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31928 ... here and ...
31929 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31930 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31931 atomic_spin_nop instead of BUSY_WAIT_NOP.
31932 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31933 Likewise.
31934 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31935 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31936 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31937 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31938 instead of atomic_delay.
31939
31940 2015-06-29 Joseph Myers <joseph@codesourcery.com>
31941
31942 [BZ #18613]
31943 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31944 X_ADJ not X when adjusting exponent.
31945 (__ieee754_gamma_r): Do intermediate computations in
31946 round-to-nearest then adjust overflowing and underflowing results
31947 as needed.
31948 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31949 of X_ADJ not X when adjusting exponent.
31950 (__ieee754_gammaf_r): Do intermediate computations in
31951 round-to-nearest then adjust overflowing and underflowing results
31952 as needed.
31953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31954 log of X_ADJ not X when adjusting exponent.
31955 (__ieee754_gammal_r): Do intermediate computations in
31956 round-to-nearest then adjust overflowing and underflowing results
31957 as needed. Use 1.0L not 1.0f as numerator of division.
31958 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31959 log of X_ADJ not X when adjusting exponent.
31960 (__ieee754_gammal_r): Do intermediate computations in
31961 round-to-nearest then adjust overflowing and underflowing results
31962 as needed. Use 1.0L not 1.0f as numerator of division.
31963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31964 of X_ADJ not X when adjusting exponent.
31965 (__ieee754_gammal_r): Do intermediate computations in
31966 round-to-nearest then adjust overflowing and underflowing results
31967 as needed. Use 1.0L not 1.0f as numerator of division.
31968 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
31969 to auto-libm-test-in.
31970 (tgamma_test): Use ALL_RM_TEST.
31971 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
31972 tests of tgamma with spurious-overflow.
31973 * math/auto-libm-test-out: Regenerated.
31974 * math/gen-libm-have-vector-test.sh: Do not check for START.
31975 * sysdeps/i386/fpu/libm-test-ulps: Update.
31976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31977
31978 [BZ #18612]
31979 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31980 arguments, just return 0.5 times the argument, with underflow
31981 forced as needed.
31982 * math/auto-libm-test-in: Add more tests of j1.
31983 * math/auto-libm-test-out: Regenerated.
31984
31985 [BZ #16559]
31986 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31987 (__ieee754_j1): Force underflow exception for small results.
31988 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31989 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31990 (__ieee754_j1f): Force underflow exception for small results.
31991 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31992 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31995 (__ieee754_j1l): Force underflow exception for small results.
31996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31997 * math/auto-libm-test-in: Add more tests of j1 and jn.
31998 * math/auto-libm-test-out: Regenerated.
31999
32000 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
32001 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
32002 (PF_MPLS): Likewise.
32003 (AF_IB): Likewise.
32004 (AF_MPLS): Likewise.
32005 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
32006 value and macro.
32007 (MS_RMT_MASK): Include MS_LAZYTIME.
32008
32009 2015-06-26 Mel Gorman <mgorman@suse.de>
32010
32011 [BZ #18502]
32012 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
32013 already minimal.
32014
32015 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
32016
32017 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
32018 (DT_MIPS_NUM): Update.
32019 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
32020 DT_MIPS_RLD_MAP_REL.
32021
32022 2015-06-25 Joseph Myers <joseph@codesourcery.com>
32023
32024 [BZ #16559]
32025 [BZ #18602]
32026 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
32027 round-to-nearest internally then recompute results that
32028 underflowed to zero in the original rounding mode.
32029 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32030 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32032 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32033 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
32034 * sysdeps/i386/fpu/libm-test-ulps: Update.
32035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32036
32037 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
32038
32039 * NEWS: Fixed description of link with vector math library.
32040
32041 2015-06-25 Andreas Schwab <schwab@suse.de>
32042
32043 [BZ #18549]
32044 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
32045 * libio/test-fmemopen.c (do_test): Add test for it.
32046
32047 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
32048
32049 [BZ #17841]
32050 * Makeconfig (no-pie-ldflag): New.
32051 (+link): Set to $(+link-pie) if default to PIE.
32052 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
32053 * config.make.in (build-pie-default): New.
32054 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
32055 is default. AC_SUBST.
32056 * configure: Regenerated.
32057 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
32058
32059 2015-06-24 Roland McGrath <roland@hack.frob.com>
32060
32061 * nptl/descr.h (struct pthread): Change type of field setxid_futex
32062 to 'unsigned int'.
32063
32064 * resolv/gai_misc.h (struct waitlist): Change type of field
32065 counterp to 'volatile unsigned int *'.
32066 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
32067 FUTEXADDR and OLDVAL.
32068 * resolv/getaddrinfo_a.c (getaddrinfo_a):
32069 Give local variable TOTAL type 'volatile unsigned int'.
32070 (struct async_waitlist): Change type of field counter to 'unsigned int'.
32071 * resolv/gai_suspend.c (gai_suspend):
32072 Give local variable CNTR type 'unsigned int'.
32073
32074 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
32075 counterp to 'volatile unsigned int *'.
32076 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
32077 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
32078 (aio_suspend): Give local variable CNTR type 'unsigned int'.
32079 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
32080 Give local variable TOTAL type 'volatile unsigned int'.
32081 (struct async_waitlist): Change type of field counter to 'unsigned int'.
32082
32083 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
32084
32085 [BZ #18383]
32086 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
32087 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
32088 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
32089 comment for i386/x86-64.
32090 (test-xfail-tst-tlsalign-extern-static): Removed.
32091
32092 2015-06-24 Joseph Myers <joseph@codesourcery.com>
32093
32094 * math/test-double.h: New file.
32095 * math/test-float.h: Likewise.
32096 * math/test-ldouble.h: Likewise.
32097 * math/test-math-inline.h: Likewise.
32098 * math/test-math-no-inline.h: Likewise.
32099 * math/test-math-scalar.h: Likewise.
32100 * math/test-math-vector.h: Likewise.
32101 * math/test-vec-loop.h: Remove file. Contents moved into
32102 test-math-vector.h.
32103 * math/libm-test.inc (MATHCONST): Do not document macro.
32104 * math/test-double.c: Include test-double.h, test-math-no-inline.h
32105 and test-math-scalar.h.
32106 (FUNC): Remove macro.
32107 (FUNC_TEST): Likewise.
32108 (FLOAT): Likewise.
32109 (MATHCONST): Likewise.
32110 (PRINTF_EXPR): Likewise.
32111 (PRINTF_XEXPR): Likewise.
32112 (PRINTF_NEXPR): Likewise.
32113 (TEST_DOUBLE): Likewise.
32114 (TEST_MATHVEC): Likewise.
32115 (__NO_MATH_INLINES): Likewise.
32116 * math/test-float.c: Include test-float.h, test-math-no-inline.h
32117 and test-math-scalar.h.
32118 (FUNC): Remove macro.
32119 (FUNC_TEST): Likewise.
32120 (FLOAT): Likewise.
32121 (MATHCONST): Likewise.
32122 (PRINTF_EXPR): Likewise.
32123 (PRINTF_XEXPR): Likewise.
32124 (PRINTF_NEXPR): Likewise.
32125 (TEST_FLOAT): Likewise.
32126 (TEST_MATHVEC): Likewise.
32127 (__NO_MATH_INLINES): Likewise.
32128 * math/test-idouble.c: Include test-double.h, test-math-inline.h
32129 and test-math-scalar.h.
32130 (FUNC): Remove macro.
32131 (FUNC_TEST): Likewise.
32132 (FLOAT): Likewise.
32133 (MATHCONST): Likewise.
32134 (PRINTF_EXPR): Likewise.
32135 (PRINTF_XEXPR): Likewise.
32136 (PRINTF_NEXPR): Likewise.
32137 (TEST_DOUBLE): Likewise.
32138 (TEST_MATHVEC): Likewise.
32139 (TEST_INLINE): Likewise.
32140 (__NO_MATH_INLINES): Likewise.
32141 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
32142 test-math-scalar.h.
32143 (FUNC): Remove macro.
32144 (FUNC_TEST): Likewise.
32145 (FLOAT): Likewise.
32146 (MATHCONST): Likewise.
32147 (PRINTF_EXPR): Likewise.
32148 (PRINTF_XEXPR): Likewise.
32149 (PRINTF_NEXPR): Likewise.
32150 (TEST_FLOAT): Likewise.
32151 (TEST_MATHVEC): Likewise.
32152 (TEST_INLINE): Likewise.
32153 (__NO_MATH_INLINES): Likewise.
32154 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
32155 and test-math-scalar.h.
32156 (FUNC): Remove macro.
32157 (FUNC_TEST): Likewise.
32158 (FLOAT): Likewise.
32159 (MATHCONST): Likewise.
32160 (PRINTF_EXPR): Likewise.
32161 (PRINTF_XEXPR): Likewise.
32162 (PRINTF_NEXPR): Likewise.
32163 (TEST_LDOUBLE): Likewise.
32164 (TEST_MATHVEC): Likewise.
32165 (TEST_INLINE): Likewise.
32166 (__NO_MATH_INLINES): Likewise.
32167 * math/test-ldouble.c: Include test-ldouble.h,
32168 test-math-no-inline.h and test-math-scalar.h.
32169 (FUNC): Remove macro.
32170 (FUNC_TEST): Likewise.
32171 (FLOAT): Likewise.
32172 (MATHCONST): Likewise.
32173 (PRINTF_EXPR): Likewise.
32174 (PRINTF_XEXPR): Likewise.
32175 (PRINTF_NEXPR): Likewise.
32176 (TEST_LDOUBLE): Likewise.
32177 (TEST_MATHVEC): Likewise.
32178 (__NO_MATH_INLINES): Likewise.
32179 * math/test-double-vlen2.h: Include test-double.h,
32180 test-math-no-inline.h and test-math-vector.h.
32181 (FLOAT): Remove macro.
32182 (FUNC): Likewise.
32183 (MATHCONST): Likewise.
32184 (PRINTF_EXPR): Likewise.
32185 (PRINTF_XEXPR): Likewise.
32186 (PRINTF_NEXPR): Likewise.
32187 (TEST_DOUBLE): Likewise.
32188 (TEST_MATHVEC): Likewise.
32189 (__NO_MATH_INLINES): Likewise.
32190 (CNCT): Likewise.
32191 (CONCAT): Likewise.
32192 (WRAPPER_NAME): Likewise.
32193 (WRAPPER_DECL): Likewise.
32194 (WRAPPER_DECL_ff): Likewise.
32195 (WRAPPER_DECL_fFF): Likewise.
32196 (VECTOR_WRAPPER): Likewise.
32197 (VECTOR_WRAPPER_ff): Likewise.
32198 (VECTOR_WRAPPER_fFF): Likewise.
32199 (VEC_LEN): New macro.
32200 * math/test-double-vlen4.h: Include test-double.h,
32201 test-math-no-inline.h and test-math-vector.h.
32202 (FLOAT): Remove macro.
32203 (FUNC): Likewise.
32204 (MATHCONST): Likewise.
32205 (PRINTF_EXPR): Likewise.
32206 (PRINTF_XEXPR): Likewise.
32207 (PRINTF_NEXPR): Likewise.
32208 (TEST_DOUBLE): Likewise.
32209 (TEST_MATHVEC): Likewise.
32210 (__NO_MATH_INLINES): Likewise.
32211 (CNCT): Likewise.
32212 (CONCAT): Likewise.
32213 (WRAPPER_NAME): Likewise.
32214 (WRAPPER_DECL): Likewise.
32215 (WRAPPER_DECL_ff): Likewise.
32216 (WRAPPER_DECL_fFF): Likewise.
32217 (VECTOR_WRAPPER): Likewise.
32218 (VECTOR_WRAPPER_ff): Likewise.
32219 (VECTOR_WRAPPER_fFF): Likewise.
32220 (VEC_LEN): New macro.
32221 * math/test-double-vlen8.h: Include test-double.h,
32222 test-math-no-inline.h and test-math-vector.h.
32223 (FLOAT): Remove macro.
32224 (FUNC): Likewise.
32225 (MATHCONST): Likewise.
32226 (PRINTF_EXPR): Likewise.
32227 (PRINTF_XEXPR): Likewise.
32228 (PRINTF_NEXPR): Likewise.
32229 (TEST_DOUBLE): Likewise.
32230 (TEST_MATHVEC): Likewise.
32231 (__NO_MATH_INLINES): Likewise.
32232 (CNCT): Likewise.
32233 (CONCAT): Likewise.
32234 (WRAPPER_NAME): Likewise.
32235 (WRAPPER_DECL): Likewise.
32236 (WRAPPER_DECL_ff): Likewise.
32237 (WRAPPER_DECL_fFF): Likewise.
32238 (VECTOR_WRAPPER): Likewise.
32239 (VECTOR_WRAPPER_ff): Likewise.
32240 (VECTOR_WRAPPER_fFF): Likewise.
32241 (VEC_LEN): New macro.
32242 * math/test-float-vlen4.h: Include test-float.h,
32243 test-math-no-inline.h and test-math-vector.h.
32244 (FLOAT): Remove macro.
32245 (FUNC): Likewise.
32246 (MATHCONST): Likewise.
32247 (PRINTF_EXPR): Likewise.
32248 (PRINTF_XEXPR): Likewise.
32249 (PRINTF_NEXPR): Likewise.
32250 (TEST_FLOAT): Likewise.
32251 (TEST_MATHVEC): Likewise.
32252 (__NO_MATH_INLINES): Likewise.
32253 (CNCT): Likewise.
32254 (CONCAT): Likewise.
32255 (WRAPPER_NAME): Likewise.
32256 (WRAPPER_DECL): Likewise.
32257 (WRAPPER_DECL_ff): Likewise.
32258 (WRAPPER_DECL_fFF): Likewise.
32259 (VECTOR_WRAPPER): Likewise.
32260 (VECTOR_WRAPPER_ff): Likewise.
32261 (VECTOR_WRAPPER_fFF): Likewise.
32262 (VEC_LEN): New macro.
32263 * math/test-float-vlen8.h: Include test-float.h,
32264 test-math-no-inline.h and test-math-vector.h.
32265 (FLOAT): Remove macro.
32266 (FUNC): Likewise.
32267 (MATHCONST): Likewise.
32268 (PRINTF_EXPR): Likewise.
32269 (PRINTF_XEXPR): Likewise.
32270 (PRINTF_NEXPR): Likewise.
32271 (TEST_FLOAT): Likewise.
32272 (TEST_MATHVEC): Likewise.
32273 (__NO_MATH_INLINES): Likewise.
32274 (CNCT): Likewise.
32275 (CONCAT): Likewise.
32276 (WRAPPER_NAME): Likewise.
32277 (WRAPPER_DECL): Likewise.
32278 (WRAPPER_DECL_ff): Likewise.
32279 (WRAPPER_DECL_fFF): Likewise.
32280 (VECTOR_WRAPPER): Likewise.
32281 (VECTOR_WRAPPER_ff): Likewise.
32282 (VECTOR_WRAPPER_fFF): Likewise.
32283 (VEC_LEN): New macro.
32284 * math/test-float-vlen16.h: Include test-float.h,
32285 test-math-no-inline.h and test-math-vector.h.
32286 (FLOAT): Remove macro.
32287 (FUNC): Likewise.
32288 (MATHCONST): Likewise.
32289 (PRINTF_EXPR): Likewise.
32290 (PRINTF_XEXPR): Likewise.
32291 (PRINTF_NEXPR): Likewise.
32292 (TEST_FLOAT): Likewise.
32293 (TEST_MATHVEC): Likewise.
32294 (__NO_MATH_INLINES): Likewise.
32295 (CNCT): Likewise.
32296 (CONCAT): Likewise.
32297 (WRAPPER_NAME): Likewise.
32298 (WRAPPER_DECL): Likewise.
32299 (WRAPPER_DECL_ff): Likewise.
32300 (WRAPPER_DECL_fFF): Likewise.
32301 (VECTOR_WRAPPER): Likewise.
32302 (VECTOR_WRAPPER_ff): Likewise.
32303 (VECTOR_WRAPPER_fFF): Likewise.
32304 (VEC_LEN): New macro.
32305 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32306 test-vec-loop.h.
32307 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32308 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32309 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32310 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32311 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32312 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32313 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32314
32315 2015-06-24 Roland McGrath <roland@hack.frob.com>
32316
32317 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32318 (__getlogin_r): ... this.
32319
32320 2015-06-24 Joseph Myers <joseph@codesourcery.com>
32321
32322 [BZ #18594]
32323 * math/s_ccosh.c (__ccosh): Compare with least normal value
32324 instead of comparing class with FP_SUBNORMAL.
32325 * math/s_ccoshf.c (__ccoshf): Likewise.
32326 * math/s_ccoshl.c (__ccoshl): Likewise.
32327 * math/s_cexp.c (__cexp): Likewise.
32328 * math/s_cexpf.c (__cexpf): Likewise.
32329 * math/s_cexpl.c (__cexpl): Likewise.
32330 * math/s_csin.c (__csin): Likewise.
32331 * math/s_csinf.c (__csinf): Likewise.
32332 * math/s_csinh.c (__csinh): Likewise.
32333 * math/s_csinhf.c (__csinhf): Likewise.
32334 * math/s_csinhl.c (__csinhl): Likewise.
32335 * math/s_csinl.c (__csinl): Likewise.
32336 * math/s_ctan.c (__ctan): Likewise.
32337 * math/s_ctanf.c (__ctanf): Likewise.
32338 * math/s_ctanh.c (__ctanh): Likewise.
32339 * math/s_ctanhf.c (__ctanhf): Likewise.
32340 * math/s_ctanhl.c (__ctanhl): Likewise.
32341 * math/s_ctanl.c (__ctanl): Likewise.
32342 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32343 csin, csinh, ctan and ctanh.
32344 * math/auto-libm-test-out: Regenerated.
32345 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32346 * sysdeps/i386/fpu/libm-test-ulps: Update.
32347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32348
32349 2015-06-24 Roland McGrath <roland@hack.frob.com>
32350
32351 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32352 return value is wrong, print the expected value too.
32353
32354 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
32355
32356 [BZ #18585]
32357 * elf/readlib.c (is_gdb_python_file): New.
32358 (process_file): Don't issue errors on filenames with -gdb.py
32359 suffix.
32360
32361 2015-06-24 Joseph Myers <joseph@codesourcery.com>
32362
32363 * math/auto-libm-test-in: Add more tests of csin and csinh.
32364 * math/auto-libm-test-out: Regenerated.
32365 * math/libm-test.inc (csin_test_data): Remove tests moved to
32366 auto-libm-test-in.
32367 (csinh_test_data): Likewise.
32368
32369 [BZ #18593]
32370 * math/s_csin.c (__csin): Negate before rather than after possibly
32371 overflowing multiplication.
32372 * math/s_csinf.c (__csinf): Likewise.
32373 * math/s_csinh.c (__csinh): Likewise.
32374 * math/s_csinhf.c (__csinhf): Likewise.
32375 * math/s_csinhl.c (__csinhl): Likewise.
32376 * math/s_csinl.c (__csinl): Likewise.
32377 * math/auto-libm-test-in: Add some tests of csin and csinh.
32378 * math/auto-libm-test-out: Regenerated.
32379 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32380 (csinh_test_data): Likewise.
32381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32382
32383 [BZ #18586]
32384 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32385 underflow exception for small results.
32386
32387 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
32388
32389 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32390 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32391 variable and included header.
32392 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
32393 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
32394 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
32395 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
32396 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
32397 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32398 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
32399 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
32400 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
32401 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
32402 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
32403 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
32404 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
32405 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
32406 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
32407 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
32408
32409 2015-06-23 Joseph Myers <joseph@codesourcery.com>
32410
32411 [BZ #16526]
32412 [BZ #16538]
32413 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
32414 (__sin): Force underflow exception for arguments with small
32415 absolute value.
32416 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
32417 (__kernel_sinf): Force underflow exception for arguments with
32418 small absolute value.
32419 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
32420 (__kernel_sincosl): Force underflow exception for arguments with
32421 small absolute value.
32422 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
32423 (__kernel_sinl): Force underflow exception for arguments with
32424 small absolute value.
32425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
32426 (__kernel_sincosl): Force underflow exception for arguments with
32427 small absolute value.
32428 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
32429 (__kernel_sinl): Force underflow exception for arguments with
32430 small absolute value.
32431 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
32432 (__kernel_sinl): Force underflow exception for arguments with
32433 small absolute value.
32434 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
32435 (__kernel_sinf): Force underflow exception for arguments with
32436 small absolute value.
32437 * math/auto-libm-test-in: Add more tests of sin and sincos.
32438 * math/auto-libm-test-out: Regenerated.
32439
32440 [BZ #18245]
32441 [BZ #18583]
32442 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
32443 (__kernel_standard_l): Use feholdexcept and fesetenv around
32444 conversion to double instead of special-casing overflow and
32445 underflow.
32446 * math/libm-test.inc (fmod_test_data): Add more tests.
32447 (remainder_test_data): Likewise.
32448 (sqrt_test_data): Likewise.
32449
32450 2015-06-23 Torvald Riegel <triegel@redhat.com>
32451
32452 [BZ #17403]
32453 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
32454 atomic_read_barrier, atomic_write_barrier): Define.
32455 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
32456 atomic_read_barrier, atomic_write_barrier): Define.
32457
32458 2015-06-23 Joseph Myers <joseph@codesourcery.com>
32459
32460 * math/Makefile [$(PERL) != no]
32461 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
32462 dependency on libm-test.stmp below the inclusion of Rules.
32463
32464 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
32465
32466 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32467 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
32468 and included header.
32469 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
32470 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
32471 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
32472 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
32473 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
32474 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
32475 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
32476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
32477 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
32478 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
32479 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
32480 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
32481 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
32482 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
32483 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
32484 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
32485 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
32486 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
32487 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
32488
32489 2015-06-23 Joseph Myers <joseph@codesourcery.com>
32490
32491 [BZ #18371]
32492 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
32493 intermediate but not final result might underflow.
32494 * math/s_csqrtf.c (__csqrtf): Likewise.
32495 * math/s_csqrtl.c (__csqrtl): Likewise.
32496 * math/auto-libm-test-in: Add more tests of csqrt.
32497 * math/auto-libm-test-out: Regenerated.
32498 * sysdeps/i386/fpu/libm-test-ulps: Update.
32499
32500 [BZ #18219]
32501 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
32502 threshold on absolute value of exponent for which scaling is used.
32503 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32504 * math/auto-libm-test-in: Add more tests of exp2.
32505 * math/auto-libm-test-out: Regenerated.
32506
32507 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
32508
32509 [BZ #17977]
32510 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
32511 when initializing interface list, based on the bug analysis
32512 and the patch proposed by Eric Newton.
32513 * resolv/tst-res_hconf_reorder.c: New test.
32514 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
32515 tst-res_hconf_reorder.
32516 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
32517 and $(shared-thread-library).
32518 (tst-res_hconf_reorder-ENV): New variable.
32519
32520 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
32521 in comment.
32522
32523 2015-06-22 Joseph Myers <joseph@codesourcery.com>
32524
32525 [BZ #16353]
32526 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
32527 (__expm1): Force underflow exception for arguments with small
32528 absolute value.
32529 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
32530 (__expm1f): Force underflow exception for arguments with small
32531 absolute value.
32532 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
32533 (__expm1): Force underflow exception for arguments with small
32534 absolute value.
32535 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
32536 (__expm1f): Force underflow exception for arguments with small
32537 absolute value.
32538 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32539 Check for small arguments before calling __expm1.
32540 * math/auto-libm-test-in: Do not mark underflow exceptions as
32541 possibly missing for bug 16353.
32542 * math/auto-libm-test-out: Regenerated.
32543
32544 2015-06-22 Andreas Schwab <schwab@suse.de>
32545
32546 [BZ #18513]
32547 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32548 PTR queries.
32549
32550 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
32551
32552 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32553
32554 * string/strcoll_l.c: Remove unused struct element idxnow.
32555
32556 2015-06-21 Joseph Myers <joseph@codesourcery.com>
32557
32558 [BZ #18569]
32559 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32560 underflow and return argument in case of subnormal argument.
32561 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32562 Likewise.
32563 * math/auto-libm-test-in: Add more tests of expm1.
32564 * math/auto-libm-test-out: Regenerated.
32565
32566 [BZ #16361]
32567 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32568 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32569 tiny results.
32570 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32571 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32572 tiny results.
32573 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
32574 mark underflow exceptions as possibly missing for bug 16361.
32575 * math/auto-libm-test-out: Regenerated.
32576
32577 2015-06-19 Joseph Myers <joseph@codesourcery.com>
32578
32579 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32580 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32581 Remove variable.
32582 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32583 (test-xfail-XOPEN2K8/utmpx.h/conform).
32584
32585 * conform/conformtest.pl ($xerrors): New variable.
32586 (note_error): New function.
32587 (compiletest): New argument $xfail. Use not_error.
32588 (runtest): Likewise.
32589 (top level): Handle xfail- lines. Update calls to compiletest and
32590 runtest. Handle xfail- and optional- in headers listed with
32591 allow-header.
32592 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32593 (O_EXEC): Likewise.
32594 (O_SEARCH): Likewise.
32595 * conform/data/stropts.h-data (ioctl): Likewise.
32596 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32597 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32598 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32599 (msghdr.msg_controllen): Likewise.
32600 (cmsghdr.cmsg_len): Likewise.
32601 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32602 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32603 variable.
32604 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32605 (test-xfail-XPG4/stropts.h/conform): Likewise.
32606 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32607 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32608 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32609 (test-xfail-UNIX98/stropts.h/conform): Likewise.
32610 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32611 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32612 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32613 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32614 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32615 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32616 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32617 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32618 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32619 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32620 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32621 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32622 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32623 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32624 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32625
32626 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
32627
32628 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32629 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32630 definitions for proper unfolding of __MATHDECL_VEC.
32631
32632 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
32633
32634 * benchtests/bench-strcoll.c:
32635 Include string.h.
32636 (main): Remove unused variable res.
32637
32638 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
32639
32640 * timezone/Makefile (%/UTC %/Universal):
32641 Generate test-result files for UTC and Universal.
32642
32643 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
32644
32645 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32646
32647 2015-06-18 Joseph Myers <joseph@codesourcery.com>
32648
32649 [BZ #16350]
32650 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32651 for arguments with small absolute value.
32652 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32653 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32654 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32655 (__asinh): Force underflow exception for arguments with small
32656 absolute value.
32657 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32658 (__asinhf): Force underflow exception for arguments with small
32659 absolute value.
32660 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32661 (__asinhl): Force underflow exception for arguments with small
32662 absolute value.
32663 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32664 (__asinhl): Force underflow exception for arguments with small
32665 absolute value.
32666 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32667 (__asinhl): Force underflow exception for arguments with small
32668 absolute value.
32669 * math/auto-libm-test-in: Do not mark underflow exceptions as
32670 possibly missing for bug 16350.
32671 * math/auto-libm-test-out: Regenerated.
32672
32673 * include/bits/ipc.h: Remove file.
32674 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32675 variable.
32676 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32677 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32678 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32679 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32680 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32681 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32682 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32683 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32684 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32685
32686 * math/auto-libm-test-in: Remove spurious underflow allowance for
32687 tests of cexp.
32688 * math/auto-libm-test-out: Regenerated.
32689
32690 [BZ #18558]
32691 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32692 unconditional definition.
32693 (MCAST_BLOCK_SOURCE): Likewise.
32694 (MCAST_UNBLOCK_SOURCE): Likewise.
32695 (MCAST_LEAVE_GROUP): Likewise.
32696 (MCAST_JOIN_SOURCE_GROUP): Likewise.
32697 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32698 (MCAST_MSFILTER): Likewise.
32699 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32700 Remove variable.
32701 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32702 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32703 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32704 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32705 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32706
32707 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
32708
32709 * NEWS: Mention addition of x86_64 vector sincosf.
32710 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32711 * math/test-float-vlen4.h: Likewise.
32712 * math/test-float-vlen8.h: Likewise.
32713 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32714 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32715 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32716 * sysdeps/x86_64/fpu/Versions: New versions added.
32717 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32718 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32719 Added build of SSE, AVX2 and AVX512 IFUNC versions.
32720 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32721 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32722 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32723 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32724 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32725 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32726 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32727 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32728 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32729 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32730 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32731 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32732 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32733 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32734 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32735 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32736 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32737 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32738 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32739 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32740 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32741
32742 * NEWS: Mention addition of x86_64 vector sincos.
32743 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32744 * math/math.h (__MATHDECL_VEC): New macro.
32745 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32746 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32747 declaration under condition.
32748 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32749 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32750 TEST_VEC_LOOP change.
32751 * math/test-double-vlen4.h: Likewise.
32752 * math/test-double-vlen8.h: Likewise.
32753 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32754 * math/test-float-vlen4.h: Likewise.
32755 * math/test-float-vlen8.h: Likewise.
32756 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32757 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32758 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32759 * sysdeps/x86_64/fpu/Versions: New versions added.
32760 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32761 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32762 Added build of SSE, AVX2 and AVX512 IFUNC versions.
32763 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32764 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32765 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32766 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32767 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32768 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32769 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32770 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32771 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32772 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32773 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32774 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32775 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32776 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32777 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32778 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32779 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32780 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32781 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32782 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32783 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32784
32785 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32786 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32787 redirections for powf.
32788 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32789 * sysdeps/x86_64/fpu/Versions: New versions added.
32790 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32791 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32792 Added build of SSE, AVX2 and AVX512 IFUNC versions.
32793 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32794 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32795 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32796 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32797 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32798 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32799 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32800 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32801 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32802 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32803 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32804 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32805 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32806 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32807 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32808 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32809 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32810 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32811 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32812 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32813 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32814 * math/test-float-vlen16.h: Fixed 2 argument macro.
32815 * math/test-float-vlen4.h: Likewise.
32816 * math/test-float-vlen8.h: Likewise.
32817 * NEWS: Mention addition of x86_64 vector powf.
32818
32819 2015-06-17 Joseph Myers <joseph@codesourcery.com>
32820
32821 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32822 and redefine.
32823 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32824 and redefine.
32825 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32828
32829 [BZ #18553]
32830 * resource/getpriority.c (getpriority): Rename to __getpriority
32831 and define as weak alias of __getpriority.
32832 * resource/setpriority.c (setpriority): Rename to __setpriority
32833 and define as weak alias of __setpriority.
32834 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32835 __getpriority and define as weak alias of __getpriority.
32836 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32837 __setpriority and define as weak alias of __setpriority.
32838 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32839 strong name.
32840 (setpriority): Use __setpriority as strong name.
32841 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32842 __getpriority and define as weak alias of __getpriority.
32843 * include/sys/resource.h (__getpriority): Declare. Use
32844 libc_hidden_proto.
32845 (__setpriority): Likewise.
32846 (getpriority): Don't use libc_hidden_proto.
32847 (setpriority): Likewise.
32848 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32849 getpriority. Call __setpriority instead of setpriority.
32850 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32851 Remove variable.
32852
32853 [BZ #18547]
32854 * misc/getttyent.c (getttynam): Rename to __getttynam and define
32855 as weak alias of __getttynam. Use prototype function definition.
32856 Call __setttyent, __getttyent and __endttyent instead of
32857 setttyent, getttyent and endttyent.
32858 (getttyent): Rename to __getttyent and define as weak alias of
32859 __getttyent. Call __setttyent instead of setttyent. Call
32860 __fgets_unlocked instead of fgets_unlocked.
32861 (setttyent): Rename to __setttyent and define as weak alias of
32862 __setttyent.
32863 (endttyent): Rename to __endttyent and define as weak alias of
32864 __endttyent.
32865 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
32866 (__setttyent): Likewise.
32867 (__endttyent): Likewise.
32868 (getttyent): Don't use libc_hidden_proto.
32869 (setttyent): Likewise.
32870 (endttyent): Likewise.
32871 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32872 __endttyent instead of setttyent, getttyent and endttyent.
32873 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32874 Remove variable.
32875
32876 [BZ #18546]
32877 * socket/recv.c (__recv): Use libc_hidden_def.
32878 * socket/socket.c (__socket): Likewise.
32879 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32880 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32881 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32882 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32883 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32884 libc_hidden_def.
32885 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32886 libc_hidden_weak.
32887 * include/sys/socket.h (__socket): Do not use attribute_hidden.
32888 Use libc_hidden_proto.
32889 (__recv): Likewise.
32890 * socket/Versions (libc): Export __recv and __socket at version
32891 GLIBC_PRIVATE.
32892 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32893 instead of recv.
32894 (init_mq_netlink): Call __socket instead of socket.
32895 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32896 Remove variable.
32897
32898 [BZ #18545]
32899 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32900 __mq_timedreceive and define as alias of __mq_timedreceive. Use
32901 hidden_weak.
32902 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32903 define as alias of __mq_timedsend. Use hidden_weak.
32904 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32905 __mq_timedsend as strong name.
32906 (mq_timedreceive): Use __mq_timedreceive as strong name.
32907 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
32908 (__mq_timedreceive): Likewise.
32909 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32910 __mq_timedreceive instead of mq_timedreceive.
32911 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32912 instead of mq_timedsend.
32913 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32914 Remove variable.
32915
32916 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32917 hidden_def and hidden_weak instead of libc_hidden_def and
32918 libc_hidden_weak.
32919 (top level): Refer to hidden_def in comment.
32920 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32921 macro. Use it instead of libc_hidden_def.
32922 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32923 specify __GI_* name explicitly.
32924 (mq_timedreceive): Likewise.
32925 (mq_setattr): Likewise.
32926
32927 [BZ #18544]
32928 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32929 __pthread_barrier_init and define as weak alias of
32930 __pthread_barrier_init.
32931 * sysdeps/sparc/nptl/pthread_barrier_init.c
32932 (pthread_barrier_init): Likewise.
32933 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32934 __pthread_barrier_wait and define as weak alias of
32935 __pthread_barrier_wait.
32936 * sysdeps/sparc/nptl/pthread_barrier_wait.c
32937 (pthread_barrier_wait): Likewise.
32938 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32939 (pthread_barrier_wait): Likewise.
32940 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32941 (pthread_barrier_wait): Likewise.
32942 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32943 (pthread_barrier_wait): Likewise.
32944 * nptl/Versions (libpthread): Export __pthread_barrier_init and
32945 __pthread_barrier_wait at version GLIBC_PRIVATE.
32946 * include/pthread.h (__pthread_barrier_init): Declare.
32947 (__pthread_barrier_wait): Likewise.
32948 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32949 Call __pthread_barrier_wait instead of pthread_barrier_wait.
32950 (helper_thread): Likewise.
32951 (init_mq_netlink): Call __pthread_barrier_init instead of
32952 pthread_barrier_init.
32953
32954 [BZ #18542]
32955 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32956 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32957 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
32958 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32959 vswscanf.
32960 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32961 Remove variable.
32962
32963 [BZ #18540]
32964 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32965 strong alias of _IO_fflush. Use libc_hidden_def.
32966 * libio/iofflush_u.c (fflush_unlocked): Rename to
32967 __fflush_unlocked and define as weak alias of __fflush_unlocked.
32968 Use libc_hidden_weak.
32969 * include/stdio.h (__fflush_unlocked): Declare. Use
32970 libc_hidden_proto.
32971 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32972 fflush_unlocked.
32973 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32974 Remove variable.
32975
32976 [BZ #18539]
32977 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32978 define as weak alias of __addseverity.
32979 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32980 Remove variable.
32981 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32982 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32983 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32984
32985 [BZ #18536]
32986 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32987 (__tfind): Likewise.
32988 (__tdelete): Likewise.
32989 (__twalk): Likewise.
32990 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32991 __twalk to GLIBC_PRIVATE.
32992 * include/search.h (__tsearch): Use libc_hidden_proto.
32993 (__tfind): Likewise.
32994 (__tdelete): Likewise.
32995 (__twalk): Likewise.
32996 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32997 Call __tdelete instead of tdelete.
32998 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32999 tfind. Call __tsearch instead of tsearch.
33000 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
33001 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
33002 Remove variable.
33003 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33004
33005 [BZ #18534]
33006 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
33007 (dprintf): Define as a weak alias of __dprintf, not a strong
33008 alias.
33009 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
33010 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
33011 dprintf.
33012 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
33013 Remove variable.
33014 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33015 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33016
33017 [BZ #18533]
33018 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
33019 not a strong alias.
33020 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
33021 Remove variable.
33022
33023 [BZ #18532]
33024 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
33025 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
33026 (in6addr_loopback): Rename to __in6addr_loopback and define as
33027 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
33028 * include/netinet/in.h (__in6addr_loopback): Declare. Use
33029 libc_hidden_proto.
33030 (__in6addr_any): Likewise.
33031 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
33032 in6addr_any.
33033 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
33034 variable.
33035 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33036
33037 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
33038
33039 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
33040 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
33041 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33042 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33043 redirections for pow.
33044 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33045 * sysdeps/x86_64/fpu/Versions: New versions added.
33046 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33047 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33048 build of SSE, AVX2 and AVX512 IFUNC versions.
33049 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
33050 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
33051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
33052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
33053 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
33054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
33055 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
33056 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
33057 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
33058 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
33059 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
33060 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
33061 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
33062 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
33063 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33064 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33065 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33066 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33067 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33068 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33069 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33070 * NEWS: Mention addition of x86_64 vector pow.
33071
33072 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33073 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33074 redirections for expf.
33075 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33076 * sysdeps/x86_64/fpu/Versions: New versions added.
33077 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33078 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33079 build of SSE, AVX2 and AVX512 IFUNC versions.
33080 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
33081 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
33082 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
33083 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
33084 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
33085 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
33086 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
33087 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
33088 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
33089 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
33090 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
33091 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
33092 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
33093 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33094 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33095 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33096 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33097 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33098 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33099 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33100 * NEWS: Mention addition of x86_64 vector expf.
33101
33102 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
33103 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
33104 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33105 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33106 redirections for exp.
33107 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33108 * sysdeps/x86_64/fpu/Versions: New versions added.
33109 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33110 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33111 build of SSE, AVX2 and AVX512 IFUNC versions.
33112 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
33113 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
33114 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
33115 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
33116 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
33117 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
33118 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
33119 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
33120 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
33121 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
33122 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
33123 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
33124 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
33125 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33126 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33127 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33128 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33129 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33130 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33131 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33132 * NEWS: Mention addition of x86_64 vector exp.
33133
33134 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33135 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33136 redirections for logf.
33137 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33138 * sysdeps/x86_64/fpu/Versions: New versions added.
33139 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33140 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33141 build of SSE, AVX2 and AVX512 IFUNC versions.
33142 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
33143 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
33144 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
33145 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
33146 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
33147 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
33148 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
33149 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
33150 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
33151 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
33152 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
33153 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
33154 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
33155 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33156 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33157 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33158 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33159 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33160 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33161 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33162 * NEWS: Mention addition of x86_64 vector logf.
33163
33164 * bits/libm-simd-decl-stubs.h: Added stubs for log.
33165 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
33166 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33167 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33168 redirections for log.
33169 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33170 * sysdeps/x86_64/fpu/Versions: New versions added.
33171 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33172 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33173 build of SSE, AVX2 and AVX512 IFUNC versions.
33174 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
33175 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
33176 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
33177 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
33178 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
33179 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
33180 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
33181 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
33182 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
33183 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
33184 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
33185 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
33186 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
33187 test.
33188 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33189 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33190 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33191 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33192 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33193 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33194 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33195 * NEWS: Mention addition of x86_64 vector log.
33196
33197 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
33198
33199 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
33200 cfi_adjust_cfa_offset argument.
33201 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
33202 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
33203
33204 [BZ #18034]
33205 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
33206 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
33207 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
33208 ordering using ldar.
33209 (_dl_tlsdesc_dynamic): Likewise.
33210 (_dl_tlsdesc_return_lazy): Likewise.
33211 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33212 relaxed atomics instead of volatile and synchronize with release store.
33213 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33214 volatile.
33215 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33216
33217 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
33218
33219 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33220 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33221 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33222 * sysdeps/x86_64/fpu/Versions: New versions added.
33223 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33224 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33225 build of SSE, AVX2 and AVX512 IFUNC versions.
33226 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33227 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33228 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33229 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33230 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33231 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33232 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33233 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33234 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33235 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33236 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33237 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33238 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33239 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33240 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33241 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33242 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33243 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33244 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33245 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33246 * NEWS: Mention addition of x86_64 vector sinf.
33247
33248 2015-06-14 Joseph Myers <joseph@codesourcery.com>
33249
33250 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33251 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33252 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33253 Remove variable.
33254 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33255 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33256
33257 2015-06-12 Joseph Myers <joseph@codesourcery.com>
33258
33259 [BZ #18530]
33260 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33261 strong alias of _IO_fputs. Use libc_hidden_def.
33262 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33263 and define as weak alias of __fputs_unlocked. Use
33264 libc_hidden_weak.
33265 * include/stdio.h (__fputs_unlocked): Declare. Use
33266 libc_hidden_proto.
33267 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33268 fputs_unlocked.
33269
33270 [BZ #18529]
33271 * resolv/netdb.h [__USE_POSIX]: Change condition to
33272 [__USE_XOPEN2K].
33273 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33274 not expect.
33275 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33276 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33277 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33278 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33279 [XPG4 || UNIX98] (AI_ALL): Likewise.
33280 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33281 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33282 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33283 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33284 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33285 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33286 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33287 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33288 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33289 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33290 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33291 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33292 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33293 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33294 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33295 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33296 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33297 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33298 [XPG4 || UNIX98] (gai_strerror): Likewise.
33299 [XPG4 || UNIX98] (getaddrinfo): Likewise.
33300 [XPG4 || UNIX98] (getnameinfo): Likewise.
33301
33302 [BZ #18528]
33303 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33304 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33305 __USE_XOPEN2K8].
33306 (getgrent): Likewise.
33307 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33308 expect.
33309 [XPG3 || POSIX2008] (endgrent): Likewise.
33310 [XPG3] (setgrent): Likewise.
33311 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33312 variable.
33313 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33314
33315 [BZ #18527]
33316 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33317 define as weak alias of __getlogin_r. Use libc_hidden_weak.
33318 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33319 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33320 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33321 * include/unistd.h (__getlogin_r): Declare. Use
33322 libc_hidden_proto.
33323 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33324 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33325 variable.
33326 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33327 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33328 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33329
33330 2015-06-12 Martin Sebor <msebor@redhat.com>
33331
33332 [BZ #18512]
33333 * Makerules (check-install-supported): New target.
33334 (install): Add check-install-supported as a dependency.
33335 * manual/install.texi (Installing the C Library): Document
33336 that overriding prefix and exec_prefix is not supported.
33337 Mention DESTDIR.
33338 * INSTALL: Regenerate from the above.
33339
33340 2015-06-12 Joseph Myers <joseph@codesourcery.com>
33341
33342 [BZ #18519]
33343 * posix/Versions (libc): Export __libc_pread at version
33344 GLIBC_PRIVATE.
33345 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33346 instead of pread.
33347 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33348 variable.
33349
33350 [BZ #18522]
33351 * misc/efgcvt_r.c
33352 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33353 (cvt_symbol): Use weak_alias instead of strong_alias.
33354 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33355 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33356 Remove variable.
33357 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33358 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33359
33360 [BZ #18520]
33361 * inet/herrno.c (h_errno): Rename to __h_errno.
33362 (__libc_h_errno): Define as alias of __h_errno not h_errno.
33363 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33364 to __h_errno instead of h_errno.
33365 * nptl/herrno.c (h_errno): Rename to __h_errno.
33366 (__h_errno_location): Refer to __h_errno not h_errno.
33367 * resolv/Versions (h_errno): Rename to __h_errno.
33368 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33369 Remove variable.
33370 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33371
33372 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
33373
33374 * configure.ac: More strict check for AVX512 assembler support.
33375 * configure: Regenerated.
33376
33377 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33378 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33379 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33380 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33381 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33382 * sysdeps/x86_64/fpu/Versions: New versions added.
33383 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33384 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33385 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33386 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33387 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33388 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33389 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33390 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33391 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
33392 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
33393 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
33394 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
33395 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
33396 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
33397 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
33398 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
33399 test.
33400 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33401 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33402 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33403 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33404 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33405 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33406 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33407 * NEWS: Mention addition of x86_64 vector sin.
33408
33409 2015-06-11 Florian Weimer <fweimer@redhat.com>
33410
33411 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
33412 comment.
33413
33414 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
33415
33416 [BZ #18479]
33417 * nptl/pt-interp.c: New file.
33418 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
33419 Add pt-interp.
33420 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
33421 $(common-objpfx)runtime-linker.h.
33422
33423 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
33424
33425 * Makeconfig (+interp): Remove unused variable.
33426 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
33427 only. Depend on $(common-objpfx)runtime-linker.h instead of
33428 $(elf-objpfx)runtime-linker.h.
33429 ($(elf-objpfx)runtime-linker.h): Rename to
33430 $(common-objpfx)runtime-linker.h and move ...
33431 * Makerules [$(build-shared) = yes]: ... here.
33432 * elf/interp.c: Include <runtime-linker.h> instead of
33433 <elf/runtime-linker.h>.
33434
33435 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33436
33437 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
33438 (__gettimeofday_syscall): Remove vsyscall fallback.
33439 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
33440 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
33441 Add syscall fallback function.
33442 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
33443 if vDSO is not present.
33444 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
33445 fallback function.
33446 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
33447 present.
33448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
33449 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33450
33451 2015-06-09 Joseph Myers <joseph@codesourcery.com>
33452
33453 [BZ #18497]
33454 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
33455 of wcscmp.
33456 (wcscmp): Define as weak alias of WCSCMP.
33457 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
33458 wcscoll.
33459 (USE_HIDDEN_DEF): Define.
33460 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
33461 __wcscoll. Don't use libc_hidden_weak.
33462 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
33463 wcscmp.
33464 * sysdeps/i386/i686/multiarch/wcscmp-c.c
33465 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
33466 __GI_wcscmp.
33467 (weak_alias): Undefine and redefine.
33468 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
33469 __wcscmp and define as weak alias of __wcscmp.
33470 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
33471 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
33472 (__wcscoll): Likewise.
33473 (wcscmp): Don't use libc_hidden_proto.
33474 (wcscoll): Likewise.
33475 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
33476 wcscoll.
33477 * posix/regexec.c (check_node_accept_bytes): Likewise.
33478 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
33479 variable.
33480 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33481 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33482
33483 [BZ #18507]
33484 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
33485 __fstatvfs and define as weak alias of __fstatvfs. Use
33486 libc_hidden_weak.
33487 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
33488 and define as weak alias of __statvfs. Use libc_hidden_weak.
33489 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
33490 Define as alias of __fstatvfs, not fstatvfs.
33491 (fstatvfs64): Likewise.
33492 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
33493 Define as alias of __statvfs, not statvfs.
33494 (statvfs64): Likewise.
33495 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
33496 Remove variable.
33497
33498 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33499
33500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33501 (HAVE_GETCPU_VSYSCALL): Define.
33502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33503 (HAVE_GETCPU_VSYSCALL): Likewise.
33504 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
33505 * sysdeps/unix/sysv/linux/sched_getcpu.c
33506 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
33507 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
33508 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
33509 prototype.
33510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33511 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
33512 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
33513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
33514 Define.
33515 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
33516 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33517 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
33518 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33519
33520 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
33521
33522 * sysdeps/x86_64/fpu/Makefile: New file.
33523 * sysdeps/x86_64/fpu/Versions: New file.
33524 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
33525 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
33526 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
33527 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
33528 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
33529 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
33530 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
33531 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
33532 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
33533 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
33534 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
33535 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
33536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
33537 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33538 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33539 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33540 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33541 * sysdeps/x86_64/configure.ac: Options for libmvec build.
33542 * sysdeps/x86_64/configure: Regenerated.
33543 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33544 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33545 * manual/install.texi (Configuring and compiling): Document
33546 --disable-mathvec.
33547 * INSTALL: Regenerated.
33548 * NEWS: Mention addition of libmvec and x86_64 vector cos.
33549
33550 * math/Makefile: Added rules for vector tests.
33551 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33552 declaration under condition.
33553 * math/test-double-vlen2.h: New file.
33554 * math/test-double-vlen4.h: New file.
33555 * math/test-double-vlen8.h: New file.
33556 * math/test-vec-loop.h: Added initialization macro.
33557 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33558 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33559 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33560 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33561 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33562 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33563 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33564 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33565 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33566 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33567 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33568
33569 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33570 * sysdeps/x86_64/fpu/Versions: New versions added.
33571 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33572 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33573 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33574 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33575 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33576 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33577 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33578 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33579 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33580 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33581 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33582 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33583 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33584 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33585 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33586 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33587 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33588 * NEWS: Mention addition of x86_64 vector cosf.
33589
33590 * math/Makefile: Added CFLAGS for new tests.
33591 * math/test-float-vlen16.h: New file.
33592 * math/test-float-vlen4.h: New file.
33593 * math/test-float-vlen8.h: New file.
33594 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33595 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33596 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33597 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33598 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33599 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33600 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33601 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33602 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33603 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33604 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33605
33606 2015-06-09 Marko Myllynen <myllynen@redhat.com>
33607
33608 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33609 * locale/programs/ld-ctype.c: Likewise.
33610
33611 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
33612
33613 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33614 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33615 bit_ZMM16_31_state): New macro.
33616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33617 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33618
33619 2015-06-08 Joseph Myers <joseph@codesourcery.com>
33620
33621 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33622
33623 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
33624
33625 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33626
33627 2015-06-05 Joseph Myers <joseph@codesourcery.com>
33628
33629 [BZ #18498]
33630 * libio/memstream.c (open_memstream): Rename to __open_memstream
33631 and define as weak alias of __open_memstream.
33632 * include/stdio.h (__open_memstream): Declare. Use
33633 libc_hidden_proto.
33634 (open_memstream): Don't use libc_hidden_proto.
33635 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33636 open_memstream.
33637 * posix/getopt.c (_getopt_internal_r): Likewise.
33638 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33639 variable.
33640 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33641 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33642 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33643
33644 [BZ #18496]
33645 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33646 instead of wcrtomb.
33647
33648 [BZ #18483]
33649 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33650 [__USE_XOPEN2K8]. Remove redundant #endif.
33651 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33652 Remove redundant #if.
33653 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33654 Remove variable.
33655 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33656 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33657
33658 [BZ #18495]
33659 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33660 (__iswlower): Likewise.
33661 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
33662 (__iswlower): Likewise.
33663 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33664 instead of towlower.
33665 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33666 instead of iswlower. Call __towupper instead of towupper.
33667 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33668 instead of iswalnum.
33669
33670 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33671
33672 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33673 errors to stderr.
33674
33675 2015-06-05 Florian Weimer <fweimer@redhat.com>
33676
33677 [BZ #15661]
33678 [BZ #17322]
33679 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33680 Check for overflow properly. Check for O_APPEND. Ignore large
33681 file system block sizes. Add comments about problems.
33682 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33683 * manual/filesys.texi (Storage Allocation): New node.
33684
33685 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33686
33687 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33688 cancellable syscalls.
33689 (SYS_ify): Add guard to no redefine it.
33690 (INLINE_SYSCALL): Likewise.
33691 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33692 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33693 SYSCALL_CANCEL instead.
33694 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33695 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33696 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33697 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33698 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33699 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33700 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33701 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33702 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33703 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33704 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33705 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33706 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33707 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33708 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33709 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33710 Likewise.
33711 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33712 (__libc_pread64): Likewise.
33713 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33714 (__libc_preadv): Likewise.
33715 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33716 (__libc_readv64): Likewise.
33717 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33718 (__libc_pwrite): Likewise.
33719 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33720 (__libc_pwrite64): Likewise.
33721 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33722 (__libc_pwritev): Likewise.
33723 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33724 (__libc_pwritev64): Likewise.
33725 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33726 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33727 (sync_file_range): Likewise.
33728 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33729 Likewise.
33730 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33731 Likewise.
33732 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33733 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33734 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33735 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33736 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33737 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33738 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33739 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33741 Likewise.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33743 (__libc_read64): Likewise.
33744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33745 Likewise.
33746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33747 Likewise.
33748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33749 Likewise.
33750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33751 Likewise.
33752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33753 (__libc_pread64): Likewise.
33754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33755 Likewise.
33756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33757 (__libc_pwrite64): Likewise.
33758 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33759 (sync_file_range): Likewise.
33760 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33761 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33762 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33763 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33764 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33765 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33766 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33767 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33768 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33769 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33770 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33771 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33772 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33773 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33774 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33775 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33776 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33777 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33778 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33779 Likewise.
33780 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33781 Likewise.
33782 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33783 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33784 Likewise.
33785 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33786 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33787 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33788 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33789 Likewise.
33790 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33791 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33792 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33793 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33794 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33795
33796 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
33797
33798 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33799 Include dl-vdso.
33800 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33801 Use VDSO routines for gettimeofday, clock_gettime if
33802 available.
33803 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33804 Declare VDSO symbols.
33805 * sysdeps/unix/sysv/linux/arm/sysdep.h:
33806 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33807 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33808 * sysdeps/unix/sysv/linux/arm/Versions: Add
33809 __vdso_clock_gettime.
33810
33811 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33812
33813 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33814 be an inline implementation regardless of library is built within.
33815 (open_not_cancel_2): Likewise.
33816 (__read_nocancel): Likewise.
33817 (__write_nocancel): Likewise.
33818 (openat_not_cancel): Likewise.
33819 (openat_not_cancel_3): Likewise.
33820 (openat64_not_cancel): Likewise.
33821 (openat64_not_cancel_3): Likewise.
33822 (__close_nocancel): Likewise.
33823 (pause_not_cancel): Likewise.
33824 (nanosleep_not_cancel): Likewise.
33825 (sigsuspend_not_cancel): Likewise.
33826
33827 2015-06-04 Torvald Riegel <triegel@redhat.com>
33828
33829 [BZ #14958]
33830 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33831 wake-up.
33832 (__pthread_rwlock_rdlock_slow): Likewise.
33833 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33834 Likewise.
33835 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33836 Likewise.
33837 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33838 * nptl/tst-rwlock16.c: New file.
33839 * nptl/Makefile (tests): Add new test.
33840
33841 2015-06-04 Torvald Riegel <triegel@redhat.com>
33842
33843 [BZ #18324]
33844 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33845 missing wake-up of readers.
33846 * nptl/tst-rwlock15.c: New file.
33847 * nptl/Makefile (tests): Add new test.
33848
33849 2015-06-03 Roland McGrath <roland@hack.frob.com>
33850
33851 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33852 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33853 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33854 and __nacl_supply_interface_rtld.
33855 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33856 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33857 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33858 Add __nacl_supply_interface_rtld.
33859 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33860
33861 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
33862
33863 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33864 isfinite.
33865 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33866 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33867
33868 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
33869
33870 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33871 __signbit* with standard C99 macros.
33872 * math/e_exp10l.c: Likewise.
33873 * math/e_exp2l.c: Likewise.
33874 * math/e_scalb.c: Likewise.
33875 * math/e_scalbf.c: Likewise.
33876 * math/e_scalbl.c: Likewise.
33877 * math/s_ldexp.c: Likewise.
33878 * math/s_ldexpf.c: Likewise.
33879 * math/s_ldexpl.c: Likewise.
33880 * math/w_atan2.c: Likewise.
33881 * math/w_atan2f.c: Likewise.
33882 * math/w_atan2l.c: Likewise.
33883 * math/w_cosh.c: Likewise.
33884 * math/w_coshf.c: Likewise.
33885 * math/w_coshl.c: Likewise.
33886 * math/w_exp10.c: Likewise.
33887 * math/w_exp10f.c: Likewise.
33888 * math/w_exp10l.c: Likewise.
33889 * math/w_exp2.c: Likewise.
33890 * math/w_exp2f.c: Likewise.
33891 * math/w_exp2l.c: Likewise.
33892 * math/w_fmod.c: Likewise.
33893 * math/w_fmodf.c: Likewise.
33894 * math/w_fmodl.c: Likewise.
33895 * math/w_hypot.c: Likewise.
33896 * math/w_hypotf.c: Likewise.
33897 * math/w_hypotl.c: Likewise.
33898 * math/w_jnl.c: Likewise.
33899 * math/w_lgamma.c: Likewise.
33900 * math/w_lgamma_r.c: Likewise.
33901 * math/w_lgammaf.c: Likewise.
33902 * math/w_lgammaf_r.c: Likewise.
33903 * math/w_lgammal.c: Likewise.
33904 * math/w_lgammal_r.c: Likewise.
33905 * math/w_pow.c: Likewise.
33906 * math/w_powf.c: Likewise.
33907 * math/w_powl.c: Likewise.
33908 * math/w_remainder.c: Likewise.
33909 * math/w_remainderf.c: Likewise.
33910 * math/w_remainderl.c: Likewise.
33911 * math/w_scalb.c: Likewise.
33912 * math/w_scalbf.c: Likewise.
33913 * math/w_scalbl.c: Likewise.
33914 * math/w_scalbln.c: Likewise.
33915 * math/w_scalblnf.c: Likewise.
33916 * math/w_scalblnl.c: Likewise.
33917 * math/w_sinh.c: Likewise.
33918 * math/w_sinhf.c: Likewise.
33919 * math/w_sinhl.c: Likewise.
33920 * math/w_tgamma.c: Likewise.
33921 * math/w_tgammaf.c: Likewise.
33922 * math/w_tgammal.c: Likewise.
33923 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33924 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33925 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33926 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33927 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33929 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33930 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33931 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33932 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33954 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33955 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33956 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33957 * stdio-common/printf_fp.c: Likewise.
33958 * stdio-common/printf_fphex.c: Likewise.
33959 * stdio-common/printf_size.c: Likewise.
33960
33961 2015-06-03 Joseph Myers <joseph@codesourcery.com>
33962
33963 [BZ #18470]
33964 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33965 strnlen.
33966 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33967 Remove variable.
33968 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33969 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33970 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33971 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33972 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33973 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33974 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33975 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33976 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33977 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33978
33979 [BZ #18468]
33980 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33981 weak alias of __wmemchr. Use libc_hidden_weak.
33982 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
33983 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33984 instead of wmemchr.
33985
33986 2015-06-02 Roland McGrath <roland@hack.frob.com>
33987
33988 [BZ #18383]
33989 * elf/tst-tlsalign-extern.c: New file.
33990 * elf/tst-tlsalign-extern-static.c: New file.
33991 * elf/tst-tlsalign-vars.c: New file.
33992 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33993 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33994 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33995 ($(objpfx)tst-tlsalign-extern-static): Likewise.
33996 (test-xfail-tst-tlsalign-extern-static): New variable.
33997
33998 2015-06-02 Joseph Myers <joseph@codesourcery.com>
33999
34000 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
34001 Use variable name _sc_err instead of err.
34002 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
34003 instead of ret.
34004 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
34005 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
34006 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
34007 (INLINE_SYSCALL): Likewise.
34008
34009 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
34010 * include/string.h (__strnlen): Use libc_hidden_proto.
34011 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
34012 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
34013 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
34014 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
34015 (libc_hidden_def): Undefine and redefine.
34016 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
34017 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
34018 __GI_strnlen.
34019 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
34020 libc_hidden_def.
34021 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
34022
34023 [BZ #18469]
34024 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
34025 weak alias of __towlower. Use libc_hidden_weak.
34026 (towupper): Rename to __towupper and define as weak alias of
34027 __towupper. Use libc_hidden_weak.
34028 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
34029 (__towupper): Likewise.
34030 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
34031 __towlower instead of towlower.
34032
34033 2015-06-02 Roland McGrath <roland@hack.frob.com>
34034
34035 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
34036 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
34037
34038 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34039
34040 * sysdeps/aarch64/libm-test-ulps: Update.
34041
34042 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34043
34044 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
34045 Define.
34046 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34048 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34049 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34050 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
34051 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
34052 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
34053
34054 2015-06-01 Martin Sebor <msebor@redhat.com>
34055
34056 [BZ #18116]
34057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34058 (__setcontext): Use extended four-operand version of mtsf whenever
34059 possible.
34060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34061 (__novec_swapcontext): Likewise.
34062
34063 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34064
34065 * benchtests/scripts/compare_bench.py: New file.
34066 * benchtests/scripts/import_bench.py (mean): New function.
34067 (split_list): Likewise.
34068 (do_for_all_timings): Likewise.
34069 (compress_timings): Likewise.
34070
34071 * benchtests/scripts/import_bench.py: New file.
34072 * benchtests/scripts/validate_benchout.py: Import import_bench
34073 instead of jsonschema.
34074 (validate_bench): Remove function.
34075 (main): Use import_bench.
34076
34077 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
34078
34079 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
34080 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
34081
34082 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34083
34084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34085
34086 2015-05-28 Roland McGrath <roland@hack.frob.com>
34087
34088 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
34089 set THREAD_SELF->tid to a magic value and futex-wake it.
34090 Pass its address to the thread_exit system call.
34091 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
34092 bit is clear.
34093 * sysdeps/nacl/lowlevellock.h: New file.
34094 * sysdeps/nacl/lll_timedwait_tid.c: New file.
34095
34096 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
34097 Add TIMEOUT to current time, don't subtract it.
34098
34099 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
34100
34101 [BZ #2981]
34102 [BZ #18422]
34103 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
34104 ($(objpfx)tst-audit2.out): Also depend on
34105 $(objpfx)tst-auditmod9b.so.
34106 * elf/tst-audit2.c: Include <dlfcn.h>.
34107 (calloc_called): New.
34108 (calloc): Allow to be called more than once.
34109 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
34110
34111 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
34112
34113 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
34114 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
34115
34116 2015-05-27 Marko Myllynen <myllynen@redhat.com>
34117
34118 * stdlib/monetary.h: Fix comment.
34119
34120 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
34121
34122 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
34123 Avoid using variables in #defines that might cause shadowing.
34124 (INTERNAL_VSYSCALL_CALL): Likewise.
34125
34126 2015-05-26 Roland McGrath <roland@hack.frob.com>
34127
34128 * sysdeps/nacl/lll_timedlock_wait.c: New file.
34129
34130 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
34131 * nptl/lll_timedlock_wait.c: ... to this new file.
34132 * nptl/Makefile (libpthread-routines): Add it.
34133 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
34134 * nptl/lll_timedwait_tid.c: ... to this new file.
34135 * nptl/Makefile (libpthread-routines): Add it.
34136 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
34137 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
34138 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
34139 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
34140 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
34141 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
34142 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
34143 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
34144 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
34145 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
34146
34147 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34148
34149 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
34150 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34151 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34152 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
34153 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
34154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34155 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34157 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34158 * sysdeps/unix/sysv/linux/tile/sysdep.h
34159 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34160 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
34161 using vDSO syscall macro.
34162
34163 2015-05-26 Andriy Rysin <arysin@gmail.com>
34164
34165 [BZ #17293]
34166 * uk_UA: Fix sorting order for Ukrainian locale
34167
34168 2015-05-26 Marko Myllynen <myllynen@redhat.com>
34169
34170 * stdlib/monetary.h: Fix comment.
34171
34172 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
34173
34174 [BZ #18234]
34175 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
34176 st_mtim and st_ctim members.
34177 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
34178 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
34179 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
34180 (struct stat64): Likewise.
34181 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
34182 (struct stat64): Likewise.
34183 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
34184 (struct stat64): Likewise.
34185
34186 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34187
34188 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
34189 Define and include sysdep-vdso.h.
34190 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
34191 Likewise.
34192 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
34193 Likewise.
34194 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
34195 Define with VDSO_SYMBOL and use PTR_MANGLE.
34196 (__vdso_clock_gettime): Likewise.
34197 (__vdso_clock_getres): Likewise.
34198 (_libc_vdso_platform_setup): Likewise.
34199 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34200 Likewise.
34201 (_libc_vdso_platform_setup): Likewise.
34202 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
34203 Likewise.
34204 (__vdso_clock_gettime): Likewise.
34205 (__vdso_clock_getres): Likewise.
34206 (__vdso_get_tbfreq): Likewise.
34207 (__vdso_getcpu): Likewise.
34208 (__vdso_time): Likewise.
34209 (__vdso_sigtramp_rt64): Likewise.
34210 (__vdso_signtramp32): Likewise.
34211 (__vdso_sigtramp_rt32): Likewise.
34212 (_libc_vdso_platform_setup): Likewise.
34213 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34214 Likewise.
34215 (__vdso_clock_gettime): Likewise.
34216 (__vdso_clock_getres): Likewise.
34217 (_libc_vdso_platform_setup): Likewise.
34218 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34219 Likewise.
34220 (__vdso_clock_gettime): Likewise.
34221 (_libc_vdso_platform_setup): Likewise.
34222 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34223 Likewise.
34224 (__vdso_getcpu): Likewise.
34225 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34226 Use VDSO_SYMBOL macro to define.
34227 (__vdso_clock_gettime): Likewise.
34228 (__vdso_clock_getres): Likewise.
34229 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34230 Likewise.
34231 (__vdso_clock_gettime): Likewise.
34232 (__vdso_clock_getres): Likewise.
34233 (__vdso_get_tbfreq): Likewise.
34234 (__vdso_getcpu): Likewise.
34235 (__vdso_time): Likewise.
34236 (__vdso_sigtramp_rt64): Likewise.
34237 (__vdso_signtramp32): Likewise.
34238 (__vdso_sigtramp_rt32): Likewise.
34239 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34240 Likewise.
34241 (__vdso_clock_gettime): Likewise.
34242 (__vdso_clock_getres): Likewise.
34243 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34244 Likewise.
34245 (__vdso_clock_gettime): Likewise.
34246 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34247 Likewise.
34248 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
34249 macro.
34250 (INTERNAL_VSYSCALL): Likewise.
34251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34252 Remove macro.
34253 (INTERNAL_VSYSCALL): Likewise.
34254 (INTERNAL_VSYSCALL_NCS): Likewise.
34255 (INTERNAL_VSYSCALL_CALL): New macro.
34256 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34258 Likewise.
34259 (INTERNAL_VSYSCALL): Likewise.
34260 (INTERNAL_VSYSCALL_NCS): Likewise.
34261 (INTERNAL_VSYSCALL_CALL): New macro.
34262 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34264 (INLINE_VSYSCALL): Remove macro.
34265 (INTERNAL_VSYSCALL): Remove macro.
34266 (INTERNAL_VSYSCALL_NCS): Remove macro.
34267 (INTERNAL_VSYSCALL_CALL): New macro.
34268 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34269 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34270 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34271 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34272 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34274 (INLINE_VSYSCALL): Remove macro.
34275 (INTERNAL_VSYSCALL): Likewise.
34276 (INTERNAL_VSYSCALL_NCS): Likewise.
34277 (INTERNAL_VSYSCALL_CALL): New macro.
34278 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34279 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34280 PTR_DEMANGLE on vDSO pointer.
34281 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34282 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34283 macro.
34284 (INTERNAL_SYSCALL): Likewise.
34285 (INTERNAL_VSYSCALL_NCS): Remove macro.
34286 (INTERNAL_VSYSCALL_CALL): New macro.
34287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34288 Remove macro.
34289 (INTERNAL_VSYSCALL): Likewise.
34290 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34291 sysdep-vdso.h instead of libc-vdso.h.
34292 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34293 definition.
34294 (INLINE_VSYSCALL): Likewise.
34295 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34296 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34297 definition.
34298 (INLINE_VSYSCALL): Likewise.
34299 (INTERNAL_VSYSCALL): Likewise.
34300 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34301 * sysdeps/unix/sysv/linux/timespec_get.c
34302 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34303 (timespec_get): Use ANSI prototype.
34304 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34305 and definition for Linux.
34306
34307 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
34308
34309 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34310 * include/libc-symbols.h: libmvec_hidden_* macro series added.
34311
34312 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
34313
34314 [BZ #2981]
34315 [BZ #18410]
34316 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34317 for missing DT_PLTRELSZ.
34318
34319 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
34320
34321 Remove obsolete aliases that broke 'locale -a'
34322 [BZ #18412]
34323 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34324 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34325 breaking some applications that use 'locale -a' output.
34326 Change the encoding of this file from Latin-1 to ASCII to avoid
34327 other potential problems with people grepping this file.
34328
34329 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34330
34331 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34332 -fasynchronous-unwind-tables.
34333 (CFLAGS-sendto.c): Likewise.
34334 (CFLAGS-sendmsg.c): Likewise.
34335 (CFLAGS-connect.c): Likewise.
34336 (CFLAGS-recvmsg.c): Likewise.
34337 (CFLAGS-recvfrom.c): Likewise.
34338 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34339 (SOCKETCALL): New macro: non-cancellable socketcall.
34340 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34341 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34342 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34343 * sysdeps/unix/sysv/linux/accept.c: New file.
34344 * sysdeps/unix/sysv/linux/bind.c: Likewise.
34345 * sysdeps/unix/sysv/linux/connect.c: Likewise.
34346 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34347 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34348 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34349 * sysdeps/unix/sysv/linux/listen.c: Likewise.
34350 * sysdeps/unix/sysv/linux/recv.c: Likewise.
34351 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34352 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34353 * sysdeps/unix/sysv/linux/send.c: Likewise.
34354 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34355 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34356 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34357 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34358 * sysdeps/unix/sysv/linux/socket.c: Likewise.
34359 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34360 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34361 prototype.
34362 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34363 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34364 instead of __internal_xxx function.
34365 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34366 prototype.
34367 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34368 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34369 instead of __internal_xxx function.
34370 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34371 prototype.
34372 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34373 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34374 instead of __internal_xxx function.
34375 * sysdeps/unix/sysv/linux/accept.S: Remove file.
34376 * sysdeps/unix/sysv/linux/bind.S: Likewise.
34377 * sysdeps/unix/sysv/linux/connect.S: Likewise.
34378 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34379 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34380 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34381 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34382 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34383 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34384 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34385 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34386 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34387 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34388 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34389 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34390 * sysdeps/unix/sysv/linux/listen.S: Likewise.
34391 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
34392 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
34393 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
34394 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
34395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
34396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
34397 * sysdeps/unix/sysv/linux/recv.S: Likewise.
34398 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
34399 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
34400 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
34401 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34402 * sysdeps/unix/sysv/linux/send.S: Likewise.
34403 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
34404 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
34405 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
34406 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
34407 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
34408 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
34409 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
34410 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
34411 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
34412 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
34413 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
34414 socketcall is implemented in GLIBC.
34415
34416 2015-05-22 Joseph Myers <joseph@codesourcery.com>
34417
34418 * soft-fp/fmadf4.c: Include <libc-internal.h>.
34419 (__fma): Ignore uninitialized warnings around packing.
34420 * soft-fp/fmasf4.c: Include <libc-internal.h>.
34421 (__fmaf): Ignore uninitialized warnings around packing.
34422 * soft-fp/fmatf4.c: Include <libc-internal.h>.
34423 (__fmal): Ignore uninitialized warnings around packing.
34424
34425 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
34426 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
34428 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34429
34430 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
34431 switch statement into default case.
34432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
34433
34434 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
34435 a conditional in forcing "inexact".
34436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34437 Likewise.
34438
34439 2015-05-22 Roland McGrath <roland@hack.frob.com>
34440
34441 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34442 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
34443 for each INTERNAL_SYSCALL use.
34444
34445 2015-05-22 Joseph Myers <joseph@codesourcery.com>
34446
34447 [BZ #438]
34448 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
34449 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
34450 variable.
34451
34452 [BZ #18444]
34453 * string/basename.c (basename): Rename to __basename and define as
34454 weak alias of __basename. Use libc_hidden_weak.
34455 * include/string.h (__basename): Declare. Use libc_hidden_proto.
34456 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
34457 __basename instead of basename.
34458 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
34459 Remove variable.
34460 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34461
34462 2015-05-18 Florian Weimer <fweimer@redhat.com>
34463
34464 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
34465 (_IO_JUMPS_FILE_plus): New.
34466 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
34467 _IO_CAST_FIELD_ACCESS.
34468 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
34469 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
34470 * libio/freopen.c (freopen): Likewise.
34471 * libio/freopen64.c (freopen64): Likewise.
34472 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
34473 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
34474 * libio/iofwide.c (_IO_fwide): Likewise.
34475 * libio/memstream.c (open_memstream): Likewise.
34476 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34477 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
34478 * libio/oldiopopen.c (_IO_old_popen): Likewise.
34479
34480 2015-05-21 Joseph Myers <joseph@codesourcery.com>
34481
34482 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
34483 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
34484 NADJ.
34485 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
34486 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
34487 NADJ.
34488 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
34489 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
34490 NADJ.
34491
34492 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
34493 (p == 4) case.
34494
34495 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
34496 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
34497 Remove variable.
34498 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34499 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34500 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34501
34502 2015-05-21 Florian Weimer <fweimer@redhat.com>
34503
34504 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
34505 Adjust jump table label generation macros.
34506
34507 2015-05-21 Florian Weimer <fweimer@redhat.com>
34508
34509 * stdio-common/vfprintf.c (vfprintf): Move local variables
34510 args_malloced, specs, specs_malloced, and the code after
34511 do_positional to the printf_positional function.
34512 (printf_positional): New function.
34513
34514 2015-05-21 Florian Weimer <fweimer@redhat.com>
34515
34516 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
34517 function.
34518 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
34519 STEP4_TABLE, process_arg): Move macro definitions
34520 out of the vfprintf function. (Cosmetic change only.)
34521
34522 2015-05-21 Carlos O'Donell <carlos@redhat.com>
34523
34524 * benchtests/Makefile (stdio-common-bench): Define.
34525 (benchset): Add stdio-common-bench.
34526 * sprintf-inputs: New file.
34527 * sprintf-source.c: New file.
34528
34529 2015-05-21 Andreas Schwab <schwab@suse.de>
34530
34531 [BZ #13028]
34532 [BZ #17053]
34533 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
34534 of struct __res_state.
34535 * resolv/res_send.c (__libc_res_nsend): Likewise.
34536 (get_nsaddr): New function.
34537 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
34538 statp directly.
34539
34540 2015-05-20 Joseph Myers <joseph@codesourcery.com>
34541
34542 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34543 -D_POSIX_C_SOURCE=199506L.
34544
34545 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34546
34547 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34548 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34549 Do not mention otherwise.
34550 [POSIX] (_XOPEN_VERSION): Do not expect.
34551 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34552 [POSIX] (_POSIX2_C_BIND): Likewise.
34553 [POSIX] (_POSIX2_VERSION): Likewise.
34554 [POSIX] (_XOPEN_XPG2): Likewise.
34555 [POSIX] (_XOPEN_XPG3): Likewise.
34556 [POSIX] (_XOPEN_XPG4): Likewise.
34557 [POSIX] (_XOPEN_UNIX): Likewise.
34558 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34559 [POSIX] (_POSIX_BARRIERS): Likewise.
34560 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34561 [POSIX] (_POSIX_CPUTIME): Likewise.
34562 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34563 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34564 [POSIX] (_POSIX_SHELL): Likewise.
34565 [POSIX] (_POSIX_SPAWN): Likewise.
34566 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34567 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34568 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34569 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34570 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34571 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34572 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34573 [POSIX] (_XBS5_LP64_OFF64): Likewise.
34574 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34575 [POSIX] (_POSIX_TIMEOUTS): Likewise.
34576 [POSIX] (_POSIX2_PBS): Likewise.
34577 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34578 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34579 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34580 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34581 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34582 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34583 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34584 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34585 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34586 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34587 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34588 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34589 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34590 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34591 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34592 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34593 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34594 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34595 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34596 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34597 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34598 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34599 [POSIX] (_SC_2_C_BIND): Likewise.
34600 [POSIX] (_SC_2_C_VERSION): Likewise.
34601 [POSIX] (_SC_2_PBS): Likewise.
34602 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34603 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34604 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34605 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34606 [POSIX] (_SC_2_PBS_TRACK): Likewise.
34607 [POSIX] (_SC_ATEXIT_MAX): Likewise.
34608 [POSIX] (_SC_BARRIERS): Likewise.
34609 [POSIX] (_SC_BASE): Likewise.
34610 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34611 [POSIX] (_SC_DEVICE_IO): Likewise.
34612 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34613 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34614 [POSIX] (_SC_FD_MGMT): Likewise.
34615 [POSIX] (_SC_FIFO): Likewise.
34616 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34617 [POSIX] (_SC_FILE_LOCKING): Likewise.
34618 [POSIX] (_SC_FILE_SYSTEM): Likewise.
34619 [POSIX] (_SC_IOV_MAX): Likewise.
34620 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34621 [POSIX] (_SC_NETWORKING): Likewise.
34622 [POSIX] (_SC_PAGE_SIZE): Likewise.
34623 [POSIX] (_SC_PASS_MAX): Likewise.
34624 [POSIX] (_SC_PIPE): Likewise.
34625 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34626 [POSIX] (_SC_REGEXP): Likewise.
34627 [POSIX] (_SC_SHELL): Likewise.
34628 [POSIX] (_SC_SIGNALS): Likewise.
34629 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34630 [POSIX] (_SC_SPIN_LOCKS): Likewise.
34631 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34632 [POSIX] (_SC_USER_GROUPS): Likewise.
34633 [POSIX] (_SC_USER_GROUPS_R): Likewise.
34634 [POSIX] (_SC_STREAMS): Likewise.
34635 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34636 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34637 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34638 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34639 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34640 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34641 [POSIX] (_PC_FILESIZEBITS): Likewise.
34642 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34643 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34644 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34645 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34646 [POSIX] (uid_t): Likewise.
34647 [POSIX] (gid_t): Likewise.
34648 [POSIX] (off_t): Likewise.
34649 [POSIX] (pid_t): Likewise.
34650 [POSIX] (cuserid): Allow.
34651 (_SC_2_CHAR_TERM): Require constant.
34652 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34653 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34654 variable.
34655
34656 2015-05-20 Roland McGrath <roland@hack.frob.com>
34657
34658 * sysdeps/nacl/pthread-pids.h: New file.
34659 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34660 (create_thread): Use __nacl_get_tid to initialize PD->tid.
34661
34662 * nptl/pthread-pids.h: New file.
34663 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34664 * nptl/nptl-init.c: Include <pthread-pids.h>.
34665 (__pthread_initialize_minimal_internal):
34666 Call __pthread_initialize_pids instead of set_tid_address syscall.
34667
34668 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34669 * sysdeps/posix/usleep.c: ... here.
34670
34671 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34672
34673 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34674 call_pselect6 object.
34675 [$(subdir) = io]: Remove call_sync_file_range object.
34676 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34677 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34678 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34679 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34680
34681 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
34682
34683 * math/s_cproj.c: Add include "math_private.h".
34684 * math/s_cprojf.c: Likewise.
34685 * math/s_cprojl.c: Likewise.
34686
34687 2015-05-19 Joseph Myers <joseph@codesourcery.com>
34688
34689 [BZ #18244]
34690 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34691 high mantissa bit when testing whether P is a NaN.
34692 * math/libm-test.inc (remainder_test_data): Add more tests.
34693 (remquo_test_data): Likewise.
34694
34695 [BZ #18049]
34696 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34697 below -32, return the argument, with underflow if subnormal.
34698 * math/auto-libm-test-in: Add more tests of atanh.
34699 * math/auto-libm-test-out: Regenerated.
34700
34701 2015-05-19 Roland McGrath <roland@hack.frob.com>
34702
34703 [BZ #18434]
34704 * nptl/tst-sem15.c: New file.
34705 * nptl/Makefile (tests): Add it.
34706 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34707 s/<</>>/ to fix typo in EOVERFLOW check.
34708 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34709
34710 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34711
34712 * manual/strings.texi (envz_remove): Fix typo in safety
34713 annotations.
34714
34715 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
34716 Steve Ellcey <sellcey@imgtec.com>
34717
34718 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34719 in order to avoid strict alias warnings.
34720 (iruserok_af): Ditto for ra.
34721
34722 2015-05-19 James Lemke <jwlemke@codesourcery.com>
34723
34724 [BZ #17581]
34725 * malloc/hooks.c
34726 (magicbyte): Convert to a function and avoid returning 0x01.
34727 (mem2mem_check): Avoid using a length byte equal to the magic byte.
34728 (mem2chunk_check): Fix unsigned comparisons to zero.
34729 Hoist defs of sz and magic.
34730
34731 2015-05-19 Richard Henderson <rth@redhat.com>
34732
34733 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34734
34735 * sysdeps/alpha/fpu/libm-test-ulps: Update.
34736
34737 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34738
34739 [BZ #16159]
34740 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34741 * malloc/arena.c (arena_lock): Check if arena is corrupt.
34742 (reused_arena): Find a non-corrupt arena.
34743 (heap_trim): Pass arena to unlink.
34744 * malloc/hooks.c (malloc_check_get_size): Pass arena to
34745 malloc_printerr.
34746 (top_check): Likewise.
34747 (free_check): Likewise.
34748 (realloc_check): Likewise.
34749 * malloc/malloc.c (malloc_printerr): Add arena argument.
34750 (unlink): Likewise.
34751 (munmap_chunk): Adjust.
34752 (ARENA_CORRUPTION_BIT): New macro.
34753 (arena_is_corrupt): Likewise.
34754 (set_arena_corrupt): Likewise.
34755 (sysmalloc): Use mmap if there are no usable arenas.
34756 (_int_malloc): Likewise.
34757 (__libc_malloc): Don't fail if arena_get returns NULL.
34758 (_mid_memalign): Likewise.
34759 (__libc_calloc): Likewise.
34760 (__libc_realloc): Adjust for additional argument to
34761 malloc_printerr.
34762 (_int_free): Likewise.
34763 (malloc_consolidate): Likewise.
34764 (_int_realloc): Likewise.
34765 (_int_memalign): Don't touch corrupt arenas.
34766 * malloc/tst-malloc-backtrace.c: New test case.
34767
34768 * Makefile (summarize-tests): Fix return value on success.
34769
34770 * manual/string.texi (Envz Functions): Add envz_remove.
34771
34772 2015-05-18 Roland McGrath <roland@hack.frob.com>
34773
34774 * sysdeps/posix/opendir.c: Include <stdbool.h>.
34775 (invalid_name): New function, broken out of ...
34776 (__opendirat): ... here. Call it.
34777 (need_isdir_precheck): New function, broken out of ...
34778 (__opendirat): ... here. Call it.
34779 Use __fxstatat64, not __xstatat64.
34780 (opendir_oflags): New function, broken out of ...
34781 (__opendirat): ... here. Call it.
34782 (opendir_tail): New function, broken out of ...
34783 (__opendirat): ... here. Call it.
34784 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34785 opendir_tail, rather than punting to __opendirat.
34786 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34787
34788 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34789
34790 * .gitignore: Ignore generated *.pyc.
34791
34792 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
34793
34794 * include/stdio.h: Define __need_wint_t.
34795 * test-skeleton.c: Avoid `for' loop initial declaration.
34796 * nptl/tst-initializers1.c: Use test-skeleton.c.
34797
34798 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34799
34800 [BZ #18418]
34801 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34802
34803 2015-05-15 Joseph Myers <joseph@codesourcery.com>
34804
34805 [BZ #16352]
34806 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34807 (__ieee754_atanh): Force underflow exception for results with
34808 small absolute value.
34809 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34810 (__ieee754_atanhf): Force underflow exception for results with
34811 small absolute value.
34812 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34813 (__ieee754_atanh): Force underflow exception for results with
34814 small absolute value.
34815 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34816 (__ieee754_atanhf): Force underflow exception for results with
34817 small absolute value.
34818 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34819 (__ieee754_atanhl): Force underflow exception for results with
34820 small absolute value.
34821 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34822 (__ieee754_atanhl): Force underflow exception for results with
34823 small absolute value.
34824 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34825 (__ieee754_atanhl): Force underflow exception for results with
34826 small absolute value.
34827 * math/auto-libm-test-in: Do not allow missing underflow
34828 exceptions from atanh.
34829 * math/auto-libm-test-out: Regenerated.
34830
34831 [BZ #18221]
34832 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34833 2**-28 as threshold for returning x or +/- 1/x.
34834 * math/auto-libm-test-in: Add more tests of tan.
34835 * math/auto-libm-test-out: Regenerated.
34836
34837 [BZ #18220]
34838 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34839 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34840 * math/auto-libm-test-in: Add another test of lgamma.
34841 * math/auto-libm-test-out: Regenerated.
34842
34843 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
34844
34845 * stdio-common/printf_fp.c (___printf_fp): Use abs.
34846 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
34847 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34848 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34849 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
34850 (ADD2A): Use fabs. (SUB2A): Use fabs.
34851 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34854 (log1): Use fabs. (my_log2): Use fabs.
34855 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34856 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34857 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34858 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34860 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
34861 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
34862 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
34863 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
34864 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34865 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34866
34867 2015-05-15 Joseph Myers <joseph@codesourcery.com>
34868
34869 [BZ #18217]
34870 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34871 as threshold for returning 1 - x.
34872 * math/auto-libm-test-in: Add more tests of erfc.
34873 * math/auto-libm-test-out: Regenerated.
34874
34875 2015-05-14 Joseph Myers <joseph@codesourcery.com>
34876
34877 [BZ #18196]
34878 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34879 threshold for large arguments.
34880 * math/auto-libm-test-in: Add another test of atan.
34881 * math/auto-libm-test-out: Regenerated.
34882
34883 [BZ #16339]
34884 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34885 (__log1p): Force underflow exception for results with small
34886 absolute value.
34887 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34888 (__log1pf): Force underflow exception for results with small
34889 absolute value.
34890 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34891 (__log1p): Force underflow exception for results with small
34892 absolute value.
34893 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34894 (__log1pf): Force underflow exception for results with small
34895 absolute value.
34896 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34897 (__log1pl): Force underflow exception for results with small
34898 absolute value.
34899 * math/auto-libm-test-in: Do not allow missing underflow
34900 exceptions from log1p.
34901 * math/auto-libm-test-out: Regenerated.
34902
34903 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
34904 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34905
34906 [BZ #16704]
34907 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34908
34909 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
34910
34911 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34912 (libmvec): New variable.
34913 * configure.ac: Added option for mathvec build.
34914 * configure: Regenerated.
34915 * mathvec/Depend: New file.
34916 * mathvec/Makefile: New file.
34917 * shlib-versions: Added libmvec.
34918 * math/Makefile: Added rule for libm.so installation.
34919
34920 * bits/math-vector.h: New file.
34921 * bits/libm-simd-decl-stubs.h: New header.
34922 * math/Makefile (headers): Added new header
34923 libm-simd-decl-stubs.h.
34924 * math/math.h (__MATHCALL_VEC): New macro.
34925
34926 * math/gen-libm-have-vector-test.sh: Script generates series of macros
34927 for conditions in testing functions.
34928 * math/Makefile: Added call of libm-have-vector-test.sh.
34929 * math/libm-test.inc (HAVE_VECTOR): New macros.
34930
34931 * math/libm-test.inc: START refactored.
34932 * math/test-double.c (TEST_MATHVEC): Add define.
34933 * math/test-float.c: Likewise.
34934 * math/test-idouble.c: Likewise.
34935 * math/test-ifloat.c: Likewise.
34936 * math/test-ildoubl.c: Likewise.
34937 * math/test-ldouble.c: Likewise.
34938 * sysdeps/generic/math-tests-arch.h
34939 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34940 architecture check.
34941
34942 * math/test-double.c (FUNC_TEST): New macro.
34943 * math/test-float.c: Likewise.
34944 * math/test-idouble.c: Likewise.
34945 * math/test-ifloat.c: Likewise.
34946 * math/test-ildoubl.c: Likewise.
34947 * math/test-ldouble.c: Likewise.
34948 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34949
34950 2015-05-13 Roland McGrath <roland@hack.frob.com>
34951
34952 * sysdeps/nacl/fdopendir.c: New file.
34953
34954 * dirent/scandir-tail.c: New file.
34955 * dirent/scandir64-tail.c: New file.
34956 * dirent/Makefile (routines): Add them.
34957 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34958 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34959 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34960 [!SCANDIR] (SCANDIR_TAIL): New macro.
34961 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34962 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34963 (SCANDIRAT): Macro removed.
34964 (SCANDIR_TAIL): New macro.
34965 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34966 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34967 (SCANDIRAT): Just call __opendirat and __scandir_tail.
34968 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34969 (READDIR): Macro removed.
34970 (SCANDIR_TAIL): New macro.
34971 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34972 (SCANDIR_TAIL): New macro.
34973
34974 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34975 * dirent/scandir-cancel.c: ... to this new file.
34976 * dirent/Makefile (routines): Add it.
34977 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34978 * sysdeps/unix/sysv/linux/i386/scandir64.c
34979 (SKIP_SCANDIR_CANCEL): Macro removed.
34980 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34981
34982 * dirent/tst-scandir.c: New file.
34983 * dirent/tst-scandir64.c: New file.
34984 * dirent/Makefile (tests): Add them.
34985
34986 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
34987
34988 [BZ #18409]
34989 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34990
34991 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34992
34993 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34994 list.
34995
34996 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
34997
34998 * benchtests/bench-strcoll.c: New benchmark.
34999 * benchtests/Makefile: Generate locales and run benchmark.
35000 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
35001 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
35002 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
35003 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
35004 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
35005 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
35006 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
35007 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
35008 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
35009 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
35010 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
35011 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
35012 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
35013 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
35014 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
35015 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
35016 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
35017 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
35018 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
35019 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
35020 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
35021 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
35022 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
35023 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
35024
35025 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
35026
35027 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
35028 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35029
35030 2015-05-12 Roland McGrath <roland@hack.frob.com>
35031
35032 * posix/uname-values.h: New file.
35033 * posix/uname.c: Include that instead of <config-name.h>.
35034 * sysdeps/nacl/uname-values.h: New file.
35035 * sysdeps/arm/nacl/uname-values.h: New file.
35036
35037 2015-05-12 Joseph Myers <joseph@codesourcery.com>
35038
35039 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
35040 splitting into fields.
35041
35042 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
35043
35044 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
35045 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
35046 * locale/localeinfo.h: Add enum collation_encoding_type.
35047 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
35048 * programs/ld-collate.c (collate_output): Add encoding type info.
35049 * string/strcoll_l.c (STRDIFF): New function.
35050 * (STRCOLL): Use STRDIFF to skip over equal prefix.
35051 * wcsmbs/wcscoll_l.c: Define STRDIFF.
35052
35053 2015-05-11 Joseph Myers <joseph@codesourcery.com>
35054
35055 [BZ #18397]
35056 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
35057 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
35058 <fpu_control.h> instead of <math/fpu_control.c>.
35059 * sysdeps/mips/mips32/fpu/Makefile: New file.
35060
35061 2015-05-11 Andreas Schwab <schwab@suse.de>
35062
35063 [BZ #18007]
35064 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
35065 nss_endgrent.
35066 (_nss_compat_endgrent): Call nss_endgrent.
35067 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
35068 nss_endpwent.
35069 (_nss_compat_endpwent): Call nss_endpwent.
35070 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
35071 needent, call nss_setspent only if non-zero.
35072 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
35073 (internal_endspent): Don't call nss_endspent.
35074 (_nss_compat_endspent): Call nss_endspent.
35075 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
35076 Remove. All uses removed.
35077 (internal_setent): Remove parameter stayopen, add parameter
35078 stream. Use it instead of global variable.
35079 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
35080 (internal_endent, internal_getent): Add parameter stream. Use it
35081 instead of global variable.
35082 (CONCAT(_nss_files_end,ENTNAME))
35083 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
35084 (_nss_files_get##name##_r): Pass local stream. Remove locking.
35085 * nss/nss_files/files-alias.c (position, last_use): Remove. All
35086 uses removed.
35087 (internal_setent, internal_endent): Add parameter stream. Use it
35088 instead of global variable.
35089 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
35090 stream.
35091 (get_next_alias): Add parameter stream.
35092 (_nss_files_getaliasent_r): Pass global stream.
35093 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
35094 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
35095 (_nss_files_gethostbyname4_r): Pass local stream to
35096 internal_setent, internal_getent and internal_endent. Remove
35097 locking.
35098
35099 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
35100
35101 * tst-strfmon1.c (tests): Update expected currency symbol.
35102
35103 2015-05-08 Roland McGrath <roland@hack.frob.com>
35104
35105 * sysdeps/nacl/gethostname.c: New file.
35106
35107 2015-05-08 Joseph Myers <joseph@codesourcery.com>
35108
35109 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
35110 and sinh.
35111 * math/auto-libm-test-out: Regenerated.
35112 * sysdeps/i386/fpu/libm-test-ulps: Update.
35113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35114
35115 2015-05-08 Carlos O'Donell <carlos@redhat.com>
35116
35117 [BZ #18125]
35118 * stdlib/tst-setcontext3.c: New file.
35119 * stdlib/tst-setcontext3.sh: New file.
35120 * stdlib/Makefile (tests): Add tst-setcontext3.
35121 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
35122 to verify test program created output file.
35123 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
35124 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
35125 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
35126 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
35127
35128 2015-05-06 Roland McGrath <roland@hack.frob.com>
35129
35130 [BZ #18383]
35131 * elf/tst-tlsalign.c: New file.
35132 * elf/tst-tlsalign-static.c: New file.
35133 * elf/tst-tlsalign-lib.c: New file.
35134 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
35135 (tests-static): Add tst-tlsalign-static.
35136 (modules-names): Add tst-tlsalign-lib.
35137 (test-xfail-tst-tlsalign): New variable.
35138 (test-xfail-tst-tlsalign-static): New variable.
35139
35140 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
35141 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
35142
35143 2015-05-06 Joseph Myers <joseph@codesourcery.com>
35144
35145 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
35146 csqrt, erfc, sin and sincos.
35147 * math/auto-libm-test-out: Regenerated.
35148 * sysdeps/i386/fpu/libm-test-ulps: Update.
35149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35150
35151 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
35152
35153 * sysdeps/aarch64/libm-test-ulps: Update.
35154
35155 2015-05-05 Joseph Myers <joseph@codesourcery.com>
35156
35157 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
35158 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
35159 * math/auto-libm-test-out: Regenerated.
35160 * sysdeps/i386/fpu/libm-test-ulps: Update.
35161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35162
35163 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
35164
35165 [BZ #18265]
35166 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
35167 (wcsncpy): Likewise.
35168
35169 2015-05-05 Florian Weimer <fweimer@redhat.com>
35170
35171 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35172 Assume __ASSUME_FALLOCATE is always true.
35173 * sysdeps/unix/sysv/linux/posix_fallocate64.c
35174 (__posix_fallocate64_l64): Likewise.
35175 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
35176 (posix_fallocate): Likewise.
35177 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
35178 (__posix_fallocate64_l64): Likewise.
35179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35180 [!__ASSUME_FALLOCATE]: Add comment.
35181
35182 2015-05-05 Florian Weimer <fweimer@redhat.com>
35183
35184 * sysdeps/unix/sysv/linux/i386/Makefile
35185 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
35186 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
35187 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
35188 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35189 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35190 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
35191 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
35192
35193 2015-05-02 Joseph Myers <joseph@codesourcery.com>
35194
35195 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
35196 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35197 tgamma.
35198 * math/auto-libm-test-out: Regenerated.
35199 * sysdeps/i386/fpu/libm-test-ulps: Update.
35200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35201
35202 2015-05-01 Joseph Myers <joseph@codesourcery.com>
35203
35204 * math/auto-libm-test-in: Add more tests of tgamma.
35205 * math/auto-libm-test-out: Regenerated.
35206 * sysdeps/i386/fpu/libm-test-ulps: Update.
35207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35208
35209 * math/auto-libm-test-in: Add more tests of tanh.
35210 * math/auto-libm-test-out: Regenerated.
35211 * sysdeps/i386/fpu/libm-test-ulps: Update.
35212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35213
35214 * math/auto-libm-test-in: Add more tests of tan.
35215 * math/auto-libm-test-out: Regenerated.
35216 * sysdeps/i386/fpu/libm-test-ulps: Update.
35217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35218
35219 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35220 * math/auto-libm-test-out: Regenerated.
35221 * sysdeps/i386/fpu/libm-test-ulps: Update.
35222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35223
35224 * math/auto-libm-test-in: Add another test of pow.
35225 * math/auto-libm-test-out: Regenerated.
35226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35227
35228 * math/auto-libm-test-in: Add more tests of lgamma.
35229 * math/auto-libm-test-out: Regenerated.
35230 * sysdeps/i386/fpu/libm-test-ulps: Update.
35231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35232
35233 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
35234 log1p.
35235 * math/auto-libm-test-out: Regenerated.
35236 * sysdeps/i386/fpu/libm-test-ulps: Update.
35237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35238
35239 2015-05-01 Mark Wielaard <mjw@redhat.com>
35240
35241 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35242 Elf64_Chdr structs and ELFCOMPRESS constants.
35243
35244 2015-05-01 Joseph Myers <joseph@codesourcery.com>
35245
35246 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35247 expm1.
35248 * math/auto-libm-test-out: Regenerated.
35249 * sysdeps/i386/fpu/libm-test-ulps: Update.
35250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35251
35252 * math/auto-libm-test-in: Add more tests of erf and erfc.
35253 * math/auto-libm-test-out: Regenerated.
35254 * sysdeps/i386/fpu/libm-test-ulps: Update.
35255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35256
35257 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
35258
35259 * config.h.in (HAVE_AARCH64_BE): Add.
35260
35261 2015-04-30 Joseph Myers <joseph@codesourcery.com>
35262
35263 * math/auto-libm-test-in: Add more tests of csqrt.
35264 * math/auto-libm-test-out: Regenerated.
35265 * sysdeps/i386/fpu/libm-test-ulps: Update.
35266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35267
35268 * math/auto-libm-test-in: Add more tests of cosh and sinh.
35269 * math/auto-libm-test-out: Regenerated.
35270 * sysdeps/i386/fpu/libm-test-ulps: Update.
35271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35272
35273 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35274
35275 2015-04-29 Roland McGrath <roland@hack.frob.com>
35276
35277 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35278 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35279
35280 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35281 (euidaccess, eaccess): Define as weak aliases.
35282
35283 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35284 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
35285 but __suseconds_t is often 'long int' so some sources assume that
35286 type is being used (e.g. they use %ld to print tv_usec).
35287
35288 2015-04-29 Florian Weimer <fweimer@redhat.com>
35289
35290 [BZ #18007]
35291 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35292 (CVE-2014-8121)
35293 * nss/tst-nss-getpwent.c: New file.
35294 * nss/Makefile (tests): Add new test.
35295
35296 2015-04-28 Joseph Myers <joseph@codesourcery.com>
35297
35298 [BZ #18346]
35299 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35300 exponents less than 48 as cases where high part of mantissa needs
35301 examining to determine whether argument is integral.
35302 * math/libm-test.inc (round_test_data): Add more tests.
35303
35304 2015-04-28 Mark Wielaard <mjw@redhat.com>
35305
35306 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35307
35308 2015-04-27 David S. Miller <davem@davemloft.net>
35309
35310 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35311 __tls_get_addr.
35312 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35313
35314 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
35315
35316 [BZ #18333]
35317 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35318
35319 2015-04-27 Florian Weimer <fweimer@redhat.com>
35320
35321 [BZ #18333]
35322 * time/tzset.c (parse_tzname): Return error on memory allocation
35323 failure.
35324 * test-skeleton.c (struct temp_name_list): Change type of name
35325 member to non-const.
35326 (add_temp_file): Create a copy of the file name.
35327 (delete_temp_files): Deallocate memory.
35328 (create_temp_file): Add comment.
35329
35330 2015-04-24 Florian Weimer <fweimer@redhat.com>
35331
35332 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35333 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35334
35335 2015-04-24 Roland McGrath <roland@hack.frob.com>
35336
35337 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35338 * sysdeps/arm/configure: Regenerated.
35339
35340 2015-04-24 Florian Weimer <fweimer@redhat.com>
35341
35342 [BZ #17715]
35343 * time/tzfile.c (__tzfile_read): Check for large values of
35344 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
35345 * time/tzset.c (__tzstring_len): New function, based on the old
35346 __tzstring function.
35347 (__tzstring): Call __tzstring_len.
35348 (parse_tzname): New helper function extracted from
35349 __tzset_parse_tz. Call __tzstring_len, without making a copy of
35350 the input string.
35351 (parse_offset): New helper function extracted from
35352 __tzset_parse_tz. Replace switch with fallthrough with
35353 initialization before sscanf.
35354 (parse_rule): Likewise.
35355 (__tzset_parse_tz): Rewrite using the new helper functions. Use
35356 new-style function definition.
35357 * timezone/Makefile (tests): Add tst-tzset.
35358 (tst-tzset.out): Dependencies on time zone files.
35359 (tst-tzset-ENV): Set TZDIR.
35360 (testdata/XT%): Copy crafted time zone files.
35361 * timezone/README: Mention crafted time zone files.
35362 * timezone/testdata/XT1, timezone/testdata/XT2,
35363 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35364 files.
35365 * timezone/tst-tzset.c: New test.
35366
35367 2015-04-24 Florian Weimer <fweimer@redhat.com>
35368
35369 * Makeconfig (+gccwarn): Remove -Winline.
35370
35371 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
35372
35373 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35374
35375 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
35376
35377 * NEWS: Mention sysconf() cache information support for s390.
35378 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35379
35380 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
35381
35382 * math/k_casinh.c (__kernel_casinh): Use __copysign.
35383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35384 (__nearbyint): Likewise.
35385 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35386 (copysignl): Likewise.
35387
35388 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
35389
35390 [BZ #18287]
35391 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
35392 based on padding. (CVE-2015-1781)
35393
35394 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35395
35396 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
35397 libc-vdso.h.
35398 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
35399 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
35400 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
35401 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35402 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35403 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
35404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
35405 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35406 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35407 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
35408 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35409 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35410 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35411 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
35412 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35413 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
35414 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
35415 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
35416 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
35417 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
35418 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
35419 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
35420 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
35421
35422 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
35423
35424 * stdlib/setenv.c (__add_to_environ):
35425 Dump core quickly if setenv (..., NULL, ...) is called.
35426 This time, do it the right way, and pacify GCC with a pragma.
35427
35428 2015-04-17 Roland McGrath <roland@hack.frob.com>
35429
35430 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
35431 IMAP->l_prev cannot be null, and #if out the code for the contrary
35432 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
35433 believe that NS (&_dl_ns[NSID]) could point outside the array.
35434
35435 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
35436 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
35437 before using NSID as an index.
35438
35439 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
35440
35441 [BZ #17825]
35442 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
35443 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
35444 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35445
35446 2015-04-17 Roland McGrath <roland@hack.frob.com>
35447
35448 Add preliminary port to Google Native Client on ARM.
35449 * abi-tags (.*-.*-nacl.*): New entry.
35450 * sysdeps/arm/nacl: New directory.
35451 * sysdeps/nacl: New directory.
35452
35453 2015-04-16 David S. Miller <davem@davemloft.net>
35454
35455 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
35456 lowlevellock-futex.h
35457
35458 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
35459
35460 * sysdeps/tile/configure.ac: New file.
35461 * sysdeps/tile/configure: Regenerated.
35462
35463 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35464
35465 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
35466 conditionals for weak_alias and libc_hidden_weak.
35467 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
35468 libc_hidden_weak and weak_alias.
35469 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
35470 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
35471 and weak_alias for static one.
35472
35473 2015-04-15 David S. Miller <davem@davemloft.net>
35474
35475 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35476
35477 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
35478
35479 [BZ #18206]
35480 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
35481 Use signed comparision instead of substraction to avoid
35482 overflow bug.
35483 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
35484 Take the sign of ret.
35485 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
35486 Do not expect precise return values. Only the sign matters.
35487 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
35488 * wcsmbs/test-wcsncmp.c: New File.
35489 * string/test-strncmp.c: Add wcsncmp support.
35490
35491 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
35492
35493 [BZ #6792]
35494 * math/w_log1p.c: New file.
35495 * math/w_log1pf.c: Likewise.
35496 * math/w_log1pl.c: Likewise.
35497 * math/Makefile (libm-calls): Add w_log1p.
35498 * math/s_log1pl.c (log1pl): Remove weak_alias.
35499 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
35500 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
35501 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
35502 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
35503 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
35504 [NO_LONG_DOUBLE] (log1pl): Likewise.
35505 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
35506 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
35507 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
35508 (log1p): Remove long_double_symbol.
35509 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
35510 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
35511 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
35512 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
35513 remove weak_alias for corresponding log1p function.
35514 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
35515 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
35516 * sysdeps/ia64/fpu/w_log1p.c: New file.
35517 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
35518 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
35519 * math/libm-test.inc (log1p_test_data): Add errno expectations.
35520
35521 2015-04-10 Joseph Myers <joseph@codesourcery.com>
35522
35523 [BZ #18247]
35524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
35525 decimal exponent by 1.
35526 * stdlib/tst-strtod-round-data: Add more tests.
35527 * stdlib/tst-strtod-round.c (tests): Regenerated.
35528
35529 2015-04-09 Joseph Myers <joseph@codesourcery.com>
35530
35531 * math/auto-libm-test-in: Add more tests of clog and clog10.
35532 * math/auto-libm-test-out: Regenerated.
35533 * sysdeps/i386/fpu/libm-test-ulps: Update.
35534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35535
35536 2015-04-09 Roland McGrath <roland@hack.frob.com>
35537
35538 * Makeconfig (module-cppflags): Exclude all .v.i files.
35539 (skip-module-cppflags): Variable removed.
35540
35541 * configure.ac (libc_config_ok): Initialize before reading
35542 preconfigure scripts, not after.
35543 * configure: Regenerated.
35544
35545 * test-skeleton.c (TIMEOUT): Move #define to top level.
35546 (main): Grok environment variable TEST_DIRECT. If set, print
35547 test expectation details into that file and then behave as if
35548 given --direct.
35549
35550 2015-04-09 Florian Weimer <fweimer@redhat.com>
35551
35552 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35553 warning on 32-bit.
35554
35555 2015-04-08 David S. Miller <davem@davemloft.net>
35556
35557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35558
35559 2015-04-08 Joseph Myers <joseph@codesourcery.com>
35560
35561 * math/auto-libm-test-in: Add more tests of atanh.
35562 * math/auto-libm-test-out: Regenerated.
35563 * sysdeps/i386/fpu/libm-test-ulps: Update.
35564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35565
35566 * math/auto-libm-test-in: Add more tests of atan.
35567 * math/auto-libm-test-out: Regenerated.
35568 * sysdeps/i386/fpu/libm-test-ulps: Update.
35569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35570
35571 2015-04-08 Florian Weimer <fweimer@redhat.com>
35572
35573 * elf/pldd.c (main): Rewrite to use struct
35574 scratch_buffer instead of extend_alloca.
35575 * elf/pldd-xx.c (find_maps): Likewise.
35576 * grp/initgroups.c: Include <scratch_buffer.h> instead of
35577 <alloca.h>.
35578 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35579 scratch_buffer instead of extend_alloca.
35580 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35581 grp/compat-initgroups.c.
35582 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35583 Rewrite to use struct scratch_buffer instead of extend_alloca.
35584 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35585 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35586
35587 2015-04-08 Joseph Myers <joseph@codesourcery.com>
35588
35589 * math/auto-libm-test-in: Add more tests of cbrt.
35590 * math/auto-libm-test-out: Regenerated.
35591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35592
35593 * math/auto-libm-test-in: Add more tests of cabs.
35594 * math/auto-libm-test-out: Regenerated.
35595 * sysdeps/i386/fpu/libm-test-ulps: Update.
35596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35597
35598 [BZ #18210]
35599 [BZ #18211]
35600 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35601 (__ieee754_atan2): Set FE_TONEAREST mode for internal
35602 computations.
35603 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35604 clog10.
35605 * math/auto-libm-test-out: Regenerated.
35606 * sysdeps/i386/fpu/libm-test-ulps: Update.
35607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35608
35609 [BZ #18197]
35610 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35611 (atan): Set FE_TONEAREST mode for internal computations.
35612 * math/auto-libm-test-in: Add more tests of atan.
35613 * math/auto-libm-test-out: Regenerated.
35614
35615 2015-04-07 James Cowgill <james410@cowgill.org.uk>
35616
35617 [BZ #17930]
35618 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35619
35620 2015-04-07 Florian Weimer <fweimer@redhat.com>
35621
35622 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35623
35624 2015-04-07 Florian Weimer <fweimer@redhat.com>
35625
35626 * include/scratch_buffer.h: New file.
35627 * malloc/scratch_buffer_grow.c: Likewise.
35628 * malloc/scratch_buffer_grow_preserve.c: Likewise.
35629 * malloc/scratch_buffer_set_array_size.c: Likewise.
35630 * malloc/tst-scratch_buffer.c: Likewise.
35631 * malloc/Makefile (routines): Add scratch_buffer_grow.
35632 (tests): Add test case.
35633 * malloc/Versions (GLIBC_PRIVATE): Export
35634 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35635 __libc_scratch_buffer_set_array_size.
35636
35637 2015-04-06 Richard Henderson <rth@redhat.com>
35638
35639 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35640 * sysdeps/alpha/fpu/libm-test-ulps: Update.
35641
35642 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35643 unsigned int before printing.
35644
35645 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35646
35647 [BZ #17596]
35648 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35649 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35650
35651 2015-04-02 Florian Weimer <fweimer@redhat.com>
35652
35653 * include/libc-internal.h (libc_max_align_t): Define.
35654
35655 2015-04-02 Andreas Schwab <schwab@suse.de>
35656
35657 [BZ #16850]
35658 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35659
35660 2015-04-02 Mel Gorman <mgorman@suse.de>
35661
35662 [BZ #17195]
35663 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35664 as well as the main arena.
35665
35666 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
35667
35668 [BZ #18185]
35669 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35670 sharing L2 cache to 2 for Silvermont/Knights Landing.
35671
35672 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
35673
35674 [BZ #17711]
35675 * config.make.in (have-protected-data): New.
35676 * configure.ac: Check linker support for protected data symbol.
35677 * configure: Regenerated.
35678 * elf/Makefile (modules-names): Add tst-protected1moda and
35679 tst-protected1modb if $(have-protected-data) is yes.
35680 (tests): Add tst-protected1a and tst-protected1b if
35681 $(have-protected-data) is yes.
35682 ($(objpfx)tst-protected1a): New.
35683 ($(objpfx)tst-protected1b): Likewise.
35684 (tst-protected1modb.so-no-z-defs): Likewise.
35685 * elf/tst-protected1a.c: New file.
35686 * elf/tst-protected1b.c: Likewise.
35687 * elf/tst-protected1mod.h: Likewise.
35688 * elf/tst-protected1moda.c: Likewise.
35689 * elf/tst-protected1modb.c: Likewise.
35690
35691 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
35692
35693 [BZ #17711]
35694 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35695 indicates it is called from do_lookup_x on relocation against
35696 protected data, skip the data definion in the executable from
35697 copy reloc.
35698 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35699 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35700 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35701 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35702 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35703 otherwise to 0.
35704 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35705 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35706 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35707 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35708 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35709 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35710
35711 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
35712
35713 * sysdeps/nptl/pthread.h: Remove duplicate definition of
35714 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35715
35716 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
35717
35718 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35719 THREAD_SETMEM_NC.
35720 * sysdeps/x86_64/nptl/tls.h: Ditto.
35721
35722 2015-03-27 Roland McGrath <roland@hack.frob.com>
35723
35724 * dlfcn/tststatic.c (main): Converted to ...
35725 (do_test): ... this.
35726 (TEST_FUNCTION): New macro.
35727 Include test-skeleton.c.
35728
35729 2015-03-26 Alan Modra <amodra@gmail.com>
35730
35731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35732 Don't segfault if ifunc resolver returns a NULL. Do set plt to
35733 zero for undefined weak.
35734 (elf_machine_plt_conflict): Similarly.
35735
35736 2015-03-25 Joseph Myers <joseph@codesourcery.com>
35737
35738 * math/auto-libm-test-in: Add more tests of acosh, asinh and
35739 atanh.
35740 * math/auto-libm-test-out: Regenerated.
35741 * sysdeps/i386/fpu/libm-test-ulps: Update.
35742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35743
35744 * math/auto-libm-test-in: Add another test of asin.
35745 * math/auto-libm-test-out: Regenerated.
35746 * sysdeps/i386/fpu/libm-test-ulps: Update.
35747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35748
35749 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35750 Remove macro.
35751 (LLL_EBX_REG): Likewise.
35752 (LLL_ENTER_KERNEL): Likewise.
35753
35754 * math/auto-libm-test-in: Add more tests of asin.
35755 * math/auto-libm-test-out: Regenerated.
35756 * sysdeps/i386/fpu/libm-test-ulps: Update.
35757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35758
35759 [BZ #18138]
35760 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35761 libc_do_syscall_args): New structure.
35762 (INTERNAL_SYSCALL_MAIN_0): New macro.
35763 (INTERNAL_SYSCALL_MAIN_1): Likewise.
35764 (INTERNAL_SYSCALL_MAIN_2): Likewise.
35765 (INTERNAL_SYSCALL_MAIN_3): Likewise.
35766 (INTERNAL_SYSCALL_MAIN_4): Likewise.
35767 (INTERNAL_SYSCALL_MAIN_5): Likewise.
35768 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
35769 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35770 Replace conditional definitions by conditional definitions of ....
35771 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
35772 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35773 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35774 (libpthread-sysdep_routines): Add libc-do-syscall.
35775 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35776 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35777 to __NR_futex not 240.
35778
35779 2015-03-25 Alan Modra <amodra@gmail.com>
35780
35781 * NEWS: Advertise TLS optimization.
35782 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35783 (DT_PPC_NUM): Increment.
35784 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35785 (CHECK_STATIC_TLS): Use here.
35786 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35787 TLS descriptors.
35788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35789 * sysdeps/powerpc/dl-tls.c: New file.
35790 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35791 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35792 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35793 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35797
35798 2015-03-25 Alan Modra <amodra@gmail.com>
35799
35800 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35801 for overlapping .opd entries" to "support...".
35802 * sysdeps/powerpc/powerpc64/configure: Regenerate
35803
35804 2015-03-25 Joseph Myers <joseph@codesourcery.com>
35805
35806 * math/auto-libm-test-in: Add more tests of acos.
35807 * math/auto-libm-test-out: Regenerated.
35808 * sysdeps/i386/fpu/libm-test-ulps: Update.
35809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35810
35811 * math/auto-libm-test-in: Add more tests of expm1.
35812 * math/auto-libm-test-out: Regenerated.
35813 * sysdeps/i386/fpu/libm-test-ulps: Update.
35814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35815
35816 2015-03-24 Joseph Myers <joseph@codesourcery.com>
35817
35818 * math/auto-libm-test-in: Add more tests of cosh and sinh.
35819 * math/auto-libm-test-out: Regenerated.
35820 * sysdeps/i386/fpu/libm-test-ulps: Update.
35821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35822
35823 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35825
35826 * math/auto-libm-test-in: Add more tests of log2.
35827 * math/auto-libm-test-out: Regenerated.
35828 * sysdeps/i386/fpu/libm-test-ulps: Update.
35829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35830
35831 2015-03-23 Roland McGrath <roland@hack.frob.com>
35832
35833 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35834 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
35835 _IO_IS_APPENDING bit in READ_WRITE instead.
35836
35837 2015-03-23 Florian Weimer <fweimer@redhat.com>
35838
35839 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35840 (__determine_cpumask_size): Replace extend_alloca with a
35841 variable-length array. Do not treat res == 0 as an error.
35842
35843 2015-03-23 Florian Weimer <fweimer@redhat.com>
35844
35845 [BZ #18100]
35846 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35847 and integer overflow.
35848 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35849 (main): Add integer overflow tests.
35850 * manual/pattern.texi (Calling Wordexp): Document additional use
35851 for WRDE_SYNTAX.
35852
35853 2015-03-23 Alan Modra <amodra@gmail.com>
35854
35855 * config.h.in: Remove HAVE_ASM_PPC_REL16.
35856 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35857 and false branch of conditional.
35858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35859 Likewise.
35860
35861 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
35862
35863 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35864 libc-modules.h
35865 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35866 unused declaration of _hurd_intr_rpc_msg_in_trap.
35867 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35868 defined instead of whether it is non-zero.
35869 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35870 input constraint instead of both input and output constraint. Use ecx
35871 clobber instead of %ecx.
35872 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35873 mutex_unlock): Use a statement expression instead of an expression list.
35874 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35875 type to vm_size_t instead of vm_address_t.
35876 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35877 defined instead of whether it is non-zero.
35878 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35879 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35880 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35881 comparisons with mapaddr.
35882 * nscd/nscd-client.h: Include <time.h>.
35883 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35884 9th parameter to __vm_region instead of int.
35885 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35886 * scripts/check-local-headers.sh (exclude): Add device/,
35887 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35888 cthreads.h.
35889
35890 2015-03-19 Roland McGrath <roland@hack.frob.com>
35891
35892 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35893 to account for alignment padding.
35894 * sysdeps/arm/memmove.S: Likewise.
35895
35896 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
35897
35898 * sysdeps/unix/sysv/linux/generic/README: New file.
35899
35900 2015-03-18 Joseph Myers <joseph@codesourcery.com>
35901
35902 [BZ #18138]
35903 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35904 (futex_abstimed_wait)
35905 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35906 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35907 of lll_futex_timed_wait.
35908
35909 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
35910
35911 [BZ #17542]
35912 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35913
35914 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
35915
35916 [BZ #17090]
35917 [BZ #17620]
35918 [BZ #17621]
35919 [BZ #17628]
35920 * NEWS: Update.
35921 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35922 entries with Static TLS too. Skip entries past the end of the
35923 allocated DTV, from Alan Modra.
35924 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
35925 Static TLS DTV entry set up from...
35926 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35927 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35928 * nptl/allocatestack.c (init_one_static_tls): ... and here...
35929 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35930 for Static TLS.
35931 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
35932 that the slot we find is associated with the given map before
35933 using its generation count.
35934 * nptl_db/db_info.c: Include ldsodefs.h.
35935 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35936 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35937 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35938 (link_map::l_tls_offset): New struct field.
35939 (dtv_t::counter): Likewise.
35940 (rtld_global): New struct.
35941 (_rtld_global): New rtld variable.
35942 (dl_tls_dtv_slotinfo_list): New rtld global field.
35943 (dtv_slotinfo_list): New struct.
35944 (dtv_slotinfo): Likewise.
35945 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35946 (td_lookup): Rename to...
35947 (td_mod_lookup): ... this. Use new mod parameter instead of
35948 LIBPTHREAD_SO.
35949 * nptl_db/td_thr_tlsbase.c: Include link.h.
35950 (dtv_slotinfo_list, dtv_slotinfo): New functions.
35951 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
35952 addresses even if the DTV is out of date or missing them.
35953 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35954 index zero-length arrays.
35955 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35956 (td_lookup): Make it a macro implemented in terms of...
35957 (td_mod_lookup): ... this declaration.
35958 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35959 (DB_MAIN_VARIABLE): Likewise.
35960
35961 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
35962
35963 [BZ #18134]
35964 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35965
35966 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
35967
35968 * stdlib/setenv.c (__add_to_environ): Revert previous change.
35969
35970 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
35971
35972 [BZ #18128]
35973 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35974 (atomic_add, atomic_increment_and_test)
35975 (atomic_decrement_and_test): Fix 64-bit arithmetic.
35976
35977 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
35978
35979 * stdlib/setenv.c (__add_to_environ):
35980 Dump core quickly if setenv (..., NULL, ...) is called.
35981
35982 2015-03-13 Roland McGrath <roland@hack.frob.com>
35983
35984 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35985 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35986 all the necessary asm magic in one place.
35987 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35988 using those.
35989
35990 2015-03-13 Carlos O'Donell <carlos@redhat.com>
35991
35992 [BZ #14906]
35993 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35994 traced file mtime. Use consistent log message.
35995 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35996 (register_traced_file): Call install_watches. Always set mtime.
35997 (invalidate_cache): Iterate over all trace files. Call install_watches.
35998 (inotify_check_files): Don't inline. Handle watching parent
35999 directories and configuration file movement in and out.
36000 (handle_inotify_events): New function.
36001 (main_loop_poll): Call handle_inotify_events.
36002 (main_loop_epoll): Likewise.
36003 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
36004 (struct traced_file): Use array of inotify fds. Add parent directory,
36005 and basename.
36006 (struct database_dyn): Remove unused file_mtime.
36007 (init_traced_file): New inline function.
36008 (define_traced_file): New macro.
36009 * nss/nss_db/db-init.c: Use define_traced_file.
36010 (_nss_db_init): Use init_traced_file.
36011 * nss/nss_files/files-init.c: Use define_traced_file.
36012 (_nss_files_init): Use init_traced_file.
36013
36014 2015-03-12 Joseph Myers <joseph@codesourcery.com>
36015
36016 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
36017 [_LIBC]: Do not include <stdlib.h>.
36018 [!_LIBC] (abort): Remove declaration.
36019 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
36020 _FP_STATIC_ASSERT instead of conditionally calling abort.
36021 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
36022 (_FP_EXTEND_CNAN): Likewise.
36023 (FP_TRUNC): Likewise.
36024 (__FP_CLZ): Likewise.
36025 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
36026
36027 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
36028
36029 * manual/string.texi (XPG basename): Fix prototype.
36030
36031 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
36032
36033 [BZ #18080]
36034 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
36035 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36036 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
36037 (__setcontext): Likewise.
36038 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
36039 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36040 Call rt_sigprocmask syscall one time to set new signal mask
36041 and retrieve the current signal mask instead of two calls.
36042 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
36043 (__swapcontext): Likewise.
36044 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
36045 * stdlib/tst-setcontext2.c: New file.
36046
36047 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
36048
36049 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36050
36051 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
36052
36053 [BZ #18093]
36054 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
36055 the wrong size.
36056
36057 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
36058
36059 [BZ #18043]
36060 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
36061
36062 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
36063
36064 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
36065 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
36066 Remove define.
36067 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
36068 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
36069 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
36070 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
36071 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
36072 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
36073 define.
36074 * nptl_db/td_symbol_list.c (td_lookup): Remove
36075 HAVE_ASM_GLOBAL_DOT_NAME code.
36076 * sysdeps/powerpc/powerpc64/configure.ac: Remove
36077 HAVE_ASM_GLOBAL_DOT_NAME check.
36078 * sysdeps/powerpc/powerpc64/configure: Regenerate.
36079 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
36080 (DOT_LABEL): Remove define.
36081 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
36082 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
36083 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
36084 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
36085 (__TLS_GET_ADDR): Likewise.
36086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
36087 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
36088
36089 2015-03-11 Carlos O'Donell <carlos@redhat.com>
36090
36091 [BZ #18111]
36092 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
36093 (_FPU_SETCW): Initialize cw from fpsr before storing.
36094 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
36095 (fesetexceptflag): Rewrite using fpu_control.h.
36096 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
36097
36098 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
36099
36100 [BZ #18110]
36101 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
36102 asms.
36103 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36104
36105 2015-03-11 Joseph Myers <joseph@codesourcery.com>
36106
36107 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
36108 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
36109 abort.
36110 (_FP_FMA): Likewise.
36111 (_FP_DIV): Likewise.
36112
36113 2015-03-10 Roland McGrath <roland@hack.frob.com>
36114
36115 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
36116 with 0 in that case.
36117 * Makefile (summarize-tests): New canned sequence, factored out of
36118 commands for targets tests and xtests. Display summary lines that
36119 don't start with PASS: or XFAIL: rather than ones that do start with
36120 ERROR: or FAIL:. Make the commands fail if any summary lines fail
36121 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
36122 do start with ERROR: or FAIL:.
36123 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
36124 (except for [$(build-shared) = yes]).
36125 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
36126 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
36127 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
36128 * nptl/Makefile: Revert 2015-03-04 changes.
36129 [$(CXX) empty] (tests-unsupported): New variable.
36130 * debug/Makefile: Likewise.
36131
36132 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
36133 gnulib file. Replace __attribute with __attribute__ throughout.
36134
36135 2015-03-10 Carlos O'Donell <carlos@redhat.com>
36136
36137 * sysdeps/hppa/fpu/libm-test-ulps: Update.
36138
36139 2015-03-10 Joseph Myers <joseph@codesourcery.com>
36140
36141 [BZ #18104]
36142 * math/auto-libm-test-in: Add another test of pow.
36143 * math/auto-libm-test-out: Regenerated.
36144
36145 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36146
36147 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
36148 $(config-cflags-nofma).
36149
36150 2015-03-10 Joseph Myers <joseph@codesourcery.com>
36151
36152 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
36153 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
36154 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
36155 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
36156 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
36157 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
36158 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
36159 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
36160 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
36161 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
36162 Add comment on closing #endif.
36163
36164 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
36165
36166 * posix/wordexp.c (CHAR_IN_SET): New macro.
36167 (parse_param): Use it.
36168
36169 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36170
36171 * sysdeps/powerpc/fpu/libm-test-ulps: update.
36172
36173 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
36174
36175 [BZ #18043]
36176 * posix/wordexp.c (parse_param): Fix buffer overflow.
36177 * posix/wordexp-test.c (test_case): Add test case.
36178
36179 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
36180
36181 [BZ #18042]
36182 * posix/wordexp.c (parse_backtick): Fix off-by-one.
36183 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
36184
36185 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
36186
36187 [BZ #18043]
36188 * posix/wordexp-test.c (test_case): Add test for BZ #18043
36189 (do_bz18043): Delete.
36190 (at_page_end): New.
36191 (testit): Refactor to have words at the edge of unreadable page.
36192
36193 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
36194
36195 [BZ #16734]
36196 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
36197 Cleanup read-only streams as well.
36198 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36199
36200 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
36201
36202 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
36203 <bits/libc-lockP.h>
36204
36205 2015-03-07 Joseph Myers <joseph@codesourcery.com>
36206
36207 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
36208 on [__KERNEL__].
36209 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
36210 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36211 * soft-fp/op-common.h (_FP_DECL): Likewise.
36212
36213 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
36214
36215 * elf/ifuncdep2.c (global): Replace
36216 __attribute__((visibility("protected"))) with
36217 asm (".protected global").
36218 * elf/ifuncmod1.c (global): Likewise.
36219 * elf/ifuncmod5.c (global): Likewise.
36220
36221 2015-03-06 Joseph Myers <joseph@codesourcery.com>
36222
36223 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36224 <asm/sfp-machine.h> instead of <sfp-machine.h>.
36225
36226 2015-03-06 Roland McGrath <roland@hack.frob.com>
36227
36228 * manual/install.texi (Configuring and compiling):
36229 Document test-wrapper-env-only.
36230 * INSTALL: Regenerated.
36231
36232 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36233
36234 [BZ #18043]
36235 * posix/wordexp.c (parse_param): Fix buffer overflow.
36236 * posix/wordexp-test.c (do_bz18043): Add test case.
36237
36238 2015-03-06 Vincent Bernat <vincent@bernat.im>
36239
36240 * time/tst-strptime2.c (do_test): Ensure failing tests are
36241 reported correctly.
36242 * time/tst-strptime3.c (do_test): Likewise.
36243
36244 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
36245
36246 Fix aio_error thread-safety.
36247 * sysdeps/pthread/aio_error.c: New file
36248 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36249 synchronization.
36250
36251 2015-03-06 Florian Weimer <fweimer@redhat.com>
36252
36253 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36254 (group_number, vfprintf): Use it.
36255 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36256 (JUMP, REF): Use it.
36257 (WORK_BUFFER_SIZE): New enum constant.
36258 (process_arg, vfprintf): Use it.
36259
36260 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
36261
36262 * manual/errno.texi (Error Messages): Complete example function
36263 by adding missing #define.
36264 (program_invocation_name): Add statement indicating GNU
36265 extension and reference which header file declares the variable.
36266 (program_invocation_short_name): Likewise.
36267
36268 2015-03-06 Mike Frysinger <vapier@gentoo.org>
36269
36270 * manual/errno.texi (Error Messages): Delete strerror ISO C89
36271 compatibility note.
36272
36273 2015-03-05 Roland McGrath <roland@hack.frob.com>
36274
36275 * Makeconfig (test-wrapper-env-only): New variable.
36276 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36277 then use that with $(test-wrapper-env-only) rather than using
36278 $(test-wrapper-env) $(run-program-env) $($*-ENV).
36279
36280 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
36281
36282 [BZ #18082]
36283 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36284 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36285 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36286 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36287 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36288 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36289 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36290 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36291 Likewise.
36292 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36293 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36294 Likewise.
36295 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36296 Likewise.
36297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36298 Likewise.
36299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36300 Likewise.
36301 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36303 Likewise.
36304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36305 Likewise.
36306 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36307 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36308
36309 2015-03-04 Roland McGrath <roland@hack.frob.com>
36310
36311 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36312 (ETH_ALEN): New macro.
36313 (struct ether_addr): Use it for length of ether_addr_octet.
36314
36315 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36316 (setdb): Don't call __nss_configure_lookup for "rpc".
36317 (do_test): Don't call test_rpc.
36318 (output_rpcent, test_rpc): Functions moved ...
36319 * sunrpc/test-rpcent.c: ... to this new file.
36320 * sunrpc/Makefile (tests): Add it.
36321
36322 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36323 __xpg_sigpause.
36324 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36325 * nptl/tst-signal6.c: Likewise.
36326 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36327 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36328
36329 * configure.ac (libc_cv_cxx_link_ok): New check.
36330 Reset CXX to empty if it fails to link.
36331 * configure: Regenerated.
36332 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36333 bug-atexit3-lib only if $(CXX) is nonempty.
36334 * nptl/Makefile (tests): Likewise for tst-cancel24.
36335 (tests, tests-static): Likewise for tst-cancel24-static.
36336 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36337 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36338 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36339 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36340
36341 2015-03-04 Andreas Schwab <schwab@suse.de>
36342
36343 [BZ #17631]
36344 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36345 for non-GCC compilers.
36346 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36347 Likewise.
36348
36349 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
36350
36351 [BZ #17776]
36352 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36353 integer before bitwise and assembly operations.
36354 (feclearexcept): Likewise.
36355 * math/test-fenvinline.c: New file.
36356 * math/Makefile: Add test-fenvinline test.
36357
36358 2015-03-03 Alan Modra <amodra@gmail.com>
36359
36360 [BZ #16512]
36361 * scripts/localplt.awk: Strip off symbol version.
36362 * NEWS: Mention bug fix.
36363
36364 2015-03-02 Roland McGrath <roland@hack.frob.com>
36365
36366 * sysdeps/pthread/timer_routines.c
36367 (timer_free_list, thread_free_list, thread_active_list): Make static.
36368
36369 2015-03-02 Joseph Myers <joseph@codesourcery.com>
36370
36371 [BZ #17779]
36372 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36373 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36374 Undefine.
36375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36376 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36377 Likewise.
36378 * sysdeps/unix/sysv/linux/sh/kernel-features.h
36379 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36380 Likewise.
36381
36382 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36383
36384 [BZ #18036]
36385 * posix/fnmatch_loop.c (END): Detect invalid pattern.
36386 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36387
36388 2015-03-02 Andreas Schwab <schwab@suse.de>
36389
36390 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36391 variable name.
36392
36393 2015-03-02 Florian Weimer <fweimer@redhat.com>
36394
36395 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
36396 Return error status.
36397
36398 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
36399
36400 [BZ #15969]
36401 * locale/findlocale.c (_nl_find_locale): Introduce const
36402 version of loc_name and drop unsafe type casts.
36403
36404 2015-02-27 Roland McGrath <roland@hack.frob.com>
36405
36406 * dlfcn/tststatic2.c (main): Converted to ...
36407 (do_test): ... this.
36408 (TEST_FUNCTION): New macro.
36409 Include test-skeleton.c.
36410
36411 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
36412
36413 [BZ #17711]
36414 * elf/Makefile (tests): Add vismain only if PIE is enabled.
36415 (tests-pie): Add vismain.
36416 (CFLAGS-vismain.c): New.
36417 * elf/vismain.c: Add comments for PIE requirement.
36418
36419 2015-02-27 Joseph Myers <joseph@codesourcery.com>
36420
36421 [BZ #18046]
36422 [BZ #18047]
36423 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
36424 0x1p-56L as threshold for just returning the argument.
36425 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
36426 0x1p-32L as threshold for just returning the argument.
36427 * math/auto-libm-test-in: Add more tests of atanh.
36428 * math/auto-libm-test-out: Regenerated.
36429 * sysdeps/i386/fpu/libm-test-ulps: Update.
36430 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
36431
36432 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
36433
36434 * string/bcopy.c (bcopy): Call memmove for performance.
36435
36436 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
36437
36438 * string/bzero.c (__bzero): Call memset for performance.
36439
36440 2015-02-27 John David Anglin <dave.anglin@bell.net>
36441
36442 [BZ #18068]
36443 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
36444 to 00100000.
36445
36446 2015-02-27 Joseph Myers <joseph@codesourcery.com>
36447
36448 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
36449
36450 2015-02-26 Joseph Myers <joseph@codesourcery.com>
36451
36452 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
36453 (__kernel_standard): Use CSTR macro when setting exc.name.
36454 * sysdeps/ieee754/Makefile [$(subdir) = math]
36455 (CFLAGS-k_standard.c): Remove variable.
36456
36457 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
36458 setting p and q from "else if" to "else".
36459 (qzero): Likewise.
36460 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
36461 (qone): Likewise.
36462 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
36463 (qzerof): Likewise.
36464 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
36465 (qonef): Likewise.
36466 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
36467 (qzero): Likewise.
36468 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
36469 (qone): Likewise.
36470
36471 [BZ #18038]
36472 [BZ #18039]
36473 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
36474 return pi/2 for arguments below 0x1p-113L.
36475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
36476 return pi/2 for arguments below 0x1p-106L.
36477 * math/auto-libm-test-in: Add more tests of acos.
36478 * math/auto-libm-test-out: Regenerated.
36479
36480 [BZ #16351]
36481 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
36482 (MO): New macro.
36483 (__ieee754_asin): Force underflow exception for results with small
36484 absolute value.
36485 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
36486 (MO): New macro.
36487 (__ieee754_asinf): Force underflow exception for results with
36488 small absolute value.
36489 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
36490 (__ieee754_asin): Force underflow exception for results with small
36491 absolute value.
36492 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
36493 (__ieee754_asinf): Force underflow exception for results with
36494 small absolute value.
36495 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
36496 (__ieee754_asinl): Force underflow exception for results with
36497 small absolute value.
36498 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
36499 (__ieee754_asinl): Force underflow exception for results with
36500 small absolute value.
36501 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
36502 (__ieee754_asinl): Force underflow exception for results with
36503 small absolute value.
36504 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
36505 Include <math.h>.
36506 * math/auto-libm-test-in: Do not mark underflow exceptions as
36507 possibly missing for bug 16351.
36508 * math/auto-libm-test-out: Regenerated.
36509
36510 [BZ #18030]
36511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
36512 of power of 2 down when low part has opposite sign.
36513 * math/libm-test.inc (logb_test_data): Add more tests.
36514
36515 2015-02-26 Andreas Schwab <schwab@suse.de>
36516
36517 [BZ #18032]
36518 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
36519 over collating symbol inside a bracket expression. Minor cleanup.
36520 * posix/tst-fnmatch3.c (do_test): Add test case.
36521
36522 2015-02-26 Joseph Myers <joseph@codesourcery.com>
36523
36524 [BZ #18029]
36525 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
36526 Adjust exponent of power of 2 down when low part has opposite
36527 sign.
36528 * math/libm-test.inc (ilogb_test_data): Add more tests.
36529
36530 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
36531
36532 [BZ #15969]
36533 * locale/findlocale.c (_nl_find_locale): Fix constness error in
36534 the previous change.
36535
36536 [BZ #15969]
36537 * locale/findlocale.c (_nl_find_locale): Retry archive search
36538 after alias expansion.
36539
36540 2015-02-25 Roland McGrath <roland@hack.frob.com>
36541
36542 * iconv/tst-iconv3.c (main): Converted to ...
36543 (do_test): ... this.
36544 (TEST_FUNCTION): New macro.
36545 Include test-skeleton.c.
36546
36547 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36548 (convert): Make function static.
36549 (test_unalign): Likewise. Add const to argument pointee types.
36550 (main): Replace with static function do_test.
36551 Print "Succeeded." only if RET is zero.
36552 (TEST_FUNCTION): New macro.
36553 Include test-skeleton.c.
36554
36555 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36556 returns a null pointer.
36557
36558 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36559
36560 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36561 to __memcpy_ppc only for static builds.
36562
36563 2015-02-25 Joseph Myers <joseph@codesourcery.com>
36564
36565 [BZ #18020]
36566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36567 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36568 * math/auto-libm-test-in: Add more tests of asinh.
36569 * math/auto-libm-test-out: Regenerated.
36570 * sysdeps/i386/fpu/libm-test-ulps: Update.
36571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36572
36573 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
36574
36575 [BZ #15850]
36576 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36577 and ip6_mtuinfo definitions here.
36578 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36579 in this define too. Update comment.
36580
36581 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
36582
36583 * elf/sprof.c (load_shobj): Tweak error message to match others.
36584
36585 2015-02-24 Kevin Easton <kevin@guarana.org>
36586
36587 [BZ #16145] (partial fix)
36588 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36589 to reduce lock contention.
36590
36591 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
36592
36593 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36594 (struct timex): Update time comment.
36595 (ADJ_SETOFFSET): Define.
36596
36597 2015-02-24 Joseph Myers <joseph@codesourcery.com>
36598
36599 [BZ #18019]
36600 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36601 2**56 not 2**28 as threshold for log (2x) formula.
36602 * math/auto-libm-test-in: Add more tests of acosh.
36603 * math/auto-libm-test-out: Regenerated.
36604 * sysdeps/i386/fpu/libm-test-ulps: Update.
36605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36606
36607 2015-02-24 Mike Frysinger <vapier@gentoo.org>
36608
36609 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36610 parenthesis around the buf assignment.
36611 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36612
36613 2015-02-24 Joseph Myers <joseph@codesourcery.com>
36614
36615 [BZ #16783]
36616 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36617 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36618 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36619 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36620 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36621 * math/libm-test.inc (scalb_test_data): Add more tests.
36622
36623 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
36624
36625 [BZ #17916]
36626 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36627 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36628
36629 2015-02-24 Eric Rannaud <e@nanocritical.com>
36630
36631 [BZ #17523]
36632 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36633 * io/bits/fcntl2.h (open): Use it.
36634 (openat): Likewise.
36635 * io/open.c (__libc_open): Likewise.
36636 * io/open64.c (__libc_open64): Likewise.
36637 * io/open64_2.c (__open64_2): Likewise.
36638 * io/open_2.c (__open_2): Likewise.
36639 * io/openat.c (__openat): Likewise.
36640 * io/openat64.c (__openat64): Likewise.
36641 * io/openat64_2.c (__openat64_2): Likewise.
36642 * io/openat_2.c (__openat_2): Likewise.
36643 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36644 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36645 * sysdeps/posix/open64.c (__libc_open64): Likewise.
36646 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36647 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36648 (__open_nocancel): Likewise.
36649 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36650 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36651 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36652
36653 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36654
36655 [BZ #14841]
36656 * resolv/gethnamaddr.c (getanswer): Skip logging if
36657 RES_USE_DNSSEC is set.
36658 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36659
36660 2015-02-24 Mike Frysinger <vapier@gentoo.org>
36661
36662 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36663
36664 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
36665
36666 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36667 201304L, for Unicode 7.
36668
36669 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
36670
36671 [BZ #17836]
36672 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36673 shared library. Add gmon-start.os otherwise.
36674 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36675 $(objpfx)gmon-start.os if builing shared library.
36676 ($(objpfx)g$(static-start-installed-name)): Likewise.
36677
36678 2015-02-23 Andreas Schwab <schwab@suse.de>
36679
36680 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36681
36682 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36683
36684 [BZ #17269]
36685 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36686 (enlarge_userbuf): Likewise.
36687
36688 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
36689
36690 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36691 * math/atest-exp.c (TIMEOUT): Adjust to 200.
36692 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36693 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36694
36695 2015-02-20 Joseph Myers <joseph@codesourcery.com>
36696
36697 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36698 expression inside statement expression.
36699
36700 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
36701
36702 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36703 <sysdeps/nptl/lowlevellock.h> and remove macros and
36704 functions that are now defined there.
36705 (SYS_futex): Remove.
36706 (lll_compare_and_swap): Remove.
36707 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36708
36709 2015-02-19 Joseph Myers <joseph@codesourcery.com>
36710
36711 [BZ #17999]
36712 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36713 instead of scandirat.
36714 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36715 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36716 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36717 __scandirat.
36718 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36719 (__scandirat): Declare. Use libc_hidden_proto.
36720 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36721 Remove variable.
36722 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36723
36724 2015-02-18 Joseph Myers <joseph@codesourcery.com>
36725
36726 [BZ #15319]
36727 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36728 (MO): New macro.
36729 (__ieee754_atan2): For results with small absolute value, force
36730 underflow exception and remove excess range and precision from
36731 return value.
36732 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36733 (MO): New macro.
36734 (__ieee754_atan2f): For results with small absolute value, force
36735 underflow exception and remove excess range and precision from
36736 return value.
36737 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36738 (MO): New macro.
36739 (__atan): For results with small absolute value, force underflow
36740 exception and remove excess range and precision from return value.
36741 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36742 (MO): New macro.
36743 (__atanf): For results with small absolute value, force underflow
36744 exception and remove excess range and precision from return value.
36745 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36746 <math.h>.
36747 (__ieee754_atan2): Force underflow exception for results with
36748 small absolute value.
36749 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36750 <math_private.h>.
36751 (atan): Force underflow exception for results with small absolute
36752 value.
36753 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36754 (__atanf): Force underflow exception for results with small
36755 absolute value.
36756 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36757 <math.h>.
36758 (__atanl): Force underflow exception for results with small
36759 absolute value.
36760 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36761 (__atanl): Force underflow exception for results with small
36762 absolute value.
36763 * sysdeps/x86/fpu/bits/mathinline.h
36764 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36765 (__ieee754_atan2): Only define inline for long double.
36766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36767 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36768 * math/auto-libm-test-in: Do not mark underflow exceptions as
36769 possibly missing for bug 15319. Add more tests of atan2.
36770 * math/auto-libm-test-out: Regenerated.
36771 * math/libm-test.inc (casin_test_data): Do not mark underflow
36772 exceptions as possibly missing for bug 15319.
36773 (casinh_test_data): Likewise.
36774 * sysdeps/i386/fpu/libm-test-ulps: Update.
36775
36776 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
36777
36778 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36779 * sysdeps/mips/bits/endian.h: Fix comments.
36780
36781 2015-02-18 Joseph Myers <joseph@codesourcery.com>
36782
36783 [BZ #17996]
36784 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36785 (hdestroy_r): Likewise.
36786 (hsearch_r): Likewise.
36787 (__hcreate_r): Declare and use libc_hidden_proto.
36788 (__hdestroy_r): Likewise.
36789 (__hsearch_r): Likewise.
36790 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36791 (hcreate): Call __hcreate_r instead of hcreate_r.
36792 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36793 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36794 as weak alias of __hcreate_r.
36795 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36796 __hdestroy_r.
36797 (hsearch_r): Rename to __hsearch_r and define as weak alias of
36798 __hsearch_r.
36799 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36800 Remove variable.
36801 (test-xfail-XPG4/search.h/linknamespace): Likewise.
36802 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36803 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36804 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36805
36806 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36807
36808 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36809 arena_lock into a single arena_get.
36810
36811 2015-02-17 Carlos O'Donell <carlos@redhat.com>
36812
36813 * dl-reloc.c: Inlucde libc-internal.h.
36814 (_dl_try_allocate_static_tls): Call ALIGN_UP.
36815 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36816 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36817 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36818 (grow_heap): Likewise.
36819 * malloc/malloc.c: Include libc-internal.h.
36820 (do_check_malloc): Call powerof2.
36821 (sysmalloc): Use pagesize. Call ALIGN_UP.
36822 (systrim): Use pagesize.
36823 (mremap_chunk): Use pagesize. Call ALIGN_UP.
36824 (__libc_valloc): Use pagesize.
36825 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36826
36827 2015-02-17 Joseph Myers <joseph@codesourcery.com>
36828
36829 [BZ #17991]
36830 * include/sys/resource.h (__getrlimit64): Declare. Use
36831 libc_hidden_proto.
36832 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36833 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
36834 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36835 getrlimit64.
36836 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36837 __getrlimit64.
36838 [!getrlimit64] (getrlimit64): Define as weak alias of
36839 __getrlimit64. Use libc_hidden_weak.
36840 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36841 using __getrlimit64 not __new_getrlimit64.
36842 (__GI_getrlimit64): Likewise.
36843 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36844 Likewise.
36845 (__GI_getrlimit64): Likewise.
36846 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36848 (getrlimit): Add __getrlimit64 alias.
36849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36850 Likewise.
36851 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36852 Remove variable.
36853 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36854 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36855
36856 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
36857
36858 * libio/fileops.c: Add missing sys/mman.h
36859 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36860
36861 2015-02-17 Joseph Myers <joseph@codesourcery.com>
36862
36863 * manual/math.texi (Errors in Math Functions): Clarify goals
36864 regarding inexact and underflow exceptions.
36865
36866 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
36867
36868 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36869 * sysdeps/mips/memset.S: Ditto.
36870
36871 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
36872
36873 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36874
36875 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
36876
36877 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36878 (__v1longjmp): Remove versioned symbol.
36879 (__v1siglongjmp): Remove alias and versioned symbol.
36880 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36881 (__v2siglongjmp): Likewise.
36882
36883 2015-02-16 Torvald Riegel <triegel@redhat.com>
36884
36885 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36886
36887 2015-02-16 Mike Frysinger <vapier@gentoo.org>
36888
36889 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36890
36891 2015-02-16 Joseph Myers <joseph@codesourcery.com>
36892
36893 [BZ #17987]
36894 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36895 zero result does not depend on the sign resulting from
36896 subtraction.
36897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36898 Likewise.
36899 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36900 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36901 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36902 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36903 * math/libm-test.inc (remquo_test_data): Add more tests.
36904
36905 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
36906
36907 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36908 Problem reported by J William Piggott.
36909
36910 2015-02-16 Joseph Myers <joseph@codesourcery.com>
36911
36912 [BZ #17978]
36913 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36914 products 4 * y and 2 * y where those would overflow.
36915 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36916 Likewise.
36917 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36918 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36919 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36920 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36921 * math/libm-test.inc (remquo_test_data): Add more tests.
36922
36923 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36924
36925 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36926 [defined _COMPILING_NEWLIB].
36927 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36928 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36929
36930 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36931 [!defined __mips_isa_rev || __mips_isa_rev < 6].
36932
36933 2015-02-16 Torvald Riegel <triegel@redhat.com>
36934
36935 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36936 acquired.
36937
36938 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
36939
36940 [BZ #17792]
36941 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36942 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36943 HOST_STACK_END_ADDR): Likewise.
36944
36945 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
36946
36947 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36948 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36949 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36950
36951 2015-02-13 Roland McGrath <roland@hack.frob.com>
36952
36953 * sysdeps/generic/c++-types.data: New file.
36954 * sysdeps/generic/ld.abilist: New file.
36955 * sysdeps/generic/libBrokenLocale.abilist: New file.
36956 * sysdeps/generic/libanl.abilist: New file.
36957 * sysdeps/generic/libc.abilist: New file.
36958 * sysdeps/generic/libcrypt.abilist: New file.
36959 * sysdeps/generic/libdl.abilist: New file.
36960 * sysdeps/generic/libm.abilist: New file.
36961 * sysdeps/generic/libpthread.abilist: New file.
36962 * sysdeps/generic/libresolv.abilist: New file.
36963 * sysdeps/generic/librt.abilist: New file.
36964
36965 2015-02-13 Joseph Myers <joseph@codesourcery.com>
36966
36967 [BZ #17569]
36968 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36969 Compute absolute value of x as modified by fmod, not original
36970 value of x.
36971 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36972 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
36973 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
36974 RUN_TEST_ffI_f1_mod8.
36975 (remquo_test_data): Add more tests.
36976
36977 2015-02-13 Roland McGrath <roland@hack.frob.com>
36978
36979 * sysdeps/init_array/pt-crti.S: New file.
36980
36981 2015-02-13 Joseph Myers <joseph@codesourcery.com>
36982
36983 [BZ #17967]
36984 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36985 __builtin_fmaf instead of relying on contraction of a * b + c.
36986
36987 2015-02-12 J William Piggott <elseifthen@gmx.com>
36988
36989 [BZ #17969]
36990 * manual/time.texi: correct the zoneinfo path in the TZ Variable
36991 node.
36992
36993 2015-02-12 Joseph Myers <joseph@codesourcery.com>
36994
36995 [BZ #17964]
36996 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36997 __builtin_fma instead of relying on contraction of a * b + c.
36998
36999 2015-02-12 Roland McGrath <roland@hack.frob.com>
37000
37001 * Makeconfig (ASFLAGS): Add -Werror=undef.
37002 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
37003 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
37004 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
37005
37006 * Makeconfig (after-link): New variable.
37007 (+link-pie, +link-pie-tests): Use it.
37008 (+link-static, +link-static-tests): Likewise.
37009 (+link, +link-tests): Likewise.
37010 * Makerules (build-module, build-module-asneeded): Likewise.
37011 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
37012 Likewise.
37013 * elf/Makefile ($(objpfx)ld.so): Likewise.
37014
37015 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
37016
37017 [BZ #17965]
37018 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
37019 both struct timeval and struct timespec.
37020
37021 2015-02-12 Joseph Myers <joseph@codesourcery.com>
37022
37023 [BZ #16560]
37024 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37025 and redefine.
37026 (__ieee754_exp2l): Do not multiply small fractional parts by
37027 M_LN2l.
37028 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
37029 small argument.
37030 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37031 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
37032 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
37033 * math/auto-libm-test-in: Add more tests of exp2.
37034 * math/auto-libm-test-out: Regenerated.
37035
37036 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37037
37038 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
37039 unaligned path.
37040
37041 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37042
37043 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
37044 little endian.
37045
37046 2015-02-12 Andreas Schwab <schwab@suse.de>
37047
37048 [BZ #15790]
37049 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
37050 Filter out elision flags from value returned in kind.
37051 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
37052 * nptl/tst-pthread-mutexattr.c: New file.
37053
37054 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
37055
37056 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
37057 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
37058 into gnu-gnu, and update comment to refer to abi-tags.
37059
37060 2015-02-11 Joseph Myers <joseph@codesourcery.com>
37061
37062 [BZ #15467]
37063 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
37064 (__sincos): Set errno to EDOM for infinite argument.
37065 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
37066 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
37067 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
37068 (__sincosl): Set errno to EDOM for infinite argument.
37069 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
37070 (__sincosl): Set errno to EDOM for infinite argument.
37071 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
37072 (__sincosl): Set errno to EDOM for infinite argument.
37073 * math/libm-test.inc (sincos_test_data): Test errno setting.
37074
37075 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
37076
37077 * string/strxfrm_l.c: Remove #define STRCMP.
37078 * string/strcoll_l.c: Remove #define STRLEN.
37079 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
37080 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
37081
37082 2015-02-10 Joseph Myers <joseph@codesourcery.com>
37083
37084 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
37085 * sysdeps/mips/mips32/sfp-machine.h: ... here.
37086 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
37087 * sysdeps/mips/mips64/Makefile: ... here.
37088 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
37089 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
37090 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
37091 * sysdeps/mips/mips64/sfp-machine.h: ... here.
37092 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
37093 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
37094 * sysdeps/mips/mips64/n64/Implies: Likewise.
37095
37096 2015-02-10 Roland McGrath <roland@hack.frob.com>
37097
37098 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
37099 <sys/time.h>, <string.h>, and <errno.h>.
37100 (dest_offset, dest_address, value, zero): Remove unused variables.
37101 (ldouble): Remove typedef.
37102 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
37103 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
37104 1). Fix code style.
37105 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
37106 (check): Function removed.
37107 (CHECK): New macro.
37108 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
37109 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
37110 Don't call set_sigaction_FP and remove_sigaction_FP here.
37111 (ldouble_test): Just use 'long double' as macro argument, no need for
37112 the 'ldouble' typedef.
37113 (do_test): Set up SIGFPE handler at start, using plain signal rather
37114 than sigaction. Fix code style.
37115
37116 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
37117
37118 [BZ #17949]
37119 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
37120 jump label.
37121
37122 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
37123
37124 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
37125 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37126
37127 * sysdeps/powerpc/configure.ac: Remove file.
37128 * sysdeps/powerpc/configure: Likewise.
37129
37130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37131 [sysdep_routines]: Remove wordcopy-power6 object.
37132 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37133 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
37134 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
37135 (__memmove_ppc32): Likewise.
37136 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
37137 file.
37138 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
37139 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
37140 Remove preprocessor.
37141
37142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37143 [sysdep_routines]: Remove wide chars objects.
37144 [wcsmbs]: New rule for wide char objects.
37145
37146 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37147 Remove wordcopy-power6 obejct.
37148 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
37149 Use local call for wordcopy and memcpy symbols.
37150 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
37151 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
37152 implementation for loader.
37153 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
37154
37155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37156 Remove wordcopy-power7 object.
37157 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
37158 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
37159 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
37160 (_wordcopy_fwd_dest_aligned): Likewise.
37161 (_wordcopy_bwd_aligned): Likewise.
37162 (_wordcopy_bwd_dest_aligned): Likewise.
37163
37164 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
37165 Rewrite to call __memmove_ppc instead of include default
37166 implementation.
37167
37168 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37169 Remove wide chars objects.
37170 [wcsmbs]: New rule for wide char objects.
37171
37172 2015-02-09 Andreas Schwab <schwab@suse.de>
37173
37174 [BZ #17912]
37175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37176 in terms of __O_DIRECTORY.
37177
37178 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
37179
37180 * time/getdate.c: Include <stdbool.h>.
37181 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
37182 call PTR_MANGLE.
37183 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
37184 PTR_DEMANGLE.
37185
37186 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
37187
37188 Add ersatz _Static_assert on older C hosts
37189 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
37190 pre-C11 C platform that is not known to support _Static_assert.
37191
37192 2015-02-07 Richard Braun <rbraun@sceen.net>
37193
37194 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
37195 sigstate.
37196 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
37197
37198 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
37199
37200 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
37201 priority against unexistent AIO_PRIO_DELTA_MAX.
37202 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
37203 instead of int.
37204 * misc/fchflags.c (fchflags): Likewise.
37205 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
37206 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
37207 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
37208 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
37209 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
37210 Declare macros.
37211 [__USE_MISC] (chflags, fchflags): Declare functions.
37212 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37213 EINVAL when nfds is greater than FD_SETSIZE.
37214 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37215 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37216 45.
37217 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37218 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37219 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37220 MACH_RCV_TIMED_OUT.
37221 * hurd/hurd/signal.h (_hurd_self_sigstate,
37222 _hurd_critical_section_lock, _hurd_critical_section_unlock):
37223 Explicit casts from void *.
37224 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37225 * abi-tags: Rename gnu-gnu os into gnu.
37226
37227 [BZ #4719]
37228 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37229 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37230 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37231 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37232 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37233 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37234
37235 [BZ #17944]
37236 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37237 duplicates ADDR->sun_path with sockaddr LEN limitation.
37238 * sysdeps/mach/hurd/connect.c: Include <string.h>
37239 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37240 * sysdeps/mach/hurd/sendmsg.c: Likewise.
37241 * sysdeps/mach/hurd/sendto.c: Likewise.
37242 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37243 implementing it by hand.
37244
37245 2015-02-06 Roland McGrath <roland@hack.frob.com>
37246
37247 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37248 Use sfi_breg on ldr.
37249 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37250 Likewise.
37251
37252 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37253 it's defined.
37254 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37255 Test SIGSETXID only if it's defined.
37256
37257 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37258
37259 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37260 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
37261
37262 * nptl/tst-align2.c: Moved ...
37263 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37264 * nptl/Makefile (tests): Remove tst-align2.
37265 * sysdeps/unix/sysv/linux/Makefile
37266 [$(subdir) = nptl] (tests): Add tst-align-clone.
37267 * nptl/tst-getpid1.c: Moved ...
37268 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37269 * nptl/tst-getpid2.c: Moved ...
37270 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37271 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37272 * sysdeps/unix/sysv/linux/Makefile
37273 [$(subdir) = nptl] (tests): ... here.
37274 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37275 * sysdeps/unix/sysv/linux/Makefile
37276 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37277
37278 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37279 Drop trailing \n from perror argument. Use return rather than exit.
37280
37281 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37282 on [SA_SIGINFO].
37283 * nptl/tst-cancel21.c (do_test): Likewise.
37284 * debug/tst-backtrace6.c: Include <signal.h> first thing.
37285 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37286 [!SA_SIGINFO]: Make it a stub test.
37287
37288 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37289 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37290
37291 * posix/tst-getlogin.c: Move to ...
37292 * login/tst-getlogin.c: ... here.
37293 * posix/Makefile (tests): Move tst-getlogin to ...
37294 * login/Makefile (tests): ... here.
37295
37296 * libio/tst-atime.c (do_test): Move local variables SV and E
37297 inside [ST_NOATIME] conditional.
37298
37299 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37300
37301 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37302
37303 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37304 (wait_code): New function replaces macro.
37305 Call nanosleep rather than syscall.
37306
37307 * nptl/pt-system.c: Rewritten. Put everything under
37308 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37309 Use IFUNC to redirect when possible.
37310
37311 * nptl/pt-longjmp.c: Rewritten. Put everything under
37312 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37313 Use IFUNC to redirect when possible.
37314
37315 * nptl/pt-fork.c: Rewritten. Put everything under
37316 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37317 Use IFUNC to redirect when possible.
37318 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37319
37320 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37321 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37322 unconditionally nowadays. This included the only reference to
37323 __vdso_clock_gettime that appears outside libc proper.
37324 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37325 Remove version set (containing only __vdso_clock_gettime).
37326 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37327 Add attribute_hidden.
37328 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37329 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37330 libc_hidden_data_def.
37331 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37332 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37333
37334 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37335 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37336 setrpcent, and getrpcport to ...
37337 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37338 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37339 getrpcbynumber_r, and getrpcent_r to ...
37340 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37341 * inet/getrpcbyname.c: Moved ...
37342 * sunrpc/getrpcbyname.c: ... here.
37343 * inet/getrpcbyname_r.c: Moved ...
37344 * sunrpc/getrpcbyname_r.c: ... here.
37345 * inet/getrpcbynumber.c: Moved ...
37346 * sunrpc/getrpcbynumber.c: ... here.
37347 * inet/getrpcbynumber_r.c: Moved ...
37348 * sunrpc/getrpcbynumber_r.c: ... here.
37349 * inet/getrpcent.c: Moved ...
37350 * sunrpc/getrpcent.c: ... here.
37351 * inet/getrpcent_r.c: Moved ...
37352 * sunrpc/getrpcent_r.c: ... here.
37353 * inet/Makefile (routines): Move those to ...
37354 * sunrpc/Makefile (routines): ... here.
37355 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37356 the $(subdirs) list.
37357 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
37358 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37359 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37360 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37361
37362 * elf/Makefile (routines): Include $(all-dl-routines), not just
37363 $(dl-routines).
37364 (rtld-routines): Likewise. Use = rather than :=.
37365 * sysdeps/aarch64/Makefile [$(subdir) = elf]
37366 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37367 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37368 * sysdeps/arm/Makefile: Likewise.
37369 * sysdeps/i386/Makefile: Likewise.
37370 * sysdeps/x86_64/Makefile: Likewise.
37371 * sysdeps/hppa/Makefile [$(subdir) = elf]
37372 (sysdep_routines, sysdep-rtld-routines): Don't add
37373 $(sysdep-dl-routines) to these.
37374 * sysdeps/ia64/Makefile: Likewise.
37375 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37376 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37377 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37378 Don't add dl-static to these; sysdep-dl-routines alone is enough.
37379 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37380 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37381 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37382 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37383 * sysdeps/powerpc/Makefile [$(subdir) = elf]
37384 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37385 these; sysdep-dl-routines alone is enough.
37386
37387 2015-02-06 Joseph Myers <joseph@codesourcery.com>
37388
37389 [BZ #17932]
37390 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37391 where multiplication results in zero and third argument is finite
37392 and nonzero.
37393 * math/auto-libm-test-in: Add more tests of fma.
37394 * math/auto-libm-test-out: Regenerated.
37395
37396 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
37397 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
37398 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
37399 (_FP_CMP_EQ): Likewise.
37400 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
37401
37402 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
37403 extra argument CHECK_NAN. Redefine as wrapper around
37404 _FP_EXTEND_CNAN.
37405
37406 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
37407
37408 * version.h (RELEASE): Set to "stable".
37409 (VERSION): Set to "2.21"
37410 * include/features.h (__GLIBC_MINOR__): Set to 21.
37411
37412 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
37413
37414 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37415 Paul Eggert <eggert@cs.ucla.edu>
37416
37417 [BZ #16618]
37418 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
37419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
37420 size in bytes. Store needed elements in wpmax. Use needed size
37421 in bytes for extend_alloca.
37422
37423 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
37424
37425 * manual/install.texi: Latest tested versions are GCC 4.9.2,
37426 binutls 2.25, and texinfo 5.2.
37427 * INSTALL: Regenerate.
37428 * sysdeps/nios2/configure: Regenerate.
37429 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
37430 * manual/contrib.texi: Update.
37431 * po/be.po: Update.
37432 * po/bg.po: Update.
37433 * po/ca.po: Update.
37434 * po/cs.po: Update.
37435 * po/da.po: Update.
37436 * po/de.po: Update.
37437 * po/el.po: Update.
37438 * po/eo.po: Update.
37439 * po/es.po: Update.
37440 * po/fi.po: Update.
37441 * po/fr.po: Update.
37442 * po/gl.po: Update.
37443 * po/hr.po: Update.
37444 * po/hu.po: Update.
37445 * po/ia.po: Update.
37446 * po/id.po: Update.
37447 * po/it.po: Update.
37448 * po/ja.po: Update.
37449 * po/ko.po: Update.
37450 * po/lt.po: Update.
37451 * po/nb.po: Update.
37452 * po/nl.po: Update.
37453 * po/pl.po: Update.
37454 * po/pt_BR.po: Update.
37455 * po/ru.po: Update.
37456 * po/rw.po: Update.
37457 * po/sk.po: Update.
37458 * po/sl.po: Update.
37459 * po/sv.po: Update.
37460 * po/tr.po: Update.
37461 * po/uk.po: Update.
37462 * po/vi.po: Update.
37463 * po/zh_CN.po: Update.
37464 * po/zh_TW.po: Update.
37465
37466 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
37467 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
37468 * sysdeps/hppa/dl-irel.h: Remove #warning.
37469 * sysdeps/hppa/entry.h: Provide prototype for
37470 __canonicalize_funcptr_for_compare and cast argument.
37471 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
37472 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
37473 * sysdeps/hppa/sotruss-lib.c: New file.
37474 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
37475 (atomic_compare_and_exchange_val_acq): Use __typeof__.
37476 (atomic_compare_and_exchange_bool_acq): Likewise.
37477 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
37478 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
37479
37480 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
37481 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
37482 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
37483
37484 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
37485
37486 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
37487 called function in non-PIC case.
37488
37489 2015-01-31 David S. Miller <davem@davemloft.net>
37490
37491 * sysdeps/sparc/sparc32/bits/atomic.h
37492 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
37493 unlock not after it.
37494 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
37495 volatile register usage warnings from the compiler.
37496
37497 * sysdeps/sparc/nptl/sem_init.c: Delete.
37498 * sysdeps/sparc/nptl/sem_post.c: Delete.
37499 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
37500 * sysdeps/sparc/nptl/sem_wait.c: Delete.
37501 * sysdeps/sparc/sparc32/sem_init.c: New file.
37502 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
37503 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
37504 padding explicitly initialized.
37505 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
37506 padding for in-semaphore spinlock.
37507 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
37508 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
37509 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
37510 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
37511 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
37512 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
37513 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
37514 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
37515 version.
37516 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
37517 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
37518
37519 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
37520
37521 [BZ #17801]
37522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37523 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
37524 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
37525 New.
37526 (index_AVX_Fast_Unaligned_Load): Likewise.
37527 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
37528 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
37529 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
37530 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
37531 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
37532 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
37533 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
37534 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
37535 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
37536
37537 2015-01-29 Andreas Schwab <schwab@suse.de>
37538
37539 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37540
37541 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37542
37543 [BZ #17892]
37544 * nscd/nscd_stat.c (send_stats): Initialize DATA.
37545
37546 2015-01-28 Martin Sebor <msebor@redhat.com>
37547
37548 * math/README.libm-test: Clarify. Add "How to read the test output."
37549
37550 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
37551
37552 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37553 Define to 0.
37554
37555 2015-01-28 Joseph Myers <joseph@codesourcery.com>
37556
37557 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37558 (__HAVE_64B_ATOMICS): Define to 0.
37559
37560 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
37561
37562 [BZ #17885]
37563 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37564 value to set as new flag.
37565
37566 [BZ #16576]
37567 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37568 and use _ARCH_PPCSQ instead.
37569 (__ieee754_sqrt): Likewise.
37570 (__ieee754_sqrtf): Likewise.
37571 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37572 _ARCH_PPCSQ is defined.
37573 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37574 fsqrt instruction.
37575 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37576 _ARCH_PPCSQ is defined.
37577 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37578 fsqrts instruction.
37579 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37580
37581 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37582
37583 * iconv/loop.c: Suppress array out of bound warning caused by GCC
37584 bug (GCC BZ #64739).
37585
37586 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
37587
37588 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37589 Mark _retval as used.
37590 (lll_futex_wake_unlock): Likewise.
37591 (lll_futex_timed_wait_requeue_pi): Likewise.
37592
37593 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37594 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37595 register variables.
37596
37597 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37598 libm_hidden_def.
37599
37600 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37601 (__bswap_64): Mark as __always_inline.
37602
37603 2015-01-25 Bram <bug_rh@spam.wizbit.be>
37604
37605 [BZ #15378]
37606 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37607 when none of the search directories exist.
37608
37609 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
37610
37611 [BZ #17869]
37612 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37613 power8 in .machine directive.
37614
37615 [BZ #17868]
37616 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37617 set dependency from opd value.
37618
37619 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
37620
37621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37622 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37623 architecture.
37624
37625 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
37626
37627 [BZ #17870]
37628 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37629 with uint64_t.
37630 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37631 (uint64_t) 1.
37632 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37633 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37634 Replace 1UL with (uint64_t) 1.
37635 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37636 int with uint64_t.
37637
37638 2015-01-23 Roland McGrath <roland@hack.frob.com>
37639
37640 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37641 (if_freenameindex): Likewise.
37642
37643 * resource/getrlimit64.c: Add missing libc_hidden_def.
37644
37645 2015-01-22 Joseph Myers <joseph@codesourcery.com>
37646
37647 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37648 __label__.
37649 (_FP_FMA): Likewise.
37650 (_FP_TO_INT_ROUND): Likewise.
37651 (_FP_FROM_INT): Likewise.
37652
37653 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37654
37655 [BZ #16418]
37656 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37657 Make code racy and cancel safe.
37658
37659 2015-01-21 Carlos O'Donell <carlos@redhat.com>
37660
37661 * sysdeps/arm/unwind-resume.h: Fix copyright year.
37662 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37663 attribution.
37664
37665 * pwd/tst-getpw.c: Rewrite.
37666
37667 [BZ #17702]
37668 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37669 (modules-names): Add moddummy1 and moddummy2.
37670 ($(objpfx)tst-rec-dlopen): Define.
37671 * dlfcn/moddummy1.c: New file.
37672 * dlfcn/moddummy2.c: New file.
37673 * dlfcn/tst-rec-dlopen.c: New file.
37674 * elf/dl-cache.c (_dl_load_cache_lookup):
37675 Return char*. Copy result with alloca/strcpy/strdup.
37676 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37677 returns char*. Free cached. If not saving realname
37678 free cached.
37679 * elf/dl-open.c (dl_open_worker): Do not assert that
37680 _r_debug->r_state is RT_CONSISTENT.
37681 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37682 returns char*.
37683
37684 2015-01-21 Torvald Riegel <triegel@redhat.com>
37685 Carlos O'Donell <carlos@redhat.com>
37686
37687 [BZ #12674]
37688 * nptl/sem_waitcommon.c: New file.
37689 * nptl/sem_wait.c: Include sem_waitcommon.c.
37690 (__sem_wait_cleanup, do_futex_wait): Remove.
37691 (__new_sem_wait): Adapt.
37692 (__new_sem_trywait): New function.
37693 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37694 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37695 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37696 (sem_timedwait): Adapt.
37697 * nptl/sem_post.c (__new_sem_post): Adapt.
37698 (futex_wake): New function.
37699 (__old_sem_post): Add release MO fence.
37700 * nptl/sem_open.c (sem_open): Adapt.
37701 * nptl/sem_init.c (__new_sem_init): Adapt.
37702 (futex_private_if_supported): New function.
37703 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37704 (__old_sem_getvalue): Add using previous code.
37705 * sysdeps/nptl/internaltypes.h: Adapt.
37706 * nptl/tst-sem13.c (do_test): Adapt.
37707 * nptl/tst-sem11.c (main): Adapt.
37708 * nptl/sem_trywait.c: Remove.
37709 * nptl/DESIGN-sem.txt: Remove.
37710 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37711 (gen-as-const-headers): Remove structsem.sym.
37712 * nptl/structsem.sym: Remove.
37713 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37714 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37715 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37716 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37717 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37718 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37719 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37720 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37721 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37722 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37723 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37724 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37725 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37726 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37727 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37728 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37729 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37730 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37731 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37732 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37733 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37734 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37735
37736 2015-01-20 Carlos O'Donell <carlos@redhat.com>
37737
37738 * INSTALL: Regenerated.
37739
37740 * po/libc.pot: Regenerated.
37741
37742 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
37743 Sandra Loosemore <sandra@codesourcery.com>
37744 Andrew Jenner <andrew@codesourcery.com>
37745 Joseph Myers <joseph@codesourcery.com>
37746 Nathan Sidwell <nathan@codesourcery.com>
37747
37748 * NEWS: Mention new Nios II port.
37749 * sysdeps/nios2/Implies: New file.
37750 * sysdeps/nios2/Makefile: New file.
37751 * sysdeps/nios2/Subdirs: New file.
37752 * sysdeps/nios2/Versions: New file.
37753 * sysdeps/nios2/__longjmp.S: New file.
37754 * sysdeps/nios2/abort-instr.h: New file.
37755 * sysdeps/nios2/backtrace.c: New file.
37756 * sysdeps/nios2/bits/endian.h: New file.
37757 * sysdeps/nios2/bits/fenv.h: New file.
37758 * sysdeps/nios2/bits/link.h: New file.
37759 * sysdeps/nios2/bits/setjmp.h: New file.
37760 * sysdeps/nios2/bsd-_setjmp.S: New file.
37761 * sysdeps/nios2/bsd-setjmp.S: New file.
37762 * sysdeps/nios2/configure: New generated file.
37763 * sysdeps/nios2/configure.ac: New file.
37764 * sysdeps/nios2/crti.S: New file.
37765 * sysdeps/nios2/crtn.S: New file.
37766 * sysdeps/nios2/dl-init.c: New file.
37767 * sysdeps/nios2/dl-machine.h: New file.
37768 * sysdeps/nios2/dl-sysdep.h: New file.
37769 * sysdeps/nios2/dl-tls.h: New file.
37770 * sysdeps/nios2/dl-trampoline.S: New file.
37771 * sysdeps/nios2/gccframe.h: New file.
37772 * sysdeps/nios2/gmp-mparam.h: New file.
37773 * sysdeps/nios2/jmpbuf-offsets.h: New file.
37774 * sysdeps/nios2/jmpbuf-unwind.h: New file.
37775 * sysdeps/nios2/ldsodefs.h: New file.
37776 * sysdeps/nios2/libc-tls.c: New file.
37777 * sysdeps/nios2/libm-test-ulps: New file.
37778 * sysdeps/nios2/machine-gmon.h: New file.
37779 * sysdeps/nios2/math-tests.h: New file.
37780 * sysdeps/nios2/math_private.h: New file.
37781 * sysdeps/nios2/memusage.h: New file.
37782 * sysdeps/nios2/nptl/Makefile: New file.
37783 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37784 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37785 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37786 * sysdeps/nios2/nptl/pthreaddef.h: New file.
37787 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37788 * sysdeps/nios2/nptl/tls.h: New file.
37789 * sysdeps/nios2/preconfigure: New file.
37790 * sysdeps/nios2/s_fma.c: New file.
37791 * sysdeps/nios2/s_fmaf.c: New file.
37792 * sysdeps/nios2/setjmp.S: New file.
37793 * sysdeps/nios2/sfp-machine.h: New file.
37794 * sysdeps/nios2/sotruss-lib.c: New file.
37795 * sysdeps/nios2/stackguard-macros.h: New file.
37796 * sysdeps/nios2/stackinfo.h: New file.
37797 * sysdeps/nios2/start.S: New file.
37798 * sysdeps/nios2/sysdep.h: New file.
37799 * sysdeps/nios2/tls-macros.h: New file.
37800 * sysdeps/nios2/tst-audit.h: New file.
37801 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37802 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37803 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37804 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37805 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37806 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37807 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37808 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37809 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37810 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37811 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37812 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37813 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37814 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37815 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37816 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37817 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37818 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37819 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37820 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37821 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37822 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37823 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37824 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37825 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37826 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37827 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37828 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37829 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37830 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37831 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37832 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37833 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37834 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37835 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37836 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37837 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37838 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37839 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37840 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37841 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37842 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37843 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37844 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37845
37846 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
37847
37848 [BZ #17844]
37849 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37850 (getutent): Use weak_alias in non SHARED case
37851 and default_symbol_version in SHARED case.
37852 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37853 (getutent_r, pututline): Likewise.
37854 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37855 (getutid): Likewise.
37856 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37857 (getutid_r): Likewise.
37858 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37859 (getutline): Likewise.
37860 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37861 (getutline_r): Likewise.
37862 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37863 (updwtmp): Likewise.
37864
37865 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
37866
37867 [BZ #17848]
37868 * sysdeps/s390/s390-32/memcmp.S
37869 (memcmp_g5): Rename to __memcmp_g5.
37870 * sysdeps/s390/s390-32/memcpy.S
37871 (memcpy_g5): Rename to __memcpy_g5.
37872 Jump to __memcpy_mvcle instead of memcpy_mvcle.
37873 (memcpy_mvcle) Rename to __memcpy_mvcle.
37874 * sysdeps/s390/s390-32/memset.S
37875 (memset_g5): Rename to __memset_g5.
37876 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37877 (IFUNC_RESOLVE): Prefix ifunc-resolve function
37878 and use prefixed functions.
37879 * sysdeps/s390/s390-32/multiarch/memcmp.S
37880 (memcmp_z196): Rename to __memcmp_z196.
37881 (memcmp_z10): Rename to __memcmp_z10.
37882 (memcmp): Set alias to __memcmp_g5.
37883 (bcmp): Set alias to __memcmp_g5.
37884 * sysdeps/s390/s390-32/multiarch/memcpy.S
37885 (memcpy_z196): Rename to __memcpy_z196.
37886 Jump to __memcpy_mvcle instead of memcpy_mvcle.
37887 (memcpy_z10): Rename to __memcpy_z10.
37888 Jump to __memcpy_mvcle instead of memcpy_mvcle.
37889 (memcpy): Set alias to __memcpy_g5.
37890 * sysdeps/s390/s390-32/multiarch/memset.S
37891 (memset_z196): Rename to __memset_z196.
37892 Jump to __memset_mvcle instead of memset_mvcle.
37893 (memset_z10): Rename to __memset_z10.
37894 Jump to __memset_mvcle instead of memset_mvcle.
37895 (memset_mvcle) Rename to __memset_mvcle.
37896 (memset): Set alias to __memset_g5.
37897 * sysdeps/s390/s390-64/memcmp.S
37898 (memcmp_z900): Rename to __memcmp_z900.
37899 * sysdeps/s390/s390-64/memcpy.S
37900 (memcpy_z900): Rename to __memcpy_z900.
37901 Jump to __memcpy_mvcle instead of memcpy_mvcle.
37902 (memcpy_mvcle) Rename to __memcpy_mvcle.
37903 * sysdeps/s390/s390-64/memset.S
37904 (memset_z900): Rename to __memset_z900.
37905 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37906 (IFUNC_RESOLVE): Prefix ifunc-resolve function
37907 and use prefixed functions.
37908 * sysdeps/s390/s390-64/multiarch/memcmp.S
37909 (memcmp_z196): Rename to __memcmp_z196.
37910 (memcmp_z10): Rename to __memcmp_z10.
37911 (memcmp): Set alias to __memcmp_z900.
37912 (bcmp): Set alias to __memcmp_z900.
37913 * sysdeps/s390/s390-64/multiarch/memcpy.S
37914 (memcpy_z196): Rename to __memcpy_z196.
37915 Jump to __memcpy_mvcle instead of memcpy_mvcle.
37916 (memcpy_z10): Rename to __memcpy_z10.
37917 Jump to __memcpy_mvcle instead of memcpy_mvcle.
37918 (memcpy): Set alias to __memcpy_z900.
37919 * sysdeps/s390/s390-64/multiarch/memset.S
37920 (memset_z196): Rename to __memset_z196.
37921 Jump to __memset_mvcle instead of memset_mvcle.
37922 (memset_z10): Rename to __memset_z10.
37923 Jump to __memset_mvcle instead of memset_mvcle.
37924 (memset_mvcle) Rename to __memset_mvcle.
37925 (memset): Set alias to __memset_z900.
37926
37927 2015-01-14 Joseph Myers <joseph@codesourcery.com>
37928
37929 [BZ #17748]
37930 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37931 __fesetenv instead of fesetenv.
37932
37933 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37934
37935 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37936 macro.
37937
37938 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37939
37940 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37941 regression on LE.
37942
37943 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37944 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37945 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37946 strncmp-power8 object.
37947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37948 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37949 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37950 * NEWS: Update.
37951
37952 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37953 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37954
37955 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37956 trailing byte check.
37957
37958 2015-01-13 David S. Miller <davem@davemloft.net>
37959
37960 * include/signal.h (__sigreturn): Guard with __USE_MISC.
37961
37962 2015-01-13 Roland McGrath <roland@hack.frob.com>
37963
37964 * login/logout.c (logout): Use memset rather than bzero.
37965 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37966 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37967 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37968 (_gethtbyaddr): Likewise.
37969 * locale/programs/simple-hash.c (bcopy): Macro removed.
37970
37971 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37972
37973 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37974 Add strcmp-power8 object.
37975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37976 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37977 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37978 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37979 __strcmp_power8 implementation.
37980 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37981 * NEWS: Update.
37982
37983 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37984 Add strncpy-power8 and stpncpy-power8 objects.
37985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37986 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37987 implementations.
37988 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37989 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37990 __stpncpy_power8 implementation.
37991 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37992 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37993 __strncpy_power8 implementation.
37994 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37995 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37996 * NEWS: Update.
37997
37998 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37999 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
38000 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
38001
38002 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38003 strncat-power8 object.
38004 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
38005 __strcat_power8 implementation.
38006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38007 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
38008 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
38009 optimized strcat for power8.
38010
38011 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38012 strcpy-power8 and stpcpy-power8 objects.
38013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38014 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
38015 implementations.
38016 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
38017 multiarch stpcpy implementation for POWER8.
38018 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
38019 multiarch strcpy implementation for POWER8.
38020 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
38021 __strcpy_power8 function.
38022 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
38023 stpcpy for POWER8.
38024 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
38025 strcpy for POWER8.
38026 * NEWS: Update.
38027
38028 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
38029
38030 [BZ #16009]
38031 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
38032 weights and rules. Use do_xfrm_cached if data fits in cache,
38033 do_xfrm otherwise. Moved former main loop to...
38034 * (do_xfrm_cached): New function.
38035 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
38036 find_idx, find_position and stack_push.
38037 * (find_idx): New function.
38038 * (find_position): Likewise.
38039 * localedata/sort-test.sh: Added test run for do_xfrm.
38040 * localedata/xfrm-test.c (main): Added command line option
38041 -nocache to run the test with strings that are too large for
38042 the STRXFRM cache.
38043
38044 2015-01-13 Torvald Riegel <triegel@redhat.com>
38045
38046 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
38047 variable to lll_futex_wake call, not the value itself.
38048
38049 2015-01-12 Joseph Myers <joseph@codesourcery.com>
38050
38051 [BZ #17803]
38052 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
38053 twom64. Adjust value to 0x1p-64L.
38054 (__scalblnl): Only return standard underflowing result for K <=
38055 -64 not K <= -63; adjust exponent for underflowing result by 64
38056 not 63.
38057 * math/libm-test.inc (scalbn_test_data): Add more tests.
38058 (scalbln_test_data): Likewise.
38059
38060 [BZ #17834]
38061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
38062 0x1p63L.
38063 (__scalblnl): Get new exponent of adjusted subnormal value from ES
38064 not HX.
38065 * math/libm-test.inc (scalbn_test_data): Add more tests.
38066 (scalbln_test_data): Likewise.
38067
38068 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38069 Stefani Seibold <stefani@seibold.net>
38070
38071 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
38072 (sysdep_routines): Add dl-vdso here, ...
38073 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
38074 (sysdep_routines): ... not here.
38075 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
38076 fallback when vDSO is not presented.
38077 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
38078 Define with libc_hidden_proto/libc_hidden_data_def definitions.
38079 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
38080 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
38081 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
38082 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
38083 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
38084 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
38085 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
38086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
38087 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
38088 fallback configurable symbol when vDSO is not available.
38089 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
38090 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
38091 be able to redefine fallback symbol when vDSO is not available.
38092 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
38093 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
38094
38095 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38096
38097 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
38098 (TLS_INIT_TP): Add tm_capable initialization.
38099 (TLS_DEFINE_INIT_TP): Likewise.
38100 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
38101 TCB.
38102 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
38103 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
38104 calculation.
38105 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
38106 transactoion is lock elision is built and TCB tm_capable is set.
38107 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38109 (INTERNAL_SYSCALL_NCS): Likewise.
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38111 (INTERNAL_SYSCALL_NCS): Likewise.
38112 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
38113
38114 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
38115 for powerpc.
38116 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38117 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
38118 and remove it for 32 bits case.
38119 [pthread_rwlock_t] (__rwelision): New field for lock elision.
38120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
38121 initialization.
38122 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
38123 Disable lock elision with rdlocks if elision is not available.
38124
38125 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
38126 (sysdep_routines): Add lock elision objects.
38127 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38128 [pthread_mutex_t] (__spins): Rework to add lock elision field.
38129 [pthread_mutex_t] (__elision): Add field.
38130 [__PTHREAD_SPINS]: Adjust to init lock elision field.
38131 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
38132 elision definitions for powerpc.
38133 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
38134 implementation of lock elision for powerpc.
38135 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
38136 implementation of timed lock elision for powerpc.
38137 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
38138 implementation of trylock with lock elision for powerpc.
38139 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
38140 implementaion of unlock for lock elision for powerpc.
38141 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
38142 automatic enable lock elision for mutexes.
38143 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
38144 transaction execution definitions for powerpc.
38145 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
38146 definitions.
38147 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
38148 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38149 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
38150 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
38151 * NEWS: Update.
38152
38153 2015-01-09 Roland McGrath <roland@hack.frob.com>
38154
38155 * sysdeps/posix/shm-directory.c: Use <> rather than ""
38156 for #include of <shm-directory.h>.
38157
38158 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
38159
38160 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
38161 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
38162
38163 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
38164
38165 [BZ #17791]
38166 * NEWS: Mention bug fix.
38167 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
38168 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
38169 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
38170
38171 2015-01-09 Torvald Riegel <triegel@redhat.com>
38172
38173 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
38174
38175 2015-01-09 Torvald Riegel <triegel@redhat.com>
38176
38177 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
38178
38179 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
38180
38181 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
38182 pointer and cast to uintptr_t.
38183
38184 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
38185
38186 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
38187 removed.
38188 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
38189
38190 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
38191
38192 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
38193 of 0.
38194
38195 2015-01-08 Roland McGrath <roland@hack.frob.com>
38196
38197 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
38198 <nptl/pthreadP.h> instead.
38199 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
38200
38201 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
38202 already defined.
38203 [__SIGRTMIN] (init): Function removed.
38204 [__SIGRTMIN] (initialized): Variable removed.
38205 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
38206 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
38207 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
38208 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
38209 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
38210 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38211 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38212 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38213 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38214 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38215 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38216 * sysdeps/nptl/allocrtsig.c: New file.
38217 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38218 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38219 * sysdeps/generic/testrtsig.h: File removed.
38220
38221 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38222 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38223
38224 * nptl/nptl-init.c (pthread_functions): Conditionalize
38225 .ptr__nptl_setxid initialization on [SIGSETXID].
38226
38227 * sysdeps/nptl/sys/procfs.h: New file.
38228 * nptl_db/Makefile (headers): Add it.
38229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38230
38231 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38232 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38233 * nptl/pthread_attr_setaffinity.c: Include it.
38234 * nptl/pthread_setattr_default_np.c: Likewise.
38235 * nptl/check-cpuset.h: New file.
38236
38237 2015-01-08 Richard Henderson <rth@redhat.com>
38238
38239 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38240 (CFLAGS-tst-execstack-prog.c): Likewise.
38241 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38242
38243 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
38244 Sandra Loosemore <sandra@codesourcery.com>
38245 Andrew Jenner <andrew@codesourcery.com>
38246 Joseph Myers <joseph@codesourcery.com>
38247 Nathan Sidwell <nathan@codesourcery.com>
38248
38249 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38250 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38251 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38252 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38253 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38254 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38255 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38256 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38257 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38258 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38259 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38260 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38261 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38262 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38263 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38264 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38265 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38266
38267 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38268
38269 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38270 timespec struct member in syscall macro.
38271 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38272 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38273 first timeval struct member in syscall macro.
38274 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38275
38276 2015-01-07 Joseph Myers <joseph@codesourcery.com>
38277
38278 [BZ #17748]
38279 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38280 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38281 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38282 __feupdateenv and define as weak alias of __feupdateenv. Use
38283 libm_hidden_weak.
38284 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38285 libm_hidden_def.
38286 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38287 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
38288 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38289 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38290 libm_hidden_def.
38291 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38292 __feupdateenv and define as weak alias of __feupdateenv. Use
38293 libm_hidden_weak.
38294 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38295 libm_hidden_def.
38296 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38297 __feupdateenv and define as weak alias of __feupdateenv. Use
38298 libm_hidden_weak.
38299 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38300 libm_hidden_def.
38301 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38302 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38303 (__feupdateenv): Likewise.
38304 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38305 __feupdateenv and define as weak alias of __feupdateenv. Use
38306 libm_hidden_weak.
38307 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38308 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38309 libm_hidden_def.
38310 * sysdeps/tile/math_private.h (__feupdateenv): New inline
38311 function.
38312 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38313 libm_hidden_def.
38314 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38315 __feupdateenv instead of feupdateenv.
38316 (default_libc_feupdateenv_test): Likewise.
38317 (libc_feresetround_ctx): Likewise.
38318
38319 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38320
38321 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38322 prototype.
38323
38324 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
38325
38326 * posix/regcomp.c (parse_bracket_exp): Initialize type to
38327 COLL_SYM in a couple of places to avoid uninitialized variable
38328 wanings on tilegx gcc 4.8.2.
38329
38330 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
38331
38332 * sysdeps/aarch64/strcpy.S: New file.
38333 * sysdeps/aarch64/stpcpy.S: New file.
38334 * NEWS: Updated.
38335
38336 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
38337
38338 * sysdeps/aarch64/strrchr.S: New file.
38339 * NEWS: Updated.
38340
38341 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
38342
38343 [BZ #17658]
38344 * stdlib/setenv.c: Fix memory leak when setting large,
38345 duplicate string.
38346
38347 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
38348
38349 [BZ #17273]
38350 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38351 and tabs from buffer before parsing fstab entry.
38352 * misc/tst-mntent.c (main): Add test for mount entry with
38353 trailing spaces and tabs.
38354
38355 2015-01-06 Joseph Myers <joseph@codesourcery.com>
38356
38357 [BZ #17748]
38358 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
38359 * math/fesetround.c (fesetround): Rename to __fesetround and
38360 define as weak alias of __fesetround. Use libm_hidden_weak.
38361 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38362 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38363 * sysdeps/arm/fesetround.c (fesetround): Likewise.
38364 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38365 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38366 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38367 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38368 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38369 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38370 __fesetround_inline.
38371 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38372 __fesetround_inline instead of __fesetround.
38373 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38374 __fesetround and define as weak alias of __fesetround. Use
38375 libm_hidden_weak. Call __fesetround_inline instead of
38376 __fesetround.
38377 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38378 __fesetround and define as weak alias of __fesetround. Use
38379 libm_hidden_weak.
38380 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38381 Likewise.
38382 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38384 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38385 * sysdeps/tile/math_private.h (__fesetround): New inline function.
38386 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38387 __fesetround and define as weak alias of __fesetround. Use
38388 libm_hidden_weak.
38389 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38390 __fesetround instead of fesetround.
38391 (default_libc_feholdexcept_setround): Likewise.
38392 (libc_feholdsetround_ctx): Likewise.
38393 (libc_feholdsetround_noex_ctx): Likewise.
38394
38395 [BZ #17748]
38396 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
38397 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
38398 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38399 and define as weak alias of __fesetenv. Use libm_hidden_weak.
38400 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38401 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
38402 define as weak alias of __fesetenv. Use libm_hidden_weak.
38403 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38404 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38405 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38406 define as weak alias of __fesetenv. Use libm_hidden_weak.
38407 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38408 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38409 define as weak alias of __fesetenv. Use libm_hidden_weak.
38410 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
38411 libm_hidden_def.
38412 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
38413 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
38414 Likewise.
38415 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38416 define as weak alias of __fesetenv. Use libm_hidden_weak.
38417 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38418 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38419 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
38420 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38421 and define as weak alias of __fesetenv. Use libm_hidden_weak.
38422 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
38423 __fesetenv instead of fesetenv.
38424 (libc_feresetround_noex_ctx): Likewise.
38425 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38426 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38427 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
38428 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38429 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38430 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38431 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38432 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38433 (__feupdateenv): Likewise.
38434 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38435 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38436 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38437 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
38438
38439 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
38440
38441 [BZ #17806]
38442 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
38443 addresses have been freed.
38444
38445 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
38446
38447 * resolv/res_init.c (__res_vinit): Improve comments about nserv
38448 and nservall.
38449
38450 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
38451
38452 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
38453 Clean up check_pf allocation pattern. addresses
38454
38455 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38456
38457 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
38458 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
38459 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
38460 * nptl/pthread_exit.c (__pthread_exit): Likewise.
38461 * nptl/pthread_join.c (pthread_join): Likewise.
38462 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
38463 * sysdeps/posix/waitid.c (__waitid): Likewise.
38464 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
38465 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
38466 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
38467 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
38468 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
38469 Likewise.
38470 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
38471 (__libc_pread64): Likewise.
38472 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
38473 (__libc_pwrite): Likewise.
38474 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
38475 (__libc_pwrite64): Likewsie.
38476 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
38477 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
38478 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
38479 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
38480 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
38481 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
38482 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
38484 Likewise.
38485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38486 (__libc_pread64): Likewise.
38487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
38488 Likewise.
38489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38490 (__libc_pwrite64): Likewise.
38491 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
38492 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
38493 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
38494 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
38495 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
38496 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
38497 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
38498 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
38499 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
38500 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
38501 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
38502 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
38503 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
38504 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
38505 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
38506 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
38507 Likewise.
38508
38509 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
38510
38511 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
38512 (CFLAGS-test-double.c): Likewise.
38513 (CFLAGS-test-ldouble.c): Likewise.
38514 (CPPFLAGS-test-ifloat.c): Likewise.
38515 (CPPFLAGS-test-idouble.c): Likewise.
38516 (CPPFLAGS-test-ildoubl.c): Likewise.
38517 (CFLAGS-test-test-fenv.c): Remove variable.
38518 (CFLAGS-test-misc.c): Likewise.
38519
38520 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
38521
38522 [BZ #17797]
38523 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
38524 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
38525 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
38526 CLOCKS_PER_SEC == 1000000.
38527 * time/clocktest.c (main): Replace %ld with %jd and cast to
38528 intmax_t.
38529
38530 2015-01-05 Roland McGrath <roland@hack.frob.com>
38531
38532 * sysdeps/generic/unwind-resume.h: New file.
38533 * sysdeps/gnu/unwind-resume.c: Include it.
38534 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
38535 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
38536 argument list.
38537 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
38538 global rather than static.
38539 (_Unwind_Resume): Update user.
38540 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38541 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
38542 rather than static. Add __attribute__ ((cold)).
38543 (_Unwind_Resume, __gcc_personality_v0): Update callers.
38544 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38545 * sysdeps/arm/arm-unwind-resume.S: New file.
38546 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38547 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38548 * sysdeps/arm/Makefile [$(subdir) = csu]
38549 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38550 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38551 Add rt-arm-unwind-resume.
38552 [$(subdir) = nptl]
38553 (libpthread-sysdep_routines, libpthread-shared-only-routines):
38554 Add pt-arm-unwind-resume.
38555 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38556 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38557
38558 2015-01-05 Joseph Myers <joseph@codesourcery.com>
38559
38560 [BZ #17748]
38561 * include/fenv.h (__feholdexcept): Declare. Use
38562 libm_hidden_proto.
38563 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38564 define as weak alias of __feholdexcept. Use libm_hidden_weak.
38565 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38566 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38567 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38568 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38569 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38570 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38571 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38572 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38573 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38574 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38575 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38576 (feholdexcept): Likewise.
38577 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38578 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38579 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38580 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38581 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38582 __feholdexcept instead of feholdexcept.
38583 (default_libc_feholdexcept_setround): Likewise.
38584
38585 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
38586
38587 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38588 to avoid using stl/str to align destination.
38589
38590 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
38591
38592 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38593
38594 2015-01-05 Joseph Myers <joseph@codesourcery.com>
38595
38596 [BZ #17796]
38597 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38598 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38599 Define as weak alias not strong alias.
38600
38601 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
38602
38603 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38604 bltzal with addiupc.
38605 (RTLD_START): Ditto.
38606
38607 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
38608
38609 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38610 for __vdso_* functions in declarations.
38611 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38612 definitions.
38613 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38614 INTERNAL_VSYSCALL): Use struct return types to check for error.
38615
38616 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38617 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38618 function with cast from llround().
38619 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38620 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38621 Define.
38622
38623 2015-01-05 Joseph Myers <joseph@codesourcery.com>
38624
38625 [BZ #17793]
38626 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38627 Define as weak alias not strong alias.
38628
38629 [BZ #17635]
38630 * ctype/ctype-c99.c: New file. isblank implementation moved from
38631 ...
38632 * ctype/ctype-extn.c: ... here.
38633 (__isblank_l): Move to ...
38634 * ctype/ctype-c99_l.c: ... here. New file.
38635 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38636 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38637 Remove variable.
38638 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38639 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38640 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38641 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38642 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38643
38644 [BZ #17777]
38645 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38646 (posix_fadvise64): Define as weak alias not strong alias.
38647 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38648 (posix_fallocate64): Likewise.
38649 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38650 Remove variable.
38651 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38652 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38653 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38654 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38655 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38656
38657 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
38658
38659 [BZ #16191]
38660 * NEWS: Mention bug fix.
38661 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38662 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38663 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38664 (HOST_STACK_END_ADDR): Likewise.
38665
38666 2015-01-02 Joseph Myers <joseph@codesourcery.com>
38667
38668 [BZ #17748]
38669 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
38670 * math/fegetround.c (fegetround): Rename to __fegetround and
38671 define as weak alias of __fegetround. Use libm_hidden_weak.
38672 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38673 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38674 * sysdeps/arm/fegetround.c (fegetround): Likewise.
38675 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38676 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38677 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38678 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38679 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38680 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38681 Undefine after rather than before function definition; use
38682 parentheses around function name in definition.
38683 (__fegetround): Also undefine macro after function definition.
38684 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38685 __fegetround and define as weak alias of __fegetround. Use
38686 libm_hidden_weak. Do not undefine as macro.
38687 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38688 Likewise.
38689 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38690 __fegetround and define as weak alias of __fegetround. Use
38691 libm_hidden_weak.
38692 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38693 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38694 * sysdeps/tile/math_private.h (__fegetround): New inline function.
38695 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38696 __fegetround and define as weak alias of __fegetround. Use
38697 libm_hidden_weak.
38698 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38699 __fegetround instead of fegetround.
38700
38701 [BZ #17782]
38702 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38703 Condition macro definition on [__USE_MISC].
38704
38705 [BZ #17781]
38706 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38707 (struct sigaction): Change type of sa_flags field to int.
38708
38709 [BZ #17780]
38710 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38711 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38712 __glibc_reserved0.
38713
38714 * nptl/version.c (banner): Use single year in copyright notice.
38715
38716 * NEWS: Update copyright dates.
38717 * catgets/gencat.c (print_version): Likewise.
38718 * csu/version.c (banner): Likewise.
38719 * debug/catchsegv.sh: Likewise.
38720 * debug/pcprofiledump.c (print_version): Likewise.
38721 * debug/xtrace.sh (do_version): Likewise.
38722 * elf/ldconfig.c (print_version): Likewise.
38723 * elf/ldd.bash.in: Likewise.
38724 * elf/pldd.c (print_version): Likewise.
38725 * elf/sotruss.sh: Likewise.
38726 * elf/sprof.c (print_version): Likewise.
38727 * iconv/iconv_prog.c (print_version): Likewise.
38728 * iconv/iconvconfig.c (print_version): Likewise.
38729 * locale/programs/locale.c (print_version): Likewise.
38730 * locale/programs/localedef.c (print_version): Likewise.
38731 * login/programs/pt_chown.c (print_version): Likewise.
38732 * malloc/memusage.sh (do_version): Likewise.
38733 * malloc/memusagestat.c (print_version): Likewise.
38734 * malloc/mtrace.pl: Likewise.
38735 * manual/libc.texinfo: Likewise.
38736 * nptl/version.c (banner): Likewise.
38737 * nscd/nscd.c (print_version): Likewise.
38738 * nss/getent.c (print_version): Likewise.
38739 * nss/makedb.c (print_version): Likewise.
38740 * posix/getconf.c (main): Likewise.
38741 * scripts/test-installation.pl: Likewise.
38742 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38743
38744 2015-01-02 Will Newton <will.newton@linaro.org>
38745
38746 * sysdeps/arm/armv7/configure: Removed.
38747 * sysdeps/arm/armv7/configure.ac: Likewise.
38748
38749 2015-01-02 Joseph Myers <joseph@codesourcery.com>
38750
38751 * All files with FSF copyright notices: Update copyright dates
38752 using scripts/update-copyrights.
38753 * intl/plural.c: Regenerated.
38754 * locale/programs/charmap-kw.h: Likewise.
38755 * locale/programs/locfile-kw.h: Likewise.
38756
38757 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38758
38759 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38760
38761 2014-12-31 Joseph Myers <joseph@codesourcery.com>
38762
38763 [BZ #17748]
38764 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38765 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38766 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38767 and define as weak alias of __fegetenv. Use libm_hidden_weak.
38768 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38769 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38770 define as weak alias of __fegetenv. Use libm_hidden_weak.
38771 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38772 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38773 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38774 define as weak alias of __fegetenv. Use libm_hidden_weak.
38775 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38776 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38777 define as weak alias of __fegetenv. Use libm_hidden_weak.
38778 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38779 libm_hidden_def.
38780 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38781 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38782 Likewise.
38783 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38784 define as weak alias of __fegetenv. Use libm_hidden_weak.
38785 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38786 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38787 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38788 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38789 and define as weak alias of __fegetenv. Use libm_hidden_weak.
38790 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38791 __fegetenv instead of fegetenv.
38792 (libc_feholdsetround_noex_ctx): Likewise.
38793
38794 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
38795
38796 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38797 (Elf_MIPS_ABIFlags_v0): New structure.
38798 (EF_MIPS_FP64): Define.
38799 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38800 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38801 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38802 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38803 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38804 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38805 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38806 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38807 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38808 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38809 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38810 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38811 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38812 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38813 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38814 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38815 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38816 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38817 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38818 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38819 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38820 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38821 field.
38822 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38823 EF_MIPS_FP64.
38824 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38825 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38826 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38827 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38828 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38829 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38830 * sysdeps/mips/tst-abi-interlink.c: Likewise.
38831 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38832 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38833 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38834 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38835 record the current FP ABI extension.
38836 (mips-mode-switch): Define to show if kernel headers support mode
38837 switching.
38838 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38839 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38840 supported SYSV ABI version to 3.
38841 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38842 feature.
38843
38844 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38845 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38846
38847 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38848 path.
38849 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38850
38851 2014-12-31 Joseph Myers <joseph@codesourcery.com>
38852
38853 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38854 __fegetround and redefine to call __fegetround. Remove condition
38855 on [!__NO_MATH_INLINES].
38856 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38857 function.
38858 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38859 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38860 Remove macro.
38861 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38862 instead of <fenv_libc.h>.
38863 (__llrintl): Call fegetround instead of __fegetround.
38864 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38865 instead of <fenv_libc.h>.
38866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38867 (__lrintl): Call fegetround instead of __fegetround.
38868 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38869 instead of <fenv_libc.h>.
38870 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38871 (__rintl): Call fegetround instead of __fegetround.
38872
38873 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38874
38875 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38876 arrays.
38877
38878 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
38879
38880 [BZ #17775]
38881 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38882 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38883 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38884
38885 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
38886
38887 * sysdeps/i386/tls-macros.h: Include <features.h>.
38888 (TLS_LE): Use non-PIC version for GCC >= 5.0.
38889 (TLS_IE): Likewise.
38890 (TLS_LD): Likewise.
38891 (TLS_GD): Likewise.
38892 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38893 define for GCC >= 5.0.
38894
38895 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
38896
38897 * math/test-fenv.c (test_single_exception, set_single_exc,
38898 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38899 feexcp_mask_test, feenable_test, fe_single_test): Add
38900 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38901 case where they are not used.
38902 * math/libm-test.inc: Likewise.
38903 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38904 unused in the absence of FP rounding/exception support.
38905 * stdio-common/tst-printf-round.c: Likewise.
38906 * stdlib/tst-strtod-round.c: Likewise.
38907 * stdlib/tst-strtod-underflow.c: Likewise.
38908
38909 2014-12-30 Joseph Myers <joseph@codesourcery.com>
38910
38911 [BZ #17723]
38912 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38913 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38914 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38915 __feraiseexcept and define as weak alias of __feraiseexcept. Use
38916 libm_hidden_weak.
38917 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38918 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38919 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38920 libm_hidden_def.
38921 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38922 __feraiseexcept and define as weak alias of __feraiseexcept. Use
38923 libm_hidden_weak.
38924 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38925 Likewise.
38926 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38927 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38928 __feraiseexcept and define as weak alias of __feraiseexcept. Use
38929 libm_hidden_weak.
38930 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38931 libm_hidden_def.
38932 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38933 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38934 (__feraiseexcept): Likewise.
38935 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38936 __feraiseexcept and define as weak alias of __feraiseexcept. Use
38937 libm_hidden_weak.
38938 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38939 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38940 libm_hidden_def.
38941 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38942 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38943 Use libm_hidden_def.
38944 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38945 libm_hidden_def.
38946 (feraiseexcept): Define as weak not strong alias. Use
38947 libm_hidden_weak.
38948 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38949 New inline function. Factored out of ...
38950 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
38951 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38952 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38953 feraiseexcept.
38954 * math/w_acos.c (__acos): Likewise.
38955 * math/w_asin.c (__asin): Likewise.
38956 * math/w_ilogb.c (__ilogb): Likewise.
38957 * math/w_j0.c (y0): Likewise.
38958 * math/w_j1.c (y1): Likewise.
38959 * math/w_jn.c (yn): Likewise.
38960 * math/w_log.c (__log): Likewise.
38961 * math/w_log10.c (__log10): Likewise.
38962 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38963 * sysdeps/aarch64/fpu/math_private.h
38964 (libc_feupdateenv_test_aarch64): Likewise.
38965 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38966 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38967 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38968 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38969 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38970 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38971 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38972 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38973 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38974 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38975
38976 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
38977
38978 [BZ #17732]
38979 * io/test-utime.c (main): Replace %ld with %jd and cast to
38980 intmax_t.
38981 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38982 * nptl/tst-mutex5.c: Include <stdint.h>.
38983 (do_test): Replace %ld with %jd and cast to intmax_t.
38984 * posix/tst-regex.c (run_test): Likewise.
38985 (run_test_backwards): Likewise.
38986 * rt/tst-clock.c: Include <stdint.h>.
38987 (clock_test): Replace %ld with %jd and cast to intmax_t.
38988 * rt/tst-cpuclock1.c: Include <stdint.h>.
38989 (do_test): Replace %lu with %ju and cast to uintmax_t.
38990 * rt/tst-cpuclock2.c: Include <stdint.h>.
38991 (do_test): Replace %lu with %ju and cast to uintmax_t.
38992 * rt/tst-mqueue1.c: Include <stdint.h>.
38993 (check_attrs): Replace %ld with %jd and cast to intmax_t.
38994 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38995 intmax_t.
38996 * rt/tst-mqueue4.c (do_test): Likewise.
38997 * rt/tst-timer4.c: Include <stdint.h>.
38998 (check_ts): Replace %ld with %jd and cast to intmax_t.
38999 (do_test): Likewise.
39000 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
39001 and cast to intmax_t.
39002 * sysdeps/pthread/tst-timer.c (main): Likewise.
39003 * time/clocktest.c (main): Likewise.
39004 * time/tst-posixtz.c (do_test): Likewise.
39005 * timezone/tst-timezone.c (main): Likewise.
39006
39007 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
39008 H.J. Lu <hongjiu.lu@intel.com>
39009
39010 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
39011 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39012 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
39013 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
39014 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
39015 version if bit_Fast_Unaligned_Load is set.
39016 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39017 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39018 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39019 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39020 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39021 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39023 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
39024 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
39025 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
39026 to 4.
39027 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
39028 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
39029 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
39030 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
39031
39032 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
39033
39034 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
39035 instead of #if to avoid a Wundef warning.
39036 * stdlib/tst-limits.c (do_test): Likewise.
39037
39038 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
39039 parallel other exception macros.
39040 (fegetenv): Convert from macro to extern inline so that it applies
39041 retroactively to inline functions already seen by the compiler.
39042 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
39043
39044 * posix/Makefile (before-compile): Use $(objpfx) for
39045 posix-conf-vars-def.h.
39046
39047 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39048
39049 * posix/getconf.c (main): Use size_t for type of I.
39050 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
39051 NSPEC.
39052
39053 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
39054 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
39055 * posix/posix-envs.def: Likewise.
39056 * sysdeps/posix/sysconf.c: Likewise.
39057 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
39058 (specs): Remove array.
39059 * scripts/gen-posix-conf-vars.awk: Support generation of specs
39060 array.
39061
39062 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
39063 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
39064 (__sysconf): Use CONF_IS_* macros.
39065
39066 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
39067 ($(objpfx)posix-conf-vars-def.h): New target.
39068 * posix/posix-conf-vars.list: New file.
39069 * posix/posix-conf-vars.h: New file.
39070 * posix/confstr.c: Include posix-conf-vars.h.
39071 (confstr): Use CONF_IS_* macros.
39072 * posix/posix-envs.def: Include posix-conf-vars.h. Use
39073 CONF_IS_* macros.
39074 * scripts/gen-posix-conf-vars.awk: New file.
39075
39076 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
39077
39078 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
39079 fegetround): Add no-op macros to avoid linknamespace issues.
39080
39081 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
39082 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
39083
39084 * sysdeps/unix/sysv/linux/tile/sysdep.h
39085 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
39086 assembly-specific section to avoid a redefinition warning.
39087
39088 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
39089 long before casting to pointer to avoid a cast warning.
39090
39091 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
39092
39093 * sysdeps/tile/tilegx/Implies: New file.
39094
39095 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
39096
39097 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
39098
39099 2014-12-23 Florian Weimer <fweimer@redhat.com>
39100
39101 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
39102
39103 2014-12-22 Joseph Myers <joseph@codesourcery.com>
39104
39105 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
39106 not define.
39107 * sysdeps/unix/sysv/linux/utimes.c: Do not include
39108 <kernel-features.h>.
39109 (__utimes) [__NR_utimes]: Make code unconditional.
39110 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
39111 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39112 (__ASSUME_UTIMES): Do not undefine.
39113 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39114 (__ASSUME_UTIMES): Likewise.
39115 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39116 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
39117 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
39118 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
39119
39120 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
39121
39122 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
39123
39124 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
39125
39126 [BZ #17747]
39127 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
39128 alias to weak alias for j0l, y0l.
39129 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
39130 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
39131
39132 [BZ #17746]
39133 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
39134 conversion.
39135
39136 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
39137
39138 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
39139 to zero if not already defined.
39140
39141 2014-12-22 Joseph Myers <joseph@codesourcery.com>
39142
39143 [BZ #17724]
39144 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
39145 (__kernel_standard_f): Remove. Moved to k_standardf.c.
39146 (__kernel_standard_l): Remove. Moved to k_standardl.c with
39147 (char *) casts added.
39148 * sysdeps/ieee754/k_standardf.c: New file.
39149 * sysdeps/ieee754/k_standardl.c: Likewise.
39150 * math/Makefile (libm-support): Remove k_standard.
39151 (libm-calls): Add k_standard.
39152
39153 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
39154
39155 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39156 Optimize to avoid an unnecessary FPCR read.
39157
39158 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
39159
39160 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
39161 Optimize to reduce FPCR/FPSR accesses.
39162
39163 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
39164
39165 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
39166 Call libc_fetestexcept_aarch64.
39167
39168 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
39169
39170 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
39171 Call libc_fesetround_aarch64.
39172
39173 2014-12-22 Joseph Myers <joseph@codesourcery.com>
39174
39175 [BZ #17733]
39176 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
39177 (__bind): Do not define as weak alias.
39178 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
39179 define.
39180 (__getsockname): Do not define as weak alias.
39181
39182 2014-12-22 Will Newton <will.newton@linaro.org>
39183
39184 * manual/install.texi: Document that we require bison 2.7
39185 or above.
39186 * INSTALL: Regenerate.
39187 * configure.ac: Use AC_CHECK_PROG_VER instead of
39188 AC_PATH_PROG when checking for bison and check for
39189 version 2.7 or above.
39190 * configure: Regenerate.
39191
39192 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
39193
39194 [BZ #17745]
39195 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
39196 * sysdeps/tile/ffsll.c (ffsll): To here.
39197
39198 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
39199
39200 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
39201
39202 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
39203 if not defined.
39204 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
39205 definition.
39206 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39207 hidden ___tls_get_addr.
39208 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39209 hidden __tls_get_addr.
39210 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39211 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39212 Likewise.
39213
39214 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
39215
39216 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39217 _dl_init call.
39218
39219 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
39220
39221 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39222 from "call _dl_init@PLT".
39223 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39224
39225 2014-12-21 Anders Kaseorg <andersk@mit.edu>
39226
39227 * manual/search.texi: (Array Sort Function): Clarify stable sorting
39228 guarantees.
39229
39230 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
39231
39232 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39233
39234 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
39235
39236 [BZ #17744]
39237 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39238 strnlen.
39239
39240 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
39241
39242 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39243 of multu on MIPSr6.
39244 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39245 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39246 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39247 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39248 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39249
39250 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
39251
39252 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39253 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39254 (PTR_SUBU): Use subu for mips32r6/mips64r6.
39255 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39256 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39257 mips32r6/mips64r6.
39258 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39259
39260 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
39261
39262 * string/strncat.c (STRNCAT): Simplify implementation.
39263
39264 2014-12-19 David S. Miller <davem@davemloft.net>
39265
39266 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39267 access the quad as both a long double and as a series of 4 words.
39268
39269 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39270 link_map->l_info array access.
39271
39272 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
39273
39274 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39275
39276 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39277 * math/atest-exp2.c (TIMEOUT): Likewise.
39278 * math/atest-sincos.c (TIMEOUT): Likewise.
39279
39280 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
39281
39282 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39283 -Wno-error with -fno-builtin-lround.
39284
39285 2014-12-19 Torvald Riegel <triegel@redhat.com>
39286
39287 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39288 Contains futex constants and functions moved over from ...
39289 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
39290 <lowlevellock-futex.h>.
39291 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39292 (lll_timedwait_tid): Add comments and parentheses around macro
39293 arguments.
39294
39295 2014-12-19 Torvald Riegel <triegel@redhat.com>
39296
39297 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39298 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
39299 (__lll_private_flag): Remove.
39300 (lll_futex_wait): Likewise.
39301 (lll_futex_timed_wait): Likewise.
39302 (lll_futex_wake): Likewise.
39303 (lll_futex_requeue): Likewise.
39304 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39305 (__lll_timedwait_tid): Spell out argument names.
39306 (lll_timedwait_tid): Add comments and parentheses around macro
39307 arguments.
39308 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39309 LLL_SHARED and LLL_PRIVATE usable from assembly code.
39310
39311 2014-12-19 Torvald Riegel <triegel@redhat.com>
39312
39313 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39314 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39315 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39316 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39317 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39318 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39319 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39320 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39321 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39322 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39323 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39324 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39325 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39326 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39327 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39328 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39329 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39330 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39331 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39332
39333 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
39334
39335 * sysdeps/x86_64/x32/Makefile: New file.
39336
39337 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
39338
39339 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39340 1L with (mp_limb_t) 1.
39341
39342 2014-12-17 Roland McGrath <roland@hack.frob.com>
39343
39344 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39345 * nptl/libc_pthread_init.c: ... here.
39346 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39347 * nptl/register-atfork.c: ... here.
39348
39349 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39350 Use pthread_sigmask rather than INTERNAL_SYSCALL.
39351 Use assert_perror to check its return value.
39352 (__gai_create_helper_thread): Likewise.
39353
39354 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39355
39356 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39357
39358 2014-12-17 Joseph Myers <joseph@codesourcery.com>
39359
39360 [BZ #17725]
39361 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39362 __profil_counter.
39363 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39364 Likewise.
39365 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39366 Likewise.
39367 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39368 Likewise.
39369 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39370 (profil_counter): Likewise.
39371 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39372 (profil_counter): Likewise.
39373 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39374 Likewise.
39375 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39376 Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39378 (profil_counter): Likewise.
39379 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39380 Likewise.
39381 [!__profil_counter] (profil_counter): Define as weak alias of
39382 __profil_counter.
39383 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39384 (profil_counter): Rename to __profil_counter.
39385 [!__profil_counter] (profil_counter): Define as weak alias of
39386 __profil_counter.
39387 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39388 (profil_counter): Rename to __profil_counter.
39389 [!__profil_counter] (profil_counter): Define as weak alias of
39390 __profil_counter.
39391 * sysdeps/posix/profil.c: Update comment referring to
39392 profil_counter.
39393 (__profil): Use __profil_counter instead of profil_counter.
39394 * sysdeps/posix/sprofil.c (profil_counter): Rename to
39395 __profil_counter. Use __profil_counter_ushort and
39396 __profil_counter_uint in definitions.
39397 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
39398 instead of profil_counter_uint and profil_counter_ushort.
39399
39400 [BZ #17722]
39401 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
39402 define as weak alias of __inet_makeaddr.
39403 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
39404 as weak alias of __inet_addr.
39405 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
39406 as weak alias of __inet_pton. Use libc_hidden_weak.
39407 * include/arpa/inet.h (__inet_pton): Declare. Use
39408 libc_hidden_proto.
39409 (inet_makeaddr): Don't use libc_hidden_proto.
39410 (__inet_makeaddr): Declare. Use libc_hidden_proto.
39411 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
39412 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
39413 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
39414 Remove variable.
39415 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39416 (test-xfail-POSIX/time.h/linknamespace): Likewise.
39417
39418 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
39419
39420 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
39421
39422 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39423
39424 * stdio-common/bug-vfprintf-nargs.c (do_test):
39425 Cast value to intptr_t to avoid format warning
39426 for usage with PRIdPTR printing macro.
39427
39428 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39429
39430 * libio/tst-widetext.c (do_test):
39431 Use format type %td instead of %Zd for ptrdiff_t
39432 in order to avoid format warning.
39433
39434 2014-12-17 Andreas Schwab <schwab@suse.de>
39435
39436 * nscd/mem.c (gc): Add size_t cast to match printf format.
39437
39438 2014-12-16 Roland McGrath <roland@hack.frob.com>
39439
39440 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
39441 (init): Apply PTR_MANGLE to pointers before storing them.
39442 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
39443 before using them.
39444
39445 2014-12-16 Joseph Myers <joseph@codesourcery.com>
39446
39447 [BZ #17719]
39448 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
39449 define as weak alias of __memrchr.
39450 (__memrchr): Do not define as strong alias of memrchr.
39451 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
39452 Remove variable.
39453 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39454 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39455 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39456
39457 [BZ #17717]
39458 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
39459 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
39460 (if_indextoname): Rename to __if_indextoname and define as weak
39461 alias of __if_indextoname. Use libc_hidden_weak.
39462 (if_freenameindex): Rename to __if_freenameindex and define as
39463 weak alias of __if_freenameindex.
39464 (if_nameindex): Rename to __if_nameindex and define as weak alias
39465 of __if_nameindex.
39466 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
39467 __if_nametoindex and define as weak alias of __if_nametoindex.
39468 Use libc_hidden_weak.
39469 (if_freenameindex): Rename to __if_freenameindex and define as
39470 weak alias of __if_freenameindex.
39471 (if_nameindex): Rename to __if_nameindex and define as weak alias
39472 of __if_nameindex.
39473 (if_indextoname): Rename to __if_indextoname and define as weak
39474 alias of __if_indextoname. Use libc_hidden_weak.
39475 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
39476 __if_nametoindex and define as weak alias of __if_nametoindex.
39477 Use libc_hidden_weak.
39478 (if_freenameindex): Rename to __if_freenameindex and define as
39479 weak alias of __if_freenameindex. Use libc_hidden_weak.
39480 (if_nameindex_netlink): Use __if_freenameindex instead of
39481 if_freenameindex.
39482 (if_nameindex): Rename to __if_nameindex and define as weak alias
39483 of __if_nameindex. Use libc_hidden_weak.
39484 (if_indextoname): Rename to __if_indextoname and define as weak
39485 alias of __if_indextoname. Use libc_hidden_weak.
39486 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
39487 libc_hidden_proto.
39488 [!_ISOMAC] (__if_freenameindex): Likewise.
39489 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
39490 if_nametoindex.
39491 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
39492 variable.
39493 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39494 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39495 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39496 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39497 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39498 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39499 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39500
39501 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
39502 Remove variable.
39503 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39504 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39505
39506 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39507
39508 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
39509 subscript above bounds'
39510
39511 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
39512 bounds.
39513
39514 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
39515
39516 * libio/tst-fopenloc.c: Use test-skeleton.c.
39517
39518 * stdlib/tst-bsearch.c: Use test-skeleton.c.
39519 (entry): Rename to ITEM.
39520 (do_test, comp): Adjust.
39521
39522 * stdio-common/tst-fseek.c: Use test-skeleton.c.
39523
39524 2014-12-16 Torvald Riegel <triegel@redhat.com>
39525
39526 * string/tester.c: Include <libc-internal.h>.
39527 (test_memset): Ignore -Wmemset-transposed-args.
39528
39529 2014-12-16 Torvald Riegel <triegel@redhat.com>
39530
39531 * misc/tst-mntent2.c (do_test): Fix warning.
39532
39533 2014-12-16 Torvald Riegel <triegel@redhat.com>
39534
39535 * elf/tst-unique4lib.cc(a): Mark as used.
39536
39537 2014-12-16 Florian Weimer <fweimer@redhat.com>
39538
39539 [BZ #17630]
39540 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39541 names.
39542
39543 2014-12-16 Allan McRae <allan@archlinux.org>
39544
39545 * stdio-common/Makefile (tests): Re-add bug26.
39546
39547 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
39548
39549 [BZ #17657]
39550 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39551 static array.
39552
39553 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
39554
39555 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39556 (__lll_lock_wait): Likewise.
39557 (__lll_timedlock_wait): Likewise.
39558 (__lll_timedwait_tid): Likewise.
39559 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39560 (__lll_robust_timedlock_wait): Likewise.
39561 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39562 (lll_cond_trylock): Likewise.
39563 (__lll_lock): Likewise.
39564 (__lll_robust_lock): Likewise.
39565 (__lll_cond_lock): Likewise.
39566 (lll_robust_cond_lock): Likewise.
39567 (__lll_timedlock): Likewise.
39568 (__lll_robust_timedlock): Likewise.
39569 (__lll_unlock): Likewise.
39570 (__lll_robust_unlock): Likewise.
39571 (lll_wait_tid): Likewise.
39572 (lll_timedwait_tid): Likewise.
39573
39574 2014-12-15 Torvald Riegel <triegel@redhat.com>
39575
39576 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39577
39578 2014-12-15 Torvald Riegel <triegel@redhat.com>
39579
39580 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39581
39582 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
39583
39584 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39585 * stdio-common/tst-sprintf.c: Likewise.
39586
39587 2014-12-15 Torvald Riegel <triegel@redhat.com>
39588
39589 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39590
39591 2014-12-15 Jeff Law <law@redhat.com>
39592
39593 [BZ #16617]
39594 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39595 on the heap. (CVE-2012-3406)
39596 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39597 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
39598 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39599
39600 2014-12-15 Will Newton <will.newton@linaro.org>
39601
39602 * manual/install.texi: Bump required version of texinfo
39603 to 4.7 from 4.5.
39604 * INSTALL: Regenerated.
39605 * configure.ac: Check for makeinfo version 4.7 and above.
39606 * configure: Regenerated.
39607
39608 2014-12-12 Roland McGrath <roland@hack.frob.com>
39609
39610 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39611 PREFIX, string constant to insert between directory and name.
39612 * sysdeps/posix/shm_open.c: Update caller.
39613 * sysdeps/posix/shm_unlink.c: Likewise.
39614 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39615 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39616 (SEM_SHM_PREFIX): New macro.
39617 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39618 [$(have-thread-library) = no].
39619 * nptl/Makefile (libpthread-routines): Add shm-directory.
39620 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39621 * sysdeps/nptl/shm-directory.h: New file.
39622 * sysdeps/posix/shm-directory.c
39623 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39624 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39625 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39626 INTERNAL_SYSCALL.
39627 (__where_is_shmfs): Function removed.
39628 (mountpoint, defaultmount, defaultdir, __namedsem_once):
39629 Variables removed.
39630 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39631 Use SHM_GET_NAME.
39632 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
39633
39634 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39635 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39636 unconditional for use inside libpthread.
39637 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39638
39639 2014-12-12 Roland McGrath <roland@hack.frob.com>
39640
39641 * nptl/pthread_getaffinity.c: New file.
39642 * nptl/pthread_setaffinity.c: New file.
39643 * nptl/pthread_getname.c: New file.
39644 * nptl/pthread_setname.c: New file.
39645
39646 * nptl/pthread_create.c (START_THREAD_DEFN)
39647 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39648
39649 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39650 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39651
39652 * resolv/res_send.c (send_vc): Disable warning resplen may
39653 be used uninitialized.
39654
39655 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39656
39657 * nptl/tst-mutex6.c
39658 (ATTR_NULL): New define checks ATTR against NULL.
39659 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39660 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39661
39662 2014-12-11 James Lemke <jwlemke@codesourcery.com>
39663
39664 [BZ #17581]
39665 * malloc/hooks.c
39666 (mem2mem_check): Revert my previous change.
39667 (malloc_check_get_size): Revert my previous change.
39668 (mem2chunk_check): Revert my previous change.
39669
39670 2014-12-11 Roland McGrath <roland@hack.frob.com>
39671
39672 * sysdeps/posix/shm-directory.c: New file.
39673 * sysdeps/posix/shm-directory.h: New file.
39674 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39675 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39676 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
39677 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39678 Transmute EPERM to EACCES.
39679 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39680 from ...
39681 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
39682 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39683
39684 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39685
39686 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39687 pointer and cast to uintptr_t.
39688 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39689 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39690 Add cast to avoid warning.
39691 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39692
39693 2014-12-11 Joseph Myers <joseph@codesourcery.com>
39694
39695 * nptl/semaphore.h: Move to ...
39696 * sysdeps/pthread/semaphore.h: ... here.
39697 * Makefile (installed-headers): Change nptl/semaphore.h to
39698 sysdeps/pthread/semaphore.h.
39699
39700 2014-12-11 Roland McGrath <roland@hack.frob.com>
39701
39702 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39703 generated error format strings.
39704
39705 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39706 -Wformat-extra-args warnings for scanf formats.
39707 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39708 test of zero-length format (duh).
39709 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39710 corner-case scanf format test.
39711 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39712 generated fprintf format string.
39713 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39714 corner-case sprintf format tests.
39715 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39716 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39717 -Wformat-extra-args warnings throughout.
39718 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39719 (CFLAGS-scanf4.c): Likewise.
39720 (CFLAGS-scanf7.c): Likewise.
39721 (CFLAGS-tst-sprintf.c): Likewise.
39722 (CFLAGS-tst-printf.c): Likewise.
39723 (CFLAGS-tst-printfsz.c): Likewise.
39724
39725 2014-12-11 Joseph Myers <joseph@codesourcery.com>
39726
39727 * include/cpio.h: New file.
39728 * include/fmtmsg.h: Likewise.
39729
39730 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
39731 corresponding format argument to size_t.
39732 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
39733 arguments.
39734 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
39735 corresponding format argument to size_t.
39736 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
39737 arguments.
39738 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
39739 corresponding format argument to size_t.
39740 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39741 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39742 (CFLAGS-tst-mbswcs2.c): Likewise.
39743 (CFLAGS-tst-mbswcs3.c): Likewise.
39744 (CFLAGS-tst-mbswcs4.c): Likewise.
39745 (CFLAGS-tst-mbswcs5.c): Likewise.
39746 (CFLAGS-tst-trans.c): Likewise.
39747
39748 2014-12-11 Roland McGrath <roland@hack.frob.com>
39749
39750 * posix/regexbug1.c (main): Use "%s" format with regerror results,
39751 rather than assuming they won't contain any '%'s.
39752
39753 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
39754
39755 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39756 inhibit_loop_to_libcall to avoid recursive calls.
39757 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39758 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39759
39760 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
39761
39762 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39763 prototype.
39764
39765 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
39766
39767 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39768 integer value instead of boolean.
39769
39770 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
39771
39772 * malloc/malloc.c: Fix powerof2 check.
39773
39774 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
39775
39776 * locale/programs/locfile.h (maybe_swap_uint32):
39777 Remove inline and add unused attribute.
39778
39779 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
39780
39781 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39782 Truncating assembler expression to a .long expression.
39783
39784 2014-12-11 Andreas Schwab <schwab@suse.de>
39785
39786 * elf/rtld.c (struct map_args): Constify str member.
39787 (do_preload): Constify fname argument.
39788
39789 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39790
39791 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39792 constants definition.
39793
39794 2014-12-11 Andreas Schwab <schwab@suse.de>
39795
39796 [BZ #16657]
39797 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39798 FORCE_ELISION instead of DO_ELISION.
39799 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39800 Remove.
39801 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39802 Likewise.
39803
39804 * iconvdata/gconv-modules: Remove duplicate entry.
39805
39806 2014-12-11 Will Newton <will.newton@linaro.org>
39807
39808 Merge gettext 0.19.3 into intl/.
39809
39810 This involves a number of cosmetic changes to comments
39811 and ANSI function definitions and prototypes throughout
39812 all the files. The gettext copyright header is used but
39813 with the date ranges taken from the glibc copy.
39814
39815 * NEWS: Add gettext merge to 2.21.
39816 * intl/bindtextdom.c: Switch to gettext copyright.
39817 Use ANSI definitions and prototypes.
39818 Use gl_* locking primitives rather than __libc_* ones.
39819 Use __builtin_expect rather than __glibc_likely/unlikely.
39820 * intl/dcgettext.c: Switch to gettext copyright.
39821 Use ANSI definitions and prototypes.
39822 * intl/dcigettext.c: Switch to gettext copyright.
39823 Use ANSI definitions and prototypes.
39824 (INTDIV0_RAISES_SIGFPE): New define.
39825 Use gl_* locking primitives rather than __libc_* ones.
39826 Include eval-plural.h instead of plural-eval.c.
39827 Use __builtin_expect rather than __glibc_likely/unlikely.
39828 * intl/dcngettext.c: Switch to gettext copyright.
39829 Use ANSI definitions and prototypes.
39830 * intl/dgettext.c: Likewise.
39831 * intl/dngettext.c: Likewise.
39832 * intl/plural-eval.c: Renamed to...
39833 * intl/eval-plural.h: ...this.
39834 * intl/explodename.c: Switch to gettext copyright.
39835 Use ANSI definitions and prototypes.
39836 (_nl_explode_name): Use strchr instead of __rawmemchr.
39837 * intl/finddomain.c: Switch to gettext copyright.
39838 Use ANSI definitions and prototypes.
39839 Use gl_* locking primitives rather than __libc_* ones.
39840 (_nl_find_domain): Use malloc rather than alloca for
39841 allocation of temporary locale name.
39842 * intl/gettext.c: Switch to gettext copyright.
39843 Use ANSI definitions and prototypes.
39844 * intl/gettextP.h: Switch to gettext copyright.
39845 Use ANSI definitions and prototypes.
39846 Use gl_* locking primitives rather than __libc_* ones.
39847 * intl/gmo.h: Switch to gettext copyright.
39848 (struct sysdep_string): Move struct segment_pair outside of
39849 struct definition.
39850 * intl/hash-string.c: Use ANSI definitions and prototypes.
39851 * intl/hash-string.h: Switch to gettext copyright.
39852 Use ANSI definitions and prototypes.
39853 * intl/l10nflist.c: Switch to gettext copyright.
39854 Use ANSI definitions and prototypes.
39855 (_nl_normalize_codeset): Avoid integer overflow.
39856 * intl/loadinfo.h: Switch to gettext copyright.
39857 Use ANSI definitions and prototypes.
39858 (LIBINTL_DLL_EXPORTED): New define.
39859 (PATH_SEPARATOR): New define.
39860 * intl/loadmsgcat.c: Switch to gettext copyright.
39861 * intl/localealias.c: Switch to gettext copyright.
39862 Use ANSI definitions and prototypes.
39863 (_nl_expand_alias): Use PATH_SEPARATOR.
39864 * intl/ngettext.c: Switch to gettext copyright.
39865 Use ANSI definitions and prototypes.
39866 * intl/plural-exp.c: Likewise.
39867 * intl/plural-exp.h: Switch to gettext copyright.
39868 Use ANSI definitions and prototypes.
39869 (struct expression): Move definition of enum operator outside
39870 of struct definition.
39871 * intl/plural.c: Regenerate.
39872 * intl/plural.y: Switch to gettext copyright.
39873 Use ANSI definitions and prototypes.
39874 Port to bison 3.0.
39875 * intl/textdomain.c: Switch to gettext copyright.
39876 Use ANSI definitions and prototypes.
39877 Use gl_* locking primitives rather than __libc_* ones.
39878
39879 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
39880
39881 * debug/warning-nop.c: Add used atrribute.
39882
39883 2014-12-10 Joseph Myers <joseph@codesourcery.com>
39884
39885 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39886
39887 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39888 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39889 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39890
39891 2014-12-10 Joseph Myers <joseph@codesourcery.com>
39892 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39893
39894 [BZ #17634]
39895 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39896 Undefine after defining function. Define as weak alias of
39897 __wcschr. Use libc_hidden_weak.
39898 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
39899 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39900 (libc_hidden_def): Also define __GI___wcschr alias.
39901 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39902 __wcschr and define as weak alias of __wcschr.
39903 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39904 __wcschr.
39905 [!WCSCHR] (DEFAULT_WCSCHR): Define.
39906 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39907 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
39908 libc_hidden_weak. Do not use libc_hidden_def.
39909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39910 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39911 __GI___wcschr alias.
39912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39913 [IS_IN (libc)] (wcschr): Define as macro expanding to
39914 __redirect_wcschr.
39915 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39916 [IS_IN (libc)] (__wcschr_power6): Likewise.
39917 [IS_IN (libc)] (__wcschr_power7): Likewise.
39918 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
39919 instead of wcschr.
39920 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39921 __libc_wcschr.
39922 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39923 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39924 __wcschr and define as weak alias of __wcschr. Use
39925 libc_hidden_builtin_def.
39926 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39927 as weak alias of __wcschr. Use libc_hidden_weak.
39928 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39929 wcschr.
39930 * time/era.c (_nl_init_era_entries): Likewise.
39931 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39932 variable.
39933 (test-xfail-XPG3/time.h/linknamespace): Likewise.
39934 (test-xfail-XPG4/time.h/linknamespace): Likewise.
39935
39936 2014-12-10 Joseph Myers <joseph@codesourcery.com>
39937
39938 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39939 format for long int variable.
39940
39941 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
39942
39943 [BZ #10672]
39944 * manual/search.texi: (Array Sort Function): Remove claim how to make
39945 qsort stable.
39946
39947 2014-12-10 Andreas Schwab <schwab@suse.de>
39948
39949 [BZ #12847]
39950 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39951 user-controlled locks.
39952
39953 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
39954
39955 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39956 register.
39957
39958 2014-12-10 Joseph Myers <joseph@codesourcery.com>
39959
39960 * configure.ac (--disable-werror): New configure option.
39961 (enable_werror): New AC_SUBST.
39962 * configure: Regenerated.
39963 * config.make.in (enable-werror): New variable.
39964 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39965 -Wno-error=undef.
39966 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39967 * manual/install.texi (Configuring and compiling): Document
39968 --disable-werror.
39969 * INSTALL: Regenerated.
39970 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39971 (CFLAGS-tst-chk2.c): Likewise.
39972 (CFLAGS-tst-chk3.c): Likewise.
39973 (CFLAGS-tst-chk4.cc): Likewise.
39974 (CFLAGS-tst-chk5.cc): Likewise.
39975 (CFLAGS-tst-chk6.cc): Likewise.
39976 (CFLAGS-tst-lfschk1.c): Likewise.
39977 (CFLAGS-tst-lfschk2.c): Likewise.
39978 (CFLAGS-tst-lfschk3.c): Likewise.
39979 (CFLAGS-tst-lfschk4.cc): Likewise.
39980 (CFLAGS-tst-lfschk5.cc): Likewise.
39981 (CFLAGS-tst-lfschk6.cc): Likewise.
39982
39983 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39984 (main): Disable -Wdeprecated-declarations around calls to
39985 register_printf_function.
39986
39987 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39988 (do_test): Disable -Wdiv-by-zero around some calls to
39989 fwrite_unlocked and fread_unlocked.
39990
39991 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39992 (DIAG_POP_NEEDS_COMMENT): Likewise.
39993 (_DIAG_STR1): Likewise.
39994 (_DIAG_STR): Likewise.
39995 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39996 * stdio-common/bug21.c: Include <libc-internal.h>.
39997 (do_test): Disable -Wformat around call to sscanf.
39998 * stdio-common/scanf14.c: Include <libc-internal.h>.
39999 (main): Disable -Wformat around some calls to scanf functions.
40000
40001 2014-12-09 Torvald Riegel <triegel@redhat.com>
40002
40003 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
40004
40005 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40006
40007 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
40008 stack variable alignment.
40009
40010 2014-12-06 Joseph Myers <joseph@codesourcery.com>
40011
40012 [BZ #17682]
40013 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
40014 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
40015 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
40016 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
40017 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
40018 __getrlimit instead of getrlimit.
40019 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
40020 __gettimeofday instead of gettimeofday.
40021 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
40022 Likewise.
40023 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
40024 Likewise.
40025 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40026 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
40027 Remove variable.
40028 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40029 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40030
40031 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40032
40033 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
40034 for wide-character tests.
40035
40036 2014-12-04 Roland McGrath <roland@hack.frob.com>
40037
40038 * io/openat64.c: #include <libc-internal.h>
40039 (__openat64): Prototypify. Use ignore_value on MODE.
40040 * io/openat.c: Likewise.
40041 * misc/reboot.c: #include <libc-internal.h>
40042 (reboot): Prototypify. Use ignore_value on HOWTO.
40043 * misc/ptrace.c: #include <libc-internal.h>
40044 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
40045
40046 2014-12-04 Joseph Myers <joseph@codesourcery.com>
40047
40048 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
40049 XPG4, UNIX98 and XOPEN2K.
40050 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
40051 Remove variable.
40052 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40053
40054 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40055
40056 * libio/fileops.c: Use ISO C style for function definitions.
40057 * libio/iofopen.c: Likewise.
40058 * libio/wfileops.c: Likewise.
40059
40060 [BZ #17653]
40061 * libio/fileops.c (_IO_new_file_underflow): Unset cached
40062 offset on EOF.
40063 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
40064 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
40065 (fgets_func): Function pointer to fgets and fgetws.
40066 (do_ftell_test): Add test to verify ftell value after read
40067 EOF.
40068 (do_test): Set fgets_func.
40069
40070 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
40071 O_TRUNC flag for w and w+ modes.
40072 (do_rewind_test): Likewise.
40073 (do_ftell_test): Likewise.
40074 (do_write_test): Likewise.
40075
40076 [BZ #17647]
40077 * libio/fileops.c (do_ftell): Seek only when there are
40078 unflushed writes.
40079 * libio/wfileops.c (do_ftell_wide): Likewise.
40080 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
40081 test case.
40082 (do_one_test): Call it.
40083
40084 2014-12-03 Joseph Myers <joseph@codesourcery.com>
40085
40086 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
40087 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
40088 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
40089 Remove variable.
40090 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40091 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40092 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40093
40094 2014-12-02 Joseph Myers <joseph@codesourcery.com>
40095
40096 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
40097 Remove variable.
40098 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40099
40100 [BZ #17668]
40101 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
40102 as weak alias of __getifaddrs. Use libc_hidden_weak.
40103 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40104 __freeifaddrs. Use libc_hidden_weak.
40105 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
40106 define as weak alias of __getifaddrs. Use libc_hidden_weak.
40107 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40108 __freeifaddrs. Use libc_hidden_weak.
40109 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
40110 __getifaddrs and define as weak alias of __getifaddrs. Use
40111 libc_hidden_weak.
40112 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40113 __freeifaddrs. Use libc_hidden_weak.
40114 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
40115 Remove variable.
40116 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40117 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40118
40119 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
40120
40121 [BZ #17601]
40122 * sysdeps/mips/start.S (__start): Use indirect jump to call
40123 __libc_start_main.
40124
40125 2014-12-02 Joseph Myers <joseph@codesourcery.com>
40126
40127 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
40128
40129 * nptl/tst-mutex1.c: Include <stdbool.h>.
40130 [!ATTR] (ATTR_NULL): New macro.
40131 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
40132 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
40133 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
40134
40135 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
40136 to char *.
40137
40138 [BZ #17665]
40139 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
40140 Change conditional to [__USE_MISC].
40141
40142 [BZ #17664]
40143 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
40144 fgets_unlocked.
40145 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
40146 __fgets_unlocked.
40147 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
40148 fgets_unlocked.
40149 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
40150 Remove variable.
40151 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40152 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40153 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40154 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40155 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40156 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40157 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40158 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40159 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40160
40161 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
40162
40163 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40164
40165 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40166 Remove strpbrk objects.
40167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40168 (__libc_ifunc_impl_list): Remove strpbrk implementation.
40169 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
40170 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
40171 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40172 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
40173
40174 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40175 Remove strcspn objects.
40176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40177 (__libc_ifunc_impl_list): Remove strcspn implementation.
40178 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
40179 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
40180 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
40181 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
40182
40183 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40184 Remove strspn objetcs.
40185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40186 (__libc_ifunc_impl_list): Remove strspn implementation.
40187 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
40188 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40189 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
40190 * sysdeps/powerpc/powerpc64/strspn.S: New file.
40191
40192 2014-12-01 James Lemke <jwlemke@codesourcery.com>
40193
40194 [BZ #17581]
40195 * malloc/hooks.c
40196 (mem2mem_check): Add a terminator to the chain of checking blocks.
40197 (malloc_check_get_size): Use it here.
40198 (mem2chunk_check): Ditto.
40199
40200 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40201
40202 * sysdeps/powerpc/powerpc64/strtok.S: New file.
40203 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
40204
40205 2014-11-29 Carlos O'Donell <carlos@redhat.com>
40206
40207 * bits/ioctl-types.h: Indent preprocessor directives correctly.
40208
40209 * nptl/nptl-init.c: Include libc-internal.h.
40210 (__pthread_initialize_minimal_internal): Use ROUND_UP.
40211
40212 * elf/ldconfig.c (search_dir): Expand comment.
40213
40214 2014-11-29 Joseph Myers <joseph@codesourcery.com>
40215
40216 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40217 variable.
40218 (linknamespace-symlist-stdlibs-tests): Likewise.
40219 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40220 instead of $(objpfx)symlist-stdlibs.
40221 (linknamespace-libs-isoc): New variable.
40222 (linknamespace-libs): Use $(linknamespace-libs-isoc).
40223 (linknamespace-libs-ISO): New variable.
40224 (linknamespace-libs-ISO99): Likewise.
40225 (linknamespace-libs-ISO11): Likewise.
40226 (linknamespace-libs-XPG3): Likewise.
40227 (linknamespace-libs-XPG4): Likewise.
40228 (linknamespace-libs-POSIX): Likewise.
40229 (linknamespace-libs-UNIX98): Likewise.
40230 (linknamespace-libs-XOPEN2K): Likewise.
40231 (linknamespace-libs-POSIX2008): Likewise.
40232 (linknamespace-libs-XOPEN2K8): Likewise.
40233 ($(objpfx)symlist-stdlibs): Replace by
40234 $(linknamespace-symlist-stdlibs-tests). Use
40235 $(linknamespace-libs-$*) as set of libraries.
40236 ($(linknamespace-header-tests)): Update dependencies. Use
40237 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40238 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40239 * conform/linknamespace.pl: Remove comment about considering
40240 definitions of symbols from irrelevant libraries.
40241
40242 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
40243
40244 [BZ #13862]
40245 * elf/dl-tls.c: Include <atomic.h>.
40246 (oom): Remove #ifdef SHARED/#endif.
40247 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40248 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
40249 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40250 big enough.
40251 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40252 * nptl/Makefile (tests): Add tst-stack4.
40253 (modules-names): Add tst-stack4mod.
40254 ($(objpfx)tst-stack4): New.
40255 (tst-stack4mod.sos): Likewise.
40256 ($(objpfx)tst-stack4.out): Likewise.
40257 ($(tst-stack4mod.sos)): Likewise.
40258 (clean): Likewise.
40259 * nptl/tst-stack4.c: New file.
40260 * nptl/tst-stack4mod.c: Likewise.
40261
40262 2014-11-27 J. Brown <jb999@gmx.de>
40263
40264 * sysdeps/x86/bits/string.h: Add recent CPUs.
40265
40266 2014-11-27 Joseph Myers <joseph@codesourcery.com>
40267
40268 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40269 sigblock.
40270
40271 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40272 feof.
40273
40274 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40275 variable.
40276
40277 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
40278
40279 * nscd/connections.c: Include libc-internal.h because of macro
40280 usage ignore_value.
40281
40282 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40283
40284 * string/bits/string3.h (__warn_memset_zero_len): Don't
40285 declare for gcc newer than 5.0.
40286 (memset): Don't test for zero-length __LEN for gcc newer than
40287 5.0.
40288
40289 2014-11-27 Joseph Myers <joseph@codesourcery.com>
40290
40291 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40292 size_t for %zu format.
40293
40294 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40295 difference, not %ju.
40296
40297 2014-11-26 Joseph Myers <joseph@codesourcery.com>
40298
40299 * include/libc-internal.h (ignore_value): New macro.
40300 * nscd/connections.c (restart): Wrap calls to setuid and setgid
40301 with ignore_value.
40302
40303 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40304 definition.
40305
40306 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40307 pthread_cleanup_push to void *.
40308
40309 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40310 Undefine.
40311
40312 [BZ #16619]
40313 [BZ #16740]
40314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40315 instead of 1L << 52.
40316
40317 * libio/bug-rewind.c (do_test): Check fwscanf return values.
40318 * libio/bug-rewind2.c (do_test): Likewise.
40319
40320 * debug/test-stpcpy_chk-ifunc.c: Remove file.
40321 * debug/test-strcpy_chk-ifunc.c: Likewise.
40322 * wcsmbs/test-wcschr-ifunc.c: Likewise.
40323 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40324 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40325 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40326 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40327 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40328 * Rules [$(multi-arch) = no] (tests): Do not filter out
40329 $(tests-ifunc).
40330 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40331 * debug/Makefile (tests-ifunc): Remove variable.
40332 (tests): Do not add $(tests-ifunc).
40333 * wcsmbs/Makefile (tests-ifunc): Remove variable.
40334 (tests): Do not add $(tests-ifunc).
40335 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40336 [TEST_IFUNC]: Remove conditionals.
40337 * string/test-string.h (TEST_IFUNC): Remove macro.
40338 [TEST_IFUNC]: Remove conditionals.
40339
40340 * string/test-strchr.c [!WIDE] (L): New macro.
40341 [WIDE] (L): Likewise.
40342 (check1): Use CHAR instead of char. Use L on string and character
40343 constants.
40344
40345 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
40346
40347 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40348 tests.
40349 * sysdeps/powerpc/bits/atomic.h
40350 (__arch_atomic_exchange_and_add_32_acq): Add definition.
40351 (__arch_atomic_exchange_and_add_32_rel): Likewise.
40352 (atomic_exchange_and_add_acq): Likewise.
40353 (atomic_exchange_and_add_rel): Likewise.
40354 * sysdeps/powerpc/powerpc32/bits/atomic.h
40355 (__arch_atomic_exchange_and_add_64_acq): Add definition.
40356 (__arch_atomic_exchange_and_add_64_rel): Likewise.
40357 * sysdeps/powerpc/powerpc64/bits/atomic.h
40358 (__arch_atomic_exchange_and_add_64_acq): Add definition.
40359 (__arch_atomic_exchange_and_add_64_rel): Likewise.
40360
40361 2014-11-26 Torvald Riegel <triegel@redhat.com>
40362
40363 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40364 Change synchronization of __sched_fifo_min_prio and
40365 __sched_fifo_max_prio.
40366 * nptl/pthread_mutexattr_getprioceiling.c
40367 (pthread_mutexattr_getprioceiling): Likewise.
40368 * nptl/pthread_mutexattr_setprioceiling.c
40369 (pthread_mutexattr_setprioceiling): Likewise.
40370 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40371 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40372 Likewise.
40373
40374 2014-11-26 Joseph Myers <joseph@codesourcery.com>
40375
40376 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40377 void.
40378
40379 2014-11-25 Joseph Myers <joseph@codesourcery.com>
40380
40381 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40382 third argument const.
40383
40384 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
40385
40386 fnmatch: work around GCC compiler warning bug with uninit var
40387 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40388 This works around a bug with x86-64 GCC 4.9.2 and earlier
40389 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40390 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40391 used uninitialized in this function [-Wmaybe-uninitialized]".
40392
40393 2014-11-25 Joseph Myers <joseph@codesourcery.com>
40394
40395 * posix/bug-regex31.c (main): Return RES not 0.
40396
40397 2014-11-25 Anton Blanchard <anton@samba.org>
40398
40399 * sysdeps/powerpc/bits/atomic.h
40400 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
40401
40402 2014-11-24 Sterling Augustine <saugustine@google.com>
40403
40404 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
40405
40406 2014-11-24 Ryan Cumming <etaoins@gmail.com>
40407
40408 [BZ #17608]
40409 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
40410
40411 2014-11-24 Joseph Myers <joseph@codesourcery.com>
40412
40413 [BZ #17633]
40414 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
40415 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
40416 variable.
40417 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40418 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40419
40420 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
40421
40422 * string/strncpy.c (strncpy): Improve performance by using memset.
40423
40424 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
40425
40426 * string/strcpy.c (strcpy):
40427 Improve performance by using strlen and memcpy.
40428
40429 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
40430
40431 * string/strcoll_l.c (get_next_seq): __always_inline.
40432 * string/strcoll_l.c (do_compare): __always_inline.
40433
40434 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40435
40436 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
40437 defined.
40438 * include/mqueue.h: Likewise.
40439 * include/stdlib.h: Likewise.
40440
40441 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
40442 (get_null_defines): Adjust.
40443 * sunrpc/Makefile: Adjust comment.
40444 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
40445 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
40446 (CFLAGS-interp.c): Likewise.
40447 (CFLAGS-ldconfig.c): Likewise.
40448 (CPPFLAGS-.os): Likewise.
40449 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40450 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40451 * extra-modules.mk (extra-modules.mk): Likewise.
40452 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
40453 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
40454 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
40455 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
40456 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
40457 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
40458 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
40459 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
40460 * iconvdata/Makefile (CPPFLAGS): Likewise.
40461 (cpp-srcs-left): Add libof for all iconvdata routines.
40462 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
40463 * include/assert.h: Likewise.
40464 * include/ctype.h: Likewise.
40465 * include/errno.h: Likewise.
40466 * include/libc-symbols.h: Likewise.
40467 * include/math.h: Likewise.
40468 * include/netdb.h: Likewise.
40469 * include/resolv.h: Likewise.
40470 * include/stdio.h: Likewise.
40471 * include/stdlib.h: Likewise.
40472 * include/string.h: Likewise.
40473 * include/sys/stat.h: Likewise.
40474 * include/wctype.h: Likewise.
40475 * intl/l10nflist.c: Likewise.
40476 * libidn/idn-stub.c: Likewise.
40477 * libio/libioP.h: Likewise.
40478 * nptl/libc_multiple_threads.c: Likewise.
40479 * nptl/pthreadP.h: Likewise.
40480 * posix/regex_internal.h: Likewise.
40481 * resolv/res_hconf.c: Likewise.
40482 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
40483 * sysdeps/arm/memmove.S: Likewise.
40484 * sysdeps/arm/sysdep.h: Likewise.
40485 * sysdeps/generic/_itoa.h: Likewise.
40486 * sysdeps/generic/symbol-hacks.h: Likewise.
40487 * sysdeps/gnu/errlist.awk: Likewise.
40488 * sysdeps/gnu/errlist.c: Likewise.
40489 * sysdeps/i386/i586/memcpy.S: Likewise.
40490 * sysdeps/i386/i586/memset.S: Likewise.
40491 * sysdeps/i386/i686/memcpy.S: Likewise.
40492 * sysdeps/i386/i686/memmove.S: Likewise.
40493 * sysdeps/i386/i686/mempcpy.S: Likewise.
40494 * sysdeps/i386/i686/memset.S: Likewise.
40495 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40497 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
40498 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
40499 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40500 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40501 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
40502 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40503 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40505 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40506 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40507 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40508 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40509 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40510 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40511 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
40512 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
40513 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
40514 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40515 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40516 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40517 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40518 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40519 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40520 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40521 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
40522 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
40524 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40525 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40531 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40532 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40533 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40534 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40535 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40536 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40537 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40538 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40539 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40540 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40541 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40542 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40543 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40544 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40545 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40546 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40547 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40548 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40549 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40550 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40552 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40553 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40554 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40555 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40556 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40557 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40558 * sysdeps/nptl/bits/libc-lock.h: Likewise.
40559 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40560 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40561 * sysdeps/posix/closedir.c: Likewise.
40562 * sysdeps/posix/opendir.c: Likewise.
40563 * sysdeps/posix/readdir.c: Likewise.
40564 * sysdeps/posix/rewinddir.c: Likewise.
40565 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40566 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40567 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40568 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40569 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40570 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40571 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40574 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40576 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40577 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40578 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40579 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40580 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40581 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40582 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40583 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40584 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40585 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40586 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40587 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40588 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40589 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40591 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40593 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40600 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40601 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40602 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40603 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40604 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40605 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40606 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40607 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40608 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40609 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40610 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40611 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40612 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40613 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40614 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40615 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40617 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40618 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40619 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40620 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40621 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40622 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40623 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40624 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40625 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40626 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40627 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40628 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40629 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40630 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40631 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40632 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40633 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40634 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40635 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40636 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40637 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40638 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40639 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40640 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40641 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40642 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40643 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40644 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40645 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40646 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40647 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40648 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40649 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40651 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40652 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40653 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40654 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40655 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40656 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40657 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40661 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40663 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40664 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40665 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40666 * sysdeps/unix/alpha/sysdep.S: Likewise.
40667 * sysdeps/unix/alpha/sysdep.h: Likewise.
40668 * sysdeps/unix/make-syscalls.sh: Likewise.
40669 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40670 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40671 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40672 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40673 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40674 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40675 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40676 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40677 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40678 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40679 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40680 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40681 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40682 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40683 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40684 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40685 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40686 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40687 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40688 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40689 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40690 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40691 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40692 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40693 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40694 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40695 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40698 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40699 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40703 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40707 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40708 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40709 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40710 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40711 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40712 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40713 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40716 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40719 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40720 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40721 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40722 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40723 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40724 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40725 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40727 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40728 * sysdeps/x86_64/memcpy.S: Likewise.
40729 * sysdeps/x86_64/memmove.c: Likewise.
40730 * sysdeps/x86_64/memset.S: Likewise.
40731 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40733 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40734 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40735 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40736 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40738 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40739 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40740 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40741 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40742 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40743 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40744 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40745 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40747 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40748 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40749 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40750 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40751 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40752 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40755 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40756 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40757 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40758 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40759 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40760 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40761 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40762 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40763 * sysdeps/x86_64/strcmp.S: Likewise.
40764
40765 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40766
40767 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40768 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40769 * elf/rtld-Rules: Likewise.
40770 * elf/setup-vdso.h: Likewise.
40771 * include/assert.h: Likewise.
40772 * include/bits/stdlib-float.h: Likewise.
40773 * include/errno.h: Likewise.
40774 * include/sys/stat.h: Likewise.
40775 * include/unistd.h: Likewise.
40776 * sysdeps/aarch64/setjmp.S: Likewise.
40777 * sysdeps/alpha/setjmp.S: Likewise.
40778 * sysdeps/arm/__longjmp.S: Likewise.
40779 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40780 * sysdeps/arm/setjmp.S: Likewise.
40781 * sysdeps/arm/sysdep.h: Likewise.
40782 * sysdeps/generic/_itoa.h: Likewise.
40783 * sysdeps/generic/dl-sysdep.h: Likewise.
40784 * sysdeps/generic/ldsodefs.h: Likewise.
40785 * sysdeps/i386/dl-tls.h: Likewise.
40786 * sysdeps/i386/setjmp.S: Likewise.
40787 * sysdeps/m68k/setjmp.c: Likewise.
40788 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40789 * sysdeps/mach/hurd/opendir.c: Likewise.
40790 * sysdeps/posix/getcwd.c: Likewise.
40791 * sysdeps/posix/opendir.c: Likewise.
40792 * sysdeps/posix/profil.c: Likewise.
40793 * sysdeps/powerpc/dl-procinfo.h: Likewise.
40794 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40795 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40796 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40797 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40798 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40799 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40800 * sysdeps/s390/dl-tls.h: Likewise.
40801 * sysdeps/s390/s390-32/setjmp.S: Likewise.
40802 * sysdeps/s390/s390-64/setjmp.S: Likewise.
40803 * sysdeps/sh/sh3/setjmp.S: Likewise.
40804 * sysdeps/sh/sh4/setjmp.S: Likewise.
40805 * sysdeps/unix/alpha/sysdep.h: Likewise.
40806 * sysdeps/unix/arm/sysdep.S: Likewise.
40807 * sysdeps/unix/i386/sysdep.S: Likewise.
40808 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40809 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40810 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40811 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40813 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40814 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40815 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40816 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40817 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40818 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40819 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40820 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40823 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40826 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40827 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40828 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40831 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40832 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40833 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40835 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40836 * sysdeps/x86_64/setjmp.S: Likewise.
40837
40838 * include/math.h: Use IS_IN instead of IS_IN_libm.
40839 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40840 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40842 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40845 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40848 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40849 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40850 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40851 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40852 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40858 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40859 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40860 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40861 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40862 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40863 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40864 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40866 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40867 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40868 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40869 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40870 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40871 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40873 Likewise.
40874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40875 Likewise.
40876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40877 Likewise.
40878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40879 Likewise.
40880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40881 Likewise.
40882 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40884 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40885 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40886 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40887 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40893 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40894 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40895 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40896 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40897 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40898 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40900 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40901 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40902 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40903 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40904 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40905 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40906 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40908 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40909
40910 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40911 * nptl/pthreadP.h: Likewise.
40912 * nptl_db/structs.def: Likewise.
40913 * sysdeps/arm/sysdep.h: Likewise.
40914 * sysdeps/nptl/bits/libc-lock.h: Likewise.
40915 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40916 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40917 * sysdeps/unix/alpha/sysdep.h: Likewise.
40918 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40919 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40920 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40921 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40922 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40923 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40924 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40925 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40926 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40927 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40928 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40929 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40930 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40931 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40936 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40939 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40940 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40941 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40942 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40943 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40944
40945 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40946 * nptl/pthreadP.h: Likewise.
40947 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40948 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40949 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40950 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40951 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40952 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40953 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40954 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40955 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40956 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40957 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40958 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40960 Likewise.
40961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40962 Likewise.
40963 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40965 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40968 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40969 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40970 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40971
40972 * dlfcn/dladdr.c: Use IS_IN.
40973 * dlfcn/dladdr1.c: Likewise.
40974 * dlfcn/dlclose.c: Likewise.
40975 * dlfcn/dlerror.c: Likewise.
40976 * dlfcn/dlinfo.c: Likewise.
40977 * dlfcn/dlmopen.c: Likewise.
40978 * dlfcn/dlopen.c: Likewise.
40979 * dlfcn/dlsym.c: Likewise.
40980 * dlfcn/dlvsym.c: Likewise.
40981
40982 * include/ifaddrs.h: Use IS_IN.
40983 * inet/check_pf.c: Likewise.
40984 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40985 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40986
40987 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40988 IS_IN_ldconfig.
40989 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40990 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40991
40992 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40993 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40994 IS_IN (libc).
40995
40996 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40997
40998 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40999 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41000 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41001 * include/libc-symbols.h (IS_IN_LIB): New macro.
41002 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
41003 * include/netdb.h: Likewise.
41004 * include/stap-probe.h: Remove all uses of IN_LIB.
41005
41006 * Makeconfig (module-cppflags-real): Define MODULE_NAME
41007 instead of IN_MODULE.
41008 * include/libc-symbols.h (IN_MODULE): Define using
41009 MODULE_NAME.
41010 (PASTE_NAME, PASTE_NAME1): New macros.
41011 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
41012 of IN_LIB.
41013 (STAP_PROBE_ASM): Likewise.
41014
41015 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
41016
41017 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
41018 __mach_init in dlopened libc.
41019
41020 2014-11-22 Mike Frysinger <vapier@gentoo.org>
41021
41022 * sysdeps/arm/preconfigure.ac: Delete EABI check.
41023 * sysdeps/arm/preconfigure: Regenerate.
41024
41025 2014-11-21 Roland McGrath <roland@hack.frob.com>
41026
41027 * nptl/pthread_create.c (__pthread_create_2_1): Set
41028 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
41029 when copying values from IATTR into PD.
41030
41031 2014-11-21 Will Newton <will.newton@linaro.org>
41032 Andrew Pinski <andrew.pinski@caviumnetworks.com>
41033
41034 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
41035 Refactor inline-asm. Also add comment.
41036
41037 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
41038 ElfW macro instead of hardcoded Elf64 types.
41039 (la_aarch64_gnu_pltenter): Likewise.
41040 * sysdeps/aarch64/dl-machine.h
41041 (elf_machine_runtime_setup): Use ElfW(Addr).
41042
41043 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
41044 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
41045 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
41046 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
41047 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
41048 (R_AARCH64_TLS_DTPMOD64): Rename to ..
41049 (R_AARCH64_TLS_DTPMOD): This.
41050 (R_AARCH64_TLS_DTPREL64): Rename to ...
41051 (R_AARCH64_TLS_DTPREL): This.
41052 (R_AARCH64_TLS_TPREL64): Rename to ...
41053 (R_AARCH64_TLS_TPREL): This.
41054 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
41055 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
41056 R_AARCH64_TLS_TPREL64.
41057 (elf_machine_rela): Likewise.
41058
41059 2014-11-21 Torvald Riegel <triegel@redhat.com>
41060
41061 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
41062 by setting it to 0. 64b atomics are not supported currently.
41063
41064 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
41065
41066 [BZ #16469]
41067 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
41068 search domain names.
41069
41070 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
41071
41072 [BZ #16469]
41073 * NEWS: Update.
41074 * resolv/res_query.c (__libc_res_nquerydomain): Retain
41075 trailing dot.
41076 * posix/tst-getaddrinfo5.c: New.
41077 * posix/Makefile (tests): Add it.
41078
41079 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
41080
41081 [BZ #14498]
41082 * NEWS: Fixed.
41083 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
41084 after parsing line but before break_if_match.
41085 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
41086 if there is a protocol mismatch.
41087
41088 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
41089
41090 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
41091 because the potential race is on the user-supplied stream.
41092
41093 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
41094
41095 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
41096 string literal if not passed a buffer.
41097 * manual/job.texi (ctermid): Update reasoning, note deviation
41098 from posix, suggest mtasurace when not passed a buffer, for
41099 future non-preliminary safety notes.
41100
41101 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
41102
41103 * manual/users.texi (cuserid): Fix MT-Safety note for the case
41104 of not passing it a buffer.
41105 Reported by Peng Haitao.
41106
41107 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
41108
41109 * manual/Makefile ($(objpfx)stamp-summary): Require
41110 check-safety.sh to pass.
41111 * manual/check-safety.sh: Wish for verification that every
41112 @deftypefn and @deftypefun is followed by a @safety remark.
41113
41114 2014-11-20 Roland McGrath <roland@hack.frob.com>
41115
41116 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
41117
41118 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
41119 PTHREAD_CANCEL_ASYNCHRONOUS.
41120 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
41121 send SIGCANCEL.
41122
41123 * nptl/default-sched.h: New file.
41124 * sysdeps/unix/sysv/linux/default-sched.h: New file.
41125 * nptl/pthread_create.c: Include it.
41126 (__pthread_create_2_1): Use collect_default_sched instead of making
41127 Linux syscalls here directly.
41128
41129 2014-11-20 Torvald Riegel <triegel@redhat.com>
41130
41131 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
41132 __pthread_once): Use C11 atomics.
41133
41134 2014-11-20 Torvald Riegel <triegel@redhat.com>
41135
41136 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
41137
41138 2014-11-20 Torvald Riegel <triegel@redhat.com>
41139
41140 * include/atomic.h (__atomic_link_error, __atomic_check_size,
41141 atomic_thread_fence_acquire, atomic_thread_fence_release,
41142 atomic_thread_fence_seq_cst, atomic_load_relaxed,
41143 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
41144 atomic_compare_exchange_weak_relaxed,
41145 atomic_compare_exchange_weak_acquire,
41146 atomic_compare_exchange_weak_release,
41147 atomic_exchange_acquire, atomic_exchange_release,
41148 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
41149 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
41150 atomic_fetch_and_acquire,
41151 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
41152
41153 2014-11-20 Torvald Riegel <triegel@redhat.com>
41154
41155 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41156 USE_ATOMIC_COMPILER_BUILTINS): Define.
41157 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
41158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41159 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
41160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41161 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
41162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41163 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
41164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41165 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
41166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41167 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
41168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41169 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
41170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41171 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
41172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41173 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41175 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41177 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41179 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41181 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
41182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41183 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41185 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
41186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41187 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
41188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41189 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
41190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41191 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
41192 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41193 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
41194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41195 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
41196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41197
41198 2014-11-19 Roland McGrath <roland@hack.frob.com>
41199
41200 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
41201 the sched_priority value here. It was already checked when the user
41202 called pthread_attr_setschedparam.
41203
41204 * nptl/tst-bad-schedattr.c: New file.
41205 * nptl/Makefile (tests): Add it.
41206
41207 2014-11-19 Carlos O'Donell <carlos@redhat.com>
41208 Florian Weimer <fweimer@redhat.com>
41209 Joseph Myers <joseph@codesourcery.com>
41210 Adam Conrad <adconrad@0c3.net>
41211 Andreas Schwab <schwab@suse.de>
41212 Brooks <bmoses@google.com>
41213
41214 [BZ #17625]
41215 * wordexp-test.c (__dso_handle): Add prototype.
41216 (__register_atfork): Likewise.
41217 (__app_register_atfork): New function.
41218 (registered_forks): New global.
41219 (register_fork): New function.
41220 (test_case): Add 3 new tests for WRDE_CMDSUB.
41221 (main): Call __app_register_atfork.
41222 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41223 fork count is non-zero fail the test.
41224 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41225 is set.
41226 (parse_dollars): Remove check for WRDE_NOCMD.
41227 (parse_dquote): Likewise.
41228
41229 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41230
41231 * Makeconfig (built-modules): List non-library modules to be
41232 built.
41233 (module-cppflags): Include libc-modules.h for
41234 everything except shlib-versions.v.i.
41235 (CPPFLAGS): Use it.
41236 (before-compile): Add libc-modules.h.
41237 ($(common-objpfx)libc-modules.h,
41238 $(common-objpfx)libc-modules.stmp): New targets.
41239 (common-generated): Add libc-modules.h and libc-modules.stmp.
41240 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41241 * include/libc-symbols.h: Don't include libc-modules.h.
41242 * include/libc-modules.h: Remove file.
41243 * scripts/gen-libc-modules.awk: New script to generate
41244 libc-modules.h.
41245 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41246 Depend on libc-modules.stmp.
41247
41248 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41249
41250 * Makeconfig (in-module): Get value of libof set for the
41251 translation unit.
41252 (CPPFLAGS): Use $(in-module).
41253 * Makerules: Don't suffix routine names for nonlib.
41254 * include/libc-modules.h: New file.
41255 * include/libc-symbols.h: Include libc-modules.h
41256 (IS_IN): New macro to replace IS_IN_* macros.
41257 * elf/Makefile: Set libof-* for each routine.
41258 * elf/rtld-Rules: Likewise.
41259 * extra-modules.mk: Likewise.
41260 * iconv/Makefile: Likewise.
41261 * iconvdata/Makefile: Likewise.
41262 * locale/Makefile: Likewise.
41263 * malloc/Makefile: Likewise.
41264 * nss/Makefile: Likewise.
41265 * sysdeps/gnu/Makefile: Likewise.
41266 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41267 * sysdeps/unix/sysv/linux/Makefile: Likewise.
41268 * sysdeps/s390/s390-64/Makefile: Likewise.
41269 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
41270 CPPFLAGS for nscd instead of nonlib.
41271
41272 2014-11-18 Roland McGrath <roland@hack.frob.com>
41273
41274 * nptl/createthread.c: New file.
41275
41276 * nptl/createthread.c: Moved ...
41277 * sysdeps/unix/sysv/linux/createthread.c: ... here.
41278
41279 * nptl/createthread.c: Add proper top-line comment.
41280 (do_clone): Folded into ...
41281 (create_thread): ... here. Take new arguments STOPPED_START and
41282 THREAD_RAN. Always set PD->stopped_start to something here. Don't
41283 increment __nptl_threads, do event-reporting logic, do
41284 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41285 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
41286 resource cleanup if sched_setaffinity or sched_setscheduler fails,
41287 just send SIGCANCEL.
41288 * nptl/pthread_create.c: Forward-declare create_thread before
41289 including createthread.c.
41290 (start_thread): Use new macro START_THREAD_DEFN to replace defining
41291 declaration, and new macro START_THREAD_SELF to replace argument.
41292 Remove return statement.
41293 (report_thread_creation): New function.
41294 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
41295 synchronization logic, and __nptl_nthreads increment here, around
41296 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
41297 PD->parent_cancelhandling here, before create_thread. When
41298 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41299 __deallocate_stack, and ENOMEM translation here.
41300
41301 2014-11-18 Joseph Myers <joseph@codesourcery.com>
41302
41303 [BZ #17616]
41304 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41305 (mptwo): Rename to __mptwo.
41306 (__inv): Use __mptwo instead of mptwo.
41307 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41308 (mptwo): Rename to __mptwo.
41309 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41310 of mpone and __mptwo instead of mptwo.
41311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41312 instead of mpone.
41313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41314 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41315 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41316 of mpone and __mptwo instead of mptwo.
41317 (__mpranred): Use __mpone instead of mpone.
41318 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41319 variable.
41320 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41321 (test-xfail-ISO99/math.h/linknamespace): Likewise.
41322 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41323 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41324 (test-xfail-ISO11/math.h/linknamespace): Likewise.
41325 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41326 (test-xfail-XPG3/math.h/linknamespace): Likewise.
41327 (test-xfail-XPG4/math.h/linknamespace): Likewise.
41328 (test-xfail-POSIX/math.h/linknamespace): Likewise.
41329 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41330 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41331 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41332 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41333 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41334 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41335 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41336 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41337 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41338 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41339
41340 2014-11-18 Tom de Vries <tom@codesoucery.com>
41341
41342 * manual/signal.texi (Primitives Interrupted by Signals): In section,
41343 replace BSD Handler xref with BSD Signal Handling.
41344
41345 2014-11-17 Richard Henderson <rth@redhat.com>
41346
41347 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41348 (_FP_PACK_RAW_2): Remove.
41349 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41350 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41351 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41352 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41353 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41354 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41355 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41356 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41357 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41358 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41359 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41360 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41361 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41362 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41363 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41364 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41365
41366 2014-11-14 Roland McGrath <roland@hack.frob.com>
41367
41368 * signal/signal.h [__USE_MISC]
41369 (struct sigvec): Remove type.
41370 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41371 (sigvec): Remove declaration.
41372 * sysdeps/posix/sigvec.c: Moved ...
41373 * signal/sigvec.c: ... here, replacing old file.
41374 (struct sigvec): New type, copied from old signal.h definition.
41375 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41376 (__sigvec): Convert definition to prototype.
41377 (sigvec): Replace weak_alias with compat_symbol.
41378 * signal/Versions (libc: GLIBC_2.21): New version set.
41379 * include/signal.h: Remove __sigvec declaration.
41380 * sysdeps/unix/bsd/sigvec.c: Remove file.
41381 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41382 * manual/signal.texi (BSD Handler): Remove subsection.
41383 Move siginterrupt up to ...
41384 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
41385 (Blocking in BSD): Fold subsection into its parent.
41386 * NEWS: Mention sigvec removal.
41387
41388 2014-11-14 Joseph Myers <joseph@codesourcery.com>
41389
41390 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41391 (DLA_FMS): Make definition conditional only on [__FMA4__].
41392 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
41393 definition.
41394
41395 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
41396 Make definition conditional only on [PROF].
41397 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
41398 definition.
41399 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
41400 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
41401
41402 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
41403 !__GNUC__].
41404 * include/signal.h (__sigpause): Move declaration above call to
41405 libc_hidden_proto.
41406 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
41407 variable.
41408 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41409 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41410
41411 2014-11-14 David S. Miller <davem@davemloft.net>
41412
41413 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
41414 Define before including <string/memcpy.c> and <string/mempcpy.c>.
41415
41416 2014-11-14 Joseph Myers <joseph@codesourcery.com>
41417
41418 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
41419 * configure: Regenerated.
41420 * manual/install.texi (Tools for Compilation): Document a
41421 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
41422 compiler verified to work.
41423 * INSTALL: Regenerated.
41424
41425 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
41426 redeclare with asm name.
41427 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
41428 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
41429 including <string.h>.
41430 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41431 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
41432 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41433 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
41434 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
41436 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41437
41438 2014-11-13 Joseph Myers <joseph@codesourcery.com>
41439
41440 * stdlib/strtol.c (__strtol): Use prototype definition.
41441
41442 [BZ #17594]
41443 * stdlib/strtol.c (SYM__): New macro.
41444 (SYM__1): Likewise.
41445 (__strtol): Likewise.
41446 (strtol): Rename to __strtol and define as weak alias of
41447 __strtol. Use libc_hidden_weak.
41448
41449 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
41450
41451 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
41452 Use numbered labels in inline assembly.
41453
41454 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
41455
41456 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
41457 Add setjmp LIBC_PROBE.
41458 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
41459 Likewise.
41460 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
41461 Add longjmp, longjmp_target LIBC_PROBE.
41462 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
41463 Likewise.
41464
41465 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
41466
41467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41468 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
41469 to get rid of unused variable warning.
41470
41471 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
41472
41473 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
41474 Check for unwind_backtrace == NULL only in SHARED case.
41475 (__backchain_backtrace): Compile only in SHARED case.
41476 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
41477 Likewise.
41478 (__backchain_backtrace): Declare as static.
41479
41480 2014-11-12 Roland McGrath <roland@hack.frob.com>
41481
41482 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
41483 (__libc_multiple_threads_ptr): Variable moved ...
41484 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
41485
41486 2014-11-12 Joseph Myers <joseph@codesourcery.com>
41487
41488 * conform/GlibcConform.pm: New file.
41489 * conform/conformtest.pl: Use GlibcConform module.
41490 * conform/linknamespace.pl: New file.
41491 * conform/list-header-symbols.pl: Likewise.
41492 * conform/Makefile (linknamespace-symlists-base): New variable.
41493 (linknamespace-symlists-tests): Likewise.
41494 (linknamespace-header-base): Likewise.
41495 (linknamespace-header-tests): Likewise.
41496 (tests-special): Add new tests.
41497 ($(linknamespace-symlists-tests)): New rule.
41498 (linknamespace-libs): New variable.
41499 ($(objpfx)symlist-stdlibs): New rule.
41500 ($(linknamespace-header-tests)): Likewise.
41501 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
41502 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
41503 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
41504 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
41505 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
41506 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
41507 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
41508 (test-xfail-ISO/math.h/linknamespace): Likewise.
41509 (test-xfail-ISO/signal.h/linknamespace): Likewise.
41510 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
41511 (test-xfail-ISO/time.h/linknamespace): Likewise.
41512 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41513 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
41514 (test-xfail-ISO99/math.h/linknamespace): Likewise.
41515 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41516 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41517 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41518 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41519 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41520 (test-xfail-ISO11/math.h/linknamespace): Likewise.
41521 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41522 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41523 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41524 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41525 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
41526 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
41527 (test-xfail-XPG3/math.h/linknamespace): Likewise.
41528 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
41529 (test-xfail-XPG3/search.h/linknamespace): Likewise.
41530 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
41531 (test-xfail-XPG3/time.h/linknamespace): Likewise.
41532 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
41533 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
41534 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41535 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
41536 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
41537 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
41538 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41539 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41540 (test-xfail-XPG4/math.h/linknamespace): Likewise.
41541 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41542 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41543 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41544 (test-xfail-XPG4/search.h/linknamespace): Likewise.
41545 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41546 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41547 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41548 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41549 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41550 (test-xfail-XPG4/time.h/linknamespace): Likewise.
41551 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41552 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41553 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41554 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41555 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41556 (test-xfail-POSIX/math.h/linknamespace): Likewise.
41557 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41558 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41559 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41560 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41561 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41562 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41563 (test-xfail-POSIX/time.h/linknamespace): Likewise.
41564 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41565 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41566 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41567 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41568 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41569 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41570 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41571 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41572 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41573 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41574 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41575 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41576 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41577 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41578 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41579 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41580 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41581 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41582 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41583 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41584 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41585 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41586 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41587 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41588 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41589 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41590 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41591 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41592 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41593 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41594 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41595 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41596 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41597 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41598 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41599 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41600 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41601 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41602 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41603 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41604 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41605 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41606 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41607 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41608 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41609 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41610 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41611 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41612 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41613 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41614 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41615 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41616 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41617 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41618 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41619 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41620 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41621 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41622 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41623 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41624 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41625 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41626 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41627 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41628 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41629 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41630 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41631 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41632 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41633 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41634 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41635 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41636 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41637 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41638 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41639 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41640 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41641 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41642 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41643 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41644 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41645 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41646 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41647 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41648 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41649 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41650 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41651 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41652 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41653 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41654 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41655 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41656 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41657 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41658 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41659 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41660 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41661 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41662
41663 [BZ #17589]
41664 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41665 of fgets_unlocked.
41666
41667 [BZ #17585]
41668 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41669 (memmem): Rename to __memmem and define as weak alias of
41670 __memmem. Use libc_hidden_weak.
41671 (__memmem): Use libc_hidden_def.
41672 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
41673 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41674 memmem.
41675
41676 [BZ #17582]
41677 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41678 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
41679 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41680 and define as weak alias of __fgets_unlocked. Use
41681 libc_hidden_weak.
41682 (__fgets_unlocked): Use libc_hidden_def.
41683 * include/stdio.h (__fgets_unlocked): Declare. Use
41684 libc_hidden_proto.
41685 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41686 __fgets_unlocked instead of fgets_unlocked.
41687 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41688 (GET_NPROCS_CONF_PARSER): Likewise.
41689 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41690 (GET_NPROCS_CONF_PARSER): Likewise.
41691
41692 [BZ #17574]
41693 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41694 weak alias of __wmemset. Use libc_hidden_weak.
41695 (__wmemset): Use libc_hidden_def.
41696 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
41697 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41698 of wmemset.
41699
41700 [BZ #17573]
41701 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41702 with asm name __mempcpy.
41703 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41704
41705 [BZ #17572]
41706 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41707 and define as weak alias of __rawmemchr.
41708 (__rawmemchr): Do not define as strong alias of rawmemchr.
41709
41710 [BZ #17571]
41711 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41712 alias of __qsort_r.
41713 (qsort): Call __qsort_r instead of qsort_r.
41714 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41715 (__qsort_r): Declare. Call libc_hidden_proto.
41716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41717 instead of qsort_r.
41718 * nscd/gai.c (__qsort_r): Define to qsort_r.
41719 * posix/tst-rfc3484.c (__qsort_r): Likewise.
41720 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41721 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41722
41723 [BZ #17570]
41724 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41725 define as weak alias of __malloc_info.
41726
41727 [BZ #17584]
41728 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41729 as weak alias of __rewinddir. Don't use libc_hidden_def.
41730 (__rewinddir): Use libc_hidden_def.
41731 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41732 as weak alias of __rewinddir. Don't use libc_hidden_def.
41733 (__rewinddir): Use libc_hidden_def.
41734 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41735 weak alias of __rewinddir. Don't use libc_hidden_def.
41736 (__rewinddir): Use libc_hidden_def.
41737 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41738 (__rewinddir): Use libc_hidden_proto.
41739 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41740 rewinddir.
41741 (__getcwd): Use __rewinddir instead of rewinddir.
41742
41743 [BZ #17583]
41744 * libio/fileno.c (fileno): Rename to __fileno and define as weak
41745 alias of __fileno. Use libc_hidden_weak.
41746 (__fileno): Use libc_hidden_def.
41747 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41748 * libio/ftello.c (ftello): Rename to __ftello and define as weak
41749 alias of __ftello.
41750 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41751 __ftello.
41752 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41753 (__fread_unlocked): Define as strong alias of _IO_fread. Use
41754 libc_hidden_def.
41755 (fread_unlocked): Don't use libc_hidden_ver.
41756 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41757 and define as weak alias of __fread_unlocked. Don't use
41758 libc_hidden_def.
41759 (__fread_unlocked): Use libc_hidden_def.
41760 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
41761 (ftello): Don't use libc_hidden_proto.
41762 (__ftello): Declare. Use libc_hidden_proto.
41763 (fread_unlocked): Don't use libc_hidden_proto.
41764 (__fread_unlocked): Declare. Use libc_hidden_proto.
41765 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41766 and __ftello instead of fileno, fread_unlocked and ftello.
41767
41768 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
41769
41770 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41771 GOT12.
41772 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41773 Likewise.
41774 (_dl_start_user): Likewise.
41775 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41776
41777 2014-11-12 Carlos O'Donell <carlos@redhat.com>
41778 Siddhesh Poyarekar <siddhesh@redhat.com>
41779
41780 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41781 Move argv and envp down instead of moving argc up.
41782 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41783
41784 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
41785
41786 [BZ #17506]
41787 * test-skeleton.c (main): Return successful if one of
41788 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41789 * string/tst-strcoll-overflow.c: Define expected status.
41790
41791 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
41792
41793 [BZ #17475]
41794 * locale/iso-639.def: Define Bhili and Tulu language codes.
41795
41796 2014-11-11 Alan Hayward <alan.hayward@arm.com>
41797
41798 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41799
41800 2014-11-10 Renlin Li <Renlin.Li@arm.com>
41801
41802 [BZ #17555]
41803 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41804
41805 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41806
41807 * configure.ac: Updated check of minimal required version to
41808 2.22.
41809 * manual/install.texi (Tools for Compilation): Updated version
41810 number.
41811 * configure: Regenerated.
41812 * INSTALL: Likewise.
41813
41814 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
41815
41816 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41817 __tls_get_addr.
41818
41819 2014-11-07 Joseph Myers <joseph@codesourcery.com>
41820
41821 * include/sys/wait.h (__libc_waitpid): Remove declaration.
41822 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41823 (__waitpid): Don't define as alias. Use libc_hidden_def not
41824 libc_hidden_weak.
41825 (waitpid): Define as alias of __waitpid.
41826 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41827 __waitpid.
41828 (__waitpid): Don't define as alias. Use libc_hidden_def not
41829 libc_hidden_weak.
41830 (waitpid): Define as alias of __waitpid.
41831 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41832 __libc_waitpid alias.
41833 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41834 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41835 Likewise.
41836 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41837 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41838 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41839 alias.
41840 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41841 __waitpid.
41842 (__waitpid): Don't define as alias. Use libc_hidden_def not
41843 libc_hidden_weak.
41844 (waitpid): Define as alias of __waitpid.
41845
41846 2014-11-06 Carlos O'Donell <carlos@redhat.com>
41847
41848 * manual/llio.texi: Add comment that write safety has been
41849 fixed in Linux.
41850
41851 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41852 (localplt-build-dso): Add elf/ld.so.
41853 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41854 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41855 and free for ld.so.
41856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41857 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41859 Likewise.
41860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41861 Likewise.
41862 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41863 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41864 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41865 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41866 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41867 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41868 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41869 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41870 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41871 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41872 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41873
41874 2014-11-05 Joseph Myers <joseph@codesourcery.com>
41875
41876 [BZ #14132]
41877 * include/libc-symbols.h (INTUSE): Remove macro.
41878 (INTDEF): Likewise.
41879 (INTVARDEF): Likewise.
41880 (_INTVARDEF): Likewise.
41881 (INTDEF2): Likewise.
41882 (INTVARDEF2): Likewise.
41883 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41884 rtld_hidden_def instead of INTVARDEF.
41885 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41886 (_dl_starting_up_internal): Remove declaration.
41887 (_dl_starting_up): Use rtld_hidden_proto.
41888 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41889 declaration.
41890 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41891 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41892 _dl_starting_up.
41893 * elf/dl-writev.h (_dl_writev): Likewise.
41894 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41895 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41896 _dl_starting_up_internal.
41897
41898 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41899
41900 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41901 test-skeleton.c.
41902
41903 2014-11-05 Will Newton <will.newton@linaro.org>
41904
41905 * benchtests/Makefile: (bench-malloc): Add malloc thread
41906 scalability benchmark.
41907 * benchtests/bench-malloc-threads.c: New file.
41908
41909 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
41910
41911 * sysdeps/aarch64/strchrnul.S: New file.
41912
41913 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41914
41915 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41916 definition.
41917 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41918 Likewise.
41919 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41920 Likewise.
41921 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41922 Likewise.
41923 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41924 Likewise.
41925 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41926 Likewise.
41927
41928 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
41929
41930 * catgets/test-gencat.c: Use test-skeleton.c.
41931 * catgets/tst-catgets.c: Likewise.
41932 * csu/tst-empty.c: Likewise.
41933 * elf/tst-audit2.c: Likewise.
41934 * elf/tst-global1.c: Likewise.
41935 * elf/tst-pathopt.c: Likewise.
41936 * elf/tst-piemod1.c: Likewise.
41937 * elf/tst-tls10.c: Likewise.
41938 * elf/tst-tls11.c: Likewise.
41939 * elf/tst-tls12.c: Likewise.
41940 * gnulib/tst-gcc.c: Likewise.
41941 * iconvdata/tst-e2big.c: Likewise.
41942 * iconvdata/tst-loading.c: Likewise.
41943 * iconv/tst-iconv1.c: Likewise.
41944 * iconv/tst-iconv2.c: Likewise.
41945 * inet/test-inet6_opt.c: Likewise.
41946 * inet/tst-gethnm.c: Likewise.
41947 * inet/tst-network.c: Likewise.
41948 * inet/tst-ntoa.c: Likewise.
41949 * intl/tst-codeset.c: Likewise.
41950 * intl/tst-gettext2.c: Likewise.
41951 * intl/tst-gettext3.c: Likewise.
41952 * intl/tst-ngettext.c: Likewise.
41953 * intl/tst-translit.c: Likewise.
41954 * io/test-stat.c: Likewise.
41955 * libio/test-fmemopen.c: Likewise.
41956 * libio/tst-freopen.c: Likewise.
41957 * libio/tst-sscanf.c: Likewise.
41958 * libio/tst-ungetwc1.c: Likewise.
41959 * libio/tst-ungetwc2.c: Likewise.
41960 * libio/tst-widetext.c: Likewise.
41961 * localedata/tst-ctype.c: Likewise.
41962 * localedata/tst-digits.c: Likewise.
41963 * localedata/tst-leaks.c: Likewise.
41964 * localedata/tst-mbswcs1.c: Likewise.
41965 * localedata/tst-mbswcs2.c: Likewise.
41966 * localedata/tst-mbswcs3.c: Likewise.
41967 * localedata/tst-mbswcs4.c: Likewise.
41968 * localedata/tst-mbswcs5.c: Likewise.
41969 * localedata/tst-setlocale.c: Likewise.
41970 * localedata/tst-trans.c: Likewise.
41971 * localedata/tst-wctype.c: Likewise.
41972 * localedata/tst-xlocale1.c: Likewise.
41973 * login/tst-grantpt.c: Likewise.
41974 * malloc/tst-calloc.c: Likewise.
41975 * malloc/tst-malloc.c: Likewise.
41976 * malloc/tst-mallocstate.c: Likewise.
41977 * malloc/tst-mcheck.c: Likewise.
41978 * malloc/tst-mtrace.c: Likewise.
41979 * malloc/tst-obstack.c: Likewise.
41980 * math/atest-exp2.c: Likewise.
41981 * math/atest-exp.c: Likewise.
41982 * math/atest-sincos.c: Likewise.
41983 * math/test-matherr.c: Likewise.
41984 * math/test-misc.c: Likewise.
41985 * math/test-powl.c: Likewise.
41986 * math/tst-definitions.c: Likewise.
41987 * misc/tst-dirname.c: Likewise.
41988 * misc/tst-efgcvt.c: Likewise.
41989 * misc/tst-fdset.c: Likewise.
41990 * misc/tst-hsearch.c: Likewise.
41991 * misc/tst-mntent2.c: Likewise.
41992 * nptl/tst-sem7.c: Likewise.
41993 * nptl/tst-sem8.c: Likewise.
41994 * nptl/tst-sem9.c: Likewise.
41995 * nss/test-netdb.c: Likewise.
41996 * posix/tst-fnmatch.c: Likewise.
41997 * posix/tst-getlogin.c: Likewise.
41998 * posix/tst-gnuglob.c: Likewise.
41999 * posix/tst-mmap.c: Likewise.
42000 * pwd/tst-getpw.c: Likewise.
42001 * resolv/tst-inet_ntop.c: Likewise.
42002 * rt/tst-timer.c: Likewise.
42003 * stdio-common/test-fseek.c: Likewise.
42004 * stdio-common/test-popen.c: Likewise.
42005 * stdio-common/test-vfprintf.c: Likewise.
42006 * stdio-common/tst-cookie.c: Likewise.
42007 * stdio-common/tst-fileno.c: Likewise.
42008 * stdio-common/tst-gets.c: Likewise.
42009 * stdio-common/tst-obprintf.c: Likewise.
42010 * stdio-common/tst-perror.c: Likewise.
42011 * stdio-common/tst-sprintf2.c: Likewise.
42012 * stdio-common/tst-sprintf3.c: Likewise.
42013 * stdio-common/tst-sprintf.c: Likewise.
42014 * stdio-common/tst-swprintf.c: Likewise.
42015 * stdio-common/tst-tmpnam.c: Likewise.
42016 * stdio-common/tst-unbputc.c: Likewise.
42017 * stdio-common/tst-wc-printf.c: Likewise.
42018 * stdlib/tst-environ.c: Likewise.
42019 * stdlib/tst-fmtmsg.c: Likewise.
42020 * stdlib/tst-limits.c: Likewise.
42021 * stdlib/tst-rand48-2.c: Likewise.
42022 * stdlib/tst-rand48.c: Likewise.
42023 * stdlib/tst-random2.c: Likewise.
42024 * stdlib/tst-random.c: Likewise.
42025 * stdlib/tst-strtol.c: Likewise.
42026 * stdlib/tst-strtoll.c: Likewise.
42027 * stdlib/tst-tls-atexit.c: Likewise.
42028 * stdlib/tst-xpg-basename.c: Likewise.
42029 * string/test-ffs.c: Likewise.
42030 * string/tst-bswap.c: Likewise.
42031 * string/tst-inlcall.c: Likewise.
42032 * string/tst-strtok.c: Likewise.
42033 * string/tst-strxfrm.c: Likewise.
42034 * sysdeps/x86_64/tst-audit10.c: Likewise.
42035 * sysdeps/x86_64/tst-audit3.c: Likewise.
42036 * sysdeps/x86_64/tst-audit4.c: Likewise.
42037 * sysdeps/x86_64/tst-audit5.c: Likewise.
42038 * time/tst-ftime_l.c: Likewise.
42039 * time/tst-getdate.c: Likewise.
42040 * time/tst-mktime3.c: Likewise.
42041 * time/tst-mktime.c: Likewise.
42042 * time/tst-posixtz.c: Likewise.
42043 * time/tst-strptime2.c: Likewise.
42044 * time/tst-strptime3.c: Likewise.
42045 * wcsmbs/tst-btowc.c: Likewise.
42046 * wcsmbs/tst-mbrtowc.c: Likewise.
42047 * wcsmbs/tst-mbsrtowcs.c: Likewise.
42048 * wcsmbs/tst-wchar-h.c: Likewise.
42049 * wcsmbs/tst-wcpncpy.c: Likewise.
42050 * wcsmbs/tst-wcrtomb.c: Likewise.
42051 * wcsmbs/tst-wcsnlen.c: Likewise.
42052 * wcsmbs/tst-wcstof.c: Likewise.
42053
42054 2014-11-04 Joseph Myers <joseph@codesourcery.com>
42055
42056 [BZ #14132]
42057 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
42058 INTDEF.
42059 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
42060 declaration.
42061 (_dl_mcount): Use rtld_hidden_proto.
42062 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
42063 _dl_mcount.
42064 * elf/rtld.c (_rtld_global_ro): Likewise.
42065
42066 [BZ #14132]
42067 * elf/dl-init.c (_dl_init): Don't use INTDEF.
42068 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
42069 of _dl_init_internal.
42070 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
42071 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
42072 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
42073 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
42074 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
42075 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
42076 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
42077 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
42078 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
42079 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
42080 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
42081 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
42082 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42083 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42084 * sysdeps/tile/dl-start.S (_start): Likewise.
42085 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
42086 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
42087
42088 [BZ #14132]
42089 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
42090 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
42091 (rtld_progname): Make macro definition unconditional.
42092 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
42093 INTDEF.
42094 (dlmopen_doit): Do not use INTUSE with _dl_argv.
42095 (dl_main): Likewise.
42096 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42097 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
42098 instead of _dl_argv_internal.
42099 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42100 __GI__dl_argv instead of INTUSE(_dl_argv).
42101 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
42102 __GI__dl_argv instead of _dl_argv_internal.
42103
42104 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
42105 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
42106 macro.
42107 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
42108 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
42109 New macro.
42110 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
42111 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
42112 macro.
42113 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
42114 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
42115
42116 2014-11-04 Andreas Schwab <schwab@suse.de>
42117
42118 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
42119
42120 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42121
42122 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
42123 mtvsrd instruction in binary form.
42124
42125 2014-11-03 Andreas Schwab <schwab@suse.de>
42126
42127 [BZ #17522]
42128 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
42129 for less than MB_LEN_MAX use a local buffer of that size.
42130 * libio/tst-fputws.c: New file.
42131 * libio/Makefile (tests): Add tst-fputws.
42132
42133 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
42134
42135 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
42136 the size of the fpu_fr.fpu_dregs[] array.
42137
42138 2014-11-01 Joseph Myers <joseph@codesourcery.com>
42139
42140 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
42141 (__nanosleep): Do not define as alias.
42142 (nanosleep): Define as alias of __nanosleep.
42143 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
42144 __libc_nanosleep name.
42145
42146 2014-10-31 Joseph Myers <joseph@codesourcery.com>
42147
42148 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
42149 install.texi in comment.
42150
42151 2014-10-31 Torvald Riegel <triegel@redhat.com>
42152
42153 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
42154 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
42155 ... add here and use lwsync or sync ...
42156 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42157 ... and add here using lwsync.
42158
42159 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
42160
42161 * elf/dl-machine-reject-phdr.h: New file.
42162 * elf/dl-load.c: #include that.
42163 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
42164 if that returned true.
42165
42166 2014-10-31 Roland McGrath <roland@hack.frob.com>
42167
42168 [BZ #17496]
42169 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
42170 gen-as-const-headers chunk. Add a big scare comment after the last
42171 safe place to touch before-compile.
42172
42173 2014-10-31 Joseph Myers <joseph@codesourcery.com>
42174
42175 * manual/install.texi (Tools for Compilation): Update autoconf
42176 version requirements.
42177 * INSTALL: Regenerated.
42178
42179 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
42180 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
42181 (__libc_pselect): Likewise.
42182
42183 [BZ #14138]
42184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
42185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42188
42189 2014-10-31 Torvald Riegel <triegel@redhat.com>
42190
42191 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
42192 correct barrier instruction.
42193 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
42194 Likewise.
42195 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
42196 Likewise.
42197
42198 2014-10-30 Roland McGrath <roland@hack.frob.com>
42199
42200 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
42201 after defining inlines. Instead, just use parens to defeat macro
42202 expansion of __isctype in its declaration.
42203
42204 2014-10-30 Joseph Myers <joseph@codesourcery.com>
42205
42206 * include/sys/uio.h (__libc_readv): Remove declaration.
42207 (__libc_writev): Likewise.
42208 * misc/readv.c (__libc_readv): Rename to __readv.
42209 (__readv): Do not define as alias.
42210 (readv): Define as alias of __readv.
42211 * misc/writev.c (__libc_writev): Rename to __writev.
42212 (__writev): Do not define as alias.
42213 (writev): Define as alias of __writev.
42214 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42215 (__readv): Do not define as alias.
42216 (readv): Define unconditionally as alias of __readv.
42217 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42218 (__writev): Do not define as alias.
42219 (writev): Define unconditionally as alias of __writev.
42220 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42221 name.
42222 (writev): Do not define __libc_writev name.
42223
42224 2014-10-30 Roland McGrath <roland@hack.frob.com>
42225
42226 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42227 (convert_charseq): New function, broken out of ...
42228 (use_from_charmap): ... here. Call it.
42229 (use_to_charmap): Use convert_charseq and free instead of duplicating
42230 its code with a variable-length stack struct.
42231
42232 2014-10-30 Joseph Myers <joseph@codesourcery.com>
42233
42234 * include/fcntl.h (__libc_creat): Remove declaration.
42235 * io/creat.c (__libc_creat): Rename to creat.
42236 (creat): Do not define as alias.
42237 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42238 of creat instead of __libc_creat.
42239 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42240 to creat.
42241 (creat): Do not define as alias.
42242 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42243 __libc_creat.
42244 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42245 __libc_creat name.
42246 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42247 Likewise.
42248
42249 2014-10-29 Carlos O'Donell <carlos@redhat.com>
42250
42251 * manual/llio.texi: Add comments discussing why write() may be
42252 considered MT-unsafe on Linux.
42253
42254 2014-10-28 Carlos O'Donell <carlos@redhat.com>
42255
42256 * dl-load.c (local_strdup): Remove.
42257 (expand_dynamic_string_token): Use __strdup.
42258 (decompose_rpath): Likewise.
42259 (_dl_map_object): Likewise.
42260
42261 2014-10-28 Joseph Myers <joseph@codesourcery.com>
42262
42263 [BZ #14132]
42264 * sysdeps/generic/unwind-dw2-fde.c
42265 (__register_frame_info_bases_internal): Do not declare.
42266 (__register_frame_info_table_bases_internal): Likewise.
42267 (__deregister_frame_info_bases_internal): Likewise.
42268 (__register_frame_info_bases): Declare and use hidden_proto before
42269 definition. Use hidden_def instead of INTDEF.
42270 (__register_frame_info_table_bases): Likewise.
42271 (__deregister_frame_info_bases): Likewise.
42272 (__register_frame_info): Do not use INTUSE.
42273 (__register_frame): Likewise.
42274 (__register_frame_info_table): Likewise.
42275 (__register_frame_table): Likewise.
42276 (__deregister_frame_info): Likewise.
42277 (__deregister_frame): Likewise.
42278
42279 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
42280
42281 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42282 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42283 not undefine.
42284 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42285 Likewise.
42286 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42287 Likewise.
42288
42289 2014-10-27 Joseph Myers <joseph@codesourcery.com>
42290
42291 [BZ #14138]
42292 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42293 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42294 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42295 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42296 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42297 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42298 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42299 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42300 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42301 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42302 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42303 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42304 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42305 syscall.
42306 (setfsuid): Likewise.
42307 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42308 (setfsuid): Likewise.
42309 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42310 (setfsuid): Likewise.
42311 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42312 Likewise.
42313 (setfsuid): Likewise.
42314 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42315 (setfsuid): Likewise.
42316 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42317 Likewise.
42318 (setfsuid): Likewise.
42319
42320 2014-10-27 Andreas Schwab <schwab@suse.de>
42321
42322 [BZ #17501]
42323 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42324 check for Slow_SSE4_2 feature bit.
42325 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42326 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42327 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42328 Likewise. Fix check for Fast_Unaligned_Load feature bit.
42329
42330 2014-10-24 Roland McGrath <roland@hack.frob.com>
42331
42332 * configure.ac: Validate compiler version with a empirical test of
42333 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42334 $CC -v output.
42335 * configure: Regenerated.
42336
42337 * inet/htons.c (htons): Prototypify.
42338 * inet/htonl.c (htonl): Likewise.
42339
42340 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
42341
42342 * string/strncat.c (strncat): Improve performance by using strlen.
42343
42344 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
42345
42346 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42347
42348 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
42349
42350 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42351 Call libc_fetestexcept_aarch64.
42352
42353 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
42354
42355 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42356 Call libc_feholdexcept_aarch64.
42357
42358 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
42359
42360 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42361 Call get_rounding_mode.
42362
42363 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
42364
42365 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42366 Simplify logic.
42367
42368 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
42369
42370 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42371 Simplify logic.
42372
42373 2014-10-24 Joseph Myers <joseph@codesourcery.com>
42374
42375 [BZ #14138]
42376 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42377 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42378 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42379 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42380 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42381 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42382 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42383 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42384 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42385 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42386 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42387 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42388 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42389 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42390 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42391 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
42392 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
42393 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
42394 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
42395 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
42396 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
42397 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
42398 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42399 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
42400 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
42401 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
42402 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
42403 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42404 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
42405 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
42406 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
42407 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
42408 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
42409 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
42410 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
42411 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
42412 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
42413 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
42414 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
42415 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
42416 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
42417 syscall.
42418 (geteuid): Likewise.
42419 (getgid): Likewise.
42420 (getuid): Likewise.
42421 (getresgid): Likewise.
42422 (getresuid): Likewise.
42423 (getgroups): Likewise.
42424 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
42425 (geteuid): Likewise.
42426 (getgid): Likewise.
42427 (getuid): Likewise.
42428 (getresgid): Likewise.
42429 (getresuid): Likewise.
42430 (getgroups): Likewise.
42431 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
42432 (geteuid): Likewise.
42433 (getgid): Likewise.
42434 (getuid): Likewise.
42435 (getresgid): Likewise.
42436 (getresuid): Likewise.
42437 (getgroups): Likewise.
42438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
42439 Likewise.
42440 (geteuid): Likewise.
42441 (getgid): Likewise.
42442 (getuid): Likewise.
42443 (getresgid): Likewise.
42444 (getresuid): Likewise.
42445 (getgroups): Likewise.
42446 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
42447 (geteuid): Likewise.
42448 (getgid): Likewise.
42449 (getuid): Likewise.
42450 (getresgid): Likewise.
42451 (getresuid): Likewise.
42452 (getgroups): Likewise.
42453 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
42454 Likewise.
42455 (geteuid): Likewise.
42456 (getgid): Likewise.
42457 (getuid): Likewise.
42458 (getgroups): Likewise.
42459
42460 [BZ #14138]
42461 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
42462 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
42463 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
42464 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42465 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
42466 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
42467 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
42468 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
42469 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
42470 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
42471 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
42472 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
42473 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
42474 __chown.
42475 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
42476 (lchown): Likewise.
42477 (fchown): Likewise.
42478 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
42479 Likewise.
42480 (lchown): Likewise.
42481 (fchown): Likewise.
42482 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
42483 (lchown): Likewise.
42484 (fchown): Likewise.
42485 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
42486 Likewise.
42487 (lchown): Likewise.
42488 (fchown): Likewise.
42489
42490 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
42491
42492 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
42493 Simplify logic.
42494
42495 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
42496
42497 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42498 Cleanup logic.
42499
42500 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
42501
42502 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42503 Remove unused include.
42504
42505 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
42506
42507 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
42508 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
42509 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
42510 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
42511
42512 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
42513 Helge Deller <deller@gmx.de>
42514
42515 [BZ #17508]
42516 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
42517 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
42518 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
42519
42520 2014-10-23 Joseph Myers <joseph@codesourcery.com>
42521
42522 [BZ #14132]
42523 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
42524 Remove macro definition.
42525 (__ashrdi3_v_glibc20): Likewise.
42526 (__lshrdi3_v_glibc20): Likewise.
42527 (__cmpdi2_v_glibc20): Likewise.
42528 (__ucmpdi2_v_glibc20): Likewise.
42529 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
42530 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42531 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42532 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42533 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42534 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
42535
42536 2014-10-22 Roland McGrath <roland@hack.frob.com>
42537
42538 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42539 old GNU extension [0] syntax.
42540 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42541 alloca rather than an array member with variable length.
42542 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42543 * nscd/nscd.c (invalidate_db): New function, broken out of ...
42544 (parse_opt): ... here. Likewise use alloca there.
42545 Validate the -i argument before checking for rootness.
42546 (send_shutdown): New function, broken out of ...
42547 (parse_opt): ... here.
42548
42549 2014-10-22 Roland McGrath <roland@hack.frob.com>
42550
42551 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42552 macro to get at the _rt_local_ro field.
42553 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42554 ([PIC] case) or _dl_hwcap ([!PIC] case).
42555 * sysdeps/arm/setjmp.S: Likewise.
42556
42557 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42558 * sysdeps/arm/configure.ac: New check to define it.
42559 * sysdeps/arm/configure: Regenerated.
42560 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42561 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42562 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42563 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42564 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42565 Use move/movt pair instead of a load.
42566 (LDST_GLOBAL): Macro removed.
42567 (LDR_GLOBAL): New macro replaces it.
42568 (LDR_HIDDEN): New macro.
42569 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42570 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42571
42572 * setjmp/tst-setjmp-static.c: New file.
42573 * setjmp/Makefile (tests): Add it.
42574 (tests-static): New variable.
42575
42576 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
42577
42578 [BZ #17485]
42579 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42580
42581 2014-10-21 Joseph Myers <joseph@codesourcery.com>
42582
42583 [BZ #14132]
42584 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42585
42586 2014-10-21 Roland McGrath <roland@hack.frob.com>
42587
42588 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42589
42590 2014-10-20 Roland McGrath <roland@hack.frob.com>
42591
42592 * io/fts.c (dirent_not_directory): New function.
42593 (fts_build): Call it.
42594
42595 2014-10-20 Roland McGrath <roland@hack.frob.com>
42596
42597 * nptl/version.c (__nptl_main): Use normal __write rather than
42598 INTERNAL_SYSCALL.
42599 (banner): Update copyright years.
42600
42601 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42602 gettimeofday.
42603 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42604 * nptl/pthread_cond_timedwait.c: Likewise.
42605 * nptl/pthread_mutex_timedlock.c: Likewise.
42606 * nptl/sem_timedwait.c: Likewise.
42607
42608 * sysdeps/nptl/bits/libc-lock.h
42609 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42610 (__libc_lock_init_recursive): Return void, not 0.
42611 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42612 (__libc_rwlock_init): Likewise.
42613 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42614
42615 2014-10-20 Torvald Riegel <triegel@redhat.com>
42616
42617 [BZ #15215]
42618 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42619 (__pthread_once_slow): ... here.
42620 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42621 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42622
42623 2014-10-20 Torvald Riegel <triegel@redhat.com>
42624
42625 [BZ #15215]
42626 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42627 __PTHREAD_ONCE_FORK_GEN_INCR): New.
42628 * sysdeps/nptl/fork.c (__libc_fork): Use them.
42629 * nptl/pthread_once.c (__pthread_once): Likewise.
42630 Update comments.
42631
42632 2014-10-20 Joseph Myers <joseph@codesourcery.com>
42633
42634 [BZ #14138]
42635 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42636 name.
42637 (writev): Use __libc_writev as strong name.
42638 * sysdeps/unix/sysv/linux/readv.c: Remove file.
42639 * sysdeps/unix/sysv/linux/writev.c: Likewise.
42640
42641 2014-10-17 Roland McGrath <roland@hack.frob.com>
42642
42643 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42644
42645 * sysdeps/i386/nptl/tls.h
42646 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42647 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42648 New macros.
42649 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42650 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42651 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42652 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42653 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42654 Call CHECK_THREAD_SYSINFO instead of doing an assert.
42655
42656 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42657 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42658 on [__NR_futex].
42659 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42660 broken out of ...
42661 (__pthread_mutex_init): ... here. Call it.
42662 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42663 Conditionalize PI cases on [__NR_futex].
42664 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42665 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42666 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42667
42668 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42669 conditional on [SIGSETXID].
42670 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42671 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42672 is defined. Likewise for SIGSETXID.
42673 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42674 Conditionalize definitions on [SIGSETXID].
42675 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42676 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42677 unblocking on [SIGCANCEL].
42678
42679 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42680 [__NR_set_robust_list].
42681
42682 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42683
42684 * string/strcoll_l.c (get_next_seq): Fix up formatting.
42685 (do_compare): Likewise.
42686
42687 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
42688
42689 [BZ #15884]
42690 * string/strcoll_l.c: Don't include stdio.h.
42691 (coll_seq): Remove members idxarr and rulearr.
42692 (get_next_seq_cached): Remove function.
42693 (get_next_seq): Likewise.
42694 (get_next_seq_nocache): Rename to get_next_seq.
42695 (do_compare): Remove function.
42696 (do_compare_nocache): Rename to do_compare.
42697 (STRCOLL): Remove weight and rules cache.
42698
42699 2014-10-16 Roland McGrath <roland@hack.frob.com>
42700
42701 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42702 * sysdeps/arm/sfp-machine.h: ... to here.
42703 * sysdeps/arm/Implies: Remove arm/soft-fp.
42704
42705 2014-10-14 Joseph Myers <joseph@codesourcery.com>
42706
42707 * conform/data/sys/utsname.h-data (*_t): Allow.
42708 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42709 [POSIX] (WEXITED): Do not expect constant.
42710 [POSIX] (WSTOPPED): Likewise.
42711 [POSIX] (WNOHANG): Likewise.
42712 [POSIX] (WNOWAIT): Likewise.
42713 [POSIX] (siginfo_t): Do not expect type or elements.
42714 [POSIX] (pid_t): Do not expect type.
42715 [POSIX] (signal.h): Do not allow header.
42716 [POSIX] (sys/resource.h): Likewise.
42717 [POSIX] (si_*): Do not allow pattern.
42718 [POSIX] (W*): Likewise.
42719 [POSIX] (P_*): Likewise.
42720 [POSIX] (BUS_*): Likewise.
42721 [POSIX] (CLD_*): Likewise.
42722 [POSIX] (FPE_*): Likewise.
42723 [POSIX] (ILL_*): Likewise.
42724 [POSIX] (POLL_*): Likewise.
42725 [POSIX] (SEGV_*): Likewise.
42726 [POSIX] (SI_*): Likewise.
42727 [POSIX] (TRAP_*): Likewise.
42728 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42729 variable.
42730
42731 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
42732
42733 [BZ #12926]
42734 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42735 infinite loop when __recvmsg returns 0.
42736
42737 2014-10-10 Joseph Myers <joseph@codesourcery.com>
42738
42739 * CANCEL-FCT-WAIVE: Remove file.
42740 * CANCEL-FILE-WAIVE: Likewise.
42741
42742 [BZ #14132]
42743 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42744 instead of INTVARDEF.
42745 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42746 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42747 rtld_hidden_data_def instead of INTVARDEF.
42748 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42749 * elf/dl-deps.c (expand_dst): Likewise.
42750 * elf/dl-load.c (_dl_dst_count): Likewise.
42751 (_dl_dst_substitute): Likewise.
42752 (decompose_rpath): Likewise.
42753 (_dl_init_paths): Likewise.
42754 (open_path): Likewise.
42755 (_dl_map_object): Likewise.
42756 * elf/rtld.c (dl_main): Likewise.
42757 (process_dl_audit): Likewise.
42758 (process_envvars): Likewise.
42759 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42760 Remove declaration.
42761 (__libc_enable_secure): Use rtld_hidden_proto.
42762
42763 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
42764
42765 * elf/dl-load.c
42766 (add_path): New function broken out of _dl_rtld_di_serinfo.
42767 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
42768
42769 2014-10-09 Joseph Myers <joseph@codesourcery.com>
42770
42771 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42772 parentheses around macro arguments.
42773 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42774 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42775 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42776 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42777 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42778 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42779 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42781 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42782 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42783 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42784 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42785 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42786 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42787 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42788 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42789 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42790 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42792 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42794 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42795 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42796 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42797 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42799 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42800 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42801 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42802 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42803 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42804 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42805 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42806 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42807 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42808 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42809 Likewise.
42810 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42811 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42812 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42813 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42815 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42817 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42818 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42819 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42820 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42821 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42822 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42823 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42824 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42827 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42828 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42830 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42831 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42832 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42833 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42834 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42835 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42836 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42837 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42838 (_FP_FRAC_SRS_1): Likewise.
42839 (_FP_FRAC_CLZ_1): Likewise.
42840 (_FP_MUL_MEAT_1_imm): Likewise.
42841 (_FP_MUL_MEAT_1_wide): Likewise.
42842 (_FP_MUL_MEAT_1_hard): Likewise.
42843 (_FP_SQRT_MEAT_1): Likewise.
42844 (_FP_FRAC_ASSEMBLE_1): Likewise.
42845 (_FP_FRAC_DISASSEMBLE_1): Likewise.
42846 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42847 (__FP_CLZ_2): Likewise.
42848 (_FP_MUL_MEAT_2_wide): Likewise.
42849 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42850 (_FP_MUL_MEAT_2_gmp): Likewise.
42851 (_FP_MUL_MEAT_2_120_240_double): Likewise.
42852 (_FP_SQRT_MEAT_2): Likewise.
42853 (_FP_FRAC_ASSEMBLE_2): Likewise.
42854 (_FP_FRAC_DISASSEMBLE_2): Likewise.
42855 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42856 (_FP_FRAC_CLZ_4): Likewise.
42857 (_FP_MUL_MEAT_4_wide): Likewise.
42858 (_FP_MUL_MEAT_4_gmp): Likewise.
42859 (_FP_SQRT_MEAT_4): Likewise.
42860 (_FP_FRAC_ASSEMBLE_4): Likewise.
42861 (_FP_FRAC_DISASSEMBLE_4): Likewise.
42862 * soft-fp/op-common.h (_FP_CMP): Likewise.
42863 (_FP_CMP_EQ): Likewise.
42864 (_FP_CMP_UNORD): Likewise.
42865 (_FP_TO_INT): Likewise.
42866 (_FP_FROM_INT): Likewise.
42867 [!__FP_CLZ] (__FP_CLZ): Likewise.
42868 (_FP_DIV_HELP_imm): Likewise.
42869 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42870 Likewise.
42871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42872 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42874 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42875 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42876 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42877 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42878 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42879 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42880 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42881 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42882 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42883 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42884 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42885 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42886 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42887 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42888 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42890 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42891 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42892 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42893 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42894 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42895 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42896 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42897 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42898 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42899 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42900 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42901 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42902 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42903 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42904 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42905 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42906 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42907 (FP_UNPACK_RAW_SP): Likewise.
42908 (FP_PACK_RAW_S): Likewise.
42909 (FP_PACK_RAW_SP): Likewise.
42910 (FP_UNPACK_S): Likewise.
42911 (FP_UNPACK_SP): Likewise.
42912 (FP_UNPACK_SEMIRAW_S): Likewise.
42913 (FP_UNPACK_SEMIRAW_SP): Likewise.
42914 (FP_PACK_S): Likewise.
42915 (FP_PACK_SP): Likewise.
42916 (FP_PACK_SEMIRAW_S): Likewise.
42917 (FP_PACK_SEMIRAW_SP): Likewise.
42918 (_FP_SQRT_MEAT_S): Likewise.
42919 (FP_CMP_S): Likewise.
42920 (FP_CMP_EQ_S): Likewise.
42921 (FP_CMP_UNORD_S): Likewise.
42922 (FP_TO_INT_S): Likewise.
42923 (FP_FROM_INT_S): Likewise.
42924
42925 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42926
42927 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42928 (FP_EX_INVALID_IMZ): Likewise.
42929 (FP_EX_INVALID_IMZ_FMA): Likewise.
42930 (FP_EX_INVALID_ISI): Likewise.
42931 (FP_EX_INVALID_ZDZ): Likewise.
42932 (FP_EX_INVALID_IDI): Likewise.
42933 (FP_EX_INVALID_SQRT): Likewise.
42934 (FP_EX_INVALID_CVI): Likewise.
42935 (FP_EX_INVALID_VC): Likewise.
42936 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42937 "invalid" exceptions.
42938 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42939 (_FP_ADD_INTERNAL): Likewise.
42940 (_FP_MUL): Likewise.
42941 (_FP_FMA): Likewise.
42942 (_FP_DIV): Likewise.
42943 (_FP_CMP_CHECK_NAN): Likewise.
42944 (_FP_SQRT): Likewise.
42945 (_FP_TO_INT): Likewise.
42946 (FP_EXTEND): Likewise.
42947
42948 2014-10-09 Allan McRae <allan@archlinux.org>
42949
42950 * po/fr.po: Update French translation from translation project.
42951
42952 2014-10-09 Joseph Myers <joseph@codesourcery.com>
42953
42954 [BZ #14132]
42955 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42956 of INTDEF.
42957 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42958 (__cxa_atexit): Use libc_hidden_proto.
42959 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42960
42961 [BZ #14132]
42962 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42963 declaration.
42964 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42965 [!_ISOMAC] (__iswspace_l_internal): Likewise.
42966 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42967 [!_ISOMAC] (__iswctype_internal): Likewise.
42968 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42969 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42970 alias.
42971 (fcntl): Remove __fcntl_internal alias.
42972 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42973 __connect_internal alias.
42974 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42975 Likewise.
42976
42977 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42978 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42979 FP_DENORM_ZERO.
42980 (_FP_CHECK_FLUSH_ZERO): New macro.
42981 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42982 (_FP_CMP): Likewise.
42983 (_FP_CMP_EQ): Likewise.
42984 (_FP_TO_INT): Do not set inexact for subnormal arguments if
42985 FP_DENORM_ZERO.
42986 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42987 (FP_TRUNC): Likewise.
42988
42989 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42990 treated as invalid conversion, not as normal exponent.
42991
42992 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42993 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
42994 (_FP_CMP_EQ): Likewise.
42995 (_FP_CMP_UNORD): Likewise.
42996 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42997 (FP_CMP_EQ_D): Likewise.
42998 (FP_CMP_UNORD_D): Likewise.
42999 * soft-fp/extended.h (FP_CMP_E): Likewise.
43000 (FP_CMP_EQ_E): Likewise.
43001 (FP_CMP_UNORD_E): Likewise.
43002 * soft-fp/quad.h (FP_CMP_Q): Likewise.
43003 (FP_CMP_EQ_Q): Likewise.
43004 (FP_CMP_UNORD_Q): Likewise.
43005 * soft-fp/single.h (FP_CMP_S): Likewise.
43006 (FP_CMP_EQ_S): Likewise.
43007 (FP_CMP_UNORD_S): Likewise.
43008 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
43009 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
43010 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
43011 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
43012 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
43013 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
43014 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
43015 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
43016 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
43017 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
43018 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
43019 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
43020 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
43021 to FP_CMP_Q.
43022 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
43023 FP_CMP_Q.
43024 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
43025 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
43026 FP_CMP_EQ_Q.
43027 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
43028 FP_CMP_Q.
43029 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
43030 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
43031 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
43032 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
43033 FP_CMP_EQ_Q.
43034 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
43035 FP_CMP_Q.
43036 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
43037 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
43038 FP_CMP_EQ_Q.
43039 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
43040 FP_CMP_Q.
43041 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
43042 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
43043 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
43044 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
43045 FP_CMP_EQ_Q.
43046
43047 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
43048 a subnormal result, set the underflow exception if trapping on
43049 underflow is enabled.
43050 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
43051 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
43052 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
43053 redefine to 0.
43054 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
43055 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43056 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43057 * soft-fp/extendxftf2.c (__extendxftf2): Use
43058 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
43059
43060 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
43061 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
43062 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43063 FP_HANDLE_EXCEPTIONS.
43064 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
43065 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43066 FP_HANDLE_EXCEPTIONS.
43067 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
43068 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43069 FP_HANDLE_EXCEPTIONS.
43070 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
43071 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43072 FP_HANDLE_EXCEPTIONS.
43073
43074 2014-10-08 Joseph Myers <joseph@codesourcery.com>
43075
43076 [BZ #14132]
43077 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
43078 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
43079 use INTUSE.
43080 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
43081 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
43082 Remove alias.
43083 (__adjtimex): Define using libc_hidden_ver.
43084 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
43085 Remove declaration.
43086 (ntp_gettime): Call __adjtimex directly.
43087 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
43088 Remove declaration.
43089 (ntp_gettimex): Call __adjtimex directly.
43090 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
43091 __adjtimex_internal alias.
43092
43093 2014-10-08 Roland McGrath <roland@hack.frob.com>
43094
43095 [BZ #17460]
43096 * nscd/nscd.c (more_help): Rewrite list of tables collection
43097 using xstrdup and asprintf.
43098
43099 * nscd/nscd_conf.c: Remove local xstrdup declaration.
43100
43101 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43102 Roland McGrath <roland@hack.frob.com>
43103
43104 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
43105 (do_lookup_unique): ... local function 'enter' here; update callers.
43106
43107 2014-10-06 Joseph Myers <joseph@codesourcery.com>
43108
43109 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
43110 compat_symbol calls on [SHARED].
43111 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
43112 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
43113 Remove.
43114 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43115 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
43116 (oldsetrlimit): Remove.
43117 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43119 (lchown): New syscall entry.
43120 (oldsetrlimit): Remove.
43121 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43122 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
43123 (oldsetrlimit): Remove.
43124 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43125
43126 [BZ #14138]
43127 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
43128 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
43129 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
43130 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
43131 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43132 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
43133 (fchown): Likewise.
43134 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
43135 (fchown): Likewise.
43136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
43137 Likewise.
43138
43139 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43140
43141 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
43142 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
43143 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
43144 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
43145 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
43146 Likewise.
43147 (__old_sem_post): Likewise.
43148
43149 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
43150
43151 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
43152 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
43153 HAVE_CLOCK_GETTIME_VSYSCALL macros.
43154 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
43155 Use INLINE_VSYSCALL macro.
43156 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
43157 __vdso_clock_gettime.
43158 * sysdeps/unix/sysv/linux/tile/init-first.c
43159 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
43160 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
43161 __vdso_clock_gettime.
43162
43163 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
43164 to set up frame more cleanly.
43165
43166 * sysdeps/tile/memcmp.c: New file.
43167
43168 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
43169
43170 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
43171 * sysdeps/tile/tilegx/strcasestr.c: New file.
43172 * sysdeps/tile/tilegx/strnlen.c: New file.
43173 * sysdeps/tile/tilegx/strstr.c: New file.
43174
43175 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
43176
43177 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
43178
43179 * nptl/tst-setuid3.c: Write errors to stdout.
43180
43181 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43182
43183 * elf/dl-deps.c
43184 (preload): New functions broken out of _dl_map_object_deps.
43185 (_dl_map_object_deps): Remove a nested function. Update call sites.
43186
43187 2014-10-01 Joseph Myers <joseph@codesourcery.com>
43188
43189 [BZ #14138]
43190 * sysdeps/unix/sysv/linux/execve.c: Remove file.
43191 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
43192
43193 2014-10-01 Steve Ellcey <sellcey@mips.com>
43194
43195 * sysdeps/mips/strcmp.S: New.
43196
43197 2014-09-30 Joseph Myers <joseph@codesourcery.com>
43198
43199 [BZ #14138]
43200 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
43201 (linkat): Likewise.
43202 (mkdirat): Likewise.
43203 (readlinkat): Likewise.
43204 (renameat): Likewise.
43205 (symlinkat): Likewise.
43206 (unlinkat): Likewise.
43207 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
43208 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
43209 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
43210 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43211 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43212 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43213 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43214
43215 2014-09-30 Will Newton <will.newton@linaro.org>
43216
43217 * math/math.h: Define long double math functions if
43218 _LIBC_TEST is defined.
43219 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43220
43221 * localedata/Makefile: Move assignment to tests-special
43222 into an ifdef testing run-built-tests.
43223 * timezone/Makefile: Likewise.
43224
43225 2014-09-29 Joseph Myers <joseph@codesourcery.com>
43226
43227 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43228 with $(BASH) not $(SHELL).
43229
43230 2014-09-29 Carlos O'Donell <carlos@redhat.com>
43231 Matthew LeGendre <legendre1@llnl.gov>
43232
43233 [BZ #17411]
43234 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43235 l_reloc_result.
43236
43237 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43238
43239 * stdio-common/printf_fp.c
43240 (hack_digit): New function, broken out of ...
43241 (__printf_fp): ... local function here. Update call sites.
43242 hack_digit now takes an additional parameter that is a pointer
43243 to a struct of the referenced locals. Those locals moved inside
43244 the struct and references updated.
43245
43246 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
43247
43248 * aclocal.m4: Require autoconf 2.69.
43249 * configure: Regenerated.
43250 * sysdeps/aarch64/configure: Likewise.
43251 * sysdeps/alpha/configure: Likewise.
43252 * sysdeps/arm/armv7/configure: Likewise.
43253 * sysdeps/arm/configure: Likewise.
43254 * sysdeps/ia64/configure: Likewise.
43255 * sysdeps/mach/configure: Likewise.
43256 * sysdeps/mips/configure: Likewise.
43257 * sysdeps/s390/configure: Likewise.
43258 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43260
43261 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43262 file.
43263 * sysdeps/ia64/configure.ac: Likewise.
43264
43265 2014-09-26 Joseph Myers <joseph@codesourcery.com>
43266
43267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43268 specify symbol version for ld.so. Do not include entry for
43269 libpthread.
43270 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43271 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43272 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43273
43274 [BZ #14171]
43275 * Makeconfig [$(build-shared) = yes]
43276 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43277 makefiles.
43278 [$(build-shared) = yes && $(soversions.mk-done) = t]
43279 ($(common-objpfx)gnu/lib-names.h): Remove rule.
43280 [$(build-shared) = yes && $(soversions.mk-done) = t]
43281 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
43282 to Makerules.
43283 [$(build-shared) = yes && $(soversions.mk-done) = t]
43284 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43285 here.
43286 [$(build-shared) = yes && $(soversions.mk-done) = t]
43287 (common-generated): Don't append gnu/lib-names.h and
43288 gnu/lib-names.stmp here.
43289 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43290 (lib-names-h-abi): New variable.
43291 [$(build-shared) = yes && $(soversions.mk-done) = t]
43292 (lib-names-stmp-abi): Likewise.
43293 [$(build-shared) = yes && $(soversions.mk-done) = t &&
43294 abi-variants] (before-compile): Append
43295 $(common-objpfx)$(lib-names-h-abi).
43296 [$(build-shared) = yes && $(soversions.mk-done) = t &&
43297 abi-variants] (common-generated): Append gnu/lib-names.h.
43298 [$(build-shared) = yes && $(soversions.mk-done) = t &&
43299 abi-variants] (install-others-nosubdir): Depend on
43300 $(inst_includedir)/$(lib-names-h-abi).
43301 [$(build-shared) = yes && $(soversions.mk-done) = t &&
43302 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43303 [$(build-shared) = yes && $(soversions.mk-done) = t]
43304 ($(common-objpfx)$(lib-names-h-abi)): New rule.
43305 [$(build-shared) = yes && $(soversions.mk-done) = t]
43306 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43307 [$(build-shared) = yes && $(soversions.mk-done) = t]
43308 (common-generated): Append $(lib-names-h-abi) and
43309 $(lib-names-stmp-abi).
43310 * scripts/lib-names.awk: Do not handle multi being set.
43311 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43312 Remove variable.
43313 (abi-lp64_be-ld-soname): Likewise.
43314 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43315 Likewise.
43316 (abi-hard-ld-soname): Likewise.
43317 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43318 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43319 Remove variable.
43320 (abi-o32_hard-ld-soname): Likewise.
43321 (abi-o32_soft_2008-ld-soname): Likewise.
43322 (abi-o32_hard_2008-ld-soname): Likewise.
43323 (abi-n32_soft-ld-soname): Likewise.
43324 (abi-n32_hard-ld-soname): Likewise.
43325 (abi-n32_soft_2008-ld-soname): Likewise.
43326 (abi-n32_hard_2008-ld-soname): Likewise.
43327 (abi-n64_soft-ld-soname): Likewise.
43328 (abi-n64_hard-ld-soname): Likewise.
43329 (abi-n64_soft_2008-ld-soname): Likewise.
43330 (abi-n64_hard_2008-ld-soname): Likewise.
43331 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43332 Likewise.
43333 (abi-64-v2-ld-soname): Likewise.
43334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43335 ld.so entries.
43336 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43337 variable.
43338 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43339 entry.
43340 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43341 variable.
43342 (abi-64-ld-soname): Likewise.
43343 (abi-x32-ld-soname): Likewise.
43344 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43345 entry.
43346 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43347
43348 2014-09-23 Joseph Myers <joseph@codesourcery.com>
43349
43350 [BZ #14138]
43351 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43352 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43353 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43354 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43355 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43356 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43357 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43358 syscall entry for GLIBC_2.2 symbol version.
43359 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43360 Likewise.
43361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43362 (setrlimit): Likewise.
43363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43364 Likewise.
43365
43366 2014-09-23 Will Newton <will.newton@linaro.org>
43367
43368 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43369 _LINUX_ARM_SYSDEP_H include guard too.
43370 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43371 define.
43372
43373 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
43374
43375 * sysdeps/unix/sysv/linux/eventfd.c:
43376 Make first argument unsigned.
43377 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43378 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43379
43380 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
43381
43382 [BZ #16852]
43383 * socket/recvmmsg.c (recvmmsg): Drop const argument.
43384 * socket/sys/socket.h: Likewise.
43385 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43386
43387 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43388
43389 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43390
43391 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
43392
43393 * time/tst-ftime.c: New test.
43394 * time/Makefile (tests): Add tst-ftime.
43395
43396 2014-09-17 Joseph Myers <joseph@codesourcery.com>
43397
43398 * soft-fp/extended.h: Fix comment formatting.
43399 * soft-fp/op-1.h: Likewise.
43400 * soft-fp/op-2.h: Likewise.
43401 * soft-fp/op-4.h: Likewise.
43402 * soft-fp/op-8.h: Likewise.
43403 * soft-fp/op-common.h: Likewise.
43404 * soft-fp/soft-fp.h: Likewise.
43405
43406 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
43407
43408 2014-09-16 Joseph Myers <joseph@codesourcery.com>
43409
43410 [BZ #6652]
43411 * Makeconfig (soversions-default-setname): Remove variable.
43412 ($(common-objpfx)soversions.i): Don't pass default_setname to
43413 soversions.awk.
43414 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
43415 oldest_abi to abi-versions.awk.
43416 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
43417 * config.make.in (oldest-abi): Remove variable.
43418 * configure.ac (--enable-oldest-abi): Remove configure option.
43419 * configure: Regenerated.
43420 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
43421 text.
43422 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
43423 * scripts/soversions.awk: Do not handle default_setname variable.
43424 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
43425 variable.
43426 * sysdeps/mach/hurd/configure: Regenerated.
43427 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
43428 variable.
43429 * sysdeps/unix/sysv/linux/configure: Regenerated.
43430
43431 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43432
43433 * elf/Makefile (CFLAGS-interp.c): Remove.
43434 ($(elf-objpfx)runtime-linker.h): Generate header with linker
43435 path string.
43436 * elf/interp.c: Include generated runtime-linker.h
43437
43438 * Makerules (lib%.so): Don't include $(+interp) in
43439 prerequisites.
43440 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
43441 * dlfcn/eval.c: Remove file.
43442
43443 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
43444 macros.
43445
43446 [BZ #17266]
43447 * misc/sys/cdefs.h: Define __extern_always_inline for clang
43448 4.2 and newer.
43449
43450 [BZ #17370]
43451 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
43452
43453 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43454 Jakub Jelinek <jakub@redhat.com>
43455
43456 [BZ #17266]
43457 * libio/stdio.h: Check definition of __fortify_function
43458 instead of __extern_always_inline to include bits/stdio2.h.
43459 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
43460 check if __extern_always_inline is defined.
43461 [__USE_MISC || __USE_XOPEN]: Likewise.
43462 [__USE_ISOC99] Likewise.
43463 * misc/sys/cdefs.h (__fortify_function): Define only if
43464 __extern_always_inline is defined.
43465 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
43466 __extern_always_inline and __extern_inline only for g++-4.3
43467 and newer or a compatible gcc.
43468
43469 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
43470
43471 [BZ #17371]
43472 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43473 last change to handle zero prefix length.
43474
43475 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
43476
43477 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
43478 _SC_REGEX_VERSION.
43479
43480 * posix/getconf.c (vars): Add _POSIX_IPV6 and
43481 _POSIX_RAW_SOCKETS.
43482
43483 2014-09-13 Allan McRae <allan@archlinux.org>
43484
43485 * po/ru.po: Update Russian translation from translation project.
43486
43487 2014-09-12 Roland McGrath <roland@hack.frob.com>
43488
43489 * locale/programs/locale.c (show_locale_vars): Inline local function
43490 into its sole call site. Clean up some style nits.
43491 (print_item): New function, broken out of ...
43492 (show_info): ... local function here. Clean up style nits.
43493
43494 * locale/programs/ld-ctype.c (set_one_default): New function, broken
43495 out of ...
43496 (set_class_defaults): ... local function set_default here.
43497 Define set_default as a macro locally to pass constant parameters.
43498 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
43499 rather than a shared local.
43500
43501 * stdlib/rpmatch.c (try): New function, broken out of ...
43502 (rpmatch): ... local function here. Also, prototypify definition.
43503
43504 2014-09-12 Joseph Myers <joseph@codesourcery.com>
43505
43506 * scripts/soversions.awk: Do not handle configuration names.
43507 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
43508 vendor and os variables to soversions.awk.
43509 * configure.ac: Do not modify gnu-* host_os.
43510 * configure: Regenerated
43511 * shlib-versions: Remove first column with configuration names.
43512 * nptl/shlib-versions: Likewise.
43513 * nptl_db/shlib-versions: Likewise.
43514 * sysdeps/hppa/shlib-versions: Likewise.
43515 * sysdeps/m68k/shlib-versions: Likewise.
43516 * sysdeps/mach/hurd/shlib-versions: Likewise.
43517 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
43518 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
43519 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
43520 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
43521 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
43522 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
43523 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
43524 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
43525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43526 Likewise.
43527 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43528 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43529 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43530 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43531 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43532 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
43533 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43534 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43535
43536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43537 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
43538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43539 Regenerated.
43540 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43542 Condition symbol version definitions on [HAVE_ELFV2_ABI].
43543
43544 * shlib-versions: Remove OS-specific entries. Moved to files in
43545 sysdeps.
43546 * sysdeps/mach/hurd/shlib-versions: New file.
43547 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43548
43549 * nptl/shlib-versions: Remove architecture-specific entries.
43550 Moved to files in sysdeps.
43551 * shlib-versions: Likewise.
43552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43553 file.
43554 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43555 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43556 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43557 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43558
43559 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43560 (UDP_NO_CHECK6_RX): Likewise.
43561
43562 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43563
43564 * sysdeps/posix/sysconf.c (__sysconf): Spell
43565 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43566
43567 2014-08-12 Florian Weimer <fweimer@redhat.com>
43568
43569 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43570 loading.
43571 * iconv/Versions (__gconv_transliterate): Export for use from
43572 gconv modules.
43573 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43574 (struct __gconv_trans_data, __gconv_trans_fct,
43575 __gconv_trans_context_fct, __gconv_trans_query_fct,
43576 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43577 definitions.
43578 (struct __gconv_step_data): Remove __trans member.
43579 (__gconv_transliterate): Declaration moved from gconv_int.h. No
43580 longer hidden. Remove unused trans_data argument.
43581 * iconv/gconv_int.h (struct trans_struct): Remove definition.
43582 (__gconv_translit_find): Remove declaration.
43583 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
43584 prototype.
43585 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43586 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43587 trans_data argument. Add hidden definition.
43588 (__gconv_translit_find): Remove.
43589 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43590 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43591 * iconv/skeleton.c: Remove transliteration initialization.
43592 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43593 __gconv_step_data initialization.
43594 * libio/iofwide.c (__libio_translit_): Remove.
43595 (_IO_fwide): Adjust struct __gconv_step_data initialization.
43596 * wcsmbs/btowc.c (__btowc): Likewise.
43597 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43598 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43599 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43600 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43601 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43602 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43603 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43604 * wcsmbs/wctob.c (wctob): Likewise.
43605
43606 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43607
43608 [BZ #16194]
43609 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43610 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
43611 register usage.
43612 * sysdeps/x86/Makefile: Adjust.
43613
43614 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43615 Roland McGrath <roland@hack.frob.com>
43616
43617 * locale/weight.h: Add include guard.
43618 (findidx): Make static rather than auto; take new parameters
43619 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43620 * locale/weightwc.h: Likewise.
43621 * posix/fnmatch_loop.c
43622 (FCT): Change type of EXTRA from int32_t to wint_t.
43623 Don't include either header inside the function.
43624 Call FINDIDX rather than findidx, and pass new arguments.
43625 #undef FINDIDX at the end of the file.
43626 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43627 FINDIDX before including fnmatch_loop.c for the non-wide version.
43628 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43629 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43630 for the wide version.
43631 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43632 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43633 Pass new arguments to findidx.
43634 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43635 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43636 Don't #include it inside the function. Pass new arguments to findidx.
43637 * posix/regex_internal.h
43638 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43639 (re_string_elem_size_at): Don't #include it inside the function.
43640 Pass new arguments to findidx.
43641 * string/strcoll_l.c: #include WEIGHT_H at top level.
43642 (get_next_seq): Don't #include it inside the function.
43643 Pass new arguments to findidx.
43644 (get_next_seq_nocache): Likewise.
43645 * string/strxfrm_l.c: #include WEIGHT_H at top level.
43646 (STRXFRM): Don't #include it inside the function.
43647 Pass new arguments to findidx.
43648
43649 2014-09-11 Florian Weimer <fweimer@redhat.com>
43650
43651 [BZ #17344]
43652 * malloc/malloc.c (unlink): Turn asserts into a call to
43653 malloc_printerr.
43654
43655 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
43656
43657 [BZ #17370]
43658 * libio/wfileops (do_ftell_wide): Free OUT.
43659
43660 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
43661
43662 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43663
43664 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43665
43666 [BZ #17363]
43667 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43668 group if the current group is empty.
43669
43670 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43671
43672 * benchtests/bench-memset.c (test_main): Add more test from size
43673 from 32 to 512 bytes.
43674 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43675 Add POWER8 memset object.
43676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43677 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43678 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43679 implementation.
43680 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43681 Likewise.
43682 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43683 multiarch POWER8 memset optimization.
43684 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43685 POWER8 memset optimization.
43686
43687 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43688 Remove bzero multiarch objects.
43689 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43690 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43691 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43692 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43693 Remove define.
43694 [__bzero]: Redefine to specific name.
43695 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43696 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43697 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43698 define.
43699 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43700 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43701
43702 2014-09-10 Florian Weimer <fweimer@redhat.com>
43703
43704 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43705 warnings into errors.
43706
43707 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43708 __cxa_thread_atexit_impl prototype.
43709
43710 2014-09-09 Steve Ellcey <sellcey@mips.com>
43711
43712 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43713 Fix capitalization of error message.
43714
43715 2014-09-09 Steve Ellcey <sellcey@mips.com>
43716
43717 * sysdeps/mips/preconfigure: Modify ABI tests.
43718
43719 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
43720
43721 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43722
43723 2014-09-07 Roland McGrath <roland@hack.frob.com>
43724 Carlos O'Donell <carlos@systemhalted.org>
43725
43726 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43727 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43728 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43729 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43730 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43731 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43732 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43733 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43734 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43735 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43736 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43737 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43738 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43739 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43740 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43741 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43742 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43743 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43744 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43745 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43746 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43747 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43748 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43749 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43750 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43751 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43752 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43753 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43754 Deconditionalize the code that was previously under [RESET_PID].
43755 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43756 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43757 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43758 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43759 include sysdep.h.
43760
43761 2014-09-08 Allan McRae <allan@archlinux.org>
43762
43763 * version.h (RELEASE): Set to "development".
43764 (VERSION): Set to "2.20.90"
43765
43766 2014-09-07 Allan McRae <allan@archlinux.org
43767
43768 * version.h (RELEASE): Set to "stable".
43769 (VERSION): Set to "2.20"
43770 * include/features.h (__GLIBC_MINOR__): Set to 20.
43771
43772 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43773 Liebler.
43774
43775 * po/ko.po: Update Korean translation from translation project.
43776
43777 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
43778
43779 [BZ #17354]
43780 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43781 macro for handling signed relocations.
43782
43783 2014-09-03 Florian Weimer <fweimer@redhat.com>
43784
43785 [BZ #17325]
43786 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43787 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43788 assert.
43789 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43790 * iconvdata/ibm935.c (BODY): Likewise.
43791 * iconvdata/ibm937.c (BODY): Likewise.
43792 * iconvdata/ibm939.c (BODY): Likewise.
43793 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43794 assert.
43795 * iconvdata/Makefile (iconv-test.out): Pass module list to test
43796 script.
43797 * iconvdata/run-iconv-test.sh: New test loop for checking for
43798 decoder crashers.
43799
43800 2014-09-02 Khem Raj <raj.khem@gmail.com>
43801
43802 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43803 libm_hidden_ver.
43804
43805 2014-09-01 Allan McRae <allan@archlinux.org>
43806
43807 * po/eo.po: Update Esperanto translation from translation project.
43808
43809 * po/ca.po: Update Catalan translation from translation project.
43810
43811 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
43812
43813 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43814 __proc_dostop call.
43815
43816 2014-08-27 Mark Wielaard <mjw@redhat.com>
43817
43818 [BZ #17319]
43819 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43820 to call set_thread_area instead of hand written asm.
43821 (__NR_set_thread_area): Removed define.
43822 (TLS_FLAG_WRITABLE): Likewise.
43823 (__ASSUME_SET_THREAD_AREA): Remove check.
43824 (TLS_EBX_ARG): Remove define.
43825 (TLS_LOAD_EBX): Likewise.
43826
43827 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
43828
43829 Simplify atomicity of socket creation in bind.
43830
43831 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43832 looking up the name after linking the file.
43833
43834 2014-08-27 Allan McRae <allan@archlinux.org>
43835
43836 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43837
43838 2014-08-26 Florian Weimer <fweimer@redhat.com>
43839
43840 [BZ #17187]
43841 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43842 trans_compare, open_translit, __gconv_translit_find):
43843 Remove module loading code.
43844
43845 2014-08-26 Allan McRae <allan@archlinux.org>
43846
43847 * po/vi.po: Update Vietnamese translation from translation project.
43848
43849 * po/uk.po: Update Ukrainian translation from translation project.
43850
43851 * po/fr.po: Update French translation from translation project.
43852
43853 * po/ru.po: Update Russian translation from translation project.
43854
43855 * po/pl.po: Update Polish translation from translation project.
43856
43857 * po/cs.po: Update Czech translation from translation project.
43858
43859 * po/de.po: Update German translation from translation project.
43860
43861 * po/bg.po: Update Bulgarian translation from translation project.
43862
43863 * po/sv.po: Update Sweedish translation from translation project.
43864
43865 * po/nl.po: Update Dutch translation from translation project.
43866
43867 * po/es.po: Update Spanish translation from translation project.
43868
43869 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43870
43871 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43872
43873 * catgets/Makefile (CPPFLAGS-gencat): Remove.
43874 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43875 (CPPFLAGS-iconvconfig): Likewise.
43876 * timezone/Makefile (CPPFLAGS-zic): Likewise.
43877
43878 * include/libc-symbols.h: Remove unnecessary check for
43879 NOT_IN_libc.
43880 * nptl/pthreadP.h: Likewise.
43881 * sysdeps/aarch64/setjmp.S: Likewise.
43882 * sysdeps/alpha/setjmp.S: Likewise.
43883 * sysdeps/arm/sysdep.h: Likewise.
43884 * sysdeps/i386/setjmp.S: Likewise.
43885 * sysdeps/m68k/setjmp.c: Likewise.
43886 * sysdeps/posix/getcwd.c: Likewise.
43887 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43888 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43889 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43890 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43891 * sysdeps/sh/sh3/setjmp.S: Likewise.
43892 * sysdeps/sh/sh4/setjmp.S: Likewise.
43893 * sysdeps/unix/alpha/sysdep.h: Likewise.
43894 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43896 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43897 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43902 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43905 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43907 * sysdeps/x86_64/setjmp.S: Likewise.
43908
43909 2014-08-13 Joseph Myers <joseph@codesourcery.com>
43910
43911 [BZ #17263]
43912 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43913 <stdint.h>.
43914 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43915 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43916
43917 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
43918
43919 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43920
43921 [BZ #17262]
43922 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43923 and __x86_64__ when disabling x87 inline functions.
43924
43925 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
43926
43927 [BZ #17259]
43928 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43929 asm statement with __cpuid_count.
43930
43931 2014-08-12 Mike Frysinger <vapier@gentoo.org>
43932
43933 * configure.ac: Change __ehdr_start code to dereference the struct.
43934 Run readelf on the output to look for relocations.
43935 * configure: Regenerated.
43936
43937 2014-08-12 Joseph Myers <joseph@codesourcery.com>
43938
43939 [BZ #17261]
43940 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43941 value to 0.
43942 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43943
43944 2014-08-12 Roland McGrath <roland@hack.frob.com>
43945
43946 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43947
43948 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
43949
43950 [BZ #16892]
43951 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43952 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43953
43954 2014-08-12 Sean Anderson <seanga2@gmail.com>
43955
43956 * malloc/malloc.c: Fix typo in comment.
43957
43958 2014-08-09 Allan McRae <allan@archlinux.org>
43959
43960 * Regenerate libc.po.
43961
43962 2014-08-08 Mike Frysinger <vapier@gentoo.org>
43963
43964 * intl/tst-gettext2.sh: Check every lang file for creation.
43965
43966 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
43967
43968 * sysdeps/aarch64/fpu/math_private.h
43969 (libc_feholdsetround_noex_aarch64_ctx): New function.
43970
43971 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
43972
43973 * sysdeps/arm/armv6/strcpy.S (strcpy):
43974 Fix performance issue in misaligned cases.
43975
43976 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43977
43978 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43979 Move definition from termios.h.
43980 (struct termio): Likewise.
43981 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43982 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43983 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43984 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43985 Likewise.
43986 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43987 Move definition to ioctl-types.h
43988 (struct termio): Likewise.
43989 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43990 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43991 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43992 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43993 Likewise.
43994
43995 2014-08-05 Richard Henderson <rth@redhat.com>
43996
43997 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43998 exceptions.
43999 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
44000 Add fraiseexcpt.
44001 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
44002 Use __feraiseexcept.
44003 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
44004 Protect libm symbols with IS_IN_libm.
44005
44006 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
44007
44008 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
44009
44010 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
44011
44012 2014-08-04 Will Newton <will.newton@linaro.org>
44013
44014 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
44015 file.
44016
44017 2014-08-04 Mike Frysinger <vapier@gentoo.org>
44018
44019 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
44020 variants for each function.
44021
44022 2014-08-04 Roland McGrath <roland@hack.frob.com>
44023
44024 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
44025 appended ...
44026 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
44027 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
44028 appended ...
44029 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
44030 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
44031 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
44032 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
44033 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
44034 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
44035 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
44036 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
44037 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
44038 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
44039 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
44040 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
44041 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
44042 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
44043 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
44044 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
44045 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
44046 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
44047 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
44048 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
44049 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
44050 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
44051 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
44052 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
44053 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
44054 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
44055 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
44056 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
44057 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
44058 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
44059 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
44060 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
44061 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
44062 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
44063 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
44064 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
44065 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
44066 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
44067 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
44068 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
44069 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
44070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
44071 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
44072 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
44073 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
44074 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
44075 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
44076 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
44077 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
44078 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
44079 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
44080 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
44081 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
44082 Update #include.
44083 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
44084 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
44085
44086 2014-08-04 Roland McGrath <roland@hack.frob.com>
44087
44088 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
44089 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
44090 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
44091 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
44092 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
44093 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
44094
44095 2014-08-04 Roland McGrath <roland@hack.frob.com>
44096
44097 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
44098 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
44099 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44100 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
44101
44102 2014-08-04 Roland McGrath <roland@hack.frob.com>
44103
44104 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
44105 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
44106 (__libc_vfork): Define function under this name.
44107 (__vfork): Define as an alias.
44108 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
44109 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
44110
44111 2014-08-04 Roland McGrath <roland@hack.frob.com>
44112
44113 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
44114 that was previously under [RESET_PID].
44115 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
44116
44117 2014-08-04 Andreas Schwab <schwab@suse.de>
44118
44119 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
44120
44121 2014-08-03 Mike Frysinger <vapier@gentoo.org>
44122
44123 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
44124 (main): Likewise.
44125
44126 2014-08-01 Roland McGrath <roland@hack.frob.com>
44127
44128 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
44129
44130 2014-08-01 Richard Henderon <rth@redhat.com>
44131
44132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
44133 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
44134 typo in exact zero test.
44135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44136 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44138
44139 2014-08-01 Roland McGrath <roland@hack.frob.com>
44140
44141 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
44142 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
44143 * sysdeps/arm/sysdep.h: ... here.
44144 [!__ASSEMBLER__]: Include <stdint.h>.
44145
44146 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
44147
44148 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
44149 (HAVE_WCTYPE_H): Likewise.
44150 (HAVE_ISWCTYPE): Likewise.
44151 (ENABLE_NLS): Likewise.
44152 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
44153 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
44154
44155 * posix/regex_internal.c: Check if DEBUG is defined and is
44156 set.
44157
44158 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
44159 (HAVE_MBSRTOWCS): Likewise.
44160 * posix/fnmatch.c: Include string.h unconditionally.
44161
44162 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
44163
44164 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
44165 reversal.
44166
44167 2014-07-31 Roland McGrath <roland@hack.frob.com>
44168
44169 * sysdeps/generic/safe-fatal.h: New file.
44170 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
44171 * nptl/forward.c: Include it.
44172 (__pthread_unwind): Use __safe_fatal as default action, rather
44173 than a bogus use of INTERNAL_SYSCALL that could never work.
44174
44175 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
44176 * configure.ac (libc_cv_builtin_trap): New test.
44177 * configure: Regenerated.
44178 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
44179 (ABORT_INSTRUCTION): Define using __builtin_trap.
44180
44181 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44182 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
44183 * sysdeps/nptl/nptl-signals.h: New file.
44184 * nptl/pthreadP.h: Include <nptl-signals.h>.
44185
44186 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
44187
44188 * sysdeps/s390/s390-64/utf16-utf32-z9.c
44189 (ONE_DIRECTION): Define.
44190 * sysdeps/s390/s390-64/utf8-utf16-z9.c
44191 (ONE_DIRECTION): Define.
44192 * sysdeps/s390/s390-64/utf8-utf32-z9.c
44193 (ONE_DIRECTION): Define.
44194
44195 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
44196
44197 * sysdeps/s390/Makefile: Delete file.
44198 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
44199 * sysdeps/s390/__longjmp.c: Delete file.
44200 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
44201 Remove fields __flags and __reserved.
44202 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
44203 and add versioning.
44204 * sysdeps/s390/rtld-__longjmp.c: Delete file.
44205 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
44206 * sysdeps/s390/rtld-setjmp.S: Likewise.
44207 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
44208 * sysdeps/s390/s390-32/__longjmp.c: ... here.
44209 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
44210 * sysdeps/s390/s390-32/setjmp.S: ... here.
44211 Add versioning.
44212 (__sigsetjmp): Remove setting __flags field.
44213 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44214 * sysdeps/s390/s390-64/__longjmp.c: ... here.
44215 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44216 * sysdeps/s390/s390-64/setjmp.S: ... here.
44217 Add versioning.
44218 (__sigsetjmp): Remove setting __flags field.
44219 * sysdeps/s390/setjmp.S: Delete file.
44220 * sysdeps/s390/sigjmp.c: Likewise.
44221 * sysdeps/s390/v1-longjmp.c: Likewise.
44222 * sysdeps/s390/v1-setjmp.h: Likewise.
44223 * sysdeps/s390/v1-sigjmp.c: Likewise.
44224 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44225 Remove v1-longjmp_chk.
44226 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44227 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44228 Include debug/longjmp_chk.c and add versioning.
44229 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44230 Include nptl/pt-longjmp.c and add versioning.
44231 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44232 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44233 Include __longjmp.c.
44234 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44235 Move to ...
44236 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44237 (__getcontext): Remove setting __flags field.
44238 Add versioning.
44239 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44240 Don't restore upper high grps.
44241 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44242 Likewise.
44243 (__swapcontext): Remove setting uc_flags field.
44244 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44245 Delete file.
44246 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44247 Include __longjmp.c.
44248 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44249 Move to ...
44250 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44251 (__getcontext): Remove setting __flags field.
44252 Add versioning.
44253 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44254 (__swapcontext): Remove setting uc_flags field.
44255 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44256 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44257 Remove fields uc_high_gprs and __reserved.
44258 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44259 New file with reverted content.
44260 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44261 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44262 Regenerated.
44263 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44264 Regenerated.
44265
44266 2014-07-31 Andreas Schwab <schwab@suse.de>
44267
44268 * config.h.in (HAVE_IFUNC): Define to 0.
44269 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44270 definedness.
44271
44272 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
44273
44274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44275 memmove-avx-unaligned, memcpy-avx-unaligned and
44276 mempcpy-avx-unaligned.
44277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44278 Add tests for AVX memcpy functions.
44279 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44280 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44281 memcpy_chk.
44282 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44283 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44284 memmove_chk.
44285 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44286 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44287 mempcpy_chk.
44288 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44289 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44290 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44291
44292 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44293
44294 [BZ #17213]
44295 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44296 powerpc64le.
44297
44298 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
44299
44300 [BZ #16839]
44301 * manual/llio.texi: Add section about open file description locks.
44302 * manual/examples/ofdlocks.c: Example of open file description
44303 lock usage.
44304 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44305 F_OFD_SETLK, and F_OFD_SETLKW.
44306
44307 2014-07-23 Allan McRae <allan@archlinux.org>
44308
44309 * po/es.po: Update Spanish translation from translation project.
44310
44311 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
44312
44313 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44314
44315 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
44316
44317 [BZ #17078]
44318 * sysdeps/arm/dl-machine.h (elf_machine_rela)
44319 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44320 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44321
44322 2014-07-17 Joseph Myers <joseph@codesourcery.com>
44323
44324 [BZ #17088]
44325 * math/fesetenv.c (__fesetenv)
44326 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44327 * math/feupdateenv.c (__feupdateenv)
44328 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44329
44330 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44331 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44332 (__ASSUME_SOCKETCALL): Do not define.
44333
44334 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44335 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44336 (__ASSUME_SOCKETCALL): Do not define.
44337 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44338 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44339 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44340 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44341 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44342 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44343 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44344 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44345
44346 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44347 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44348 (__ASSUME_SOCKETCALL): Do not define.
44349 (__ASSUME_IPC64): Define unconditionally.
44350 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44351 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44352 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44353 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44354 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44355 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44356 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44357 Likewise.
44358
44359 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44360 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44361 (__ASSUME_SOCKETCALL): Do not define.
44362 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44363 (__ASSUME_FUTEX_LOCK_PI): Likewise.
44364 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44365 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44366 (__ASSUME_REQUEUE_PI): Define unconditionally.
44367 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44368 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44369 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44370 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44371 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44372 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44373
44374 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44375 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44376 (__ASSUME_SOCKETCALL): Do not define.
44377 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44378 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44379 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44380 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44381 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44382 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44383
44384 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44385 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44386 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44387 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44388 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44389 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44391 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
44392 (__ASSUME_GETCPU_SYSCALL): Likewise.
44393
44394 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
44395 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
44396 cases for individual architectures.
44397 * sysdeps/gnu/configure: Regenerated.
44398 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
44399 LIBC_SLIBDIR_RTLDDIR.
44400 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
44401 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
44402 LIBC_SLIBDIR_RTLDDIR.
44403 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
44404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
44405 LIBC_SLIBDIR_RTLDDIR.
44406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44407 Regenerated.
44408 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
44409 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
44410 file.
44411 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
44412 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
44413 file.
44414 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44415 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
44416 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
44417 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
44418
44419 * sysdeps/aarch64/shlib-versions: Move to ...
44420 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
44421 * sysdeps/alpha/shlib-versions: Move to ...
44422 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
44423 * sysdeps/arm/shlib-versions: Move to ...
44424 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
44425 * sysdeps/hppa/shlib-versions: Move all contents except for
44426 libgcc_s entry to ...
44427 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
44428 entry from ...
44429 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
44430 * sysdeps/ia64/shlib-versions: Move to ...
44431 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
44432 entry from ...
44433 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
44434 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
44435 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
44436 * sysdeps/microblaze/shlib-versions: Move to ...
44437 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
44438 * sysdeps/mips/shlib-versions: Move to ...
44439 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
44440 entry from ...
44441 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
44442 * sysdeps/tile/shlib-versions: Move to ...
44443 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
44444 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
44445 from ...
44446 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
44447 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
44448 entry from ...
44449 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
44450
44451 2014-07-17 Will Newton <will.newton@linaro.org>
44452
44453 * sysdeps/arm/bits/atomic.h
44454 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
44455 (__arch_compare_and_exchange_bool_16_int): Likewise.
44456 (__arch_compare_and_exchange_bool_64_int): Likewise.
44457
44458 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
44459 into an #else block.
44460
44461 2014-07-16 Roland McGrath <roland@hack.frob.com>
44462
44463 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
44464 just Linux configurations. Test empirically that the compiler sets
44465 __ARM_EABI__, rather than using the tuple to decide.
44466 * sysdeps/arm/preconfigure: Regenerated.
44467 * sysdeps/unix/sysv/linux/arm/configure: File removed.
44468 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
44469 contents appended ...
44470 * sysdeps/arm/configure.ac: ... here.
44471 * sysdeps/arm/configure: Regenerated.
44472
44473 2014-07-15 Roland McGrath <roland@hack.frob.com>
44474
44475 * nptl/pthread_kill.c: New file.
44476 * nptl/pthread_sigmask.c: New file.
44477 * nptl/pthread_sigqueue.c: New file.
44478
44479 * sysdeps/nptl/lowlevellock.h: New file.
44480 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
44481 * sysdeps/nptl/lowlevellock-futex.h: New file.
44482
44483 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
44484 Remove dead declarations.
44485
44486 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
44487
44488 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
44489 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
44490 config-cflags-avx2.
44491 * sysdeps/x86_64/configure.ac: Likewise.
44492 * sysdeps/i386/configure: Regenerated.
44493 * sysdeps/x86_64/configure: Likewise.
44494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44495 memset-avx2 only if config-cflags-avx2 is yes.
44496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44497 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
44498 defined.
44499 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
44500 only if HAVE_AVX2_SUPPORT is defined.
44501 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44502
44503 2014-07-14 Alan Modra <amodra@gmail.com>
44504
44505 [BZ #17153]
44506 * elf/elf.h (DT_PPC64_NUM): Correct value.
44507 * NEWS: Add to fixed bug list.
44508
44509 2014-07-13 Jim Meyering <meyering@fb.com>
44510
44511 [BZ 17150]
44512 regex: don't deref NULL upon heap allocation failure
44513 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
44514 failure in one more place.
44515 To trigger the segfault, configure grep -with-included-regex,
44516 build it, and run these commands:
44517 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
44518
44519 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
44520
44521 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44522
44523 2014-07-11 Richard Henderson <rth@redhat.com>
44524
44525 * sysdeps/aarch64/libm-test-ulps: Update.
44526
44527 2014-07-10 Florian Weimer <fweimer@redhat.com>
44528
44529 [BZ #17135]
44530 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
44531 * nptl/allocatestack.c (__nptl_setxid_error): New function.
44532 (__nptl_setxid): Initialize error member. Call
44533 __nptl_setxid_error.
44534 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
44535 * nptl/descr.h (struct xid_command): Add error member.
44536 * nptl/tst-setuid3.c: New file.
44537 * nptl/Makefile (tests): Add it.
44538
44539 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44540
44541 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44542 New define.
44543 (__lll_trylock): Use __lll_base_trylock.
44544 (__lll_cond_trylock): Likewise.
44545
44546 2014-07-10 Roland McGrath <roland@hack.frob.com>
44547
44548 * nptl/pthread_create.c (start_thread): Use atomic_or and
44549 lll_futex_wake directly rather than lll_robust_dead.
44550 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44551 (lll_robust_dead): Macro removed.
44552 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44553 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44554 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44555 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44556 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44557 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44558 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44559 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44560 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44561 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44562 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44563 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44564 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44565 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44566 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44567
44568 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44569 Use atomic_compare_and_exchange_val_acq directly rather than
44570 lll_robust_trylock.
44571 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44572 (__lll_robust_trylock, lll_robust_trylock): Removed.
44573 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44574 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44575 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44576 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44577 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44578 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44579 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44580 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44581 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44582 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44583 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44584 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44585 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44586 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44587
44588 2014-07-02 Florian Weimer <fweimer@redhat.com>
44589
44590 * manual/locale.texi (Locale Names): New section documenting
44591 locale name syntax. Adjust menu and node chaining accordingly.
44592 (Choosing Locale): Reference Locale Names, Locale Categories.
44593 Mention setting LC_ALL=C. Reflect that name syntax is now
44594 documented.
44595 (Locale Categories): New section title. Reference Locale Names.
44596 LC_ALL is an environment variable, but not a category.
44597 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44598 description, now in Locale Name. Reference that section. Locale
44599 name syntax is now documented.
44600
44601 2014-07-02 Florian Weimer <fweimer@redhat.com>
44602
44603 [BZ #17137]
44604 * locale/findlocale.c (name_present, valid_locale_name): New
44605 functions.
44606 (_nl_find_locale): Use the loc_name variable to store name
44607 candidates. Call name_present and valid_locale_name to check and
44608 validate locale names. Return an error if the locale is invalid.
44609
44610 2014-07-02 Florian Weimer <fweimer@redhat.com>
44611
44612 * locale/setlocale.c (setlocale): Use strdup for allocating
44613 composite name copy.
44614
44615 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44616
44617 Sync up with gnulib.
44618 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44619 [!_LIBC && ENABLE_NLS]: Include gettext.h.
44620 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44621 and _GL_ARG_NONNULL.
44622 [USE_UNLOCKED_IO]: Include unlocked-io.h.
44623 [!_LIBC]: Include code for Windows and Cygwin.
44624 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44625 Include prototype for int strerror_r.
44626 [!_LIBC] (is_open): New function.
44627 (flush_stdout): New function.
44628 (print_errno_message): Use it.
44629 (error): Likewise.
44630 (error_at_line): Likewise.
44631 (error_tail) Add function attribute macros. Use
44632 __builtin_expect.
44633
44634 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44635
44636 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44637
44638 * io/ftw.c: Include sys/param.h unconditionally.
44639
44640 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44641
44642 [BZ #17125]
44643 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44644 libc_freeres_ptr.
44645 (freecache): New function to free CACHE on exit.
44646
44647 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44648 initialization.
44649
44650 2014-07-09 David S. Miller <davem@davemloft.net>
44651
44652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44653
44654 * sysdeps/sparc/nptl/internaltypes.h: Delete.
44655 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44656 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44657 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44658 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44659 * sysdeps/sparc/nptl/sem_init.c: Likewise.
44660 * sysdeps/sparc/nptl/sem_post.c: Likewise.
44661 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44662 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44663 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44664 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44665 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44666 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44667
44668 2014-07-09 Andreas Schwab <schwab@suse.de>
44669
44670 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44671 output.
44672 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44673 (do_test): Likewise.
44674
44675 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44676
44677 2014-07-09 Will Newton <will.newton@linaro.org>
44678
44679 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44680 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44681 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44682 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44683 * sysdeps/hppa/start.S (_start): Likewise.
44684
44685 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
44686
44687 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44688
44689 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44690 defined.
44691
44692 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
44693
44694 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44695 after checking that it is non-NULL.
44696
44697 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44698
44699 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44700
44701 * sysdeps/powerpc/memmove.c: Remove file.
44702 * sysdeps/powerpc/powerpc32/power4/memcopy.h
44703 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44704 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44705 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44706 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44707 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44708 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44709 string memmove instead of removed powerpc one.
44710
44711 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44712 [weak_alias]: Fix compiler warning due trailing data.
44713 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44714 [weak_alias]: Likewise.
44715 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44716 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44717
44718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44719 (__libc_ifunc_impl_list): Add memmove functions.
44720
44721 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
44722
44723 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44724 Remove code.
44725 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44726 Likewise.
44727 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44728 Likewise.
44729 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44730 Likewise.
44731 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44732 Likewise.
44733 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44734 Likewise.
44735 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44736 Likewise.
44737 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44738 Likewise.
44739 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44740 Likewise.
44741 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44742 Likewise.
44743 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44744 Likewise.
44745 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44746 Likewise.
44747 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44748 Likewise.
44749 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44750 Likewise.
44751 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44752 Likewise.
44753 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44754 Likewise.
44755 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44756 Likewise.
44757
44758 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44759
44760 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44761 to avoid alignment traps in non-cacheable memory.
44762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44763
44764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44765 multiarch objects.
44766 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44767 file: multiarch power7 memmove.
44768 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44769 multiarch default memmove.
44770 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44771 multiarch memove for powerpc32/power4.
44772
44773 * string/bcopy.c: Use full path to include memmove.c.
44774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44775 multiarch objects.
44776 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44777 bcopy for powerpc64.
44778 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44779 bcopy for powerpc64.
44780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44781 and memmove implementations.
44782 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44783 optimized multiarch memmove for POWER7/powerpc64.
44784 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44785 default multiarch memmove for powerpc64.
44786 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44787 multiarch for powerpc64.
44788 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44789 for POWER7/powerpc64.
44790 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44791 memmove for POWER7/powerpc64.
44792
44793 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44794 glibc default one.
44795
44796 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44797 __ELF_NATIVE_CLASS equal to 64.
44798
44799 2014-07-07 Roland McGrath <roland@hack.frob.com>
44800
44801 * sysdeps/nptl/lowlevellock.h: File removed.
44802
44803 * NEWS: NPTL is no longer an add-on!
44804 * nptl/internaltypes.h: Moved ...
44805 * sysdeps/nptl/internaltypes.h: ... here.
44806 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44807 * sysdeps/nptl/fork.c: Likewise.
44808 * sysdeps/nptl/gai_misc.h: Likewise.
44809 * sysdeps/nptl/librt-cancellation.c: Likewise.
44810 * sysdeps/nptl/jmp-unwind.c: Likewise.
44811 * sysdeps/nptl/setxid.h: Likewise.
44812 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44813 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44814 * sysdeps/unix/sysv/linux/arm/Implies: New file.
44815 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44816 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44817 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44818 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44819 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44820 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44821 * sysdeps/unix/sysv/linux/mips/Implies: New file.
44822 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44823 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44824 * sysdeps/unix/sysv/linux/sh/Implies: New file.
44825 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44826 * sysdeps/unix/sysv/linux/tile/Implies: New file.
44827 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44828 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44829 * nptl/Makeconfig: Moved ...
44830 * sysdeps/nptl/Makeconfig: ... here.
44831 * nptl/configure: File removed.
44832 * nptl/ANNOUNCE: File removed.
44833 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44834 * sysdeps/unix/sysv/linux/configure: Regenerated.
44835
44836 * nptl/Makefile (routines): Add libc_pthread_init,
44837 libc_multiple_threads, register-atfork and unregister-atfork.
44838 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44839 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44840 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44841 pthread-pi-defines.sym, structsem.sym.
44842 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44843 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44844 [$(subdir) = nptl] (tests): Add tst-setgetname.
44845 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44846 * sysdeps/unix/sysv/linux/sigaction.c: Just include
44847 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44848 [!LIBC_SIGACTION]: Remove aliases.
44849 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44850 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44851 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44852 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44853 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44854 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44855 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44857 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44858 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44859 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44860 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44861 __libc_allocate_rtsig_private.
44862 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44863 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44864 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44865 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44866 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44867 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44868 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44869 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44870 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44871 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44872 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44873 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44874 * nptl/internaltypes.h: ... here.
44875 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44876 * sysdeps/nptl/jmp-unwind.c: ... here.
44877 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44878 * nptl/libc-lowlevellock.c: ... here.
44879 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44880 * nptl/libc_multiple_threads.c: ... here.
44881 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44882 * nptl/libc_pthread_init.c: ... here.
44883 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44884 * nptl/lowlevelbarrier.sym: ... here.
44885 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44886 * nptl/lowlevelcond.sym: ... here.
44887 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44888 * nptl/lowlevellock.c: ... here.
44889 * nptl/lowlevellock.h: Moved ...
44890 * sysdeps/nptl/lowlevellock.h: ... here.
44891 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44892 * nptl/lowlevelrobustlock.c: ... here.
44893 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44894 * nptl/lowlevelrobustlock.sym: ... here.
44895 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44896 * nptl/lowlevelrwlock.sym: ... here.
44897 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44898 * nptl/pt-fork.c: ... here.
44899 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44900 * nptl/pthread-pi-defines.sym: ... here.
44901 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44902 * nptl/pthread_attr_getaffinity.c: ... here.
44903 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44904 * nptl/pthread_attr_setaffinity.c: ... here.
44905 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44906 * nptl/pthread_mutex_cond_lock.c: ... here.
44907 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44908 Update #include.
44909 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44910 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44911 * nptl/pthread_once.c: ... here, replacing old file.
44912 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44913 * nptl/pthread_yield.c: ... here.
44914 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44915 * nptl/register-atfork.c: ... here.
44916 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44917 * nptl/sem_post.c: ... here.
44918 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44919 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44920 * nptl/sem_timedwait.c: ... here.
44921 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44922 * nptl/sem_trywait.c: ... here.
44923 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44924 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44925 * nptl/sem_wait.c: ... here.
44926 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44927 * nptl/structsem.sym: ... here.
44928 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44929 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44930 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44931 * nptl/unregister-atfork.c: ... here.
44932 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44933 * nptl/unwindbuf.sym: ... here.
44934 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44935 * sysdeps/nptl/fork.c: ... here.
44936 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44937 * sysdeps/nptl/fork.h: ... here.
44938 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44939 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44940 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44941 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44942 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44943 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44944 * sysdeps/unix/sysv/linux/getpid.c: ... here.
44945 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44946 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44947 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44948 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44949 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44950 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44951 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44952 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44953 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44954 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44955 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44956 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44957 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44958 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44959 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44960 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44961 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44962 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44963 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44964 * sysdeps/unix/sysv/linux/raise.c: ... here.
44965 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44966 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44967 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44968 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44969 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44970 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44971 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44972 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44973 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44974 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44975 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44976 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44977 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44978 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44979 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44980
44981 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44982
44983 * sysdeps/generic/memcopy.h: Add comment for
44984 MEMCPY_OK_FOR_FWD_MEMMOVE.
44985
44986 2014-07-04 Will Newton <will.newton@linaro.org>
44987
44988 * string/memchr.c: Merge from gnulib.
44989 [_LIBC]: Remove conditionals.
44990 (__ptr_t): Remove define.
44991 (LONG_MAX_32_BITS): Likewise.
44992 (LONG_MAX): Likewise.
44993 (MEMCHR): Use ANSI prototype and optimize algorithm.
44994
44995 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44996
44997 2014-07-03 Roland McGrath <roland@hack.frob.com>
44998
44999 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
45000 (lll_futex_timed_wait_bitset): Fix syscall argument count.
45001
45002 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
45003 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
45004 in a bare environment with no <stdlib.h> installed.
45005 * sysdeps/nptl/configure: Regenerated.
45006
45007 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
45008
45009 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
45010 AC_EGREP_CPP for kernel header checks, so they only succeed if
45011 including <linux/version.h> actually works right.
45012 * sysdeps/unix/sysv/linux/configure: Regenerated.
45013
45014 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
45015 value so it's not diagnosed as unused.
45016
45017 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
45018 thing) with "ifeq ($(subdir),rt)".
45019
45020 2014-07-03 Richard Henderson <rth@redhat.com>
45021
45022 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
45023 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
45024 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
45025
45026 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
45027 (math_force_eval): New.
45028
45029 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
45030 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
45031
45032 * sysdeps/alpha/fpu/s_round.c: Remove file.
45033 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
45034
45035 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
45036 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
45037 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
45038 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
45039 (_dl_start, print_statistics): Likewise.
45040 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
45041 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
45042
45043 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45044 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45045 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45046 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45047 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45048 (HP_SMALL_TIMING_AVAIL): Define.
45049 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45050 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45051 (HP_SMALL_TIMING_AVAIL): Define.
45052 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45053 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45054
45055 * sysdeps/aarch64/hp-timing.h: New file.
45056
45057 * sysdeps/generic/hp-timing.h: Remove dead comment.
45058 * sysdeps/generic/hp-timing-common.h: New file.
45059 * sysdeps/alpha/hp-timing.h: Include it.
45060 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
45061 * sysdeps/i386/i686/hp-timing.h: Likewise.
45062 * sysdeps/ia64/hp-timing.h: Likewise.
45063 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45064 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45066 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45067 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
45068 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
45069 (hp_timing_t): New.
45070
45071 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
45072 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
45073 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
45074 * elf/rtld.c (_dl_start_final): Likewise.
45075 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
45076 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45077 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45078 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45079 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45080 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45081 (HP_TIMING_DIFF_INIT): Remove.
45082 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45083 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45084 (HP_TIMING_DIFF_INIT): Remove.
45085 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45086 * sysdeps/i386/i686/hp-timing.c: Remove file.
45087 * sysdeps/x86_64/hp-timing.c: Remove file.
45088 * sysdeps/ia64/hp-timing.c: Remove file.
45089 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
45090 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
45091 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
45092 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
45093
45094 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
45095 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
45096 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
45097 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45099 (HP_TIMING_ACCUM): Remove.
45100 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45101 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
45102 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45103
45104 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
45105 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
45106 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
45107 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
45108 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
45109 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
45111 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45112
45113 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
45114
45115 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
45116
45117 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
45118
45119 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45120
45121 Sync up with gettext.
45122 * intl/loadmsgcat.c: Define O_BINARY if not defined.
45123 [_MSC_VER]: Include malloc.h
45124 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
45125 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
45126 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
45127 TEMP_FAILURE_RETRY. Cast return of alloca.
45128 [!_LIBC] Call gl_rwlock_init.
45129 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
45130
45131 2014-07-02 Roland McGrath <roland@hack.frob.com>
45132
45133 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
45134 before checking its value.
45135
45136 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45137
45138 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
45139
45140 * debug/memcpy_chk.c: Don't include pagecopy.h.
45141 * debug/mempcpy_chk.c: Likewise.
45142 * string/memcpy.c: Likewise.
45143 * string/memmove.c: Likewise.
45144 * sysdeps/powerpc/memmove.c: Likewise.
45145 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
45146 definition of PAGE_COPY_FWD_MAYBE here...
45147 * sysdeps/generic/pagecopy.h: ... from here.
45148 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
45149
45150 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
45151 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45152
45153 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
45154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
45155 optimizations.
45156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45157 (__libc_ifunc_impl_list): Likewise.
45158 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45159 multiarch strcat for PPC64.
45160 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
45161 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45162
45163 2014-07-02 Roland McGrath <roland@hack.frob.com>
45164
45165 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
45166
45167 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45168
45169 * intl/loadmsgcat.c: Remove declaration of
45170 get_sysdep_segment_value.
45171 (get_sysdep_segment_value): Use ISO C style.
45172 (_nl_load_domain): Use ISO C style. Get rid of redundant
45173 semicolon. Fix typo and formatting in comment.
45174 (_nl_unload_domain): Use ISO C style.
45175
45176 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
45177
45178 2014-07-02 Will Newton <will.newton@linaro.org>
45179
45180 * malloc/obstack.c: Merge from gnulib master.
45181 [HAVE_CONFIG_H]: Remove conditional code.
45182 [!_LIBC]: Include config.h.
45183 [!ELIDE_CODE]: Don't include inttypes.h, include
45184 stdint.h unconditionally.
45185 (print_and_abort): Mark as _Noreturn.
45186 (_obstack_allocated_p): Mark as __attribute_pure__.
45187 (obstack_free): Rename to __obstack_free.
45188 [!__attribute__]: Remove conditional code.
45189 * malloc/obstack.h: Merge from gnulib master.
45190 [__cplusplus]: Move conditional down.
45191 [!__attribute_pure__]: Define __attribute_pure__ here
45192 if it is not already defined.
45193 (_obstack_memory_used): Mark as __attribute_pure__.
45194 [!__obstack_free]: Define as obstack_free.
45195 [__GNUC__]: Remove check for ancient NeXT gcc.
45196
45197 2014-07-02 Will Newton <will.newton@linaro.org>
45198 Paul Eggert <eggert@cs.ucla.edu>
45199
45200 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
45201
45202 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45203
45204 * resolv/gethnamaddr.c: Add comment warning that the file is
45205 not maintained.
45206
45207 2014-07-01 Carlos O'Donell <carlos@redhat.com>
45208
45209 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
45210 entries.
45211
45212 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45213 entry for aio_cancel and aio_cancel64.
45214 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45215 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45216 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45217 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45218 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45219 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45220 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45221 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45222 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45223 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45224 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45225 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45226 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45227
45228 2014-07-01 Roland McGrath <roland@hack.frob.com>
45229
45230 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45231 * nptl/pthread_mutex_lock.c: Likewise.
45232 * nptl/pthread_mutex_timedlock.c: Likewise.
45233 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45234
45235 2014-07-01 Richard henderson <rth@redhat.com>
45236
45237 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45238 (__isnan, __isnanl): Remove.
45239 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45240
45241 * sysdeps/alpha/fpu/libm-test-ulps: Update.
45242
45243 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
45244
45245 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45246
45247 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
45248
45249 * resolv/nss_dns/dns-host.c (getanswer_r)
45250 [MULTI_PTRS_ARE_ALIASES]: Remove code.
45251
45252 2014-07-01 Joseph Myers <joseph@codesourcery.com>
45253
45254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45255 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45256 undefine.
45257 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45258 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45259
45260 2014-07-01 Roland McGrath <roland@hack.frob.com>
45261
45262 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45263 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45264
45265 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45266 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45267
45268 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45269 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45270 ... here.
45271 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45272 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45273
45274 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45275 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45276 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45277 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45278
45279 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45280 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45281 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45282 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45283 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45284 Moved ...
45285 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45286 ... here.
45287 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45288 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45289 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45290 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45291 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45292 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45293 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45294 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45295 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45296 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45297 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45298 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45299 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45300 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45301 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45302 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45303 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45304 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45305 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45306 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45307 ... here.
45308 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45309 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45310 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45311 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45312 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45313 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45314 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45315 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45316
45317 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
45318
45319 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45320 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45321 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45322 Add sysdep.
45323
45324 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45325
45326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45327
45328 2014-06-30 Joseph Myers <joseph@codesourcery.com>
45329
45330 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45331 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45332
45333 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45334
45335 * sysdeps/arm/libm-test-ulps: Regenerated.
45336
45337 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
45338 Roland McGrath <roland@hack.frob.com>
45339
45340 * test-skeleton.c (signal_handler): Kill the whole process group
45341 before killing the child individually.
45342 (main): Report any failure on `setpgid'.
45343
45344 2014-06-30 Roland McGrath <roland@hack.frob.com>
45345
45346 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45347 from _TLS_H to _ARM_NPTL_TLS_H.
45348 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45349 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45350
45351 2014-06-30 Joseph Myers <joseph@codesourcery.com>
45352
45353 [BZ #16539]
45354 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45355 (__expm1l): Return argument unchanged when small but not
45356 subnormal.
45357
45358 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45359 include macro name.
45360 (_FP_UNPACK_RAW_1_P): Likewise.
45361 (_FP_PACK_RAW_1): Likewise.
45362 (_FP_PACK_RAW_1_P): Likewise.
45363 (_FP_MUL_MEAT_1_wide): Likewise.
45364 (_FP_MUL_MEAT_DW_1_hard): Likewise.
45365 (_FP_MUL_MEAT_1_hard): Likewise.
45366 (_FP_DIV_MEAT_1_imm): Likewise.
45367 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45368 (_FP_DIV_MEAT_1_udiv): Likewise.
45369 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45370 (_FP_UNPACK_RAW_2): Likewise.
45371 (_FP_UNPACK_RAW_2_P): Likewise.
45372 (_FP_PACK_RAW_2): Likewise.
45373 (_FP_PACK_RAW_2_P): Likewise.
45374 (_FP_MUL_MEAT_DW_2_wide): Likewise.
45375 (_FP_MUL_MEAT_2_wide): Likewise.
45376 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45377 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45378 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45379 (_FP_MUL_MEAT_2_gmp): Likewise.
45380 (_FP_DIV_MEAT_2_udiv): Likewise.
45381 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45382 (_FP_FRAC_SRL_4): Likewise.
45383 (_FP_FRAC_SRST_4): Likewise.
45384 (_FP_FRAC_SRS_4): Likewise.
45385 (_FP_UNPACK_RAW_4): Likewise.
45386 (_FP_UNPACK_RAW_4_P): Likewise.
45387 (_FP_PACK_RAW_4): Likewise.
45388 (_FP_PACK_RAW_4_P): Likewise.
45389 (_FP_MUL_MEAT_DW_4_wide): Likewise.
45390 (_FP_MUL_MEAT_4_wide): Likewise.
45391 (_FP_MUL_MEAT_4_gmp): Likewise.
45392 (umul_ppppmnnn): Likewise.
45393 (_FP_DIV_MEAT_4_udiv): Likewise.
45394 (__FP_FRAC_ADD_4): Likewise.
45395 (__FP_FRAC_SUB_3): Likewise.
45396 (__FP_FRAC_SUB_4): Likewise.
45397 (__FP_FRAC_DEC_3): Likewise.
45398 (__FP_FRAC_DEC_4): Likewise.
45399 (__FP_FRAC_ADDI_4): Likewise.
45400 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
45401 (_FP_FRAC_SRL_8): Likewise.
45402 (_FP_FRAC_SRS_8): Likewise.
45403
45404 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
45405 include macro name.
45406 (FP_UNPACK_RAW_EP): Likewise.
45407 (FP_PACK_RAW_E): Likewise.
45408 (FP_PACK_RAW_EP): Likewise.
45409 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
45410 (_FP_ISSIGNAN): Likewise.
45411 (_FP_ADD_INTERNAL): Likewise.
45412 (_FP_FMA): Likewise.
45413 (_FP_CMP): Likewise.
45414 (_FP_SQRT): Likewise.
45415 (_FP_TO_INT): Likewise.
45416 (_FP_FROM_INT): Likewise.
45417 (FP_EXTEND): Likewise.
45418 (_FP_DIV_MEAT_N_loop): Likewise.
45419
45420 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
45421
45422 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
45423 throughout.
45424
45425 2014-06-29 Joseph Myers <joseph@codesourcery.com>
45426
45427 [BZ #17097]
45428 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
45429 result with correct sign in case of exponents that produce
45430 overflow except for X very close to 1.
45431
45432 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
45433
45434 mktime: merge #if/#ifdef usage from glibc
45435 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
45436 as that works with both Glibc's and Gnulib's style.
45437 See thread starting at Siddhesh Poyarekar's bug report at:
45438 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
45439
45440 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45441
45442 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
45443 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
45444 * sysdeps/tile/tilegx/memmove.c: Remove file.
45445
45446 2014-06-27 Joseph Myers <joseph@codesourcery.com>
45447
45448 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
45449 abi-name definition.
45450 * scripts/soversions.awk: Do not handle or generate ABI lines.
45451 * shlib-versions: Remove ABI entries.
45452 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
45453 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
45454
45455 2014-06-27 Roland McGrath <roland@hack.frob.com>
45456
45457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
45458 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
45459 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
45460 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
45461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
45462 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
45463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
45464 Moved ...
45465 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
45466 ... here.
45467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
45468 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
45469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
45470 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
45471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
45472 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
45473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
45474 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
45475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
45476 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
45477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
45478 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
45479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
45480 Moved ...
45481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
45482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
45483 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
45484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
45485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
45486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
45487 Moved ...
45488 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
45489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
45490 Moved ...
45491 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
45492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
45493 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
45494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
45495 Moved ...
45496 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
45497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
45498 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
45499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
45500 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
45501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
45502 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
45503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
45504 Moved ...
45505 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
45506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
45507 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
45508 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
45509 Moved ...
45510 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
45511 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
45512 Moved ...
45513 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
45514 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
45515 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
45516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
45517 Moved ...
45518 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
45519 ... here.
45520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
45521 Identical file removed.
45522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
45523 Moved ...
45524 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
45525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
45526 Identical file removed.
45527 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
45528 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
45529 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
45530 Moved ...
45531 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
45532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
45533 Identical file removed.
45534 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
45535 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
45536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
45537 Identical file removed.
45538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45541 Identical file removed.
45542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45543 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45545 Identical file removed.
45546 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45547 Moved ...
45548 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45550 Identical file removed.
45551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45552 Moved ...
45553 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45555 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45557 Identical file removed.
45558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45559 Moved ...
45560 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45561 ... here.
45562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45563 Identical file removed.
45564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45565 Moved ...
45566 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45568 Identical file removed.
45569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45570 Moved ...
45571 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45572 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45573 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45574 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45575 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45577 Moved ...
45578 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45579 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45580 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45581
45582 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45583 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45584 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45585 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45586 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45587
45588 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
45589
45590 [BZ #17092]
45591 * nscd/nscd.c (monitor_child): Return exit status of child
45592 instead of return value from wait syscall.
45593
45594 2014-06-27 Joseph Myers <joseph@codesourcery.com>
45595
45596 * configure.ac (libc_commonpagesize): Remove variable.
45597 (libc_relro_required): Likewise.
45598 (libc_cv_z_relro): Remove configure test.
45599 * configure: Regenerated.
45600 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45601 variable.
45602 (libc_relro_required): Likewise.
45603 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45604 (libc_relro_required): Likewise.
45605 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45606 (libc_relro_required): Likewise.
45607 * sysdeps/arm/preconfigure: Regenerated.
45608 * sysdeps/ia64/preconfigure: Remove file.
45609 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45610 variable.
45611 (libc_relro_required): Likewise.
45612
45613 [BZ #16561]
45614 [BZ #16562]
45615 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45616 (__ieee754_yn): Set FE_TONEAREST mode internally and then
45617 recompute overflowing results in original rounding mode.
45618 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45619 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45620 recompute overflowing results in original rounding mode.
45621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45622 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45623 recompute overflowing results in original rounding mode.
45624 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45625 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45626 recompute overflowing results in original rounding mode.
45627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45628 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45629 recompute overflowing results in original rounding mode.
45630 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45631 (libc_feholdsetround_ctx): New macro.
45632 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45633 * sysdeps/i386/fpu/libm-test-ulps: Update.
45634 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45635
45636 2014-06-26 Joseph Myers <joseph@codesourcery.com>
45637
45638 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45639 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45640 corresponding .cpsetup call.
45641
45642 2014-06-26 Roland McGrath <roland@hack.frob.com>
45643
45644 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45645 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45646 * sysdeps/arm/Makefile [$(subdir) = csu]
45647 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45648 (static-only-routines): Add aeabi_read_tp here.
45649 (shared-only-routines): Add libc-aeabi_read_tp here.
45650 (CFLAGS-libc-start.c): Add -fexceptions here.
45651 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45652 (sysdep_routines, static-only-routines, shared-only-routines):
45653 Don't add to these here.
45654 (CFLAGS-libc-start.c): Likewise.
45655
45656 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45657 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45658 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45659 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45660 * sysdeps/arm/Makefile [$(subdir) = rt]
45661 (librt-sysdep_routines, librt-shared-only-routines):
45662 Append rt-aeabi_unwind_cpp_pr1 here.
45663 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45664 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45665 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45666 (libpthread-sysdep_routines, libpthread-shared-only-routines):
45667 Append nptl-aeabi_unwind_cpp_pr1 here.
45668 (tests): Filter out tst-cleanupx4 here.
45669 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45670 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45671 Don't do those here.
45672
45673 2014-06-26 Joseph Myers <joseph@codesourcery.com>
45674
45675 * scripts/list-sources.sh: Do not handle ports specially.
45676
45677 2014-06-26 Roland McGrath <roland@hack.frob.com>
45678
45679 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45680 * sysdeps/arm/feupdateenv.c: Likewise.
45681
45682 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45683
45684 2014-06-26 Joseph Myers <joseph@codesourcery.com>
45685
45686 * manual/texinfo.tex: Update to version 2014-05-05.10 with
45687 trailing whitespace removed.
45688 * scripts/config.guess: Update to version 2014-03-23.
45689 * scripts/config.sub: Update to version 2014-05-01
45690 * scripts/install-sh: Update to version 2013-12-25.23.
45691 * scripts/move-if-change: Update from gnulib.
45692
45693 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45694
45695 * debug/memmove_chk.c: Remove pagecopy.h include.
45696
45697 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
45698
45699 * time/mktime.c (leapyear): Remove inline keyword. The code is now
45700 identical to gnulib mktime.
45701
45702 2014-06-26 Joseph Myers <joseph@codesourcery.com>
45703
45704 * configure.ac: Do not test for machine being rs6000. Do not test
45705 for powerpc*-*soft.
45706 * configure: Regenerated.
45707
45708 [BZ #11505]
45709 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45710 test.
45711 * configure: Regenerated.
45712 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45713 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45714 Remove configure test.
45715 * sysdeps/arm/configure: Regenerated.
45716 * sysdeps/nptl/configure.ac: Do not check
45717 libc_cv_asm_cfi_directives.
45718 * sysdeps/nptl/configure: Regenerated.
45719 * sysdeps/x86_64/nptl/configure.ac: Remove file.
45720 * sysdeps/x86_64/nptl/configure: Remove generated file.
45721 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45722 unconditional.
45723 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45724
45725 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45726
45727 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45728 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45729 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45730 it is defined.
45731
45732 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45733 instead of whether it is defined.
45734 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45735 * sysdeps/hppa/dl-machine.h: Likewise.
45736 * sysdeps/ia64/dl-machine.h: Likewise.
45737 * sysdeps/m68k/dl-machine.h: Likewise.
45738 * sysdeps/microblaze/dl-machine.h: Likewise.
45739 * sysdeps/mips/dl-machine.: Likewise.
45740 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45741 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45742 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45743 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45744 * sysdeps/sh/dl-machine.h: Likewise.
45745 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45746 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45747 * sysdeps/tile/dl-machine.h: Likewise.
45748 * sysdeps/x86_64/dl-machine.h: Likewise.
45749
45750 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45751 code.
45752 (verify_persistent_db): Likewise.
45753
45754 2014-06-26 Roland McGrath <roland@hack.frob.com>
45755
45756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45757 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45759 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45761 Moved ...
45762 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45763 ... here.
45764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45765 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45767 Identical file removed.
45768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45769 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45771 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45773 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45775 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45777 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45779 Moved ...
45780 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45782 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45784 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45786 Moved ...
45787 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45789 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45791 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45793 Identical file removed.
45794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45795 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45797 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45799 Moved ...
45800 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45801 ... here.
45802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45803 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45805 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45807 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45809 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45811 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45813 Moved ...
45814 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45816 Moved ...
45817 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45819 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45821 Moved ...
45822 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45824 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45825
45826 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45827 folded into ...
45828 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45829 * sysdeps/unix/sysv/linux/s390/Versions
45830 (libpthread: GLIBC_2.19): New version set.
45831 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45832 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45833 (librt: GLIBC_2.3.3): New version set.
45834 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45835 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45836 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45837 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45838 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45839 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45840 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45841 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45842 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45843 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45844 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45845 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45846 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45847 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45848 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45849 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45850 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45851 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45852 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45853 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45854 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45855 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45856 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45857 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45858 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45859 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45860 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45861 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45862 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45863 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45864 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45865 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45867 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45868 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45869 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45870 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45871 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45872 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45873 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45874 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45875 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45876 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45877 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45878 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45879
45880 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45881 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45882 (__libc_vfork): Define the function under this name.
45883 [!NOT_IN_libc] (__vfork): Make this an alias.
45884 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45886 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45887 (__libc_vfork): Define the function under this name.
45888 [!NOT_IN_libc] (__vfork): Make this an alias.
45889 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45890 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45891 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45892 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45893 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45894 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45895
45896 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45897 code that was previously under [RESET_PID].
45898 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45899 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45900 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45901
45902 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45903 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45904 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45905 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45906 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45907 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45908 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45909 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45910 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45911 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45912 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45913 Moved ...
45914 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45915 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45916 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45917 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45918 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45919 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45920 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45921 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45922 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45923 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45924 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45925 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45926 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45927 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45928 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45929 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45930 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45931 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45932 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45933 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45934 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45935 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45936 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45937 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45938 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45939 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45940 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45941 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45942 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45943
45944 2014-06-25 Roland McGrath <roland@hack.frob.com>
45945
45946 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45947 that was previously under [RESET_PID].
45948 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45949
45950 2014-06-25 Joseph Myers <joseph@codesourcery.com>
45951
45952 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45953 not undefine and redefine.
45954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45955 [O_CLOEXEC]: Make code unconditional.
45956 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45957 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45958 <kernel-features.h>.
45959 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45960 conditional variable definition.
45961 (shm_open) [O_CLOEXEC]: Make code unconditional.
45962 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45963 code.
45964
45965 * configure.ac (USE_REGPARMS): Don't define here.
45966 * configure: Regenerated.
45967 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45968 * sysdeps/i386/configure: Regenerated.
45969
45970 * nptl/createthread.c: Don't include kernel-features.h.
45971 * nptl/pthread_cancel.c: Likewise.
45972 * nptl/pthread_condattr_setclock.c: Likewise.
45973 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45974 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45975 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45976 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45977 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45978 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45979 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45980 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45982 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45983 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45984 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45985 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45986 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45987 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45988 * nscd/gai.c: Likewise.
45989 * nss/nss_db/db-open.c: Likewise.
45990 * sysdeps/generic/ldsodefs.h: Likewise.
45991 * sysdeps/sh/nptl/tls.h: Likewise.
45992 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45993 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45994 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45995 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45996 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45997 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45998 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45999 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46000 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46001 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
46002 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
46003 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46004 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
46005 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
46006 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
46007 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
46008 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
46009 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
46010 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
46011 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
46012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
46013 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
46014 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
46015 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
46016 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
46017 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
46018 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
46019 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
46020 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
46021 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
46022 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
46023 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
46024 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
46025 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46026 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46027 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46028 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46029 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
46030 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
46031 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
46032 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46033 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
46034 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
46035 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46036 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
46037 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
46038 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
46039 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
46040 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
46041 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
46042 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
46043 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
46044 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
46045 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46046 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
46047 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46048 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46049 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
46050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
46052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
46053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
46054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
46055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
46056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
46057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
46058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
46061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
46062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
46063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
46064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
46070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
46071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
46072 * sysdeps/unix/sysv/linux/pread.c: Likewise.
46073 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
46074 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
46075 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
46076 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
46077 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
46078 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
46079 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
46080 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
46081 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
46082 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
46083 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
46084 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
46085 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
46086 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
46087 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
46088 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46089 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
46090 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
46091 * sysdeps/unix/sysv/linux/system.c: Likewise.
46092 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
46093 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
46094 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46095 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46096 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46097 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46098 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46099
46100 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
46101 * configure: Regenerated.
46102 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
46103
46104 * configure.ac (base_machine): Do not set specially for particular
46105 machines here.
46106 * configure: Regenerated.
46107 * sysdeps/powerpc/preconfigure: Move machine and base_machine
46108 settings from configure.ac.
46109 * sysdeps/i386/preconfigure: New file.
46110 * sysdeps/s390/preconfigure: Likewise.
46111 * sysdeps/sh/preconfigure: Likewise.
46112 * sysdeps/sparc/preconfigure: Likewise.
46113
46114 2014-06-25 Roland McGrath <roland@hack.frob.com>
46115
46116 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
46117 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
46118 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
46119 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
46120 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
46121 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
46122 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
46123 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
46124 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
46125 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
46126 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
46127 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
46128 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
46129 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
46130 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
46131 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
46132 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
46133 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
46134 * sysdeps/sparc/sparc64/Makefile: ... appended here.
46135
46136 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
46137 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
46138 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
46139 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
46140 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
46141 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
46142 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
46143 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
46144 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
46145 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
46146 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46147 * sysdeps/sparc/sparc32/sem_post.c: ... here.
46148 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
46149 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
46150 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
46151 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
46152 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
46153 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
46154 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
46155 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
46156 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
46157 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
46158 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46159 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
46160 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
46161 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
46162 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
46163 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
46164 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
46165 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
46166 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
46167 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
46168 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
46169 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
46170 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
46171 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
46172 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
46173 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
46174
46175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
46176 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
46177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
46178 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
46179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46180 Moved ...
46181 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
46182 ... here.
46183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
46184 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
46185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
46186 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
46187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
46188 Moved ...
46189 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
46190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
46191 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
46192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
46193 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
46194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
46195 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
46196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46197 Moved ...
46198 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
46199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46200 Moved ...
46201 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
46202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
46203 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
46204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46205 Moved ...
46206 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
46207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
46208 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
46209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
46210 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46212 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46214 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46216 Moved ...
46217 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46218 ... here.
46219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46220 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46222 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46224 Moved ...
46225 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46227 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46229 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46231 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46233 Moved ...
46234 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46236 Moved ...
46237 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46239 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46241 Moved ...
46242 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46244 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46246 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46247
46248 2014-06-25 Joseph Myers <joseph@codesourcery.com>
46249
46250 * timezone/checktab.awk: Update from tzcode 2014e.
46251 * timezone/private.h: Likewise.
46252 * timezone/tzfile.h: Likewise.
46253 * timezone/zdump.c: Likewise.
46254 * timezone/zic.c: Likewise.
46255
46256 * sysdeps/unix/sysv/linux/kernel-features.h
46257 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46258 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46259 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46260 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46261 Remove conditional code.
46262
46263 2014-06-25 Will Newton <will.newton@linaro.org>
46264
46265 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46266 (_dl_arm_cap_flags): Add HWCAP2 values.
46267 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46268 (_DL_HWCAP_COUNT): Increase to 37.
46269 (_DL_HWCAP_LAST): New define.
46270 (_DL_HWCAP2_LAST): New define.
46271 (_dl_procinfo): Add support for printing
46272 AT_HWCAP2 entries.
46273 (_dl_string_hwcap): Use _dl_hwcap_string.
46274
46275 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46276
46277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46278
46279 2014-06-25 Joseph Myers <joseph@codesourcery.com>
46280
46281 * README: Do not mention ports directory.
46282
46283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46284 Remove macro.
46285 * sysdeps/unix/sysv/linux/futimes.c: Do not include
46286 <kernel-features.h>.
46287 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46288 conditional variable definition.
46289 (__futimes): Update comment.
46290 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46291 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46292
46293 [BZ #16560]
46294 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46295 arguments close to 0.
46296 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46297 Likewise.
46298 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46299 Likewise.
46300 * math/auto-libm-test-in: Add more tests of exp10.
46301 * math/auto-libm-test-out: Regenerated.
46302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46303
46304 * sysdeps/unix/sysv/linux/kernel-features.h
46305 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46306 * sysdeps/unix/sysv/linux/readv.c: Do not include
46307 <kernel-features.h>.
46308 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46309 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46310 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46311 unconditional.
46312 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46313 conditional code.
46314 * sysdeps/unix/sysv/linux/writev.c: Do not include
46315 <kernel-features.h>.
46316 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46317 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46318 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46319 unconditional.
46320 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46321 conditional code.
46322
46323 2014-06-25 Will Newton <will.newton@linaro.org>
46324
46325 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46326 comment changes throughout the file. Remove checks
46327 for HAVE_*_H definitions that are not required.
46328 (__gen_tempname): Call abort if an unknown kind value is
46329 passed.
46330
46331 2014-06-25 Andreas Schwab <schwab@suse.de>
46332
46333 [BZ #17086]
46334 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46335 scalbln, scalblnf, scalblnl in libc.
46336
46337 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46338
46339 [BZ #17086]
46340 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46341 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46342 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46343
46344 2014-06-24 Roland McGrath <roland@hack.frob.com>
46345
46346 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46347 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46348 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46349 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46350 Update #include.
46351 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46352 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46353 Update #include.
46354 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46355 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46356 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46357 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46358 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46359 * sysdeps/x86/bits/pthreadtypes.h: ... here.
46360 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46361 * sysdeps/x86/bits/semaphore.h: ... here.
46362 * sysdeps/x86/nptl/elide.h: Moved ...
46363 * sysdeps/x86/elide.h: ... here.
46364 * sysdeps/x86_64/nptl/Implies: File removed.
46365 * sysdeps/i386/nptl/Implies: File removed.
46366
46367 2014-06-24 Joseph Myers <joseph@codesourcery.com>
46368
46369 [BZ #16539]
46370 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46371 return the argument for normal arguments with exponent below -64.
46372 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46373 Likewise.
46374 * math/auto-libm-test-in: Add another test of expm1.
46375 * math/auto-libm-test-out: Regenerated.
46376
46377 [BZ #16287]
46378 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46379 calling __erfcl for arguments at least 16.
46380 * math/auto-libm-test-in: Add more tests of erf.
46381 * math/auto-libm-test-out: Regenerated.
46382
46383 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46384 individual architectures.
46385 * sysdeps/unix/sysv/linux/configure: Regenerated.
46386 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46387 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46388 * sysdeps/unix/sysv/linux/powerpc/configure.ac
46389 (ldd_rewrite_script): Define variable.
46390 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
46392 file.
46393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
46394 generated file.
46395 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
46396 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
46397 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
46398 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
46399 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
46400 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
46401 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
46402 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
46403
46404 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46405
46406 [BZ #17084]
46407 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
46408 Rename member __data.d to __data.__elision_data.
46409
46410 2014-06-24 Wilco <wdijkstr@arm.com>
46411
46412 * NEWS: Add 16918 to fixed bug list.
46413
46414 2014-06-24 Wilco <wdijkstr@arm.com>
46415
46416 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
46417
46418 2014-06-24 Wilco <wdijkstr@arm.com>
46419
46420 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
46421 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
46422 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
46423 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
46424 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
46425 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
46426 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
46427 Use _FPU_MASK_RM.
46428
46429 2014-06-24 Wilco <wdijkstr@arm.com>
46430
46431 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
46432
46433 2014-06-24 Wilco <wdijkstr@arm.com>
46434
46435 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
46436 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
46437 * sysdeps/arm/fesetround.c (fesetround): Remove space.
46438 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
46439
46440 2014-06-24 Wilco <wdijkstr@arm.com>
46441
46442 [BZ #16918]
46443 * sysdeps/arm/feupdateenv.c (feupdateenv):
46444 Rewrite to reduce FPSCR accesses and fix return value.
46445
46446 2014-06-24 Wilco <wdijkstr@arm.com>
46447
46448 * sysdeps/arm/fclrexcpt.c (feclearexcept):
46449 Optimize to avoid unnecessary FPSCR writes.
46450 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
46451 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
46452 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
46453 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
46454
46455 2014-06-24 Wilco <wdijkstr@arm.com>
46456
46457 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
46458 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
46459 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
46460 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
46461 Call libc_fetestexcept_vfp.
46462 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
46463 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
46464 __SOFTFP__ ifdef so that they can be built for softfp.
46465
46466 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46467
46468 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
46469 argument type signed char.
46470
46471 * Makerules (check-abi): Dump diff of symlist if the test
46472 fails.
46473
46474 2014-06-23 Roland McGrath <roland@hack.frob.com>
46475
46476 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
46477 using abort.
46478
46479 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46480 Remove unused variable ST.
46481
46482 2014-06-23 Joseph Myers <joseph@codesourcery.com>
46483
46484 [BZ #16354]
46485 [BZ #17061]
46486 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
46487 small arguments before calling __expm1.
46488 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
46489 small arguments before calling __expm1f.
46490 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
46491 small arguments before calling __expm1l.
46492 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46493 Likewise.
46494 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
46495 * math/auto-libm-test-in: Add more cosh tests. Do not allow
46496 spurious underflow for some cosh tests.
46497 * math/auto-libm-test-out: Regenerated.
46498 * sysdeps/i386/fpu/libm-test-ulps: Update.
46499
46500 [BZ #17050]
46501 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
46502 (__ieee754_y1): Set errno if return value overflows.
46503 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
46504 (__ieee754_y1f): Set errno if return value overflows.
46505 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
46506 (__ieee754_y1l): Set errno if return value overflows.
46507 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
46508 (__ieee754_y1l): Set errno if return value overflows.
46509 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
46510 * math/auto-libm-test-out: Regenerated.
46511
46512 * math/gen-auto-libm-tests.c: Document use of
46513 ignore-zero-inf-sign.
46514 (input_flag_type): Add value flag_ignore_zero_inf_sign.
46515 (input_flags): Add ignore-zero-inf-sign.
46516 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
46517 * math/gen-libm-test.pl (generate_testfile): Handle
46518 ignore-zero-inf-sign.
46519 * math/auto-libm-test-in: Mark some cpow tests with
46520 ignore-zero-inf-sign and some with xfail-rounding.
46521 * math/auto-libm-test-out: Regenerated.
46522 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
46523 * sysdeps/i386/fpu/libm-test-ulps: Update.
46524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46525
46526 [BZ #16315]
46527 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
46528 overflowing or underflowing operations take place with sign of
46529 result.
46530 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46531 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46532 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
46533 (__ieee754_pow): Recompute overflowing and underflowing results in
46534 original rounding mode.
46535 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
46536 (__powl_helper): Allow negative argument X and scale negated value
46537 as needed. Avoid passing value outside [-1, 1] to f2xm1.
46538 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46539 overflowing or underflowing operations take place with sign of
46540 result.
46541 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46542 Include <math.h>.
46543 * math/auto-libm-test-in: Add more tests of pow.
46544 * math/auto-libm-test-out: Regenerated.
46545 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46546 (pow_tonearest_test_data): Remove.
46547 (pow_test_tonearest): Likewise.
46548 (pow_towardzero_test_data): Likewise.
46549 (pow_test_towardzero): Likewise.
46550 (pow_downward_test_data): Likewise.
46551 (pow_test_downward): Likewise.
46552 (pow_upward_test_data): Likewise.
46553 (pow_test_upward): Likewise.
46554 (main): Don't call removed functions.
46555 * sysdeps/i386/fpu/libm-test-ulps: Update.
46556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46557
46558 2014-06-23 Roland McGrath <roland@hack.frob.com>
46559
46560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46561 Moved ...
46562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46564 Moved ...
46565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46567 Moved ...
46568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46570 Moved ...
46571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46573 File removed.
46574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46575 File removed.
46576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46577 File removed.
46578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46579 File removed.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46581 File removed.
46582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46583 File removed.
46584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46585 File removed.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46587 File removed.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46589 File removed.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46591 File removed.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46593 File removed.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46595 File removed.
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46597 Moved ...
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46600 Moved ...
46601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46602 ... here.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46604 Moved ...
46605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46607 Moved ...
46608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46610 Moved ...
46611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46613 Moved ...
46614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46616 Moved ...
46617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46619 Moved ...
46620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46622 Moved ...
46623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46626 ... here.
46627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46628 Moved ...
46629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46631 Moved ...
46632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46633 ... here.
46634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46635 Moved ...
46636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46637 ... here.
46638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46639 Moved ...
46640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46641 ... here.
46642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46643 Moved ...
46644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46646 Moved ...
46647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46651 Moved ...
46652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46653 ... here.
46654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46655 Moved ...
46656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46657 ... here.
46658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46659 Moved ...
46660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46662 Moved ...
46663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46665 Moved ...
46666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46668 Moved ...
46669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46671 Moved ...
46672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46673 ... here.
46674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46675 Moved ...
46676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46678 Moved ...
46679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46681 Moved ...
46682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46684 Moved ...
46685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46689 Moved ...
46690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46692 Moved ...
46693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46695 Moved ...
46696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46697 ... here.
46698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46699 Moved ...
46700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46701 ... here.
46702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46703 Moved ...
46704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46705 ... here.
46706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46707 Moved ...
46708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46710 Moved ...
46711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46713 Moved ...
46714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46716 Moved ...
46717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46718 ... here.
46719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46720 Moved ...
46721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46722 ... here.
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46724 Moved ...
46725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46726 ... here.
46727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46728 Moved ...
46729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46731 Moved ...
46732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46733
46734 2014-06-23 Will Newton <will.newton@linaro.org>
46735 Wilco <wdijkstr@arm.com>
46736
46737 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46738 implementation. Include get-rounding-mode.h.
46739 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46740 [!libc_feholdsetround_noex_ctx]: Define
46741 libc_feholdsetround_noex_ctx.
46742 [!libc_feholdsetround_noexf_ctx]: Define
46743 libc_feholdsetround_noexf_ctx.
46744 [!libc_feholdsetround_noexl_ctx]: Define
46745 libc_feholdsetround_noexl_ctx.
46746 (libc_feholdsetround_ctx): New function.
46747 (libc_feresetround_ctx): New function.
46748 (libc_feholdsetround_noex_ctx): New function.
46749 (libc_feresetround_noex_ctx): New function.
46750
46751 2014-06-23 Roland McGrath <roland@hack.frob.com>
46752
46753 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46754 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46755 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46756 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46757 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46758 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46759
46760 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46761 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46762 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46763 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46764 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46765 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46766 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46767 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46769 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46771 Moved ...
46772 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46773 ... here.
46774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46775 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46777 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46779 Moved ...
46780 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46782 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46784 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46786 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46787 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46788 Moved ...
46789 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46791 Moved ...
46792 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46794 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46795 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46796 Moved ...
46797 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46799 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46800 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46801 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46802 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46803 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46804 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46805 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46806 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46807 Moved ...
46808 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46809 ... here.
46810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46811 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46812 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46813 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46814 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46815 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46816 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46817 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46818 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46819 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46821 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46823 Moved ...
46824 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46826 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46828 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46829 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46830 Moved ...
46831 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46833 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46834 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46835 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46836
46837 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46838 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46839 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46840 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46841 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46842 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46843 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46844 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46846 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46847 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46848 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46849 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46850 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46851 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46852 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46853 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46854 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46855 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46856 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46857 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46858 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46859 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46860 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46861 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46862 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46863 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46864 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46865
46866 2014-06-23 Joseph Myers <joseph@codesourcery.com>
46867
46868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46869 (FALLOC_FL_COLLAPSE_RANGE): New macro.
46870 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46871 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46872 (IPV6_PMTUDISC_INTERFACE): Likewise.
46873 (IPV6_PMTUDISC_OMIT): Likewise.
46874
46875 2014-06-23 Andreas Schwab <schwab@suse.de>
46876
46877 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46878 Remove unused errout label.
46879
46880 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46881
46882 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46883 macro: hardware supports Vector Crypto instructions.
46884
46885 2014-06-23 Will Newton <will.newton@linaro.org>
46886
46887 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46888 rather than __builtin_expect.
46889
46890 * elf/dl-lookup.c (undefined_msg): Remove variable.
46891 (_dl_lookup_symbol_x): Replace undefined_msg with string
46892 literal.
46893
46894 * elf/dl-lookup.c (do_lookup_unique): New function.
46895 (do_lookup_x): Move STB_GNU_UNIQUE handling code
46896 to a separate function.
46897
46898 2014-06-23 Andreas Schwab <schwab@suse.de>
46899
46900 [BZ #17079]
46901 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46902 before reading the next line.
46903
46904 2014-06-23 Will Newton <will.newton@linaro.org>
46905
46906 * test-skeleton.c (signal_handler): Use printf and %m
46907 rather than perror. Use printf rather than fprintf to
46908 stderr. Use puts rather than fputs to stderr.
46909 (main): Likewise.
46910
46911 2014-06-22 Ludovic Courtès <ludo@gnu.org>
46912
46913 * nscd/nscd.c (thread_info_t): Remove typedef.
46914 (thread_info): Remove variable.
46915
46916 2014-06-21 Allan McRae <allan@archlinux.org>
46917
46918 * NEWS: Mention CVE-2014-4043.
46919
46920 2014-06-20 Roland McGrath <roland@hack.frob.com>
46921
46922 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46923 * nptl/smp.h: ... here.
46924
46925 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46926
46927 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46928 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46929 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46930 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46931
46932 * nptl/allocatestack.c: Include <stack-aliasing.h>.
46933 * nptl/stack-aliasing.h: New file.
46934 * sysdeps/i386/i686/stack-aliasing.h: New file.
46935 * sysdeps/i386/i686/nptl/Makefile: File removed.
46936 * sysdeps/x86_64/stack-aliasing.h: New file.
46937 * sysdeps/x86_64/nptl/Makefile
46938 (CFLAGS-pthread_create.c): Variable removed.
46939
46940 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46941 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46942 old file.
46943 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46944 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46945 old file.
46946
46947 2014-06-21 Joseph Myers <joseph@codesourcery.com>
46948
46949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46950 (__ASSUME_SIGFRAME_V2): Remove macro.
46951 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46952 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46953 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46954 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46955 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46956 Declare as function. Remove conditional macro definitions.
46957 (__default_rt_sa_restorer): Likewise.
46958 (__default_sa_restorer_v1): Remove declaration.
46959 (__default_sa_restorer_v2): Likewise.
46960 (__default_rt_sa_restorer_v1): Likewise.
46961 (__default_rt_sa_restorer_v2): Likewise.
46962 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46963 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46964 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46965
46966 2014-06-20 Roland McGrath <roland@hack.frob.com>
46967
46968 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46969 (libpthread-routines): Add sysdep.
46970 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46971 * sysdeps/unix/sysv/linux/sparc/Versions
46972 (libpthread: GLIBC_2.3.3): New version set.
46973 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46974 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46975 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46976 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46977 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
46978 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46979 Moved ...
46980 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46981 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46982 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46983 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46984 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46985 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46986 * sysdeps/sparc/nptl/sem_init.c: ... here.
46987 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46988 * sysdeps/sparc/nptl/sem_post.c: ... here.
46989 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46990 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46991 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46992 * sysdeps/sparc/nptl/sem_wait.c: ... here.
46993 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46994 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46995 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46996 (libpthread-routines): Add cpu_relax.
46997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46998 File removed.
46999 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
47000 (librt: GLIBC_2.3.3): New version set.
47001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
47002 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
47003 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
47004 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
47005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
47006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
47007 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
47008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
47009 Moved ...
47010 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
47011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47012 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
47013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
47014 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
47015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
47016 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
47017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
47018 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
47019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
47020 Moved ...
47021 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
47022 Update #include.
47023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
47024 Moved ...
47025 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
47026 Update #include.
47027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
47028 Moved ...
47029 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
47030 Update #include.
47031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
47032 Moved ...
47033 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
47034 Update #include.
47035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
47036 Moved ...
47037 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
47038 Update #include.
47039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
47040 Moved ...
47041 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
47042 Update #include.
47043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
47044 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
47045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
47046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
47047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
47048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
47049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
47050 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
47051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
47052 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
47053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47054 Moved ...
47055 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
47056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
47057 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
47058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
47059 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
47060
47061 2014-06-20 Joseph Myers <joseph@codesourcery.com>
47062
47063 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
47064 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
47065 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
47066 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
47067 * nscd/nscd.c: Likewise.
47068 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
47069 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
47070 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
47071 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
47072
47073 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
47074 <kernel-features.h>.
47075 (init_mq_netlink): Remove conditional have_sock_cloexec
47076 definitions. Remove code conditional on have_sock_cloexec < 0.
47077 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
47078 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
47079 * sysdeps/unix/sysv/linux/opensock.c: Do not include
47080 <kernel-features.h>.
47081 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
47082 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
47083
47084 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
47085
47086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47087 Add tests for memset_chk and memset.
47088
47089 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
47090 with AVX2_Usable.
47091
47092 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
47093
47094 [BZ #16046]
47095 * elf/tst-dl-iter-static.c: New file.
47096 * elf/Makefile (tests-static): Add tst-dl-iter-static.
47097
47098 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
47099 error.
47100
47101 2014-06-20 Joseph Myers <joseph@codesourcery.com>
47102
47103 * sysdeps/unix/sysv/linux/kernel-features.h
47104 (__ASSUME_F_GETOWN_EX): Remove macro.
47105 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
47106 <kernel-features.h>.
47107 (miss_F_GETOWN_EX): Remove variable or macro.
47108 (do_fcntl): Do not check miss_F_GETOWN_EX.
47109 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
47110
47111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
47112 Remove macro.
47113 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
47114 [!__ASSUME_AT_RANDOM]: Remove conditional code.
47115 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
47116
47117 * sysdeps/unix/sysv/linux/kernel-features.h
47118 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
47119 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
47120 [ADJ_OFFSET_SS_READ]: Make code unconditional.
47121 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
47122
47123 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
47124
47125 [BZ #17075]
47126 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
47127 Fix calculation of the symbol's value.
47128 * sysdeps/arm/tst-armtlsdescloc.c: New file.
47129 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
47130 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
47131 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
47132 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
47133 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
47134 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
47135 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
47136 (modules-names): Add `tst-armtlsdescmod',
47137 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
47138 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
47139 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47140 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
47141 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
47142 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47143 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
47144 ($(objpfx)tst-armtlsdescloc): New dependency.
47145 ($(objpfx)tst-armtlsdescextnow): Likewise.
47146 ($(objpfx)tst-armtlsdescextlazy): Likewise.
47147 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
47148 TLS scheme support.
47149 * sysdeps/arm/configure: Regenerate.
47150
47151 2014-06-20 Joseph Myers <joseph@codesourcery.com>
47152
47153 * include/fcntl.h (__atfct_seterrno): Remove prototype.
47154 (__atfct_seterrno_2): Likewise.
47155 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
47156 <kernel-features.h>.
47157 (__ASSUME_ATFCTS): Do not undefine and redefine.
47158 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
47159 (__have_atfcts): Remove conditional definition.
47160 (__fxstatat([__NR_fstatat64]: Make code unconditional.
47161 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
47162 unreachable if [__ASSUME_ATFCTS].
47163 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
47164 not undefine and redefine.
47165 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
47166 <kernel-features.h>.
47167 (faccessat) [__NR_faccessat]: Make code unconditional.
47168 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
47169 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
47170 <kernel-features.h>.
47171 (fchmodat) [__NR_fchmodat]: Make code unconditional.
47172 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47173 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
47174 <kernel-features.h>.
47175 (fchownat) [__NR_fchownat]: Make code unconditional.
47176 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
47177 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
47178 <kernel-features.h>.
47179 (futimesat) [__NR_futimesat]: Make code unconditional.
47180 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
47181 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47182 <kernel-features.h>.
47183 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47184 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47185 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47186 <kernel-features.h>.
47187 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
47188 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47189 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
47190 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47191 <kernel-features.h>.
47192 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
47193 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47194 * sysdeps/unix/sysv/linux/linkat.c: Do not include
47195 <kernel-features.h>.
47196 (linkat) [__NR_linkat]: Make code unconditional.
47197 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47198 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
47199 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
47200 <kernel-features.h>.
47201 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
47202 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47203 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
47204 <kernel-features.h>.
47205 (mkdirat) [__NR_mkdirat]: Make code unconditional.
47206 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
47207 * sysdeps/unix/sysv/linux/openat.c: Do not include
47208 <kernel-features.h>.
47209 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
47210 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47211 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47212 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47214 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47215 <kernel-features.h>.
47216 (readlinkat) [__NR_readlinkat]: Make code unconditional.
47217 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
47218 result of INLINE_SYSCALL directly, not via int variable.
47219 * sysdeps/unix/sysv/linux/renameat.c: Do not include
47220 <kernel-features.h>.
47221 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47222 (renameat) [__NR_renameat]: Make code unconditional.
47223 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47224 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47225 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47226 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47227 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47228 (__ASSUME_ATFCTS): Do not undefine and redefine.
47229 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47230 <kernel-features.h>.
47231 (symlinkat) [__NR_symlinkat]: Make code unconditional.
47232 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47233 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47234 <kernel-features.h>.
47235 (unlinkat) [__NR_unlinkat]: Make code unconditional.
47236 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47237 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47238 (__ASSUME_ATFCTS): Do not undefine and redefine.
47239 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47240 <kernel-features.h>.
47241 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47242 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47243 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47244 <kernel-features.h>.
47245 (__xmknodat) [__NR_mknodat]: Make code unconditional.
47246 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47247
47248 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
47249
47250 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47251
47252 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
47253
47254 [BZ #17069]
47255 * posix/regcomp.c (parse_reg_exp): Deallocate partially
47256 constructed tree before returning error.
47257 * posix/bug-regexp36.c: Expand test case.
47258
47259 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
47260
47261 [BZ #6803]
47262 * math/libm-test.inc (scalbln_test_date):
47263 Add errno expectations.
47264 * math/w_scalblnf.c: New File.
47265 Add wrapper which checks for setting errno to ERANGE.
47266 Add weak_alias for corresponding scalbln function.
47267 * math/w_scalbln.c: Likewise.
47268 * math/w_scalblnl.c: Likewise.
47269 * math/Makefile (libm-calls): Add w_scalbln.
47270 * sysdeps/ieee754/flt-32/s_scalblnf.c:
47271 Remove weak_alias for corresponding scalbln function.
47272 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47274 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47276 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47277 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47278 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47279 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47280 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47281 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47282 Remove long_double_symbol for scalblnl function in libm, libc.
47283 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47284 Add wrapper which checks for setting errno to ERANGE.
47285 Add long_double_symbol for scalblnl function in libm, libc.
47286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47287 Remove long_double_symbol for scalblnl in libm.
47288 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47289 Add wrapper which checks for setting errno to ERANGE.
47290 Add long_double_symbol for scalblnl function in libm.
47291 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47292 Do not use wrapper because of own implementation.
47293
47294 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
47295
47296 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47297 3 bytes for __pad1 for x32.
47298 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47299
47300 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
47301 H.J. Lu <hongjiu.lu@intel.com>
47302
47303 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47304 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47305 * sysdeps/x86_64/multiarch/memset.S: Likewise.
47306 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47307 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47308
47309 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
47310
47311 [BZ #17069]
47312 * posix/regcomp.c (parse_expression): Deallocate partially
47313 constructed tree before returning error.
47314 * posix/Makefile.c (tests): Add bug-regex36.
47315 (generated): Add bug-regex36.mtrace.
47316 (tests-special): Add $(objpfx)bug-regex36-mem.out
47317 (bug-regex36-ENV): New variable.
47318 ($(objpfx)bug-regex36-mem.out): New rule.
47319 * posix/bug-regex36.c: New file.
47320
47321 2014-06-19 Will Newton <will.newton@linaro.org>
47322
47323 * malloc/malloc.c (systrim): If extra is zero then return
47324 early.
47325
47326 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47327
47328 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47329
47330 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
47331
47332 * sysdeps/aarch64/strchr.S: New file.
47333
47334 2014-06-18 Joseph Myers <joseph@codesourcery.com>
47335
47336 [BZ #17022]
47337 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47338 from arguments -2 or below.
47339 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47340 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47341
47342 2014-06-18 Andreas Schwab <schwab@suse.de>
47343
47344 [BZ #17062]
47345 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47346 of a bracket expr not to run off the end of the string.
47347 * posix/Makefile (tests): Add tst-fnmatch3.
47348 * posix/tst-fnmatch3.c: New file.
47349
47350 2014-06-18 Joseph Myers <joseph@codesourcery.com>
47351
47352 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47353 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47354 [$(cross-compiling) = no]: Likewise.
47355 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47356 [$(cross-compiling) = no]: Likewise.
47357
47358 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47359
47360 [BZ #17031]
47361 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47362 double, adjusted for any remainder from the high double.
47363 * math/libm-test.inc (nearbyint): Add tests.
47364 (rint): Likewise.
47365
47366 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47367
47368 * nptl/sysdeps/powerpc/Makefile: Moved ...
47369 * sysdeps/powerpc/nptl/Makefile: ... here.
47370 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47371 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47372 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47373 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47374 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47375 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47376 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47377 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47378 * nptl/sysdeps/powerpc/tls.h: Moved ...
47379 * sysdeps/powerpc/nptl/tls.h: ... here.
47380
47381 2014-06-16 Joseph Myers <joseph@codesourcery.com>
47382
47383 [BZ #16681]
47384 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47385 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47386 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47387 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47388 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47389 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47390 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47391 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
47392 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
47393
47394 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
47395
47396 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47397
47398 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
47399
47400 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
47401 defined operator.
47402
47403 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
47404 $TIMEOUTFACTOR.
47405
47406 2014-06-16 Florian Weimer <fweimer@redhat.com>
47407
47408 [BZ #17058]
47409 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
47410 non-executed part of the test.
47411
47412 2014-06-16 Andreas Schwab <schwab@suse.de>
47413
47414 * string/bits/string2.h (strdup, strndup): Update feature guard.
47415
47416 2014-06-14 David S. Miller <davem@davemloft.net>
47417
47418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47419
47420 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
47421
47422 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
47423 that was previously under [RESET_PID].
47424 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
47425
47426 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
47427 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
47428 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
47429 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47430 (__libc_vfork): New strong alias.
47431 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
47432
47433 2014-06-14 Andi Kleen <ak@linux.intel.com>
47434
47435 * sysdeps/generic/elide.h: New file.
47436
47437 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
47438
47439 * Makefile (installed-headers): Adjust path of pthread.h header.
47440
47441 2014-06-13 Roland McGrath <roland@hack.frob.com>
47442
47443 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
47444 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
47445 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
47446 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
47447
47448 * nptl/sysdeps/s390/Makefile: Moved ...
47449 * sysdeps/s390/nptl/Makefile: ... here.
47450 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
47451 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
47452 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
47453 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
47454 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
47455 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
47456 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
47457 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
47458 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
47459 * sysdeps/s390/nptl/pthreaddef.h: ... here.
47460 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
47461 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
47462 * nptl/sysdeps/s390/tls.h: Moved ...
47463 * sysdeps/s390/nptl/tls.h: ... here.
47464
47465 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
47466 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
47467
47468 2014-06-13 David S. Miller <davem@davemloft.net>
47469
47470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
47471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
47472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
47473 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
47474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
47475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
47476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
47477 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
47478 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
47479 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
47480 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
47481 Remove RESET_PID cpp guards.
47482 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
47483 Remove RESET_PID cpp guards.
47484 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
47485
47486 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
47487
47488 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
47489 __sp to uintptr_t.
47490
47491 2014-06-13 Andi Kleen <ak@linux.intel.com>
47492
47493 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
47494 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
47495 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
47496 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
47497 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
47498 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
47499 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
47500 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
47501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
47502 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
47503 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
47504 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
47505 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
47506 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
47507 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
47508 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
47509 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
47510 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
47511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
47512 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
47513
47514 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
47515 (pthread_rwlock_rdlock): Add elision.
47516 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
47517 (pthread_rwlock_wrlock): Add elision.
47518 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
47519 (pthread_rwlock_trywrlock): Add elision.
47520 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
47521 (pthread_rwlock_tryrdlock): Add elision.
47522 * nptl/pthread_rwlock_unlock.c: Include elide.h.
47523 (pthread_rwlock_tryrdlock): Add elision unlock.
47524 * nptl/sysdeps/pthread/pthread.h:
47525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
47526 (PTHREAD_RWLOCK_INITIALIZER,
47527 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
47528 Handle new elision field.
47529 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47530 * sysdeps/arm/nptl/bits/pthreadtypes.h
47531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47532 * sysdeps/sh/nptl/bits/pthreadtypes.h
47533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47534 * sysdeps/tile/nptl/bits/pthreadtypes.h
47535 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47536 * sysdeps/a/nptl/bits/pthreadtypes.h
47537 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47538 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47539 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47540 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47541 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47542 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47544 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47545 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47546 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47548 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47550 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47552 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47554 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47555 (elision_init): Set try_xbegin to zero when no RTM.
47556 * sysdeps/x86/nptl/bits/pthreadtypes.h
47557 (pthread_rwlock_t): Change __pad1 to __rwelision.
47558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47559
47560 2014-06-13 Andi Kleen <ak@linux.intel.com>
47561
47562 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47563 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47564 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47565 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47566
47567 2014-06-13 Meador Inge <meadori@codesourcery.com>
47568
47569 [BZ #16996]
47570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47571 that the cached result has been set before returning it.
47572
47573 2014-06-12 Roland McGrath <roland@hack.frob.com>
47574
47575 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47576 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47577 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47578 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47579 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47580 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47581
47582 * nptl/sysdeps/sparc/Makefile: Moved ...
47583 * sysdeps/sparc/nptl/Makefile: ... here.
47584 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47585 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47586 * nptl/sysdeps/sparc/tls.h: Moved ...
47587 * sysdeps/sparc/nptl/tls.h: ... here.
47588 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47589 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47590 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47591 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47592 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47593 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47594 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47595 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47596 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47597 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47598 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47599 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47600 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47601 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47602 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47603 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47604 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47605 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47606 Update #include.
47607 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47608 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47609 Update #include.
47610 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47611 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47612 Update #include.
47613 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47614 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47615 Update #include.
47616
47617 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47618
47619 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47620 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47621
47622 * sysdeps/pthread/posix-timer.h: Include <list.h>.
47623 (struct list_links): Type removed.
47624 (struct thread_node, struct timer_node): Replace struct list_links
47625 with struct list_head.
47626 (list_unlink_ip): Likewise.
47627 * sysdeps/pthread/timer_routines.c
47628 (timer_free_list, thread_free_list, thread_active_list): Likewise.
47629 (list_append, list_insbefore): Likewise.
47630 (list_init): Function removed.
47631 (thread_init, init_module): Use INIT_LIST_HEAD instead.
47632 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47633 * sysdeps/pthread/Makefile: ... here, new file.
47634
47635 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47636 * sysdeps/nptl/Implies: ... here.
47637 * sysdeps/unix/sysv/linux/Implies: Add nptl.
47638 * nptl/sysdeps/pthread/list.h: Moved ...
47639 * include/list.h: ... here.
47640 * nptl/sysdeps/pthread/createthread.c: Moved ...
47641 * nptl/createthread.c: ... here.
47642 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47643 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47644 * nptl/pt-longjmp.c: ... here.
47645 * nptl/sysdeps/pthread/Makefile: Moved ...
47646 * sysdeps/nptl/Makefile: ... here.
47647 * nptl/sysdeps/pthread/Subdirs: Moved ...
47648 * sysdeps/nptl/Subdirs: ... here.
47649 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47650 * sysdeps/nptl/aio_misc.h: ... here.
47651 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47652 * sysdeps/nptl/bits/libc-lock.h: ... here.
47653 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47654 * sysdeps/nptl/bits/libc-lockP.h: ... here.
47655 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47656 * sysdeps/nptl/bits/stdio-lock.h: ... here.
47657 * nptl/sysdeps/pthread/configure: Moved ...
47658 * sysdeps/nptl/configure: ... here.
47659 * nptl/sysdeps/pthread/configure.ac: Moved ...
47660 * sysdeps/nptl/configure.ac: ... here.
47661 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47662 * sysdeps/nptl/gai_misc.h: ... here.
47663 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47664 * sysdeps/nptl/librt-cancellation.c: ... here.
47665 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47666 * sysdeps/nptl/malloc-machine.h: ... here.
47667 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47668 * sysdeps/nptl/pthread-functions.h: ... here.
47669 * nptl/sysdeps/pthread/pthread.h: Moved ...
47670 * sysdeps/nptl/pthread.h: ... here.
47671 * nptl/sysdeps/pthread/setxid.h: Moved ...
47672 * sysdeps/nptl/setxid.h: ... here.
47673 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47674 * sysdeps/nptl/sigfillset.c: ... here.
47675 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47676 * sysdeps/nptl/tcb-offsets.h: ... here.
47677 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47678 * sysdeps/nptl/tst-mqueue8x.c: ... here.
47679 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47680 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47681 * nptl/sysdeps/pthread/allocalim.h: Moved ...
47682 * sysdeps/pthread/allocalim.h: ... here.
47683 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47684 * sysdeps/pthread/bits/sigthread.h: ... here.
47685 * nptl/sysdeps/pthread/flockfile.c: Moved ...
47686 * sysdeps/pthread/flockfile.c: ... here.
47687 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47688 * sysdeps/pthread/ftrylockfile.c: ... here.
47689 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47690 * sysdeps/pthread/funlockfile.c: ... here.
47691 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47692 * sysdeps/pthread/posix-timer.h: ... here.
47693 * nptl/sysdeps/pthread/timer_create.c: Moved ...
47694 * sysdeps/pthread/timer_create.c: ... here.
47695 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47696 * sysdeps/pthread/timer_delete.c: ... here.
47697 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47698 * sysdeps/pthread/timer_getoverr.c: ... here.
47699 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47700 * sysdeps/pthread/timer_gettime.c: ... here.
47701 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47702 * sysdeps/pthread/timer_routines.c: ... here.
47703 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47704 * sysdeps/pthread/timer_settime.c: ... here.
47705 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47706 * sysdeps/pthread/tst-timer.c: ... here.
47707 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47708 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47709
47710 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47711 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47712
47713 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47714 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47715 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47716 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47717 Update #include target.
47718 * nptl/sysdeps/i386/i686/Makefile: Moved ...
47719 * sysdeps/i386/i686/nptl/Makefile: ... here.
47720 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47721 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47722 Update #include target.
47723 * nptl/sysdeps/i386/i686/tls.h: Moved ...
47724 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
47725 * nptl/sysdeps/i386/Makefile: Moved ...
47726 * sysdeps/i386/nptl/Makefile: ... here.
47727 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47728 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47729 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47730 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47731 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47732 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47733 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47734 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47735 * sysdeps/i386/nptl/pthreaddef.h: ... here.
47736 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47737 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47738 * nptl/sysdeps/i386/tls.h: Moved ...
47739 * sysdeps/i386/nptl/tls.h: ... here.
47740
47741 * sysdeps/sh/Makefile [$(subdir) = csu]
47742 (gen-as-const-headers): Add tcb-offsets.sym.
47743 * nptl/sysdeps/sh/Makefile: File removed.
47744 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47745 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47746 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47747 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47748 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47749 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47750 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47751 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47752 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47753 * sysdeps/sh/nptl/pthreaddef.h: ... here.
47754 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47755 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47756 * nptl/sysdeps/sh/tls.h: Moved ...
47757 * sysdeps/sh/nptl/tls.h: ... here.
47758 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47759 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47760 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47761 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47762 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47763 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47764 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47765 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47766 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47767 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47769 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47771 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47772 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47773 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47774 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47775 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47776 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47777 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47778 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47779 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47780 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47781 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47782 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47783 Moved ...
47784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47786 Moved ...
47787 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47789 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47791 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47792 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47793 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47794 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47795 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47796 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47797 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47798 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47799 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47800 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47801 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47802 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47803 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47804 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47805 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47806
47807 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
47808
47809 * posix/spawn_faction_addopen.c: Include string.h.
47810
47811 2014-06-11 Roland McGrath <roland@hack.frob.com>
47812
47813 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47814 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47815 * nptl/sysdeps/x86_64/Makefile: Moved ...
47816 * sysdeps/x86_64/nptl/Makefile: ... here.
47817 * nptl/sysdeps/x86_64/configure: Moved ...
47818 * sysdeps/x86_64/nptl/configure: ... here.
47819 * nptl/sysdeps/x86_64/configure.ac: Moved ...
47820 * sysdeps/x86_64/nptl/configure.ac: ... here.
47821 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47822 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47823 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47824 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47825 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47826 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47827 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47828 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47829 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47830 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47831 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47832 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47833 * nptl/sysdeps/x86_64/tls.h: Moved ...
47834 * sysdeps/x86_64/nptl/tls.h: ... here.
47835 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47836 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47837 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47838 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47839
47840 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47841
47842 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47843
47844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47845
47846 2014-06-11 Joseph Myers <joseph@codesourcery.com>
47847
47848 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47849 type.
47850 [POSIX] (off_t): Likewise.
47851 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47852 [POSIX] (S_ISBLK): Require macro.
47853 [POSIX] (S_ISCHR): Likewise.
47854 [POSIX] (S_ISDIR): Likewise.
47855 [POSIX] (S_ISFIFO): Likewise.
47856 [POSIX] (S_ISREG): Likewise.
47857 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47858 optional-macro.
47859 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47860 type.
47861 [POSIX] (time_t): Likewise.
47862 [POSIX] (timer_t): Likewise.
47863
47864 2014-06-11 Florian Weimer <fweimer@redhat.com>
47865
47866 [BZ #17048]
47867 * posix/spawn_int.h (struct __spawn_action): Make the path string
47868 non-const to support deallocation.
47869 * posix/spawn_faction_addopen.c
47870 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47871 * posix/spawn_faction_destroy.c
47872 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
47873 path in all spawn_do_open actions.
47874 * posix/tst-spawn.c (do_test): Exercise the copy operation in
47875 posix_spawn_file_actions_addopen.
47876
47877 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
47878
47879 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47880 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47881 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47882 conditional code always true.
47883 (__libc_vfork): New alias.
47884
47885 2014-06-11 Roland McGrath <roland@hack.frob.com>
47886
47887 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47888 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47889
47890 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47891
47892 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47893 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47894
47895 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47896 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47897
47898 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47899 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47900
47901 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47902
47903 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47904 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47905 multiarch strcmp for PPC64.
47906 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47907 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47909 multiarch optimizations.
47910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47911 (__libc_ifunc_impl_list): Likewise.
47912
47913 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47914
47915 * benchtests/scripts/validate_benchout.py: New script.
47916 * benchtests/Makefile (bench-func): Call it.
47917 * benchtests/scripts/benchout.schema.json: New file.
47918
47919 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
47920
47921 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47922 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47923 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47924 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47925 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47926 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47927 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47928 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47929 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47930 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47931 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47932 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47933 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47934 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47935 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47936 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47938 Moved ...
47939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47940 ... here.
47941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47942 Moved ...
47943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47945 Moved ...
47946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47947 ... here.
47948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47949 Moved ...
47950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47951 ... here.
47952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47953 Moved ...
47954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47956 Moved ...
47957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47958 ... here.
47959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47960 Moved ...
47961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47962 ... here.
47963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47964 Moved ...
47965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47967 Moved ...
47968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47969 ... here.
47970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47971 Moved ...
47972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47973 ... here.
47974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47975 Moved ...
47976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47977 ... here.
47978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47979 Moved ...
47980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47982 Moved ...
47983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47984 ... here.
47985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47986 Moved ...
47987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47988 ... here.
47989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47990 Moved ...
47991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47992 ... here.
47993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47994 Moved ...
47995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47997 Moved ...
47998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47999 ... here.
48000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
48001 Moved ...
48002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
48003 ... here.
48004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
48005 Moved ...
48006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
48007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
48008 Moved ...
48009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
48010 ... here.
48011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
48012 Moved ...
48013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
48014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
48015 Moved ...
48016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
48017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
48018 Moved ...
48019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
48020 ... here.
48021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
48022 Moved ...
48023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
48024 ... here.
48025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
48026 Moved ...
48027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
48028 ... here.
48029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
48030 Moved ...
48031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
48032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
48033 Moved ...
48034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
48035 ... here.
48036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
48037 Moved ...
48038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
48039 ... here.
48040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
48041 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
48042 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
48043 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
48044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
48045 Moved ...
48046 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
48047 ... here.
48048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
48049 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
48050 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
48051 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
48052 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
48053 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
48054 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
48055 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
48056 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
48057 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
48058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
48059 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
48060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
48061 Moved ...
48062 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
48063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
48064 Moved ...
48065 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
48066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
48067 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
48068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
48069 Moved ...
48070 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
48071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
48072 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
48073 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
48074 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
48075 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
48076 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
48077
48078 2014-06-10 Wilco <wdijkstr@arm.com>
48079
48080 * math/test-fenv-return.c: New file.
48081 * math/Makefile: Add new test test-fenv-return.
48082
48083 2014-06-10 Joseph Myers <joseph@codesourcery.com>
48084
48085 [BZ #17042]
48086 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
48087 when x - 1 is zero.
48088 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
48089 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
48090 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
48091 0.0L for an argument of 1.0L.
48092 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
48093 Likewise.
48094 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
48095 value when x - 1 is zero.
48096 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
48097 * sysdeps/i386/fpu/libm-test-ulps: Update.
48098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48099
48100 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
48101
48102 [BZ #15119]
48103 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
48104
48105 2014-06-09 Roland McGrath <roland@hack.frob.com>
48106
48107 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
48108 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
48109
48110 2014-06-09 Roland McGrath <roland@hack.frob.com>
48111
48112 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48113 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
48114
48115 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48116 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
48117
48118 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48119 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
48120
48121 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48122 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
48123
48124 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
48125 if not already defined.
48126 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
48127 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
48128 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
48129 (TLS_INIT_TP): Use it.
48130 (TLS_DEFINE_INIT_TP): New macro.
48131 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
48132
48133 2014-06-09 Joseph Myers <joseph@codesourcery.com>
48134
48135 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
48136 constant.
48137 [POSIX] (IXANY): Likewise.
48138 [POSIX] (OLCUC): Likewise.
48139 [POSIX || POSIX2008] (CBAUD): Do not allow.
48140 [POSIX || POSIX2008] (DEFECHO): Likewise.
48141 [POSIX || POSIX2008] (ECHOCTL): Likewise.
48142 [POSIX || POSIX2008] (ECHOKE): Likewise.
48143 [POSIX || POSIX2008] (ECHOPRT): Likewise.
48144 [POSIX || POSIX2008] (EXTA): Likewise.
48145 [POSIX || POSIX2008] (EXTB): Likewise.
48146 [POSIX || POSIX2008] (FLUSHO): Likewise.
48147 [POSIX || POSIX2008] (LOBLK): Likewise.
48148 [POSIX || POSIX2008] (PENDIN): Likewise.
48149 [POSIX || POSIX2008] (SWTCH): Likewise.
48150 [POSIX || POSIX2008] (VDISCARD): Likewise.
48151 [POSIX || POSIX2008] (VDSUSP): Likewise.
48152 [POSIX || POSIX2008] (VLNEXT): Likewise.
48153 [POSIX || POSIX2008] (VREPRINT): Likewise.
48154 [POSIX || POSIX2008] (VSTATUS): Likewise.
48155 [POSIX || POSIX2008] (VWERASE): Likewise.
48156 (B*): Change to B[0123456789]*.
48157 * conform/data/time.h-data [POSIX || UNIX98]
48158 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
48159 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48160 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
48161 [POSIX] (tm_*): Do not allow.
48162
48163 2014-06-07 Joseph Myers <joseph@codesourcery.com>
48164
48165 * Makefile (install): Don't set LANGUAGE.
48166 * Makefile.in (install): Likewise.
48167 * assert/Makefile (test-assert-ENV): Remove variable.
48168 (test-assert-perr-ENV): Likewise.
48169 * elf/Makefile (neededtest4-ENV): Likewise.
48170 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48171 [$(cross-compiling) = no]: Don't set LANGUAGE.
48172 * io/ftwtest-sh (LANG): Remove variable.
48173 * libio/Makefile (tst-widetext-ENV): Likewise.
48174 * manual/install.texi (Running make install): Don't refer to
48175 environment settings for make install.
48176 * INSTALL: Regenerated.
48177 * nptl/tst-tls6.sh: Don't set LANG.
48178 * posix/globtest.sh (LANG): Remove variable.
48179 * string/Makefile (tester-ENV): Likewise.
48180 (inl-tester-ENV): Likewise.
48181 (noinl-tester-ENV): Likewise.
48182 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48183 [$(cross-compiling) = no]: Don't set LANGUAGE.
48184 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
48185 without explicit environment settings.
48186
48187 2014-06-06 Roland McGrath <roland@hack.frob.com>
48188
48189 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
48190 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
48191 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
48192 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
48193
48194 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
48195
48196 * crypt/crypt-private.h [DOS]: Add some includes taken from the
48197 other files in the crypt directory.
48198 * crypt/crypt.c: Remove duplicate includes.
48199 * crypt/crypt-entry.c: Likewise.
48200 * crypt/crypt_util.c: Likewise.
48201
48202 2014-06-06 Joseph Myers <joseph@codesourcery.com>
48203
48204 * Makeconfig (run-program-env): New variable.
48205 (run-program-prefix-before-env): Likewise.
48206 (run-program-prefix-after-env): Likewise.
48207 (run-program-prefix): Define in terms of new variables.
48208 (built-program-cmd-before-env): New variable.
48209 (built-program-cmd-after-env): Likewise.
48210 (built-program-cmd): Define in terms of new variables.
48211 (test-program-prefix-before-env): New variable.
48212 (test-program-prefix-after-env): Likewise.
48213 (test-program-prefix): Define in terms of new variables.
48214 (test-program-cmd-before-env): New variable.
48215 (test-program-cmd-after-env): Likewise.
48216 (test-program-cmd): Define in terms of new variables.
48217 * Rules (make-test-out): Use $(run-program-env).
48218 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48219 (help): Do not mention environment variables. Mention
48220 --timeoutfactor option.
48221 (timeoutfactor): New variable.
48222 (blacklist_exports): Remove function.
48223 (exports): Remove variable.
48224 (command): Do not include ${exports}.
48225 * manual/install.texi (Configuring and compiling): Do not mention
48226 test wrappers preserving environment variables. Mention that last
48227 assignment to a variable must take precedence.
48228 * INSTALL: Regenerated.
48229 * benchtests/Makefile (run-bench): Use $(run-program-env).
48230 * catgets/Makefile ($(objpfx)test1.cat): Use
48231 $(built-program-cmd-before-env), $(run-program-env) and
48232 $(built-program-cmd-after-env).
48233 ($(objpfx)test2.cat): Do not specify environment variables
48234 explicitly.
48235 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48236 $(run-program-env) and $(built-program-cmd-after-env).
48237 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48238 $(run-program-env) and $(test-program-cmd-after-env).
48239 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48240 explicitly.
48241 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48242 run_program_env and test_program_cmd_after_env arguments.
48243 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48244 * elf/tst-pathopt.sh: Use run_program_env argument.
48245 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48246 $(test-wrapper-env) and $(run-program-env).
48247 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48248 run_program_env arguments.
48249 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48250 * intl/Makefile ($(objpfx)tst-gettext.out): Use
48251 $(test-program-prefix-before-env), $(run-program-env) and
48252 $(test-program-prefix-after-env).
48253 ($(objpfx)tst-gettext2.out): Likewise.
48254 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48255 run_program_env and test_program_prefix_after_env arguments.
48256 * intl/tst-gettext2.sh: Likewise.
48257 * intl/tst-gettext4.sh: Do not set environment variables
48258 explicitly.
48259 * intl/tst-gettext6.sh: Likewise.
48260 * intl/tst-translit.sh: Likewise.
48261 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48262 $(test-program-prefix-before-env), $(run-program-env) and
48263 $(test-program-prefix-after-env).
48264 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48265 run_program_env and test_program_prefix_after_env arguments.
48266 * math/Makefile (run-regen-ulps): Use $(run-program-env).
48267 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48268 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
48269 explicitly with each use of ${test_wrapper_env}.
48270 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48271 $(test-program-prefix-before-env), $(run-program-env) and
48272 $(test-program-prefix-after-env).
48273 * posix/tst-getconf.sh: Do not set environment variables
48274 explicitly.
48275 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48276 run_program_env and test_program_prefix_after_env arguments.
48277 * stdio-common/tst-printf.sh: Do not set environment variables
48278 explicitly.
48279 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48280 $(test-program-prefix-before-env), $(run-program-env) and
48281 $(test-program-prefix-after-env).
48282 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48283 run_program_env and test_program_prefix_after_env arguments.
48284 Split $test calls into $test_pre and $test.
48285 * timezone/Makefile (build-testdata): Use
48286 $(built-program-cmd-before-env), $(run-program-env) and
48287 $(built-program-cmd-after-env).
48288
48289 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48290
48291 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48292 strlen for non SHARED builds.
48293
48294 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
48295
48296 * nptl/allocatestack.c (check_list): Inlined function...
48297 (__reclaim_stacks): ... here.
48298
48299 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
48300
48301 [BZ #15698]
48302 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48303 memory overrun.
48304
48305 2014-06-05 Joseph Myers <joseph@codesourcery.com>
48306
48307 * Rules (make-test-out): Include
48308 LOCPATH=$(common-objpfx)localedata in default environment.
48309 * debug/Makefile (tst-chk1-ENV): Remove variable.
48310 (tst-chk2-ENV): Likewise.
48311 (tst-chk3-ENV): Likewise.
48312 (tst-chk4-ENV): Likewise.
48313 (tst-chk5-ENV): Likewise.
48314 (tst-chk6-ENV): Likewise.
48315 (tst-lfschk1-ENV): Likewise.
48316 (tst-lfschk2-ENV): Likewise.
48317 (tst-lfschk3-ENV): Likewise.
48318 (tst-lfschk4-ENV): Likewise.
48319 (tst-lfschk5-ENV): Likewise.
48320 (tst-lfschk6-ENV): Likewise.
48321 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48322 (tst-iconv7-ENV): Likewise.
48323 * intl/Makefile (LOCPATH-ENV): Likewise.
48324 (tst-codeset-ENV): Likewise.
48325 (tst-gettext3-ENV): Likewise.
48326 (tst-gettext5-ENV): Likewise.
48327 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48328 (tst-fopenloc-ENV): Likewise.
48329 (tst-fgetws-ENV): Remove variable.
48330 (tst-ungetwc1-ENV): Likewise.
48331 (tst-ungetwc2-ENV): Likewise.
48332 (bug-ungetwc2-ENV): Likewise.
48333 (tst-swscanf-ENV): Likewise.
48334 (bug-ftell-ENV): Likewise.
48335 (tst-fgetwc-ENV): Likewise.
48336 (tst-fseek-ENV): Likewise.
48337 (tst-ftell-partial-wide-ENV): Likewise.
48338 (tst-ftell-active-handler-ENV): Likewise.
48339 (tst-ftell-append-ENV): Likewise.
48340 * posix/Makefile (tst-fnmatch-ENV): Likewise.
48341 (tst-regexloc-ENV): Likewise.
48342 (bug-regex1-ENV): Likewise.
48343 (tst-regex-ENV): Likewise.
48344 (tst-regex2-ENV): Likewise.
48345 (bug-regex5-ENV): Likewise.
48346 (bug-regex6-ENV): Likewise.
48347 (bug-regex17-ENV): Likewise.
48348 (bug-regex18-ENV): Likewise.
48349 (bug-regex19-ENV): Likewise.
48350 (bug-regex20-ENV): Likewise.
48351 (bug-regex22-ENV): Likewise.
48352 (bug-regex23-ENV): Likewise.
48353 (bug-regex25-ENV): Likewise.
48354 (bug-regex26-ENV): Likewise.
48355 (bug-regex30-ENV): Likewise.
48356 (bug-regex32-ENV): Likewise.
48357 (bug-regex33-ENV): Likewise.
48358 (bug-regex34-ENV): Likewise.
48359 (bug-regex35-ENV): Likewise.
48360 (tst-rxspencer-ENV): Likewise.
48361 (tst-rxspencer-no-utf8-ENV): Likewise.
48362 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48363 (tst-sscanf-ENV): Likewise.
48364 (tst-swprintf-ENV): Likewise.
48365 (tst-swscanf-ENV): Likewise.
48366 (test-vfprintf-ENV): Likewise.
48367 (scanf13-ENV): Likewise.
48368 (bug14-ENV): Likewise.
48369 (tst-grouping-ENV): Likewise.
48370 * stdlib/Makefile (tst-strtod-ENV): Likewise.
48371 (tst-strtod3-ENV): Likewise.
48372 (tst-strtod4-ENV): Likewise.
48373 (tst-strtod5-ENV): Likewise.
48374 (testmb2-ENV): Likewise./
48375 * string/Makefile (tst-strxfrm-ENV): Likewise.
48376 (tst-strxfrm2-ENV): Likewise.
48377 (bug-strcoll1-ENV): Likewise.
48378 (test-strcasecmp-ENV): Likewise.
48379 (test-strncasecmp-ENV): Likewise.
48380 * time/Makefile (tst-strptime-ENV): Likewise.
48381 (tst-ftime_l-ENV): Likewise.
48382 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48383 (tst-mbrtowc-ENV): Likewise.
48384 (tst-wcrtomb-ENV): Likewise.
48385 (tst-mbrtowc2-ENV): Likewise.
48386 (tst-c16c32-1-ENV): Likewise.
48387 (tst-mbsnrtowcs-ENV): Likewise.
48388
48389 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
48390
48391 * manual/resource.texi (How to get information about the memory
48392 subsystem?): Fix typo.
48393 Reported by Peon de la Parra Ivan <peon@keba.com>
48394
48395 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
48396
48397 [BZ #16882]
48398 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
48399 (pthread_spin_lock): Branch out of spin loop to proper location.
48400 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
48401 (pthread_spin_lock): Likewise.
48402
48403 * nptl/tst-spin4.c: New test.
48404 * nptl/Makefile (tests): Add tst-spin4.
48405
48406 2014-06-03 Andreas Schwab <schwab@suse.de>
48407
48408 [BZ #15946]
48409 * resolv/res_send.c (send_dg): Reload file descriptor after
48410 calling reopen.
48411
48412 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
48413
48414 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48415
48416 2014-06-03 Richard Henderson <rth@redhat.com>
48417
48418 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
48419 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
48420 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
48421 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
48422 in the SAVE_PID block.
48423 (__libc_vfork): New alias.
48424 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
48425
48426 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
48427 child in registers, not on the stack. Remove RESET_PID conditionals.
48428 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
48429
48430 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
48431
48432 * sysdeps/aarch64/libm-test-ulps: Regenerate.
48433
48434 2014-06-03 Wilco <wdijkstr@arm.com>
48435
48436 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
48437 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
48438 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48439 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
48440 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
48441 Likewise.
48442
48443 2014-06-03 Wilco <wdijkstr@arm.com>
48444
48445 * sysdeps/aarch64/fpu/math_private.h
48446 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
48447 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
48448 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
48449 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48450 Fix declarations.
48451
48452 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
48453
48454 * crypt/crypt-private.h: Include ufc-crypt.h.
48455 (__b64_from_24bit): Declare extern.
48456 * crypt/crypt_util.c(__b64_from_24bit): New function.
48457 (b64t): New static const variable.
48458 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48459 (b64t): Remove variable.
48460 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
48461 * crypt/sha256-crypt.c: Include crypt-private.h.
48462 (b64t): Remove variable.
48463 (__sha256_crypt_r): Remove b64_from_24bit and replace
48464 with __b64_from_24bit.
48465 * crypt/sha512-crypt.c: Likewise.
48466
48467 2014-06-02 Roland McGrath <roland@hack.frob.com>
48468
48469 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
48470 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
48471 Label the code __libc_vfork rather than __vfork.
48472 [!NOT_IN_libc] (vfork): Define as weak alias.
48473 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
48474 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
48475 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
48476
48477 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48478
48479 * malloc/malloc.c (malloc_info): Fix format specifier for
48480 n_mmaps.
48481
48482 2014-06-02 Wilco <wdijkstr@arm.com>
48483
48484 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
48485 FPCR write.
48486
48487 2014-06-02 Wilco <wdijkstr@arm.com>
48488
48489 [BZ #17009]
48490 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
48491 Rewrite to reduce FPCR/FPSR accesses.
48492
48493 2014-06-01 David S. Miller <davem@davemloft.net>
48494
48495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48496
48497 2014-05-31 David S. Miller <davem@davemloft.net>
48498
48499 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
48500 to occur in round to nearest mode when |x| >= 2.0
48501
48502 2014-05-30 Richard Henderson <rth@twiddle.net>
48503
48504 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
48505 (PSEUDO_RET_NOERRNO): Remove.
48506 (ret): Don't redefine.
48507 (ret_NOERRNO): Define in terms of ret.
48508 (ret_ERRVAL): Likewise.
48509
48510 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
48511 use of PSEUDO_RET; perform the error check directly.
48512
48513 2014-05-30 Marko Myllynen <myllynen@redhat.com>
48514
48515 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
48516 with __int128_t.
48517
48518 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48519
48520 * malloc/malloc (malloc_info): Fix formatting.
48521
48522 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48523 Roland McGrath <roland@hack.frob.com>
48524
48525 * malloc/malloc (malloc_info): Also print mmapped statistics.
48526
48527 2014-05-30 Roland McGrath <roland@hack.frob.com>
48528
48529 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
48530 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
48531
48532 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
48533
48534 * malloc/malloc.c (malloc_info): Inline mi_arena.
48535
48536 2014-05-29 Richard Henderson <rth@twiddle.net>
48537
48538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48539 Remove comma before expanding ASM_ARGS_##nr.
48540 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48541 Make _x0 a strict output; make _x8 a strict input; adjust expansion
48542 of ASM_ARGS_##nr.
48543 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48544 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48545 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48546 (ASM_ARGS_1): Add leading comma.
48547
48548 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48549 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48550 to __errno_location.
48551 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48552 Remove the expected plt for __errno_location.
48553
48554 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48555 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48556 call to __read_tp.
48557
48558 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48559 Always allocate 64 bytes of stack frame. Use ldp/stp to create
48560 it and break it down.
48561 (DOCARGS_0, DOCARGS_1): Do nothing.
48562 (DOCARGS_2): Update to store into the new stack frame.
48563 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48564 (UNDOCARGS_1): Update to restore from the new stack frame.
48565 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48566 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48567
48568 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48569 (SINGLE_THREAD_P): New parameter for result regno.
48570 (PSEUDO): Update to match; use cbz instead of beq.
48571
48572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48573 Use ENTRY to define the _nocancel entry point. Share the syscall
48574 and syscall error check paths with the cancel path.
48575 (PSEUDO_END): New.
48576
48577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48578 whitespace; tabs before and after asm mnemonics.
48579
48580 2014-05-29 Eric Wong <normalperson@yhbt.net>
48581
48582 [BZ #15132]
48583 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48584 Call fstat64 or stat64 internally, depending on arguments passed.
48585 Replace stat buffer argument with file descriptor argument.
48586 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48587 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48588 Pass fd to __internal_statvfs instead of calling fstat64.
48589 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48590 Pass fd to __internal_statvfs64 instead of calling fstat64.
48591 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48592 Pass -1 to __internal_statvfs instead of calling stat64.
48593 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48594 Pass -1 to __internal_statvfs64 instead of calling stat64.
48595
48596 2014-05-28 Roland McGrath <roland@hack.frob.com>
48597
48598 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48599 that was previously under [RESET_PID].
48600 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48601
48602 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48603 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48604
48605 2014-05-27 Roland McGrath <roland@hack.frob.com>
48606
48607 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48608
48609 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48610 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48611
48612 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
48613
48614 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48615
48616 2014-05-27 Andreas Schwab <schwab@suse.de>
48617
48618 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48619 TLS_INIT_TP macro.
48620 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48621 * elf/rtld.c (init_tls, dl_main): Likewise.
48622 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48623 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48624 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48625 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48626 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48627 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48628 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48629 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48630 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48631 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48632 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48633 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48634 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48635 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48636 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48637 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48638 * sysdeps/generic/tls.h: Update description.
48639
48640 2014-05-27 Will Newton <will.newton@linaro.org>
48641
48642 [BZ #16990]
48643 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48644 and restore r2 rather than just restoring.
48645
48646 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
48647
48648 [BZ #16724]
48649 * libio/tst-ftell-append.c: New test case.
48650 * libio/Makefile (tests): Add test case.
48651 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48652 append mode.
48653 * libio/wfileops.c (do_ftell_wide): Likewise.
48654
48655 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48656
48657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48658
48659 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48660 ...
48661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48663 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48664 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48665 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48666 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48667 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48668 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48669 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48670 Moved ...
48671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48673 Moved ...
48674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48675 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48676 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48677 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48678 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48679 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48680 ...
48681 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48682 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48683 Moved ...
48684 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48685 here.
48686 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48687 ...
48688 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48689 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48690 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48691
48692 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48693 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48695 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48696
48697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48698 merge into ...
48699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48701 ...
48702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48704 ...
48705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48707 Moved ...
48708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48709 here.
48710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48711 Moved ...
48712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48714 Moved ...
48715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48716
48717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48718 conditional [RESET_PID].
48719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48721 removed.
48722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48723 removed.
48724
48725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48726 <tcb-offsets.h>.
48727 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48728 (__libc_vfork): New strong alias.
48729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48730 removed.
48731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48732 Removed.
48733
48734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48735 <tcb-offsets.h>.
48736 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48737 (__libc_vfork): New strong alias.
48738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48739 removed.
48740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48741 removed.
48742
48743 2014-05-26 Carlos O'Donell <carlos@redhat.com>
48744
48745 * malloc/malloc.c (mi_arena): New function.
48746 (malloc_info): Remove nested function mi_arena. Call non-nosted
48747 function mi_arena.
48748
48749 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48750
48751 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48752 by insrwi.
48753 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48754 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48755 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48756 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48757 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48758 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48759 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48760
48761 2014-05-26 Andreas Schwab <schwab@suse.de>
48762
48763 [BZ #16984]
48764 * locale/programs/repertoire.c (repertoire_read): Add slash
48765 between I18NPATH element and file name.
48766 * locale/programs/locfile.c (locfile_read): Likewise.
48767
48768 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
48769
48770 * nptl/pthread_mutexattr_settype.c
48771 (__pthread_mutexattr_settype):
48772 Disable lock elision for PTHREAD_MUTEX_NORMAL.
48773
48774 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
48775
48776 * nptl/tst-mutex5 (do_test):
48777 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48778
48779 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48780
48781 * benchtests/README: Document 'init' directive.
48782 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48783 BENCH_INIT.
48784 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48785 (parse_file): Recognize 'init' directive.
48786
48787 2014-05-26 Kyle McMartin <kyle@redhat.com>
48788
48789 [BZ #16796]
48790 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48791 alignment of struct pthread.
48792
48793 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48794
48795 [BZ #16878]
48796 * nscd/netgroupcache.c (addgetnetgrentX): Look for
48797 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48798 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48799 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48800
48801 2014-05-25 Richard Henderson <rth@twiddle.net>
48802
48803 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48804 (SINGLE_THREAD_P_PIC): Remove.
48805 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48806 (SINGLE_THREAD_P_PIC): Remove.
48807
48808 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48809 branch to syscall error ...
48810 (PSEUDO): ... here.
48811 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48812 from __local_syscall_error to .Lsyscall_error.
48813 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48814 (SYSCALL_ERROR): Update label name.
48815
48816 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48817 Do not use DOARGS/UNDOARGS.
48818 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48819 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48820 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48821 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48822 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48823
48824 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48825 block comment.
48826
48827 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48828 define if !NOT_IN_libc.
48829 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48830 define with non-default symbol versions.
48831
48832 2014-05-23 Richard Henderson <rth@twiddle.net>
48833
48834 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48835 (vfork, __vfork): Define via compat_symbol.
48836
48837 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48838 [!HAVE_IFUNC] (vfork_compat): Remove.
48839 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48840
48841 2014-05-23 Joseph Myers <joseph@codesourcery.com>
48842
48843 [BZ #16978]
48844 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48845 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48846 variable.
48847
48848 2014-05-23 Richard Henderson <rth@twiddle.net>
48849
48850 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48851 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48852 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48853 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48854
48855 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48856 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48857 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48858 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48859 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48860 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48861 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48862 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48863 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48864 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48865 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48866 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48867 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48868 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48869 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48870 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48871 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48872 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48873 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48874 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48875 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48876 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48877 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48878 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48879 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48880 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48881 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48882 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48883 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48884 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48885 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48886 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48887 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48888 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48889 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48890 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48891 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48892 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48893 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48894 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48895 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48896 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48897 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48898 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48899 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48900 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48901 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48902 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48903 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48904 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48905 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48906 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48907 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48908 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48909 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48910 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48911
48912 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48913 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48914 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
48915 before exiting on error.
48916 (__libc_vfork): New strong alias.
48917 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48918 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48919
48920 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48921 that was previously under [RESET_PID].
48922 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48923
48924 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48925
48926 2014-05-23 Joseph Myers <joseph@codesourcery.com>
48927
48928 [BZ #16977]
48929 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48930 value when x - 1 is zero.
48931 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48932 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48933 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48934 0.0L for an argument of 1.0L.
48935 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48936 Likewise.
48937 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48938 value when x - 1 is zero.
48939 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48940 * sysdeps/i386/fpu/libm-test-ulps: Update.
48941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48942
48943 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
48944
48945 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48946 alphasort and versionsort.
48947
48948 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48949
48950 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48951 macro.
48952 [copysignf]: Likewise.
48953
48954 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48955
48956 * crypt/md5-crypt.c: Fix formatting.
48957
48958 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
48959
48960 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48961 (b64_from_24bit): New function.
48962
48963 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48964
48965 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48966 libc_hidden_builtin_def to ifunc.
48967 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48968 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48969
48970 2014-05-21 Roland McGrath <roland@hack.frob.com>
48971
48972 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48973 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48974
48975 2014-05-21 Joseph Myers <joseph@codesourcery.com>
48976
48977 * nscd/Depend (linuxthreads): Remove.
48978 (nptl): Add.
48979 * resolv/Depend (linuxthreads): Remove.
48980 * rt/Depend (linuxthreads): Remove.
48981
48982 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48983 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48984 $(common-objpfx)elf/.
48985 (link-libc-before-gnulib): Likewise.
48986 (elfobjdir): Remove variable.
48987 * Makefile (install): Use $(elf-objpfx) instead of
48988 $(common-objpfx)elf/.
48989 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48990 $(elfobjdir)/.
48991 (link-libc-deps): Likewise.
48992 ($(common-objpfx)libc.so): Likewise.
48993 ($(common-objpfx)linkobj/libc.so): Likewise.
48994 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48995 instead of $(common-objpfx)elf/.
48996 (symbolic-link-list): Likewise.
48997 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48998 [$(cross-compiling) = no]: Likewise.
48999 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
49000 $(elfobjdir)/.
49001 (static-gnulib-arch): Likewise.
49002 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49003 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
49004 $(common-objpfx)elf/.
49005
49006 2014-05-21 Richard Henderson <rth@redhat.com>
49007
49008 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49009 (SINGLE_THREAD_P): Use the correct width load. Fold
49010 into the ldr offset.
49011
49012 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
49013 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
49014
49015 2014-05-20 Joseph Myers <joseph@codesourcery.com>
49016
49017 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
49018 (libgcc_s_resume): Use __attribute_used__.
49019 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
49020 Likewise.
49021
49022 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49023
49024 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
49025 optimization when used with float constants.
49026
49027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49028
49029 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
49030
49031 [BZ #16915]
49032 * locale/nl_langinfo_l.c: Make direct reference to every
49033 _nl_current_CATEGORY symbol.
49034 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
49035 (tests-static): Add tst-langinfo-static.
49036 (tests-special): Add tst-langinfo-static.out.
49037 ($(objpfx)tst-langinfo.out): Redirect output.
49038 ($(objpfx)tst-langinfo-static.out): New.
49039 * localedata/tst-langinfo.sh: Send output to stdout.
49040 * localedata/tst-langinfo-static.c: New file.
49041
49042 [BZ #16965]
49043 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
49044 when the shift amount is modulo the limb size.
49045
49046 2014-05-20 Richard Henderson <rth@redhat.com>
49047
49048 [BZ #16967]
49049 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
49050 Change type of sa_flags from unsigned int to int.
49051
49052 [BZ #16966]
49053 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
49054
49055 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
49056
49057 2014-05-20 Will Newton <will.newton@linaro.org>
49058
49059 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49060 Test the return value of the system call in the nocancel case.
49061
49062 2014-05-20 Will Newton <will.newton@linaro.org>
49063 Yvan Roux <yvan.roux@linaro.org>
49064
49065 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
49066 #include of asm/ptrace.h.
49067 (PTRACE_GET_THREAD_AREA): Remove #undef.
49068 (PTRACE_GETHBPREGS): Likewise.
49069 (PTRACE_SETHBPREGS): Likewise.
49070 (struct user_regs_struct): New structure.
49071 (struct user_fpsimd_struct): New structure.
49072 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
49073 #include of asm/ptrace.h and second #include of sys/user.h.
49074 (PTRACE_GET_THREAD_AREA): Remove #undef.
49075 (PTRACE_GETHBPREGS): Likewise.
49076 (PTRACE_SETHBPREGS): Likewise.
49077 (ELF_NGREG): Use new struct user_regs_struct.
49078 (elf_fpregset_t): Use new struct user_fpsimd_struct.
49079
49080 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49081
49082 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
49083 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
49084
49085 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
49086
49087 [BZ #16958]
49088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
49089 membar to avoid block loads/stores to overlap previous stores.
49090
49091 2014-05-17 Richard Henderson <rth@redhat.com>
49092
49093 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
49094 Create the __##syscall_name##_nocancel entry point.
49095 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
49096 Remove; let the sysdep-cancel.h code create it.
49097
49098 2014-05-17 David S. Miller <davem@davemloft.net>
49099
49100 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
49101 Protect with __USE_GNU.
49102 (TIOCSET_TEMPT): Likewise.
49103 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
49104 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
49105 these are already provided in bits/ioctl-types.h
49106
49107 2014-05-16 Roland McGrath <roland@hack.frob.com>
49108
49109 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
49110 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
49111
49112 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
49113 Use wait4 regardless of [__NR_waitpid].
49114
49115 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
49116
49117 PR libgcc/60166
49118 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49119 (_FP_NANSIGN_Q): Set the quiet bit.
49120
49121 2014-05-16 Joseph Myers <joseph@codesourcery.com>
49122
49123 * benchtests/Makefile
49124 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
49125 not $(common-objpfx)math/libm.so.
49126 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
49127 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
49128 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
49129 $(common-objpfx)dlfcn/libdl.so.
49130 ($(objpfx)tst-audit8): Depend on $(libm), not
49131 $(common-objpfx)math/libm.so.
49132 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
49133 not $(common-objpfx)dlfcn/libdl.so.
49134 * math/Makefile
49135 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49136 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
49137 [$(build-shared) = yes].
49138 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
49139 $(common-objpfx)nptl/libpthread.so.
49140 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
49141 $(common-objpfx)math/libm.so$(libm.so-version) or
49142 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
49143 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
49144 $(common-objpfx)dlfcn/libdl.so.
49145 * setjmp/Makefile (link-libm): Remove variable.
49146 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
49147 * stdio-common/Makefile (link-libm): Remove variable.
49148 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49149 * stdlib/Makefile (link-libm): Remove variable.
49150 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
49151 ($(objpfx)tst-strtod-round): Likewise.
49152 ($(objpfx)tst-tininess): Likewise.
49153 ($(objpfx)tst-strtod-underflow): Likewise.
49154 ($(objpfx)tst-strtod6): Likewise.
49155 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
49156 $(libdl), not $(common-objpfx)nptl/libpthread.so and
49157 $(common-objpfx)dlfcn/libdl.so.
49158
49159 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49160
49161 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
49162 BSD terminal modes definitions.
49163
49164 2014-05-16 Roland McGrath <roland@hack.frob.com>
49165
49166 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
49167 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49168
49169 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
49170 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
49171 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
49172 Don't do #include_next.
49173 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
49174 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
49175 Don't do #include_next.
49176 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
49177 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
49178 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
49179 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
49180
49181 2014-05-16 Allan McRae <allan@archlinux.org>
49182
49183 * po/sv.po: Update Swedish translation from translation project.
49184
49185 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
49186 in sed expression.
49187
49188 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
49189
49190 [BZ #16917]
49191 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
49192 errno if the TIOCGPTN ioctl fails with an error different than
49193 EINVAL.
49194 * login/tst-ptsname.c: New file.
49195 * login/Makefile (tests): Add tst-ptsname.
49196
49197 [BZ #16943]
49198 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
49199 and prlimit64.
49200
49201 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49202
49203 [BZ #16849]
49204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
49205 herrno to return EAI_AGAIN.
49206
49207 2014-05-14 Roland McGrath <roland@hack.frob.com>
49208
49209 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
49210 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49211 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49212 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49213 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49214 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49215 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49216 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49218 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49219 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49220 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49221 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49222 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49223 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49224 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49225 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49226 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49227 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49228 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49229 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49230 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49231 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49232 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49233 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49234 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49235 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49236 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49237 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49238 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49240 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49242 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49244 Moved ...
49245 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49247 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49249 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49251 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49253 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49255 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49257 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49259 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49261 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49263 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49265 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49267 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49269 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49271 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49273 Moved ...
49274 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49276 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49278 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49280 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49282 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49284 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49286 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49288 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49290 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49292 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49294 Moved ...
49295 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49297 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49298
49299 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49300 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49301 (libpthread-sysdep_routines): Add elision-related stuff here instead.
49302 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49303 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49304 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49305 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49306 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49307 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49308 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49309 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49310 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49311 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49312 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49313 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49314 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49315 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49316 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49317 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49318 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49319 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49320 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49321 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49322 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49323 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49324 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49325 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49326 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49327 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49328 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49329 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49330
49331 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49332 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49333
49334 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49335 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49336 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49337 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49338 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49339 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49340 Moved ...
49341 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49343 Moved ...
49344 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49345 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49346 Moved ...
49347 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49349 Moved ...
49350 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49351 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49352 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49354 Moved ...
49355 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49356 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49357 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49359 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49360 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49361 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49362 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49363 Moved ...
49364 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49365 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49366 Moved ...
49367 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49368 ... here.
49369 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49370 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49371 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49372 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49373 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49374 Moved ...
49375 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49376 ... here.
49377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49378 Moved ...
49379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49380 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49381 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49382 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49383 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49384 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49385 Moved ...
49386 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49388 Moved ...
49389 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49390 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49391 Moved ...
49392 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
49393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
49394 Moved ...
49395 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
49396 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
49397 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
49398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
49399 Moved ...
49400 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
49401 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
49402 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
49403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
49404 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
49405 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
49406 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
49407 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
49408 Moved ...
49409 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
49410 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49411 Moved ...
49412 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49413 ... here.
49414 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
49415 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
49416 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
49417 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
49418 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49419 Moved ...
49420 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49421 ... here.
49422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
49423 Moved ...
49424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
49425 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
49426 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
49427 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
49428 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
49429 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
49430 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
49431 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
49432 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
49433 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
49434 Moved ...
49435 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
49436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
49437 Moved ...
49438 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
49439 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
49440 Moved ...
49441 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
49442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
49443 Moved ...
49444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
49445 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
49446 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
49447 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
49448 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
49449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
49450 Moved ...
49451 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
49452 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
49453 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
49454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
49455 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
49456 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
49457 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
49458 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
49459 Moved ...
49460 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
49461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49462 Moved ...
49463 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49464 ... here.
49465 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
49466 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
49467 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
49468 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
49469 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49470 Moved ...
49471 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49472 ... here.
49473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
49474 Moved ...
49475 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
49476 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
49477 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
49478 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
49479 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
49480 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
49481 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
49482 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
49483 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
49484 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
49485 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
49486
49487 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
49488 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
49489
49490 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
49491 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
49492
49493 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
49494 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
49495 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
49496 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
49497 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
49498 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
49499 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
49500 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
49501 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
49502 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
49503 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
49504 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
49505 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
49506 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
49507 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
49508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
49509 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
49510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
49511 Moved ...
49512 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
49513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
49514 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
49515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
49516 Moved ...
49517 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
49518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
49519 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
49520 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
49521 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
49522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
49523 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
49524 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
49525 Moved ...
49526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
49527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
49528 Moved ...
49529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
49530 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
49531 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
49532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
49533 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
49534 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
49535 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49536 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
49537 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
49538 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49539 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49540 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49541 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49542 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49543 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49544 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49545 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49546
49547 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49548 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49549 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49550 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49551 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49552
49553 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49554 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49555 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49556 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49557 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49558 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49559 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49560 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49561 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49562 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49563
49564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49566
49567 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49568 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49569 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49570 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49571 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49572 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49573 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49574 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49575 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49576 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49577 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49578 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49579 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49580 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49582 Update #include.
49583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49584 Likewise.
49585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49586 Likewise.
49587 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49588 Likewise.
49589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49590 Likewise.
49591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49592 Likewise.
49593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49594 Likewise.
49595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49596 Likewise.
49597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49598 Likewise.
49599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49600 Likewise.
49601 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49602 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49604 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49606 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49607 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49608 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49609 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49610 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49611 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49612 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49613 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49614 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
49615 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
49616
49617 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49618 that was previously under [RESET_PID].
49619 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49620 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49621 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49622
49623 * sysdeps/i386/nptl/Implies: New file.
49624 * sysdeps/x86_64/nptl/Implies: New file.
49625 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49626 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49627 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49628 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49629
49630 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49631 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49632 (__libc_vfork): New strong alias.
49633 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49634 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49635
49636 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49637 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49638 (__libc_vfork): New strong alias.
49639 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49640 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49641
49642 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49643 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49644 (__libc_vfork): New strong alias.
49645 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49646 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49647 * nptl/pt-vfork.c: New file.
49648 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49649 (libpthread: GLIBC_2.20): New version set (empty).
49650
49651 2014-05-14 Will Newton <will.newton@linaro.org>
49652
49653 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49654 rather than #if.
49655
49656 2014-05-14 Joseph Myers <joseph@codesourcery.com>
49657
49658 [BZ #16564]
49659 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49660 arguments with exponent 65 or above.
49661 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49662 arguments 0x1p113L or above.
49663 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49664 to arguments 0x1p107L or above.
49665 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49666 positive arguments with exponent 65 or above.
49667 * math/auto-libm-test-in: Add more tests of log1p.
49668 * math/auto-libm-test-out: Regenerated.
49669
49670 [BZ #16928]
49671 * math/s_cacos.c (__cacos): Ensure zero real part of result from
49672 non-finite arguments is +0.
49673 * math/s_cacosf.c (__cacosf): Likewise.
49674 * math/s_cacosl.c (__cacosl): Likewise.
49675 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49676 * sysdeps/i386/fpu/libm-test-ulps: Update.
49677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49678
49679 [BZ #16927]
49680 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49681 value.
49682 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49683 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49684 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49685 for explicit high bit of mantissa when testing for argument equal
49686 to 1.
49687 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49688 * sysdeps/i386/fpu/libm-test-ulps: Update.
49689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49690
49691 [BZ #16516]
49692 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49693 (__erf): Scale by 16 instead of 8 in potentially underflowing
49694 case. Ensure exception if result actually underflows.
49695 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49696 (__erff): Scale by 16 instead of 8 in potentially underflowing
49697 case. Ensure exception if result actually underflows.
49698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49699 (efx8): Remove variable.
49700 (__erfl): Scale by 16 instead of 8 in potentially underflowing
49701 case. Ensure exception if result actually underflows.
49702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49703 (efx8): Remove variable.
49704 (__erfl): Scale by 16 instead of 8 in potentially underflowing
49705 case. Ensure exception if result actually underflows.
49706 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49707 (efx8): Remove variable.
49708 (__erfl): Scale by 16 instead of 8 in potentially underflowing
49709 case. Ensure exception if result actually underflows.
49710 * math/auto-libm-test-in: Add more tests of erf.
49711 * math/auto-libm-test-out: Regenerated.
49712
49713 2014-05-14 Andreas Schwab <schwab@suse.de>
49714
49715 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49716 Remove code conditionalized on USE___THREAD.
49717
49718 * config.h.in (HAVE_PT_CHOWN): Define as 0.
49719 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49720 not definedness.
49721
49722 2014-05-14 Joseph Myers <joseph@codesourcery.com>
49723
49724 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49725 Define unconditionally.
49726 (__ASSUME_O_CLOEXEC): Likewise.
49727 (__ASSUME_SOCK_CLOEXEC): Likewise.
49728 (__ASSUME_IN_NONBLOCK): Likewise.
49729 (__ASSUME_PIPE2): Likewise.
49730 (__ASSUME_EVENTFD2): Likewise.
49731 (__ASSUME_SIGNALFD4): Likewise.
49732 (__ASSUME_DUP3): Likewise.
49733 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49734 (__ASSUME_DUP3): Do not define.
49735 (__ASSUME_EVENTFD2): Likewise.
49736 (__ASSUME_IN_NONBLOCK): Likewise.
49737 (__ASSUME_O_CLOEXEC): Likewise.
49738 (__ASSUME_PIPE2): Likewise.
49739 (__ASSUME_SIGNALFD4): Likewise.
49740 (__ASSUME_SOCK_CLOEXEC): Likewise.
49741 (__ASSUME_UTIMES): Undefine.
49742 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49743 (__ASSUME_UTIMES): Do not define.
49744 (__ASSUME_O_CLOEXEC): Likewise.
49745 (__ASSUME_SOCK_CLOEXEC): Likewise.
49746 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49747 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49748 0x020621].
49749 (__ASSUME_PIPE2): Likewise.
49750 (__ASSUME_EVENTFD2): Likewise.
49751 (__ASSUME_SIGNALFD4): Likewise.
49752 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49753 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49754 Do not define.
49755 (__ASSUME_EVENTFD2): Likewise.
49756 (__ASSUME_SIGNALFD4): Likewise.
49757 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49758 (__ASSUME_32BITUIDS): Likewise.
49759 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49760 (__ASSUME_IPC64): Likewise.
49761 (__ASSUME_ST_INO_64_BIT): Likewise.
49762 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49763 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49764 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49765 (__ASSUME_UTIMES): Do not define.
49766 (__ASSUME_PSELECT): Likewise.
49767 (__ASSUME_PPOLL): Likewise.
49768 (__ASSUME_O_CLOEXEC): Likewise.
49769 (__ASSUME_SOCK_CLOEXEC): Likewise.
49770 (__ASSUME_IN_NONBLOCK): Likewise.
49771 (__ASSUME_PIPE2): Likewise.
49772 (__ASSUME_EVENTFD2): Likewise.
49773 (__ASSUME_SIGNALFD4): Likewise.
49774 (__ASSUME_DUP3): Likewise.
49775 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49776 (__ASSUME_UTIMES): Likewise.
49777 (__ASSUME_O_CLOEXEC): Likewise.
49778 (__ASSUME_SOCK_CLOEXEC): Likewise.
49779 (__ASSUME_IN_NONBLOCK): Likewise.
49780 (__ASSUME_PIPE2): Likewise.
49781 (__ASSUME_EVENTFD2): Likewise.
49782 (__ASSUME_SIGNALFD4): Likewise.
49783 (__ASSUME_DUP3): Likewise.
49784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49785 (__ASSUME_UTIMES): Likewise.
49786 (__ASSUME_O_CLOEXEC): Likewise.
49787 (__ASSUME_SOCK_CLOEXEC): Likewise.
49788 (__ASSUME_IN_NONBLOCK): Likewise.
49789 (__ASSUME_PIPE2): Likewise.
49790 (__ASSUME_EVENTFD2): Likewise.
49791 (__ASSUME_SIGNALFD4): Likewise.
49792 (__ASSUME_DUP3): Likewise.
49793 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49794 Likewise.
49795 (__ASSUME_UTIMES): Likewise.
49796 (__ASSUME_EVENTFD2): Likewise.
49797 (__ASSUME_SIGNALFD4): Likewise.
49798 * sysdeps/unix/sysv/linux/tile/kernel-features.h
49799 (__ASSUME_O_CLOEXEC): Likewise.
49800 (__ASSUME_SOCK_CLOEXEC): Likewise.
49801 (__ASSUME_IN_NONBLOCK): Likewise.
49802 (__ASSUME_PIPE2): Likewise.
49803 (__ASSUME_EVENTFD2): Likewise.
49804 (__ASSUME_SIGNALFD4): Likewise.
49805 (__ASSUME_DUP3): Likewise.
49806 (__ASSUME_UTIMES): Undefine.
49807
49808 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49809 feclearexcept. Remove symbol versioning code.
49810 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
49811 symbol versioning code.
49812 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
49813 symbol versioning code.
49814 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49815 feupdateenv. Remove symbol versioning code.
49816 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49817 fegetexceptflag. Remove symbol versioning code.
49818 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49819 fesetexceptflag. Remove symbol versioning code.
49820 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49821 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
49822 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49823 (__posix_fadvise64_l32): Remove prototype.
49824 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49825 code.
49826
49827 2014-05-13 Roland McGrath <roland@hack.frob.com>
49828
49829 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49830 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49831 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49832 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49833
49834 2014-05-13 Sami Kerola <kerolasa@iki.fi>
49835
49836 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49837 current working directory
49838
49839 2014-05-13 Roland McGrath <roland@hack.frob.com>
49840
49841 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49842 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49843 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49844 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49845 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49846 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49847 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49848 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49849 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49850 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49851 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49852 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49853 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49854 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49855 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49856 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49857 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49858 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49859 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49860 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49861 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49862 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49863 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49864 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49865 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49866 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49867 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49868 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49869 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49870 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49871 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49872 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49873 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49874 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49875 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49876 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49877 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49878 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49879 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49880 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49881 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49882 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49883
49884 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49885 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49886
49887 * sysdeps/unix/sysv/linux/arm/Makefile
49888 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49889 Add rt-aeabi_unwind_cpp_pr1.
49890 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49891 Add nptl-aeabi_unwind_cpp_pr1.
49892 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49893 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49894 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49895 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49896 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49897 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49898
49899 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49900 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49901 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49902 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49903
49904 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49905 Deconditionalize the code that was previously under [RESET_PID].
49906 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49907
49908 * sysdeps/generic/exit-thread.h: New file.
49909 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49910 * include/unistd.h (__exit_thread): Remove declaration.
49911 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49912 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49913 * csu/libc-start.c: Include <exit-thread.h>.
49914 (LIBC_START_MAIN): Pass no argument to __exit_thread.
49915 * nptl/pthread_create.c: Include <exit-thread.h>.
49916 (start_thread): Call __exit_thread in place of __exit_thread_inline.
49917 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49918 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49919 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49920 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49921 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49922 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49923 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49924 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49925 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49926 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49927 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49928 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49929 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49930 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49931 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49932 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49933
49934 2014-05-13 Andreas Schwab <schwab@suse.de>
49935
49936 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49937
49938 2014-05-12 Joseph Myers <joseph@codesourcery.com>
49939
49940 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49941 (__ASSUME_UTIMES): Do not condition on kernel version.
49942 (__ASSUME_PSELECT): Define unconditionally.
49943 (__ASSUME_PPOLL): Likewise.
49944 (__ASSUME_ATFCTS): Likewise.
49945 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49946 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49947 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49948 (__ASSUME_UTIMENSAT): Define unconditionally.
49949 (__ASSUME_PRIVATE_FUTEX): Likewise.
49950 (__ASSUME_FALLOCATE): Likewise.
49951 (__ASSUME_O_CLOEXEC): Likewise.
49952 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49953 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49954 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49955 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49956 (__ASSUME_IN_NONBLOCK): Likewise.
49957 (__ASSUME_PIPE2): Likewise.
49958 (__ASSUME_EVENTFD2): Likewise.
49959 (__ASSUME_SIGNALFD4): Likewise.
49960 (__ASSUME_DUP3): Likewise.
49961 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49962 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49963 (__ASSUME_AT_RANDOM): Likewise.
49964 (__ASSUME_PREADV): Likewise.
49965 (__ASSUME_PWRITEV): Likewise.
49966 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49967 (__ASSUME_F_GETOWN_EX): Define unconditionally.
49968 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49969 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49970 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49971 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49972 (__ASSUME_O_CLOEXEC): Define unconditionally.
49973 (__ASSUME_PSELECT): Do not undefine conditionally.
49974 (__ASSUME_PPOLL): Likewise.
49975 (__ASSUME_ATFCTS): Likewise.
49976 (__ASSUME_SET_ROBUST_LIST): Likewise.
49977 (__ASSUME_UTIMENSAT): Likewise.
49978 (__ASSUME_FDATASYNC): Define unconditionally.
49979 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49980 (__ASSUME_SIGFRAME_V2): Likewise.
49981 )__ASSUME_EVENTFD2): Likewise.
49982 (__ASSUME_SIGNALFD4): Likewise.
49983 (__ASSUME_PSELECT): Do not undefine conditionally.
49984 (__ASSUME_PPOLL): Likewise.
49985 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49986 (__ASSUME_PSELECT): Define unconditionally.
49987 (__ASSUME_PPOLL): Likewise.
49988 (__ASSUME_O_CLOEXEC): Likewise.
49989 (__ASSUME_SOCK_CLOEXEC): Likewise.
49990 (__ASSUME_IN_NONBLOCK): Likewise.
49991 (__ASSUME_PIPE2): Likewise.
49992 (__ASSUME_EVENTFD2): Likewise.
49993 (__ASSUME_SIGNALFD4): Likewise.
49994 (__ASSUME_DUP3): Likewise.
49995 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49996 (__ASSUME_O_CLOEXEC): Likewise.
49997 (__ASSUME_SOCK_CLOEXEC): Likewise.
49998 (__ASSUME_IN_NONBLOCK): Likewise.
49999 (__ASSUME_PIPE2): Likewise.
50000 (__ASSUME_EVENTFD2): Likewise.
50001 (__ASSUME_SIGNALFD4): Likewise.
50002 (__ASSUME_DUP3): Likewise.
50003 * sysdeps/unix/sysv/linux/mips/kernel-features.h
50004 (__ASSUME_EVENTFD2): Likewise.
50005 (__ASSUME_SIGNALFD4): Likewise.
50006 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50007
50008 2014-05-12 Andreas Schwab <schwab@suse.de>
50009
50010 [BZ #16932]
50011 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
50012 (_nss_nis_gethostbyname4_r): Return error if item length is larger
50013 than maximum RPC packet size.
50014 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
50015 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
50016 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
50017 (_nss_nis_getservbyport_r): Likewise.
50018
50019 2014-05-12 Will Newton <will.newton@linaro.org>
50020
50021 * malloc/Makefile (tests): Add tst-mallopt.
50022 * malloc/tst-mallopt.c: New file.
50023
50024 2014-05-09 Roland McGrath <roland@hack.frob.com>
50025
50026 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
50027 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
50028
50029 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50030
50031 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
50032 (tst-tlsmod6.so): Likewise.
50033
50034 2014-05-09 Roland McGrath <roland@hack.frob.com>
50035
50036 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
50037
50038 2014-05-09 Joseph Myers <joseph@codesourcery.com>
50039
50040 [BZ #16064]
50041 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
50042 and <dl-procinfo.h>.
50043 (__fegetenv): Save SSE state in envp->__eip if supported.
50044 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
50045 envp->__eip if supported.
50046 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
50047 and <dl-procinfo.h>.
50048 (__fesetenv): Always set __eip, __cs_selector, __opcode,
50049 __data_offset and __data_selector in environment to 0. Set SSE
50050 state if supported.
50051 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
50052 test-fenv-sse.
50053 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
50054 -mfpmath=sse.
50055 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
50056
50057 2014-05-09 Will Newton <will.newton@linaro.org>
50058
50059 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
50060 and libc_relro_required for ARM.
50061 * sysdeps/arm/preconfigure: Regenerate.
50062
50063 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
50064 Stefan Liebler <stli@linux.vnet.ibm.com>
50065
50066 * config.make.in (enable-lock-elision): New Makefile variable.
50067 * configure.ac: Likewise.
50068 * configure: Regenerate.
50069 * sysdeps/s390/configure.ac:
50070 Add check for gcc transactions support.
50071 * sysdeps/s390/configure: Regenerate.
50072 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
50073 Build elision files if enabled.
50074 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
50075 Add lock elision support for s390.
50076 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
50077 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
50078 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
50079 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
50080 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
50081 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
50082 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
50083 Likewise.
50084 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
50085 Likewise.
50086 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
50087 Likewise.
50088 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
50089 Likewise.
50090 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
50091 (__lll_timedlock_elision, __lll_lock_elision)
50092 (__lll_unlock_elision, __lll_trylock_elision)
50093 (lll_timedlock_elision, lll_lock_elision)
50094 (lll_unlock_elision, lll_trylock_elision): Add.
50095 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50096 (pthread_mutex_t): Add lock elision support for s390.
50097
50098 2014-05-14 Wilco <wdijkstr@arm.com>
50099
50100 * sysdeps/arm/fclrexcpt.c: Cleanup.
50101 * sysdeps/arm/fedisblxcpt.c: Cleanup.
50102 * sysdeps/arm/feenablxcpt.c: Cleanup.
50103 * sysdeps/arm/fegetenv.c: Cleanup.
50104 * sysdeps/arm/fegetexcept.c: Cleanup.
50105 * sysdeps/arm/fegetround.c: Cleanup.
50106 * sysdeps/arm/feholdexcpt.c: Cleanup.
50107 * sysdeps/arm/fesetenv.c: Cleanup.
50108 * sysdeps/arm/fesetround.c: Cleanup.
50109 * sysdeps/arm/feupdateenv.c: Cleanup.
50110 * sysdeps/arm/fgetexcptflg.c: Cleanup.
50111 * sysdeps/arm/fraiseexcpt.c: Cleanup.
50112 * sysdeps/arm/fsetexcptflg.c: Cleanup.
50113 * sysdeps/arm/ftestexcept.c: Cleanup.
50114 * sysdeps/arm/get-rounding-mode.h: Cleanup.
50115 * sysdeps/arm/setfpucw.c: Cleanup.
50116
50117 2014-05-09 Will Newton <will.newton@linaro.org>
50118
50119 * sysdeps/arm/armv7/strcmp.S: New file.
50120 * NEWS: Mention addition of ARMv7 optimized strcmp.
50121
50122 2014-05-08 Roland McGrath <roland@hack.frob.com>
50123
50124 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
50125 look for %.ac rather than %.in.
50126
50127 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
50128 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
50129 * sysdeps/mach/hurd/configure: Regenerated.
50130 * sysdeps/unix/sysv/linux/configure: Regenerated.
50131
50132 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
50133
50134 2014-05-07 Steve Ellcey <sellcey@mips.com>
50135
50136 [BZ #16922]
50137 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
50138 (LONG_SUB): Ditto.
50139 (PTR_SUB): Ditto.
50140
50141 2014-05-07 Andreas Schwab <schwab@suse.de>
50142
50143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
50144 when skipping over non-matching result from nscd.
50145
50146 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
50147
50148 [BZ #16876]
50149 * nptl/sockperf.c (client): Check socket return value.
50150
50151 [BZ #16877]
50152 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
50153 nscd security class.
50154
50155 2014-05-06 Roland McGrath <roland@hack.frob.com>
50156
50157 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
50158 * sysdeps/arm/unwind.h: ... here.
50159
50160 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
50161
50162 [BZ #16916]
50163 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50164 Define.
50165
50166 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50167
50168 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
50169 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
50170 multiarch strncpy for PPC64.
50171 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
50172 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
50173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
50174 multiarch optimizations.
50175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50176 (__libc_ifunc_impl_list): Likewise.
50177 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
50178 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50179 multiarch stpncpy for PPC64.
50180 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
50181 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
50182
50183 2014-05-06 Andreas Schwab <schwab@suse.de>
50184
50185 [BZ #16912]
50186 * gmon/mcount.c (_MCOUNT_DECL): Use
50187 atomic_compare_and_exchange_bool_acq instead of
50188 catomic_compare_and_exchange_bool_acq.
50189
50190 2014-05-05 Roland McGrath <roland@hack.frob.com>
50191
50192 * elf/Makefile (others, install-bin): Remove pldd.
50193 (pldd-modules): Variable removed.
50194 ($(objpfx)pldd): Target removed.
50195 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50196 (others, install-bin): Append pldd here.
50197 ($(objpfx)pldd): New target.
50198
50199 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
50200 to 0, so the first #if test emitted later doesn't see it undefined.
50201 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
50202 * sysdeps/gnu/errlist.c: Regenerated.
50203
50204 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50205
50206 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50207 [libc_hidden_builtin_def]: Define to empty value.
50208 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
50209 [libc_hidden_builtin_def]: Likewise.
50210 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50211 [libc_hidden_builtin_def]: Likewise.
50212 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50213 [libc_hidden_builtin_def]: Likewise.
50214 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50215 __redirect_memcpy and define ifunc as default hidden symbol.
50216 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50217 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50218
50219 2014-05-04 Adam Conrad <adconrad@0c3.net>
50220
50221 * locale/iso-4217.def: Reintroduce XDR currency.
50222
50223 2014-05-04 Allan McRae <allan@archlinux.org>
50224
50225 * po/eo.po: Update Esperanto translation from translation project.
50226
50227 2014-05-02 Carlos O'Donell <carlos@redhat.com>
50228
50229 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50230 and FEATURE_INDEX_MAX to 1.
50231 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50232
50233 2014-05-01 Steve Ellcey <sellcey@mips.com>
50234
50235 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50236 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50237 * iconvdata/big5.c (ONE_DIRECTION): Define.
50238 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50239 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50240 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50241 * iconvdata/cp932.c (ONE_DIRECTION): Define.
50242 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50243 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50244 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50245 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50246 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50247 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50248 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50249 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50250 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50251 * iconvdata/gbk.c (ONE_DIRECTION): Define.
50252 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50253 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50254 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50255 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50256 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50257 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50258 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50259 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50260 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50261 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50262 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50263 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50264 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50265 * iconvdata/iso646.c (ONE_DIRECTION): Define.
50266 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50267 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50268 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50269 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50270 * iconvdata/johab.c (ONE_DIRECTION): Define.
50271 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50272 * iconvdata/sjis.c (ONE_DIRECTION): Define.
50273 * iconvdata/t.61.c (ONE_DIRECTION): Define.
50274 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50275 * iconvdata/tscii.c (ONE_DIRECTION): Define.
50276 * iconvdata/uhc.c (ONE_DIRECTION): Define.
50277 * iconvdata/unicode.c (ONE_DIRECTION): Define.
50278 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50279 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50280 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50281
50282 2014-05-01 Roland McGrath <roland@hack.frob.com>
50283
50284 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50285 (_IO_JUMPS_OFFSET): Define to 0.
50286
50287 * nptl/sysdeps/pthread/bits/libc-lock.h
50288 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50289 (__libc_lock_define_initialized_recursive): Always define using
50290 initializer. Modern compilers treat uninitialized (implicit zero) and
50291 explicit zero initializers the same (i.e. put the datum in bss).
50292
50293 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
50294
50295 * nscd/nscd-client.h: Include <string.h>.
50296
50297 2014-05-01 David S. Miller <davem@davemloft.net>
50298
50299 [BZ #16885]
50300 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50301 multiple zero bytes exist at the end of a string.
50302 Reported by Aurelien Jarno <aurelien@aurel32.net>
50303
50304 * string/test-strcmp.c (check): Add explicit test for situations where
50305 there are multiple zero bytes after the first.
50306
50307 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
50308
50309 [BZ #16890]
50310 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50311 when compiling wprintf.
50312 * stdio-common/tstdiomisc.c (t3): New function.
50313 (main): Call it.
50314
50315 2014-05-01 Steve Ellcey <sellcey@mips.com>
50316
50317 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50318 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50319 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50320 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50321
50322 2014-05-01 Steve Ellcey <sellcey@mips.com>
50323
50324 * stdlib/longlong.h: Updated from GCC.
50325
50326 2014-05-01 Will Newton <will.newton@linaro.org>
50327 Bernard Ogden <bernie.ogden@linaro.org>
50328
50329 * NEWS: Update fixed bug list.
50330
50331 [BZ #15119]
50332 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50333
50334 2014-04-30 David S. Miller <davem@davemloft.net>
50335
50336 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50337 (libc_feholdexcept_setround_sparc_ctx): New function.
50338 (libc_fesetenv_sparc_ctx): Likewise.
50339 (libc_feupdateenv_sparc_ctx): Likewise.
50340 (libc_feholdsetround_sparc_ctx): Likewise.
50341 (libc_feholdexcept_setround_ctx): Define.
50342 (libc_feholdexcept_setroundf_ctx): Likewise.
50343 (libc_feholdexcept_setroundl_ctx): Likewise.
50344 (libc_fesetenv_ctx): Likewise.
50345 (libc_fesetenvf_ctx): Likewise.
50346 (libc_fesetenvl_ctx): Likewise.
50347 (libc_feupdateenv_ctx): Likewise.
50348 (libc_feupdateenvf_ctx): Likewise.
50349 (libc_feupdateenvl_ctx): Likewise.
50350 (libc_feresetround_ctx): Likewise.
50351 (libc_feresetroundf_ctx): Likewise.
50352 (libc_feresetroundl_ctx): Likewise.
50353 (libc_feholdsetround_ctx): Likewise.
50354 (libc_feholdsetroundf_ctx): Likewise.
50355 (libc_feholdsetroundl_ctx): Likewise.
50356
50357 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50358 with __USE_GNU instead of XOPEN cpp guards.
50359
50360 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50361 0.
50362
50363 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50364 with XOPEN cpp guards.
50365
50366 2014-04-30 Julian Brown <julian@codesourcery.com>
50367
50368 [BZ #16888]
50369 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50370 handling.
50371
50372 2014-04-30 Joseph Myers <joseph@codesourcery.com>
50373
50374 [BZ #9894]
50375 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50376 Change to 2.6.32.
50377 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50378 * sysdeps/unix/sysv/linux/configure: Regenerated.
50379 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50380 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50381 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50382 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50383 * README: Update reference to required Linux kernel version.
50384 * manual/install.texi (Linux): Update reference to required Linux
50385 kernel headers version.
50386 * INSTALL: Regenerated.
50387
50388 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50389 header inclusion.
50390 [POSIX] (limits.h): Likewise.
50391 [POSIX] (math.h): Likewise.
50392 [POSIX] (sys/wait.h): Likewise.
50393 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
50394 function.
50395 [POSIX] (stddef.h): Do not allow header inclusion.
50396
50397 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50398
50399 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
50400
50401 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
50402
50403 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50404 Return immediately after lll_futex_wake.
50405
50406 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50407
50408 [BZ #16791]
50409 * nscd/nscd-client.h (datahead_init_common): Initialize entire
50410 structure.
50411 (datahead_init_pos): Call datahead_init_common early.
50412 (datahead_init_neg): Likewise.
50413
50414 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
50415 datahead_init_neg): New functions.
50416 * nscd/aicache.c (addhstaiX): Use them.
50417 * nscd/grpcache.c (cache_addgr): Likewise.
50418 * nscd/hstcache.c (cache_addhst): Likewise.
50419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50420 * nscd/netgroupcache.c (do_notfound): Likewise.
50421 (addgetnetgrentX): Likewise.
50422 (addinnetgrX): Likewise.
50423 * nscd/pwdcache.c (cache_addpw): Likewise.
50424 * nscd/servicescache.c (cache_addserv): Likewise.
50425
50426 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50427 Atsushi Onoe <atsushi@onoe.org>
50428
50429 [BZ #14308]
50430 [BZ #12994]
50431 [BZ #13651]
50432 * resolv/res_query.c (__libc_res_nsearch): Return if at least
50433 one response is valid.
50434 * resolv/res_send.c (send_dg): Check for validity of other
50435 response if the current response is a referral.
50436
50437 2014-04-29 Steve Ellcey <sellcey@mips.com>
50438
50439 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
50440
50441 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
50442
50443 [BZ #16823]
50444 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
50445 Always divide by positive zero when computing -Inf result.
50446 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50447 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
50448
50449 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50450
50451 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
50452 FPSCR if value do not change.
50453 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50454 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50455 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
50456 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50457 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
50458 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
50459 function.
50460
50461 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
50462
50463 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
50464 * sysdeps/unix/sysv/linux/hppa: Move directory from
50465 ports/systeps/unix/sysv/linux/hppa.
50466 * README: Update listing for hppa-*-linux-gnu.
50467
50468 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
50469
50470 [BZ #16754]
50471 * manual/stdio.texi (Hook functions): Fix types of stream hook
50472 functions.
50473 [BZ #16854]
50474 * socket/sys/socket.h: Fix typo in comment.
50475
50476 2014-04-28 Wilco <wdijkstr@arm.com>
50477
50478 * sysdeps/arm/fenv_private.h: New file.
50479 * sysdeps/arm/math_private.h: New file.
50480 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
50481
50482 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
50483
50484 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
50485 with __int128_t.
50486 (La_x86_64_retval): Likewise.
50487
50488 2014-04-24 Ian Bolton <ian.bolton@arm.com>
50489
50490 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
50491 fpsr if value didn't change.
50492 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
50493 to fpcr if value didn't change.
50494 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
50495 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
50496 fpsr or fpcr if value didn't change.
50497 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50498 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
50499 fpcr if value didn't change.
50500 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
50501 to fpsr if value didn't change.
50502
50503 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
50504
50505 * nptl/tst-sem3.c: Use test-skeleton.c
50506 (main): Rename to do_test. Use return instead of
50507 exit.
50508 * nptl/tst-sem4.c: Use test-skeleton.c
50509 (main): Rename to do_test.
50510
50511 2014-04-22 David S. Miller <davem@davemloft.net>
50512
50513 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
50514 (struct sigaction): New struct member __glibc_reserved0, change
50515 type of sa_flags to int.
50516
50517 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
50518
50519 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
50520 (COUNT_LEADING_ZEROS_0): Define for AArch64.
50521
50522 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50523
50524 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
50525 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
50526
50527 2014-04-22 Will Newton <will.newton@linaro.org>
50528 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
50529
50530 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50531 (__longjmp): Add longjmp and longjmp_target SystemTap
50532 probes.
50533 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
50534 (__sigsetjmp): Add setjmp SystemTap probe.
50535
50536 2014-04-17 Carlos O'Donell <carlos@redhat.com>
50537
50538 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50539 match manual order.
50540
50541 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50542
50543 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50544
50545 * sysdeps/powerpc/fpu/fenv_private.h
50546 (libc_feholdexcept_setroundl_ctx): Define to
50547 libc_feholdexcept_setround_ppc_ctx.
50548 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50549 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50550 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50551 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50552
50553 2014-04-17 Ian Bolton <ian.bolton@arm.com>
50554
50555 * sysdeps/aarch64/math-tests.h: New file.
50556
50557 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
50558
50559 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50560 New.
50561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50562 Check and set bit_AVX2_Usable.
50563 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50564 macro.
50565 (bit_AVX2): Likewise.
50566 (index_AVX2_Usable): Likewise.
50567 (CPUID_AVX2): Likewise.
50568 (HAS_AVX2): Likewise.
50569
50570 2014-04-17 Will Newton <will.newton@linaro.org>
50571
50572 * manual/setjmp.texi (System V contexts): Add note that
50573 calling setcontext on a context created by a call to a
50574 signal handler is undefined. Update text to note that
50575 setcontext from a signal handler is possible but not
50576 recommended.
50577
50578 [BZ #16629]
50579 * stdlib/tst-setcontext.c: Include signal.h.
50580 (main): Check that the signal stack before and
50581 after swapcontext is the same.
50582
50583 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50584 Re-implement to restore registers in user code and avoid
50585 rt_sigreturn system call.
50586
50587 2014-04-17 Wilco <wdijkstr@arm.com>
50588
50589 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50590 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50591 * math/test-fenv.c: Skip exception trap tests on targets which only
50592 support non-stop mode.
50593
50594 2014-04-17 Ian Bolton <ian.bolton@arm.com>
50595 Wilco Dijkstra <wilco.dijkstra@arm.com>
50596
50597 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50598 (libc_feholdsetround_aarch64_ctx)
50599 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50600 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50601 (libc_feresetround_ctx, libc_feresetroundf_ctx)
50602 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50603 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50604 (libc_feresetround_noexl_ctx): Define.
50605
50606 2014-04-16 Richard Henderson <rth@redhat.com>
50607
50608 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50609
50610 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50611 unwind tables.
50612
50613 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50614 const from the non-libc, non-ldso copy.
50615
50616 * sysdeps/alpha/libm-test-ulps: Regenerate.
50617
50618 2014-04-16 Ian Bolton <ian.bolton@arm.com>
50619 Wilco Dijkstra <wilco.dijkstra@arm.com>
50620
50621 * sysdeps/aarch64/fpu/math_private.h: New file.
50622
50623 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
50624
50625 * sysdeps/aarch64/libm-test-ulps: Regenerate.
50626
50627 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
50628
50629 [BZ #16275]
50630 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50631 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50633 Intel MPX bound registers before _dl_profile_fixup.
50634 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50635 registers after _dl_profile_fixup. Save and restore bound
50636 registers bnd0/bnd1 when calling _dl_call_pltexit.
50637 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50638 (LR_BND_OFFSET): Likewise.
50639 (LRV_BND0_OFFSET): Likewise.
50640 (LRV_BND1_OFFSET): Likewise.
50641
50642 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50643
50644 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50645 to...
50646 * sysdeps/mach/hurd/i386/tls.h: ... here.
50647 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50648 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50649 fields.
50650
50651 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50652
50653 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50654
50655 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
50656
50657 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50658
50659 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
50660
50661 [BZ #14770]
50662 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50663 * sysdeps/s390/configure: Regenerate.
50664
50665 [BZ #16824]
50666 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50667 Set round-to-nearest internally to reduce error accumulation.
50668
50669 2014-04-16 Alan Modra <amodra@gmail.com>
50670
50671 [BZ #16740]
50672 [BZ #16619]
50673 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50674 * math/libm-test.inc (frexp_test_data): Add tests.
50675 * NEWS: Update fixed bug list.
50676
50677 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50678
50679 * benchtests/Makefile: Depend on libraries in build directory.
50680 (bench-math): Separate out math tests.
50681 (bench-pthread): Separate out pthread tests.
50682 (bench): Include math and pthread tests.
50683
50684 2014-04-14 Carlos O'Donell <carlos@redhat.com>
50685
50686 [BZ #16831]
50687 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50688 _dl_debug_initialize.
50689
50690 * configure.ac: Remove SELinux header check.
50691 * configure: Regenerate.
50692 * nscd/selinux.c (perms): Array of const char* to permission names.
50693 (nscd_request_avc_has_perm): Call security_deny_unknown to find
50694 default policy. Call string_to_security_class and string_to_av_perm to
50695 translate strings. Enforce default policy and call avs_has_perm with
50696 results of translated strings.
50697
50698 2014-04-13 David S. Miller <davem@davemloft.net>
50699
50700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50701
50702 2014-04-12 Allan McRae <allan@archlinux.org>
50703
50704 [BZ #16838]
50705 * manual/string.texi (Collation Functions): Fix qsort argument
50706 order in example.
50707 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50708
50709 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
50710
50711 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50712 Make the test a no-op if there are no exceptions defined.
50713
50714 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
50715
50716 * elf/Makefile (tests): make tst-dlopen-aout conditional on
50717 enable-hardcoded-path-in-tests
50718
50719 2014-04-11 Will Newton <will.newton@linaro.org>
50720
50721 * benchtests/Makefile (extra-objs): Add json-lib.o.
50722 (bench-func): Tidy up JSON output.
50723 * benchtests/bench-skeleton.c: Include json-lib.h.
50724 (main): Use JSON library functions to do output of
50725 benchmark results.
50726 * benchtests/bench-timing-type.c (main): Output the
50727 timing type simply, leaving formatting to the user.
50728 * benchtests/json-lib.c: New file.
50729 * benchtests/json-lib.h: Likewise.
50730
50731 2014-04-11 Torvald Riegel <triegel@redhat.com>
50732
50733 [BZ #15215]
50734 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50735 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
50736 memory barriers. Add comments.
50737 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50738 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50739 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50740 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50741 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50742 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50743
50744 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
50745
50746 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50747 * sysdeps/s390/s390-64/configure.ac: ... this ...
50748 * sysdeps/s390/configure.ac: ... to here.
50749 * sysdeps/s390/s390-32/configure: Delete file.
50750 * sysdeps/s390/s390-64/configure: Delete file.
50751 * sysdeps/s390/configure: Regenerate.
50752
50753 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
50754
50755 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50756
50757 2014-04-11 Will Newton <will.newton@linaro.org>
50758
50759 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50760 to zero if it is not defined elsewhere. (mtrim): Test
50761 the value of MALLOC_DEBUG with #if rather than #ifdef.
50762
50763 2014-04-10 Torvald Riegel <triegel@redhat.com>
50764
50765 * benchtests/pthread_once-inputs: New file.
50766 * benchtests/pthread_once-source.c: New file.
50767 * benchtests/README: Update documentation.
50768
50769 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
50770 H.J. Lu <hongjiu.lu@intel.com>
50771
50772 [BZ #16275]
50773 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50774 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50775 * sysdeps/x86_64/configure: Regenerated.
50776 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50777 macro.
50778 (REGISTER_SAVE_RAX): Likewise.
50779 (REGISTER_SAVE_RCX): Likewise.
50780 (REGISTER_SAVE_RDX): Likewise.
50781 (REGISTER_SAVE_RSI): Likewise.
50782 (REGISTER_SAVE_RDI): Likewise.
50783 (REGISTER_SAVE_R8): Likewise.
50784 (REGISTER_SAVE_R9): Likewise.
50785 (REGISTER_SAVE_BND0): Likewise.
50786 (REGISTER_SAVE_BND1): Likewise.
50787 (REGISTER_SAVE_BND2): Likewise.
50788 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
50789 bound registers when calling _dl_fixup.
50790
50791 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50792
50793 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50794 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50795 of its definition.
50796 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50797 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50798 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50799 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50800 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50801 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50802 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50803
50804 2014-04-09 Peter Brett <peter@peter-b.co.uk>
50805
50806 [BZ #15514]
50807 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50808 pathconf(_PC_NAME_MAX).
50809
50810 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50811
50812 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50813 Remove macro usage.
50814 (__PTHREAD_SPINS): Move definition to ...
50815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50816 (__PTHREAD_SPINS): ... here.
50817 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50818 (__PTHREAD_SPIN): Likewise.
50819 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50820 (__PTHREAD_SPIN): Likewise.
50821 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50822 (__PTHREAD_SPIN): Likewise.
50823 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50824 (__PTHREAD_SPIN): Likewise.
50825 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50826 (__PTHREAD_SPIN): Likewise.
50827 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50828 (__PTHREAD_SPIN): Likewise.
50829 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50830 (__PTHREAD_SPIN): Likewise.
50831 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50832 (__PTHREAD_SPIN): Likewise.
50833 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50834 (__PTHREAD_SPIN): Likewise.
50835 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50836 (__PTHREAD_SPIN): Likewise.
50837 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50838 (__PTHREAD_SPIN): Likewise.
50839 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50840 (__PTHREAD_SPIN): Likewise.
50841
50842 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50843 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50844 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50845 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50846 imply folder.
50847 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50848 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50849 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50850 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50851 correct imply path.
50852 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50853 strlen symbol for non multi-arch builds.
50854 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50855 missing hidden_def and weak_alias.
50856
50857 2014-04-08 Carlos O'Donell <carlos@redhat.com>
50858
50859 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50860
50861 2014-04-07 Will Newton <will.newton@linaro.org>
50862
50863 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50864 and contents. [!_LIBC] Remove #ifndef and contents.
50865 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
50866 * string/memccpy.c (__memccpy): Use ANSI prototype.
50867 * string/memfrob.c (memfrob): Likewise.
50868 * string/strcoll.c (STRCOLL): Likewise.
50869 * string/strlen.c (strlen): Likewise.
50870 * string/strtok.c (STRTOK): Likewise.
50871 * string/strcat.c: Remove unused #include of memcopy.h.
50872 (strcat): Use ANSI prototype.
50873 * string/strchr.c: Remove unused #include of memcopy.h.
50874 (strchr): Use ANSI prototype.
50875 * string/strcmp.c: Remove unused #include of memcopy.h.
50876 (strcmp): Use ANSI prototype.
50877 * string/strcpy.c: Remove unused #include of memcopy.h.
50878 (strcpy): Use ANSI prototype.
50879
50880 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50881
50882 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50883 * config.make.in (config-extra-cppflags): Set it from
50884 libc_extra_cppflags.
50885 * configure.ac (libc_extra_cflags): Make it accumulate over
50886 configure fragments.
50887 (libc_extra_cppflags): New flag.
50888 * configure. Regenerate.
50889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50890 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50891 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50893
50894 [BZ #16815]
50895 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50896 result for FE_DOWNWARD rounding mode.
50897 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50898 Likewise.
50899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50900
50901 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
50902
50903 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50904 in function argument name.
50905
50906 2014-04-03 David Svoboda <svoboda@cert.org>
50907
50908 [BZ #5666]
50909 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50910 explicitly.
50911
50912 2014-04-03 Roland McGrath <roland@hack.frob.com>
50913
50914 * elf/dl-unmap-segments.h: New file.
50915 * sysdeps/generic/ldsodefs.h
50916 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50917 * elf/dl-close.c: Include <dl-unmap-segments.h>.
50918 * elf/dl-fptr.c: Likewise.
50919 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50920 * sysdeps/aarch64/tlsdesc.c: Likewise.
50921 * sysdeps/arm/tlsdesc.c: Likewise.
50922 * sysdeps/i386/tlsdesc.c: Likewise.
50923 * sysdeps/tile/dl-runtime.c: Likewise.
50924 * sysdeps/x86_64/tlsdesc.c: Likewise.
50925 * elf/dl-load.h: New file.
50926 * elf/dl-load.c: Include it.
50927 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50928 Macros moved to dl-load.h.
50929 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50930 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50931 Use _dl_unmap_segments in place of __munmap.
50932 Break out segment-mapping loop into ...
50933 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50934
50935 2014-04-03 Will Newton <will.newton@linaro.org>
50936
50937 * elf/dl-lookup.c (do_lookup_x): Remove comment
50938 referring to nested function and move variable
50939 declarations down to before first use.
50940
50941 2014-04-02 Joseph Myers <joseph@codesourcery.com>
50942
50943 [BZ #16799]
50944 [BZ #16800]
50945 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50946 with 0 numerator.
50947 * math/s_catanf.c (__catanf): Likewise.
50948 * math/s_catanh.c (__catanh): Likewise.
50949 * math/s_catanhf.c (__catanhf): Likewise.
50950 * math/s_catanhl.c (__catanhl): Likewise.
50951 * math/s_catanl.c (__catanl): Likewise.
50952 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50953 by positive zero when computing -Inf result.
50954 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50955 (catanh_test): Likewise.
50956 * sysdeps/i386/fpu/libm-test-ulps: Update.
50957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50958
50959 [BZ #16789]
50960 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50961 instead of using underflowing value in computing result.
50962 * math/s_clog10.c (__clog10): Likewise.
50963 * math/s_clog10f.c (__clog10f): Likewise.
50964 * math/s_clog10l.c (__clog10l): Likewise.
50965 * math/s_clogf.c (__clogf): Likewise.
50966 * math/s_clogl.c (__clogl): Likewise.
50967 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50968 (clog10_test): Likewise.
50969 * sysdeps/i386/fpu/libm-test-ulps: Update.
50970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50971
50972 2014-04-02 Alan Modra <amodra@gmail.com>
50973
50974 [BZ #16739]
50975 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50976 output when value is near a power of two. Use int64_t for lx and
50977 remove casts. Use decimal rather than hex exponent constants.
50978 Don't use long double multiplication when double will suffice.
50979 * math/libm-test.inc (nextafter_test_data): Add tests.
50980 * NEWS: Add 16739 and 16786 to bug list.
50981
50982 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50983
50984 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50985
50986 2014-04-01 Will Newton <will.newton@linaro.org>
50987
50988 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50989 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
50990
50991 2014-04-01 Florian Weimer <fweimer@redhat.com>
50992
50993 [BZ #13347]
50994 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50995 * nptl/tst-setuid2.c: New file.
50996 * nptl/Makefile (xtests): Add tst-setuid2.
50997
50998 2014-04-01 Alan Modra <amodra@gmail.com>
50999
51000 [BZ #16786]
51001 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
51002
51003 2014-03-31 Joseph Myers <joseph@codesourcery.com>
51004
51005 [BZ #6803]
51006 [BZ #6804]
51007 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
51008 set errno as appropriate.
51009 * math/w_scalbf.c (__scalbf): Likewise.
51010 * math/w_scalbl.c (__scalbl): Likewise.
51011 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
51012 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
51013 * math/libm-test.inc (scalb_test_data): Add errno expectations.
51014 Add more NaN tests.
51015
51016 [BZ #16349]
51017 * math/w_atan2.c: Include <errno.h>.
51018 (__atan2): Set errno for result underflowing to zero.
51019 * math/w_atan2f.c: Include <errno.h>.
51020 (__atan2f): Set errno for result underflowing to zero.
51021 * math/w_atan2l.c: Include <errno.h>.
51022 (__atan2l): Set errno for result underflowing to zero.
51023 * math/auto-libm-test-in: Don't allow missing errno for some atan2
51024 tests.
51025 * math/auto-libm-test-out: Regenerated.
51026
51027 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51028
51029 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
51030 Encode instruction correctly in little endian.
51031 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
51032 Likewise.
51033 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
51034 Likewise.
51035 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
51036 Likewise.
51037 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
51038 Likewise.
51039
51040 2014-03-31 Joseph Myers <joseph@codesourcery.com>
51041
51042 [BZ #9894]
51043 * sysdeps/unix/sysv/linux/kernel-features.h
51044 [__sparc__ && !__arch64__ && !__sparc_v9__]
51045 (__ASSUME_SET_ROBUST_LIST): Do not define.
51046 [__sparc__ && !__arch64__ && !__sparc_v9__]
51047 (__ASSUME_FUTEX_LOCK_PI): Likewise.
51048 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
51049 Likewise.
51050 * sysdeps/unix/sysv/linux/arm/kernel-features.h
51051 (__ASSUME_FUTEX_LOCK_PI): Undefine.
51052 (__ASSUME_REQUEUE_PI): Likewise.
51053 (__ASSUME_SET_ROBUST_LIST): Likewise.
51054 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51055 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
51056 Undefine.
51057 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51058 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
51059 Likewise.
51060 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
51061 Likewise.
51062 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
51063 Likewise.
51064 * sysdeps/unix/sysv/linux/mips/kernel-features.h
51065 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
51066 Undefine.
51067 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
51068 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
51069 Likewise.
51070
51071 [BZ #16648]
51072 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51073 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
51074 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
51075
51076 2014-03-31 Will Newton <will.newton@linaro.org>
51077
51078 * benchtests/Makefile (bench): Add ffs and ffsll to list
51079 of tests.
51080 * benchtests/ffs-inputs: New file.
51081 * benchtests/ffsll-inputs: Likewise.
51082
51083 2014-03-29 Joseph Myers <joseph@codesourcery.com>
51084
51085 [BZ #16770]
51086 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
51087 too large before casting to int.
51088 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
51089 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
51090 * math/libm-test.inc (scalb_test_data): Add more tests.
51091
51092 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
51093
51094 * benchtests/Makefile (DETAILED_OPT): New make option.
51095 (bench-func): Run benchmark program with -d if DETAILED_OPT is
51096 set.
51097 * benchtests/bench-skeleton.c: Include stdbool.h.
51098 (main): Store and print timings per input.
51099 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
51100 member to each argument value.
51101 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
51102 (_print_arg_data): Initialize per-input timing to 0.
51103
51104 * benchtests/Makefile (timing-type): New binary.
51105 (bench-clean): Also remove bench-timing-type.
51106 (bench): New target for timing-type.
51107 (bench-func): Print output in JSON format.
51108 * benchtests/bench-skeleton.c (main): Print output in JSON
51109 format.
51110 * benchtests/bench-timing-type.c: New file.
51111 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
51112 (TIMING_PRINT_STATS): Remove.
51113 * benchtests/scripts/bench.py (_print_arg_data): Store variant
51114 name separately.
51115
51116 * benchtests/bench-modf.c: Remove.
51117 * benchtests/modf-inputs: New inputs file.
51118
51119 2014-03-28 Joseph Myers <joseph@codesourcery.com>
51120
51121 [BZ #16362]
51122 * math/s_clog10.c (M_PI_LOG10E): New macro.
51123 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
51124 imaginary parts are 0.
51125 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
51126 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
51127 imaginary parts are 0.
51128 * math/s_clog10l.c (M_PI_LOG10El): New macro.
51129 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
51130 imaginary parts are 0.
51131 * math/libm-test.inc (clog10_test_data): Update expected results
51132 for when real and imaginary parts are 0.
51133
51134 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
51135
51136 * elf/dl-load.c: Finish conversion of __builtin_expect into
51137 __glibc_{un}likely.
51138
51139 2014-03-27 Joseph Myers <joseph@codesourcery.com>
51140
51141 [BZ #16348]
51142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
51143 1+x for argument with exponent below -67.
51144 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
51145 Likewise.
51146 * math/auto-libm-test-in: Add more tests of exp.
51147 * math/auto-libm-test-out: Regenerated.
51148
51149 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51150
51151 [BZ #16759]
51152 * inet/getnetgrent_r.c (get_nonempty_val): New function.
51153 (nscd_getnetgrent): Use it.
51154
51155 [BZ #16760]
51156 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
51157 of stpcpy.
51158
51159 2014-03-27 Andi Kleen <ak@linux.intel.com>
51160
51161 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
51162 (lll_robust_lock, lll_cond_lock, lll_timedlock)
51163 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51164 (lll_robust_unlock): Remove out of line section. Use cfi
51165 intrinsics.
51166 (LLL_STUB_UNWIND_INFO*): Remove.
51167 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
51168 (lll_robust_lock, lll_cond_lock, lll_timedlock)
51169 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51170 (lll_robust_unlock): Remove out of line section. Use cfi
51171 intrinsics.
51172 (LLL_STUB_UNWIND_INFO*): Remove.
51173
51174 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51175
51176 [BZ #16758]
51177 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
51178 blank values.
51179
51180 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
51181
51182 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
51183
51184 2014-03-26 Joseph Myers <joseph@codesourcery.com>
51185
51186 [BZ #16198]
51187 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
51188 fnstenv.
51189 * math/test-fenv-preserve.c: New file.
51190 * math/Makefile (tests): Add test-fenv-preserve.
51191
51192 2014-03-26 Will Newton <will.newton@linaro.org>
51193
51194 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
51195
51196 2014-03-25 Roland McGrath <roland@hack.frob.com>
51197
51198 * scripts/versionlist.awk: Partition the version sets and emit all
51199 GLIBC_* (sorted) before all others (sorted).
51200
51201 2014-03-25 Joseph Myers <joseph@codesourcery.com>
51202
51203 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
51204 GLIBC_2.2.5 version.
51205
51206 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51207
51208 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
51209 calls.
51210
51211 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51212 previous change.
51213
51214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51215
51216 2014-03-25 Andreas Schwab <schwab@suse.de>
51217
51218 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51219 label to be used after in6ailist is initialized.
51220
51221 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51222
51223 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51224 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51225
51226 2014-03-25 Joseph Myers <joseph@codesourcery.com>
51227
51228 [BZ #16357]
51229 [BZ #16599]
51230 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51231 min_plus_half.
51232 (fp_formats): Update initializers.
51233 (init_fp_formats): Initialize new field.
51234 (output_for_one_input_case): Allow underflow for results up to
51235 min_plus_half.
51236 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51237 * math/auto-libm-test-in: Don't mark some underflows from asin and
51238 atanh as spurious.
51239 * math/auto-libm-test-out: Regenerated.
51240 * sysdeps/i386/fpu/libm-test-ulps: Update.
51241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51242
51243 2014-03-25 Andreas Schwab <schwab@suse.de>
51244
51245 * libio/Makefile (tst-ftell-partial-wide-ENV)
51246 (tst-ftell-active-handler-ENV): Define.
51247
51248 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
51249
51250 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51251
51252 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
51253
51254 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51255
51256 2014-03-24 Joseph Myers <joseph@codesourcery.com>
51257
51258 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51259 * sysdeps/x86_64/fpu/multiarch/e_exp.c
51260 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51261
51262 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
51263
51264 [BZ #16634]
51265 * elf/dl-load.c (open_verify): Add mode parameter.
51266 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51267 (open_path): Change from boolean 'secure' to complete flag 'mode'
51268 (_dl_map_object): Adjust.
51269 * elf/Makefile (tests): Add tst-dlopen-aout.
51270 * elf/tst-dlopen-aout.c: New test.
51271
51272 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
51273
51274 [BZ #16714]
51275 * sysdeps/unix/sysv/linux/s390/bits/stat.h
51276 (struct stat): Rename member pad0 to __glibc_reserved0.
51277
51278 [BZ #16712]
51279 * sysdeps/s390/s390-32/bits/wordsize.h
51280 (__WORDSIZE32_SIZE_ULONG): New define.
51281 * sysdeps/s390/s390-64/bits/wordsize.h
51282 (__WORDSIZE32_SIZE_ULONG): Likewise.
51283 * sysdeps/generic/stdint.h (SIZE_MAX):
51284 Define as UL if __WORDSIZE32_SIZE_ULONG.
51285
51286 [BZ #16713]
51287 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51288 (__glibc_reserved0): New variable.
51289 (sa_flags): Change type to int.
51290
51291 * posix/Makefile (before-compile): Use += before-compile instead
51292 of a :=.
51293
51294 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51295 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51296
51297 2014-03-20 Andreas Schwab <schwab@suse.de>
51298
51299 [BZ #16743]
51300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51301 non-matching result from nscd.
51302
51303 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
51304
51305 * scripts/bench.py: Moved to ...
51306 * benchtests/scripts/bench.py: ... here.
51307 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51308
51309 2014-03-24 Andreas Schwab <schwab@suse.de>
51310
51311 [BZ #16002]
51312 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51313 alloca_account and account alloca use for struct in6ailist.
51314
51315 2014-03-24 Joseph Myers <joseph@codesourcery.com>
51316
51317 [BZ #16284]
51318 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51319 rounding mode to recompute results that overflow to infinity or
51320 underflow to zero.
51321 * math/auto-libm-test-in: Don't mark tests as expected to fail for
51322 bug 16284.
51323 * math/auto-libm-test-out: Regenerated.
51324 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51325 (ccosh_test): Likewise.
51326 (csin_test_data): Use plus_oflow.
51327 (csin_test): Use ALL_RM_TEST.
51328 (csinh_test_data): Use plus_oflow.
51329 (csinh_test): Use ALL_RM_TEST.
51330 * sysdeps/i386/fpu/libm-test-ulps: Update.
51331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51332
51333 2014-03-21 Joseph Myers <joseph@codesourcery.com>
51334
51335 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51336 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51337 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51338
51339 [BZ #16731]
51340 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51341 when x - 1 is zero.
51342 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51343 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51344 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51346 argument is 1.
51347 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51348 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51349 zero.
51350 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51351 * sysdeps/i386/fpu/libm-test-ulps: Update.
51352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51353
51354 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51355
51356 * scripts/bench.pl: Remove file.
51357 * scripts/bench.py: New benchmark script.
51358 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51359 * benchtests/README: Mention python dependency.
51360 * scripts/pylintrc: New file.
51361 * scripts/pylint: New file.
51362
51363 * bits/mathdef.h: Use #ifdef instead of #if.
51364 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51365 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51366 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51367 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51368 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51369 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51370
51371 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51372 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
51373
51374 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51376 and strpbrk-ppc64 objects.
51377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51378 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51379 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51380 multiarch strpbrk for POWER7.
51381 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51382 multiarch strpbrk for PPC64.
51383 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51384 ifunc selector.
51385 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51386 strpbrk for POWER7.
51387
51388 2014-03-20 Joseph Myers <joseph@codesourcery.com>
51389
51390 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51391 (atan_test): Likewise.
51392 (atanh_test_data): Use NO_TEST_INLINE for two tests.
51393 (atanh_test): Use ALL_RM_TEST.
51394 (atan2_test_data): Likewise.
51395 (cabs_test): Likewise.
51396 (cacosh_test): Likewise.
51397 (carg_test): Likewise.
51398 (casin_test): Likewise.
51399 (casinh_test): Likewise.
51400 (cbrt_test): Likewise.
51401 (csqrt_test): Likewise.
51402 (erf_test): Likewise.
51403 (erfc_test): Likewise.
51404 (pow10_test): Likewise.
51405 (exp2_test): Likewise.
51406 (hypot_test): Likewise.
51407 (j0_test): Likewise.
51408 (j1_test): Likewise.
51409 (lgamma_test): Likewise.
51410 (gamma_test): Likewise.
51411 (sincos_test): Likewise.
51412 (tanh_test): Likewise.
51413 (y0_test): Likewise.
51414 (y1_test): Likewise.
51415 * sysdeps/i386/fpu/libm-test-ulps: Update.
51416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51417
51418 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51419
51420 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
51421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
51422 and strcspn-ppc64 objects.
51423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51424 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
51425 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
51426 multiarch strcspn for POWER7.
51427 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
51428 multiarch strcspn for PPC64.
51429 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
51430 ifunc selector.
51431 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
51432 strcspn for POWER7.
51433
51434 2014-03-20 Joseph Myers <joseph@codesourcery.com>
51435
51436 * math/gen-libm-test.pl (generate_testfile): Expect only function
51437 name as argument to AUTO_TESTS_* and pass results for all rounding
51438 modes to parse_args.
51439 (parse_auto_input): Separate inputs of automatic tests from
51440 outputs before storing in %auto_tests.
51441 * math/libm-test.inc (acos_test_data): Update call to
51442 AUTO_TESTS_f_f.
51443 (acos_test): Use ALL_RM_TEST.
51444 (acos_tonearest_test_data): Remove.
51445 (acos_test_tonearest): Likewise.
51446 (acos_towardzero_test_data): Likewise.
51447 (acos_test_towardzero): Likewise.
51448 (acos_downward_test_data): Likewise.
51449 (acos_test_downward): Likewise.
51450 (acos_upward_test_data): Likewise.
51451 (acos_test_upward): Likewise.
51452 (acosh_test_data): Update call to AUTO_TESTS_f_f.
51453 (asin_test_data): Likewise.
51454 (asin_test): Use ALL_RM_TEST.
51455 (asin_tonearest_test_data): Remove.
51456 (asin_test_tonearest): Likewise.
51457 (asin_towardzero_test_data): Likewise.
51458 (asin_test_towardzero): Likewise.
51459 (asin_downward_test_data): Likewise.
51460 (asin_test_downward): Likewise.
51461 (asin_upward_test_data): Likewise.
51462 (asin_test_upward): Likewise.
51463 (asinh_test_data): Update call to AUTO_TESTS_f_f.
51464 (atan_test_data): Likewise.
51465 (atanh_test_data): Likewise.
51466 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
51467 (cabs_test_data): Update call to AUTO_TESTS_c_f.
51468 (carg_test_data): Likewise.
51469 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
51470 (ccos_test_data): Update call to AUTO_TESTS_c_c.
51471 (ccosh_test_data): Likewise.
51472 (cexp_test_data): Likewise.
51473 (clog_test_data): Likewise.
51474 (clog10_test_data): Likewise.
51475 (cos_test_data): Update call to AUTO_TESTS_f_f.
51476 (cos_test): Use ALL_RM_TEST.
51477 (cos_tonearest_test_data): Remove.
51478 (cos_test_tonearest): Likewise.
51479 (cos_towardzero_test_data): Likewise.
51480 (cos_test_towardzero): Likewise.
51481 (cos_downward_test_data): Likewise.
51482 (cos_test_downward): Likewise.
51483 (cos_upward_test_data): Likewise.
51484 (cos_test_upward): Likewise.
51485 (cosh_test_data): Update call to AUTO_TESTS_f_f.
51486 (cosh_test): Use ALL_RM_TEST.
51487 (cosh_tonearest_test_data): Remove.
51488 (cosh_test_tonearest): Likewise.
51489 (cosh_towardzero_test_data): Likewise.
51490 (cosh_test_towardzero): Likewise.
51491 (cosh_downward_test_data): Likewise.
51492 (cosh_test_downward): Likewise.
51493 (cosh_upward_test_data): Likewise.
51494 (cosh_test_upward): Likewise.
51495 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
51496 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
51497 (ctan_test_data): Likewise.
51498 (ctan_test): Use ALL_RM_TEST.
51499 (ctan_tonearest_test_data): Remove.
51500 (ctan_test_tonearest): Likewise.
51501 (ctan_towardzero_test_data): Likewise.
51502 (ctan_test_towardzero): Likewise.
51503 (ctan_downward_test_data): Likewise.
51504 (ctan_test_downward): Likewise.
51505 (ctan_upward_test_data): Likewise.
51506 (ctan_test_upward): Likewise.
51507 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
51508 (ctanh_test): Use ALL_RM_TEST.
51509 (ctanh_tonearest_test_data): Remove.
51510 (ctanh_test_tonearest): Likewise.
51511 (ctanh_towardzero_test_data): Likewise.
51512 (ctanh_test_towardzero): Likewise.
51513 (ctanh_downward_test_data): Likewise.
51514 (ctanh_test_downward): Likewise.
51515 (ctanh_upward_test_data): Likewise.
51516 (ctanh_test_upward): Likewise.
51517 (erf_test_data): Update call to AUTO_TESTS_f_f.
51518 (erfc_test_data): Likewise.
51519 (exp_test_data): Likewise.
51520 (exp_test): Use ALL_RM_TEST.
51521 (exp_tonearest_test_data): Remove.
51522 (exp_test_tonearest): Likewise.
51523 (exp_towardzero_test_data): Likewise.
51524 (exp_test_towardzero): Likewise.
51525 (exp_downward_test_data): Likewise.
51526 (exp_test_downward): Likewise.
51527 (exp_upward_test_data): Likewise.
51528 (exp_test_upward): Likewise.
51529 (exp10_test_data): Update call to AUTO_TESTS_f_f.
51530 (exp10_test): Use ALL_RM_TEST.
51531 (exp10_tonearest_test_data): Remove.
51532 (exp10_test_tonearest): Likewise.
51533 (exp10_towardzero_test_data): Likewise.
51534 (exp10_test_towardzero): Likewise.
51535 (exp10_downward_test_data): Likewise.
51536 (exp10_test_downward): Likewise.
51537 (exp10_upward_test_data): Likewise.
51538 (exp10_test_upward): Likewise.
51539 (exp2_test_data): Update call to AUTO_TESTS_f_f.
51540 (expm1_test_data): Likewise.
51541 (expm1_test): Use ALL_RM_TEST.
51542 (expm1_tonearest_test_data): Remove.
51543 (expm1_test_tonearest): Likewise.
51544 (expm1_towardzero_test_data): Likewise.
51545 (expm1_test_towardzero): Likewise.
51546 (expm1_downward_test_data): Likewise.
51547 (expm1_test_downward): Likewise.
51548 (expm1_upward_test_data): Likewise.
51549 (expm1_test_upward): Likewise.
51550 (fma_test_data): Update call to AUTO_TESTS_fff_f.
51551 (fma_test): Use ALL_RM_TEST.
51552 (fma_towardzero_test_data): Remove.
51553 (fma_test_towardzero): Likewise.
51554 (fma_downward_test_data): Likewise.
51555 (fma_test_downward): Likewise.
51556 (fma_upward_test_data): Likewise.
51557 (fma_test_upward): Likewise.
51558 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51559 (j0_test_data): Update call to AUTO_TESTS_f_f.
51560 (j1_test_data): Likewise.
51561 (jn_test_data): Update call to AUTO_TESTS_if_f.
51562 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51563 (log_test_data): Update call to AUTO_TESTS_f_f.
51564 (log10_test_data): Likewise.
51565 (log1p_test_data): Likewise.
51566 (log2_test_data): Likewise.
51567 (pow_test_data): Update call to AUTO_TESTS_ff_f.
51568 (pow_tonearest_test_data): Likewise.
51569 (sin_test_data): Update call to AUTO_TESTS_f_f.
51570 (sin_test): Use ALL_RM_TEST.
51571 (sin_tonearest_test_data): Remove.
51572 (sin_test_tonearest): Likewise.
51573 (sin_towardzero_test_data): Likewise.
51574 (sin_test_towardzero): Likewise.
51575 (sin_downward_test_data): Likewise.
51576 (sin_test_downward): Likewise.
51577 (sin_upward_test_data): Likewise.
51578 (sin_test_upward): Likewise.
51579 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51580 (sinh_test_data): Update call to AUTO_TESTS_f_f.
51581 (sinh_test): Use ALL_RM_TEST.
51582 (sinh_tonearest_test_data): Remove.
51583 (sinh_test_tonearest): Likewise.
51584 (sinh_towardzero_test_data): Likewise.
51585 (sinh_test_towardzero): Likewise.
51586 (sinh_downward_test_data): Likewise.
51587 (sinh_test_downward): Likewise.
51588 (sinh_upward_test_data): Likewise.
51589 (sinh_test_upward): Likewise.
51590 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51591 (sqrt_test): Use ALL_RM_TEST.
51592 (sqrt_tonearest_test_data): Remove.
51593 (sqrt_test_tonearest): Likewise.
51594 (sqrt_towardzero_test_data): Likewise.
51595 (sqrt_test_towardzero): Likewise.
51596 (sqrt_downward_test_data): Likewise.
51597 (sqrt_test_downward): Likewise.
51598 (sqrt_upward_test_data): Likewise.
51599 (sqrt_test_upward): Likewise.
51600 (tan_test_data): Update call to AUTO_TESTS_f_f.
51601 (tan_test): Use ALL_RM_TEST.
51602 (tan_tonearest_test_data): Remove.
51603 (tan_test_tonearest): Likewise.
51604 (tan_towardzero_test_data): Likewise.
51605 (tan_test_towardzero): Likewise.
51606 (tan_downward_test_data): Likewise.
51607 (tan_test_downward): Likewise.
51608 (tan_upward_test_data): Likewise.
51609 (tan_test_upward): Likewise.
51610 (tanh_test_data): Update call to AUTO_TESTS_f_f.
51611 (tgamma_test_data): Likewise.
51612 (y0_test_data): Likewise.
51613 (y1_test_data): Likewise.
51614 (yn_test_data): Update call to AUTO_TESTS_if_f.
51615 (main): Do not call removed functions.
51616
51617 2014-03-19 Joseph Myers <joseph@codesourcery.com>
51618
51619 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51620 (ldexp_test_data): Remove.
51621 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
51622 scalbn_test_data.
51623 (scalb_test): Use ALL_RM_TEST.
51624
51625 2014-03-19 Andreas Schwab <schwab@suse.de>
51626
51627 * nscd/nscd.service: Also invalidate netgroup cache on reload.
51628
51629 2014-03-19 Joseph Myers <joseph@codesourcery.com>
51630
51631 [BZ #16649]
51632 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51633 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51634 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51635 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51636 (__ASSUME_PREADV): Undefine.
51637 (__ASSUME_PWRITEV): Likewise.
51638
51639 2014-03-18 Roland McGrath <roland@hack.frob.com>
51640
51641 * bits/mman-linux.h: Add comment about non-Linux use.
51642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51643 bits/mman-linux.h resting place.
51644
51645 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51646 * bits/mman-linux.h: ... here.
51647
51648 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51649
51650 * conform/conformtest.pl: Add standard definition when calling C
51651 preprocessor on data files.
51652 (checknamespace): Remove unused variable.
51653
51654 2014-03-18 Joseph Myers <joseph@codesourcery.com>
51655
51656 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51657 minus_oflow, plus_uflow and minus_uflow in expected results.
51658 * math/libm-test.inc (scalbn_test_data): Add more tests of
51659 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
51660 minus_uflow.
51661 (scalbn_test): Use ALL_RM_TEST.
51662 (scalbln_test_data): Add more tests of negative arguments. Use
51663 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51664 (scalbln_test): Use ALL_RM_TEST.
51665
51666 2014-03-18 Roland McGrath <roland@hack.frob.com>
51667
51668 * scripts/abilist.awk: Ignore symbols marked with .hidden.
51669
51670 2014-03-18 Will Newton <will.newton@linaro.org>
51671
51672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51673 inaccurate comment.
51674
51675 2014-03-18 Joseph Myers <joseph@codesourcery.com>
51676
51677 * Makerules [!subdir] (check-abi): Exit with error status if a
51678 test failed.
51679
51680 2014-03-17 Joseph Myers <joseph@codesourcery.com>
51681
51682 * math/libm-test.inc (nearbyint_test_data): Include all tests used
51683 for rint. Include results for all rounding modes.
51684 (nearbyint_test): Use ALL_RM_TEST.
51685 (rint_test_data): Include all tests used for nearbyint.
51686
51687 2014-03-17 Will Newton <will.newton@linaro.org>
51688
51689 * nptl/sysdeps/pthread/pthread.h: Revert previous
51690 change.
51691
51692 * sysdeps/generic/ldsodefs.h: Revert previous
51693 change.
51694
51695 * libio/genops.c: Revert previous change.
51696 * libio/libioP.h: Likewise.
51697 * stdio-common/vfprintf.c: Likewise.
51698
51699 * sysdeps/generic/math_private.h: Revert previous
51700 change.
51701
51702 * sysdeps/generic/math_private.h: Check whether
51703 HAVE_RM_CTX is defined with #ifdef rather
51704 than #if.
51705
51706 * argp/argp-fmtstream.h: Check whether
51707 __STRICT_ANSI__ is defined with #ifdef rather
51708 than #if.
51709 * argp/argp.h: Likewise.
51710
51711 * libio/genops.c: Check whether
51712 _IO_JUMPS_OFFSET is defined with #ifdef rather
51713 than #if.
51714 * libio/libioP.h: Likewise.
51715 * stdio-common/vfprintf.c: Likewise.
51716
51717 * sysdeps/generic/ldsodefs.h: Check whether
51718 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51719 than #if.
51720
51721 * nptl/sysdeps/pthread/pthread.h: Check
51722 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51723 its value.
51724
51725 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
51726
51727 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51728 setting O_APPEND.
51729 * libio/tst-ftell-active-handler.c (do_append_test): Add a
51730 test case.
51731
51732 [BZ #16680]
51733 * libio/fileops.c (_IO_file_open): Seek to end of file but
51734 don't cache the offset.
51735 (get_file_offset): Remove function.
51736 (do_ftell): Use cached offset when available.
51737 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51738 don't cache the offset.
51739 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51740 case.
51741 (do_one_test): Call it.
51742 (do_ftell_test): Fix up expected old offset for a+ mode.
51743 * libio/wfileops.c (do_ftell_wide): Used cached offset when
51744 available.
51745
51746 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51747 up test status with function return status.
51748 (do_write_test): Likewise.
51749 (do_append_test): Likewise.
51750
51751 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51752 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51753 Remove.
51754
51755 2014-03-17 Joseph Myers <joseph@codesourcery.com>
51756
51757 * math/gen-libm-test.pl (parse_args): Handle results specified for
51758 each rounding mode separately.
51759 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51760 tests and results from lrint_tonearest_test_data,
51761 lrint_towardzero_test_data, lrint_downward_test_data and
51762 lrint_upward_test_data.
51763 (lrint_test): Use ALL_RM_TEST.
51764 (lrint_tonearest_test_data): Remove.
51765 (lrint_test_tonearest): Likewise.
51766 (lrint_towardzero_test_data): Likewise.
51767 (lrint_test_towardzero): Likewise.
51768 (lrint_downward_test_data): Likewise.
51769 (lrint_test_downward): Likewise.
51770 (lrint_upward_test_data): Likewise.
51771 (lrint_test_upward): Likewise.
51772 (llrint_test_data): Merge in per-rounding-mode tests and results
51773 from llrint_tonearest_test_data, llrint_towardzero_test_data,
51774 llrint_downward_test_data and llrint_upward_test_data.
51775 (llrint_test): Use ALL_RM_TEST.
51776 (llrint_tonearest_test_data): Remove.
51777 (llrint_test_tonearest): Likewise.
51778 (llrint_towardzero_test_data): Likewise.
51779 (llrint_test_towardzero): Likewise.
51780 (llrint_downward_test_data): Likewise.
51781 (llrint_test_downward): Likewise.
51782 (llrint_upward_test_data): Likewise.
51783 (llrint_test_upward): Likewise.
51784 (rint_test_data): Merge in per-rounding-mode tests and results
51785 from rint_tonearest_test_data, rint_towardzero_test_data,
51786 rint_downward_test_data and rint_upward_test_data. Add
51787 per-rounding-mode results for tests not in those arrays.
51788 (rint_test): Use ALL_RM_TEST.
51789 (rint_tonearest_test_data): Remove.
51790 (rint_test_tonearest): Likewise.
51791 (rint_towardzero_test_data): Likewise.
51792 (rint_test_towardzero): Likewise.
51793 (rint_downward_test_data): Likewise.
51794 (rint_test_downward): Likewise.
51795 (rint_upward_test_data): Likewise.
51796 (rint_test_upward): Likewise.
51797 (main): Don't call removed functions.
51798
51799 2014-03-14 Roland McGrath <roland@hack.frob.com>
51800
51801 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51802 "Compiled on ..." crapola. It is anti-useful.
51803
51804 2014-03-14 Joseph Myers <joseph@codesourcery.com>
51805
51806 * scripts/evaluate-test.sh: Handle fourth argument to determine
51807 whether test run should stop on failure.
51808 * Makeconfig (stop-on-test-failure): New variable.
51809 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51810 $(stop-on-test-failure).
51811 * Makefile (tests): Give a summary of results from testing and
51812 exit with failure status if they include an ERROR or FAIL.
51813 (xtests): Likewise.
51814 * manual/install.texi (Configuring and compiling): Mention
51815 stop-on-test-failure=y.
51816 * INSTALL: Regenerated.
51817
51818 2014-03-14 Roland McGrath <roland@hack.frob.com>
51819
51820 * scripts/versionlist.awk: New file.
51821 * Makerules [$(build-shared) = yes]
51822 (postclean-generated): Add Versions.def, not Versions.def.v and
51823 Versions.def.v.i.
51824 ($(common-objpfx)Versions.def.v.i): Target removed.
51825 ($(common-objpfx)Versions.def): New target.
51826 ($(common-objpfx)Versions.all): Depend on that rather that
51827 $(common-objpfx)Versions.def.v.
51828 * Versions.def: File removed.
51829
51830 * Makeconfig (+gccwarn): Add -Wundef.
51831 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51832 a dl-sysdep.h breaking its contract.
51833 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51834 * include/stackinfo.h: New file.
51835 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51836 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51837 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51838 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51839 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51840 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51841 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51842 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51843 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51844 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51845 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51846 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51847 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51848 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51849 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51850
51851 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51852
51853 [BZ #16707]
51854 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51855 implementation.
51856 * math/libm-test.inc (round_test_data): Add more tests.
51857
51858 [BZ #16706]
51859 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51860 implementation.
51861 * math/libm-test.inc (nearbyint_test_data): Add more tests.
51862
51863 [BZ #16701]
51864 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51865 implementation.
51866 * math/libm-test.inc (ceil_test_data): Add more tests.
51867
51868 * math/libm-test.inc (trunc_test_data): Add more tests related to
51869 BZ#16414.
51870
51871 2014-03-14 Roland McGrath <roland@hack.frob.com>
51872
51873 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51874 with #if rather than #ifdef.
51875 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51876
51877 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
51878
51879 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51880 first. Disable AVX-512 GCC support if assembler doesn't support
51881 it.
51882 * sysdeps/x86_64/configure: Regenerated.
51883
51884 2014-03-13 Carlos O'Donell <carlos@redhat.com>
51885
51886 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51887 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51888 (__old_pthread_attr_setstack): Likewise.
51889 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51890 [!_STACK_GROWS_DOWN]: Likewise.
51891
51892 2014-03-13 Mike Frysinger <vapier@gentoo.org>
51893
51894 * config.make.in (have-bash2): Delete.
51895 * configure.ac (libc_cv_have_bash2): Delete.
51896 * configure: Regenerate.
51897 * elf/Makefile (common-ldd-rewrite): Rename to ...
51898 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
51899 (sh-ldd-rewrite): Delete.
51900 (bash-ldd-rewrite): Delete.
51901 (have-bash2): Delete checks.
51902 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51903 ldd-rewrite.
51904
51905 * config.make.in (have-ksh): Delete.
51906 (KSH): Delete.
51907 * configure.ac (libc_cv_have_ksh): Delete.
51908 * configure: Regenerate.
51909
51910 * elf/Makefile: Delete $(have-ksh) check.
51911 ($(objpfx)sotruss): Change KSH to BASH.
51912 * elf/sotruss.ksh: Rename to ...
51913 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
51914 function style to match POSIX. Drop ksh vim mode setting.
51915
51916 * manual/time.texi (Specifying the Time Zone with TZ): Change
51917 Tuesday to Thursday.
51918
51919 * debug/tst-longjmp_chk2.c: Update header comment.
51920 (stackoverflow_handler): Add comment. Call assert on pass value.
51921
51922 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
51923
51924 [BZ #16194]
51925 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51926 (HAVE_AVX512_ASM_SUPPORT): Likewise.
51927 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51928 (La_x86_64_vector): Add zmm.
51929 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51930 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51931 ($(objpfx)tst-audit10): New target.
51932 ($(objpfx)tst-audit10.out): Likewise.
51933 (tst-audit10-ENV): New.
51934 (AVX512-CFLAGS): Likewise.
51935 (CFLAGS-tst-audit10.c): Likewise.
51936 (CFLAGS-tst-auditmod10a.c): Likewise.
51937 (CFLAGS-tst-auditmod10b.c): Likewise.
51938 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51939 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51940 * sysdeps/x86_64/configure: Regenerated.
51941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51942 AVX-512 zmm register support.
51943 (_dl_x86_64_save_sse): Likewise.
51944 (_dl_x86_64_restore_sse): Likewise.
51945 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51946 size vector registers.
51947 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51948 (ZMM_SIZE): Likewise.
51949 * sysdeps/x86_64/tst-audit10.c: New file.
51950 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51951 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51952
51953 2014-03-13 Roland McGrath <roland@hack.frob.com>
51954
51955 * configure.ac (HAVE_EHDR_START): New check.
51956 * configure: Regenerated.
51957 * config.h.in (HAVE_EHDR_START): New #undef.
51958 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51959 assuming the lowest-addressed segment maps the start of the file.
51960
51961 2014-03-13 Joseph Myers <joseph@codesourcery.com>
51962
51963 * INSTALL: Regenerated.
51964
51965 2014-03-13 Will Newton <will.newton@linaro.org>
51966
51967 * manual/setjmp.texi (System V contexts): Improve
51968 clarity and grammar of documentation.
51969
51970 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
51971
51972 [BZ #16381]
51973 * elf/Makefile (tests): Add tst-pie2.
51974 (tests-pie): Add tst-pie2.
51975 * elf/tst-pie2.c: New file.
51976 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51977 for ET_EXEC.
51978 * elf/rtld.c (map_doit): Load executable as lt_executable.
51979 (dl_main): Likewise.
51980
51981 2014-03-12 Joseph Myers <joseph@codesourcery.com>
51982
51983 [BZ #16642]
51984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51985 (__ASSUME_PSELECT): Undefine.
51986
51987 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51988
51989 [BZ #16689]
51990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51991 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51992 static build.
51993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51994 selector for static builds.
51995
51996 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
51997
51998 [BZ #16695]
51999 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
52000 key in the buffer.
52001
52002 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52003
52004 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
52005 IFUNC selector for static builds.
52006
52007 2014-03-11 Joseph Myers <joseph@codesourcery.com>
52008
52009 * sysdeps/mips/math_private.h [__mips_hard_float]
52010 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
52011 libc_feresetround_mips_ctx.
52012 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
52013 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
52014 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
52015
52016 [BZ #16677]
52017 * math/s_nextafter.c (__nextafter): Do not return value from
52018 overflowing computation.
52019 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
52020 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
52021 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
52022 Likewise.
52023 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
52024 Likewise.
52025 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
52026 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
52027
52028 2014-03-11 Roland McGrath <roland@hack.frob.com>
52029
52030 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
52031 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
52032 Move sfi_sp use from the load-multiple (that no longer sets sp) to
52033 the new mov targetting sp.
52034
52035 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52036
52037 [BZ #16683]
52038 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
52039 Define it for static builds as well.
52040 (NO_BZERO_IMPL): Likewise.
52041
52042 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52043
52044 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
52045 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
52046 multiarch strspn for PPC64.
52047 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
52048 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
52049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52050 (__libc_ifunc_impl_list): Likewise.
52051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
52052 multiarch optimizations
52053 * string/strspn.c (strspn): Using macro to redefine symbol name.
52054
52055 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52056 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52057
52058 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
52059 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
52060 multiarch strncat for PPC64.
52061 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
52062 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
52063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52064 (__libc_ifunc_impl_list): Likewise.
52065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
52066 multiarch optimizations
52067
52068 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52069
52070 [BZ #16639]
52071 * nscd/nscd.service: Make service type forking.
52072
52073 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52074
52075 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
52076 sign in non default rounding modes.
52077 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
52078
52079 2014-03-08 Joseph Myers <joseph@codesourcery.com>
52080
52081 * math/libm-test.inc (ALL_RM_TEST): New macro.
52082 (ceil_test): Use ALL_RM_TEST.
52083 (cimag_test): Likewise.
52084 (conj_test): Likewise.
52085 (copysign_test): Likewise.
52086 (cproj_test): Likewise.
52087 (creal_test): Likewise.
52088 (fabs_test): Likewise.
52089 (floor_test): Likewise.
52090 (fmax_test): Likewise.
52091 (fmin_test): Likewise.
52092 (fmod_test): Likewise.
52093 (fpclassify_test): Likewise.
52094 (frexp_test): Likewise.
52095 (ilogb_test): Likewise.
52096 (isfinite_test): Likewise.
52097 (finite_test): Likewise.
52098 (isgreater_test): Likewise.
52099 (isgreaterequal_test): Likewise.
52100 (isinf_test): Likewise.
52101 (isless_test): Likewise.
52102 (islessequal_test): Likewise.
52103 (islessgreater_test): Likewise.
52104 (isnan_test): Likewise.
52105 (isnormal_test): Likewise.
52106 (issignaling_test): Likewise.
52107 (isunordered_test): Likewise.
52108 (logb_test): Likewise.
52109 (logb_downward_test_data): Remove.
52110 (logb_test_downward): Likewise.
52111 (lround_test): Use ALL_RM_TEST.
52112 (llround_test): Likewise.
52113 (modf_test): Likewise.
52114 (nexttoward_test): Likewise.
52115 (remainder_test): Likewise.
52116 (drem_test): Likewise.
52117 (remainder_tonearest_test_data): Likewise.
52118 (remainder_test_tonearest): Likewise.
52119 (drem_test_tonearest): Likewise.
52120 (remainder_towardzero_test_data): Likewise.
52121 (remainder_test_towardzero): Likewise.
52122 (drem_test_towardzero): Likewise.
52123 (remainder_downward_test_data): Likewise.
52124 (remainder_test_downward): Likewise.
52125 (drem_test_downward): Likewise.
52126 (remainder_upward_test_data): Likewise.
52127 (remainder_test_upward): Likewise.
52128 (drem_test_upward): Likewise.
52129 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
52130 (round_test): Use ALL_RM_TEST.
52131 (signbit_test): Likewise.
52132 (trunc_test): Likewise.
52133 (significand_test): Likewise.
52134 (main): Don't call removed functions.
52135
52136 2014-03-07 Joseph Myers <joseph@codesourcery.com>
52137
52138 [BZ #16674]
52139 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
52140 || __USE_XOPEN2K8].
52141 (ILL_ILLOPN): Likewise.
52142 (ILL_ILLADR): Likewise.
52143 (ILL_ILLTRP): Likewise.
52144 (ILL_PRVOPC): Likewise.
52145 (ILL_PRVREG): Likewise.
52146 (ILL_COPROC): Likewise.
52147 (ILL_BADSTK): Likewise.
52148 (FPE_INTDIV): Likewise.
52149 (FPE_INTOVF): Likewise.
52150 (FPE_FLTDIV): Likewise.
52151 (FPE_FLTOVF): Likewise.
52152 (FPE_FLTUND): Likewise.
52153 (FPE_FLTRES): Likewise.
52154 (FPE_FLTINV): Likewise.
52155 (FPE_FLTSUB): Likewise.
52156 (SEGV_MAPERR): Likewise.
52157 (SEGV_ACCERR): Likewise.
52158 (BUS_ADRALN): Likewise.
52159 (BUS_ADRERR): Likewise.
52160 (BUS_OBJERR): Likewise.
52161 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52162 (TRAP_TRACE): Likewise.
52163 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52164 __USE_XOPEN2K8].
52165 (CLD_KILLED): Likewise.
52166 (CLD_DUMPED): Likewise.
52167 (CLD_TRAPPED): Likewise.
52168 (CLD_STOPPED): Likewise.
52169 (CLD_CONTINUED): Likewise.
52170 (POLL_IN): Likewise.
52171 (POLL_OUT): Likewise.
52172 (POLL_MSG): Likewise.
52173 (POLL_ERR): Likewise.
52174 (POLL_PRI): Likewise.
52175 (POLL_HUP): Likewise.
52176 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
52177 Likewise.
52178 (ILL_ILLOPN): Likewise.
52179 (ILL_ILLADR): Likewise.
52180 (ILL_ILLTRP): Likewise.
52181 (ILL_PRVOPC): Likewise.
52182 (ILL_PRVREG): Likewise.
52183 (ILL_COPROC): Likewise.
52184 (ILL_BADSTK): Likewise.
52185 (FPE_INTDIV): Likewise.
52186 (FPE_INTOVF): Likewise.
52187 (FPE_FLTDIV): Likewise.
52188 (FPE_FLTOVF): Likewise.
52189 (FPE_FLTUND): Likewise.
52190 (FPE_FLTRES): Likewise.
52191 (FPE_FLTINV): Likewise.
52192 (FPE_FLTSUB): Likewise.
52193 (SEGV_MAPERR): Likewise.
52194 (SEGV_ACCERR): Likewise.
52195 (BUS_ADRALN): Likewise.
52196 (BUS_ADRERR): Likewise.
52197 (BUS_OBJERR): Likewise.
52198 (BUS_MCEERR_AR): Likewise.
52199 (BUS_MCEERR_AO): Likewise.
52200 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52201 (TRAP_TRACE): Likewise.
52202 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52203 __USE_XOPEN2K8].
52204 (CLD_KILLED): Likewise.
52205 (CLD_DUMPED): Likewise.
52206 (CLD_TRAPPED): Likewise.
52207 (CLD_STOPPED): Likewise.
52208 (CLD_CONTINUED): Likewise.
52209 (POLL_IN): Likewise.
52210 (POLL_OUT): Likewise.
52211 (POLL_MSG): Likewise.
52212 (POLL_ERR): Likewise.
52213 (POLL_PRI): Likewise.
52214 (POLL_HUP): Likewise.
52215 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52216 (ILL_ILLOPN): Likewise.
52217 (ILL_ILLADR): Likewise.
52218 (ILL_ILLTRP): Likewise.
52219 (ILL_PRVOPC): Likewise.
52220 (ILL_PRVREG): Likewise.
52221 (ILL_COPROC): Likewise.
52222 (ILL_BADSTK): Likewise.
52223 (FPE_INTDIV): Likewise.
52224 (FPE_INTOVF): Likewise.
52225 (FPE_FLTDIV): Likewise.
52226 (FPE_FLTOVF): Likewise.
52227 (FPE_FLTUND): Likewise.
52228 (FPE_FLTRES): Likewise.
52229 (FPE_FLTINV): Likewise.
52230 (FPE_FLTSUB): Likewise.
52231 (SEGV_MAPERR): Likewise.
52232 (SEGV_ACCERR): Likewise.
52233 (BUS_ADRALN): Likewise.
52234 (BUS_ADRERR): Likewise.
52235 (BUS_OBJERR): Likewise.
52236 (BUS_MCEERR_AR): Likewise.
52237 (BUS_MCEERR_AO): Likewise.
52238 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52239 (TRAP_TRACE): Likewise.
52240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52241 __USE_XOPEN2K8].
52242 (CLD_KILLED): Likewise.
52243 (CLD_DUMPED): Likewise.
52244 (CLD_TRAPPED): Likewise.
52245 (CLD_STOPPED): Likewise.
52246 (CLD_CONTINUED): Likewise.
52247 (POLL_IN): Likewise.
52248 (POLL_OUT): Likewise.
52249 (POLL_MSG): Likewise.
52250 (POLL_ERR): Likewise.
52251 (POLL_PRI): Likewise.
52252 (POLL_HUP): Likewise.
52253 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52254 Likewise.
52255 (ILL_ILLOPN): Likewise.
52256 (ILL_ILLADR): Likewise.
52257 (ILL_ILLTRP): Likewise.
52258 (ILL_PRVOPC): Likewise.
52259 (ILL_PRVREG): Likewise.
52260 (ILL_COPROC): Likewise.
52261 (ILL_BADSTK): Likewise.
52262 (ILL_BADIADDR): Likewise.
52263 (ILL_BREAK): Likewise.
52264 (FPE_INTDIV): Likewise.
52265 (FPE_INTOVF): Likewise.
52266 (FPE_FLTDIV): Likewise.
52267 (FPE_FLTOVF): Likewise.
52268 (FPE_FLTUND): Likewise.
52269 (FPE_FLTRES): Likewise.
52270 (FPE_FLTINV): Likewise.
52271 (FPE_FLTSUB): Likewise.
52272 (FPE_DECOVF): Likewise.
52273 (FPE_DECDIV): Likewise.
52274 (FPE_DECERR): Likewise.
52275 (FPE_INVASC): Likewise.
52276 (FPE_INVDEC): Likewise.
52277 (SEGV_MAPERR): Likewise.
52278 (SEGV_ACCERR): Likewise.
52279 (SEGV_PSTKOVF): Likewise.
52280 (BUS_ADRALN): Likewise.
52281 (BUS_ADRERR): Likewise.
52282 (BUS_OBJERR): Likewise.
52283 (BUS_MCEERR_AR): Likewise.
52284 (BUS_MCEERR_AO): Likewise.
52285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52286 (TRAP_TRACE): Likewise.
52287 (TRAP_BRANCH): Likewise.
52288 (TRAP_HWBKPT): Likewise.
52289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52290 __USE_XOPEN2K8].
52291 (CLD_KILLED): Likewise.
52292 (CLD_DUMPED): Likewise.
52293 (CLD_TRAPPED): Likewise.
52294 (CLD_STOPPED): Likewise.
52295 (CLD_CONTINUED): Likewise.
52296 (POLL_IN): Likewise.
52297 (POLL_OUT): Likewise.
52298 (POLL_MSG): Likewise.
52299 (POLL_ERR): Likewise.
52300 (POLL_PRI): Likewise.
52301 (POLL_HUP): Likewise.
52302 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52303 (ILL_ILLOPN): Likewise.
52304 (ILL_ILLADR): Likewise.
52305 (ILL_ILLTRP): Likewise.
52306 (ILL_PRVOPC): Likewise.
52307 (ILL_PRVREG): Likewise.
52308 (ILL_COPROC): Likewise.
52309 (ILL_BADSTK): Likewise.
52310 (FPE_INTDIV): Likewise.
52311 (FPE_INTOVF): Likewise.
52312 (FPE_FLTDIV): Likewise.
52313 (FPE_FLTOVF): Likewise.
52314 (FPE_FLTUND): Likewise.
52315 (FPE_FLTRES): Likewise.
52316 (FPE_FLTINV): Likewise.
52317 (FPE_FLTSUB): Likewise.
52318 (SEGV_MAPERR): Likewise.
52319 (SEGV_ACCERR): Likewise.
52320 (BUS_ADRALN): Likewise.
52321 (BUS_ADRERR): Likewise.
52322 (BUS_OBJERR): Likewise.
52323 (BUS_MCEERR_AR): Likewise.
52324 (BUS_MCEERR_AO): Likewise.
52325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52326 (TRAP_TRACE): Likewise.
52327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52328 __USE_XOPEN2K8].
52329 (CLD_KILLED): Likewise.
52330 (CLD_DUMPED): Likewise.
52331 (CLD_TRAPPED): Likewise.
52332 (CLD_STOPPED): Likewise.
52333 (CLD_CONTINUED): Likewise.
52334 (POLL_IN): Likewise.
52335 (POLL_OUT): Likewise.
52336 (POLL_MSG): Likewise.
52337 (POLL_ERR): Likewise.
52338 (POLL_PRI): Likewise.
52339 (POLL_HUP): Likewise.
52340 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52341 (ILL_ILLOPN): Likewise.
52342 (ILL_ILLADR): Likewise.
52343 (ILL_ILLTRP): Likewise.
52344 (ILL_PRVOPC): Likewise.
52345 (ILL_PRVREG): Likewise.
52346 (ILL_COPROC): Likewise.
52347 (ILL_BADSTK): Likewise.
52348 (FPE_INTDIV): Likewise.
52349 (FPE_INTOVF): Likewise.
52350 (FPE_FLTDIV): Likewise.
52351 (FPE_FLTOVF): Likewise.
52352 (FPE_FLTUND): Likewise.
52353 (FPE_FLTRES): Likewise.
52354 (FPE_FLTINV): Likewise.
52355 (FPE_FLTSUB): Likewise.
52356 (SEGV_MAPERR): Likewise.
52357 (SEGV_ACCERR): Likewise.
52358 (BUS_ADRALN): Likewise.
52359 (BUS_ADRERR): Likewise.
52360 (BUS_OBJERR): Likewise.
52361 (BUS_MCEERR_AR): Likewise.
52362 (BUS_MCEERR_AO): Likewise.
52363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52364 (TRAP_TRACE): Likewise.
52365 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52366 __USE_XOPEN2K8].
52367 (CLD_KILLED): Likewise.
52368 (CLD_DUMPED): Likewise.
52369 (CLD_TRAPPED): Likewise.
52370 (CLD_STOPPED): Likewise.
52371 (CLD_CONTINUED): Likewise.
52372 (POLL_IN): Likewise.
52373 (POLL_OUT): Likewise.
52374 (POLL_MSG): Likewise.
52375 (POLL_ERR): Likewise.
52376 (POLL_PRI): Likewise.
52377 (POLL_HUP): Likewise.
52378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52379 (ILL_ILLOPN): Likewise.
52380 (ILL_ILLADR): Likewise.
52381 (ILL_ILLTRP): Likewise.
52382 (ILL_PRVOPC): Likewise.
52383 (ILL_PRVREG): Likewise.
52384 (ILL_COPROC): Likewise.
52385 (ILL_BADSTK): Likewise.
52386 (FPE_INTDIV): Likewise.
52387 (FPE_INTOVF): Likewise.
52388 (FPE_FLTDIV): Likewise.
52389 (FPE_FLTOVF): Likewise.
52390 (FPE_FLTUND): Likewise.
52391 (FPE_FLTRES): Likewise.
52392 (FPE_FLTINV): Likewise.
52393 (FPE_FLTSUB): Likewise.
52394 (SEGV_MAPERR): Likewise.
52395 (SEGV_ACCERR): Likewise.
52396 (BUS_ADRALN): Likewise.
52397 (BUS_ADRERR): Likewise.
52398 (BUS_OBJERR): Likewise.
52399 (BUS_MCEERR_AR): Likewise.
52400 (BUS_MCEERR_AO): Likewise.
52401 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52402 (TRAP_TRACE): Likewise.
52403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52404 __USE_XOPEN2K8].
52405 (CLD_KILLED): Likewise.
52406 (CLD_DUMPED): Likewise.
52407 (CLD_TRAPPED): Likewise.
52408 (CLD_STOPPED): Likewise.
52409 (CLD_CONTINUED): Likewise.
52410 (POLL_IN): Likewise.
52411 (POLL_OUT): Likewise.
52412 (POLL_MSG): Likewise.
52413 (POLL_ERR): Likewise.
52414 (POLL_PRI): Likewise.
52415 (POLL_HUP): Likewise.
52416 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
52417 (ILL_ILLOPN): Likewise.
52418 (ILL_ILLADR): Likewise.
52419 (ILL_ILLTRP): Likewise.
52420 (ILL_PRVOPC): Likewise.
52421 (ILL_PRVREG): Likewise.
52422 (ILL_COPROC): Likewise.
52423 (ILL_BADSTK): Likewise.
52424 (ILL_DBLFLT): Likewise.
52425 (ILL_HARDWALL): Likewise.
52426 (FPE_INTDIV): Likewise.
52427 (FPE_INTOVF): Likewise.
52428 (FPE_FLTDIV): Likewise.
52429 (FPE_FLTOVF): Likewise.
52430 (FPE_FLTUND): Likewise.
52431 (FPE_FLTRES): Likewise.
52432 (FPE_FLTINV): Likewise.
52433 (FPE_FLTSUB): Likewise.
52434 (SEGV_MAPERR): Likewise.
52435 (SEGV_ACCERR): Likewise.
52436 (BUS_ADRALN): Likewise.
52437 (BUS_ADRERR): Likewise.
52438 (BUS_OBJERR): Likewise.
52439 (BUS_MCEERR_AR): Likewise.
52440 (BUS_MCEERR_AO): Likewise.
52441 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52442 (TRAP_TRACE): Likewise.
52443 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52444 __USE_XOPEN2K8].
52445 (CLD_KILLED): Likewise.
52446 (CLD_DUMPED): Likewise.
52447 (CLD_TRAPPED): Likewise.
52448 (CLD_STOPPED): Likewise.
52449 (CLD_CONTINUED): Likewise.
52450 (POLL_IN): Likewise.
52451 (POLL_OUT): Likewise.
52452 (POLL_MSG): Likewise.
52453 (POLL_ERR): Likewise.
52454 (POLL_PRI): Likewise.
52455 (POLL_HUP): Likewise.
52456 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
52457 (ILL_ILLOPN): Likewise.
52458 (ILL_ILLADR): Likewise.
52459 (ILL_ILLTRP): Likewise.
52460 (ILL_PRVOPC): Likewise.
52461 (ILL_PRVREG): Likewise.
52462 (ILL_COPROC): Likewise.
52463 (ILL_BADSTK): Likewise.
52464 (FPE_INTDIV): Likewise.
52465 (FPE_INTOVF): Likewise.
52466 (FPE_FLTDIV): Likewise.
52467 (FPE_FLTOVF): Likewise.
52468 (FPE_FLTUND): Likewise.
52469 (FPE_FLTRES): Likewise.
52470 (FPE_FLTINV): Likewise.
52471 (FPE_FLTSUB): Likewise.
52472 (SEGV_MAPERR): Likewise.
52473 (SEGV_ACCERR): Likewise.
52474 (BUS_ADRALN): Likewise.
52475 (BUS_ADRERR): Likewise.
52476 (BUS_OBJERR): Likewise.
52477 (BUS_MCEERR_AR): Likewise.
52478 (BUS_MCEERR_AO): Likewise.
52479 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52480 (TRAP_TRACE): Likewise.
52481 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52482 __USE_XOPEN2K8].
52483 (CLD_KILLED): Likewise.
52484 (CLD_DUMPED): Likewise.
52485 (CLD_TRAPPED): Likewise.
52486 (CLD_STOPPED): Likewise.
52487 (CLD_CONTINUED): Likewise.
52488 (POLL_IN): Likewise.
52489 (POLL_OUT): Likewise.
52490 (POLL_MSG): Likewise.
52491 (POLL_ERR): Likewise.
52492 (POLL_PRI): Likewise.
52493 (POLL_HUP): Likewise.
52494 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
52495 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52496
52497 [BZ #16670]
52498 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
52499 before #include of <time.h>.
52500 [!__USE_XOPEN2K] (__need_timespec): Likewise.
52501 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
52502 (test-xfail-UNIX98/sched.h/conform): Likewise.
52503
52504 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
52505
52506 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
52507 error absence of trapping exception support.
52508 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52509
52510 2014-03-07 Joseph Myers <joseph@codesourcery.com>
52511
52512 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
52513 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
52514 * timezone/Makefile (testdata): Move definition above include of
52515 Rules.
52516 (test-zones): New variable.
52517 (tests-special): Add zone files.
52518 (build-testdata): Use $(evaluate-test).
52519
52520 * elf/Makefile (tests-special): Rename tests to end with .out.
52521 ($(objpfx)noload-mem): Likewise.
52522 ($(objpfx)tst-leaks1-mem): Likewise.
52523 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
52524 * iconv/Makefile (xtests-special): Change test-iconvconfig to
52525 $(objpfx)test-iconvconfig.out.
52526 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
52527 set -e inside subshell and redirect output to file.
52528 * iconvdata/Makefile (generated): Rename tests to end with .out.
52529 Correct type.
52530 (tests-special): Rename tests to end with .out.
52531 ($(objpfx)mtrace-tst-loading): Likewise.
52532 * intl/Makefile (generated): Likewise.
52533 (tests-special): Likewise.
52534 ($(objpfx)mtrace-tst-gettext): Likewise.
52535 * misc/Makefile (generated): Likewise.
52536 (tests-special): Likewise.
52537 ($(objpfx)tst-error1-mem): Likewise.
52538 * nptl/Makefile (tests-special): Likewise.
52539 ($(objpfx)tst-stack3-mem): Likewise.
52540 (generated): Likewise.
52541 * posix/Makefile (generated): Likewise.
52542 (tests-special): Likewise.
52543 (xtests-special): Likewise.
52544 ($(objpfx)tst-fnmatch-mem): Likewise.
52545 ($(objpfx)bug-regex2-mem): Likewise.
52546 ($(objpfx)bug-regex14-mem): Likewise.
52547 ($(objpfx)bug-regex21-mem): Likewise.
52548 ($(objpfx)bug-regex31-mem): Likewise.
52549 ($(objpfx)tst-vfork3-mem): Likewise.
52550 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52551 ($(objpfx)tst-pcre-mem): Likewise.
52552 ($(objpfx)tst-boost-mem): Likewise.
52553 ($(objpfx)bug-ga2-mem): Likewise.
52554 ($(objpfx)bug-glob2-mem): Likewise.
52555 * resolv/Makefile (generate): Likewise.
52556 (tests-special): Likewise.
52557 (xtests-special): Likewise.
52558 (generated): Likewise.
52559 ($(objpfx)mtrace-tst-leaks): Likewise.
52560 ($(objpfx)mtrace-tst-leaks2): Likewise.
52561
52562 * scripts/merge-test-results.sh: New file.
52563 * Makefile (tests-special-notdir): New variable.
52564 (tests): Run merge-test-results.sh.
52565 (xtests): Likewise.
52566 * Rules (tests-special-notdir): New variable.
52567 (xtests-special-notdir): Likewise.
52568 (tests): Run merge-test-results.sh
52569 (xtests): Likewise.
52570
52571 * Makeconfig (test-xfail-name): New variable.
52572 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52573 compute variable name for expected failures.
52574 * conform/Makefile (conformtest-headers-data): New variable.
52575 (conformtest-standards): Likewise.
52576 (conformtest-headers-ISO): Likewise.
52577 (conformtest-headers-ISO99): Likewise.
52578 (conformtest-headers-ISO11): Likewise.
52579 (conformtest-headers-POSIX): Likewise.
52580 (conformtest-headers-XPG3): Likewise.
52581 (conformtest-headers-XPG4): Likewise.
52582 (conformtest-headers-UNIX98): Likewise.
52583 (conformtest-headers-XOPEN2K): Likewise.
52584 (conformtest-headers-POSIX2008): Likewise.
52585 (conformtest-headers-XOPEN2K8): Likewise.
52586 (conformtest-header-list-base): Likewise.
52587 (conformtest-header-list-tests): Likewise.
52588 (conformtest-header-base): Likewise.
52589 (conformtest-header-tests): Likewise.
52590 (tests-special): Add $(conformtest-header-list-tests). If
52591 [$(fast-check) && !$(cross-compiling)], add
52592 $(conformtest-header-tests) instead of
52593 $(objpfx)run-conformtest.out.
52594 (generated): Add $(conformtest-header-list-base). If
52595 [$(fast-check) && !$(cross-compiling)], add
52596 $(conformtest-header-base). Remove previous setting.
52597 ($(conformtest-header-list-tests)): New target.
52598 (test-xfail-run-conformtest): Remove variable.
52599 ($(objpfx)run-conformtest.out): Remove target.
52600 (test-xfail-ISO11/complex.h/conform): New variable.
52601 (test-xfail-ISO11/stdalign.h/conform): Likewise.
52602 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52603 (test-xfail-XPG3/varargs.h/conform): Likewise.
52604 (test-xfail-XPG4/varargs.h/conform): Likewise.
52605 (test-xfail-UNIX98/varargs.h/conform): Likewise.
52606 (test-xfail-XPG4/ndbm.h/conform): Likewise.
52607 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52608 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52609 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52610 (test-xfail-XPG3/fcntl.h/conform): Likewise.
52611 (test-xfail-XPG3/ftw.h/conform): Likewise.
52612 (test-xfail-XPG3/grp.h/conform): Likewise.
52613 (test-xfail-XPG3/langinfo.h/conform): Likewise.
52614 (test-xfail-XPG3/limits.h/conform): Likewise.
52615 (test-xfail-XPG3/pwd.h/conform): Likewise.
52616 (test-xfail-XPG3/search.h/conform): Likewise.
52617 (test-xfail-XPG3/signal.h/conform): Likewise.
52618 (test-xfail-XPG3/stdio.h/conform): Likewise.
52619 (test-xfail-XPG3/stdlib.h/conform): Likewise.
52620 (test-xfail-XPG3/string.h/conform): Likewise.
52621 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52622 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52623 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52624 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52625 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52626 (test-xfail-XPG3/sys/types.h/conform): Likewise.
52627 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52628 (test-xfail-XPG3/termios.h/conform): Likewise.
52629 (test-xfail-XPG3/time.h/conform): Likewise.
52630 (test-xfail-XPG3/unistd.h/conform): Likewise.
52631 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52632 (test-xfail-XPG4/fcntl.h/conform): Likewise.
52633 (test-xfail-XPG4/langinfo.h/conform): Likewise.
52634 (test-xfail-XPG4/netdb.h/conform): Likewise.
52635 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52636 (test-xfail-XPG4/signal.h/conform): Likewise.
52637 (test-xfail-XPG4/stdio.h/conform): Likewise.
52638 (test-xfail-XPG4/stdlib.h/conform): Likewise.
52639 (test-xfail-XPG4/stropts.h/conform): Likewise.
52640 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52641 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52642 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52643 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52644 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52645 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52646 (test-xfail-XPG4/sys/time.h/conform): Likewise.
52647 (test-xfail-XPG4/sys/types.h/conform): Likewise.
52648 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52649 (test-xfail-XPG4/termios.h/conform): Likewise.
52650 (test-xfail-XPG4/ucontext.h/conform): Likewise.
52651 (test-xfail-XPG4/unistd.h/conform): Likewise.
52652 (test-xfail-XPG4/utmpx.h/conform): Likewise.
52653 (test-xfail-POSIX/sched.h/conform): Likewise.
52654 (test-xfail-POSIX/signal.h/conform): Likewise.
52655 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52656 (test-xfail-POSIX/tar.h/conform): Likewise.
52657 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52658 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52659 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52660 (test-xfail-UNIX98/netdb.h/conform): Likewise.
52661 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52662 (test-xfail-UNIX98/sched.h/conform): Likewise.
52663 (test-xfail-UNIX98/signal.h/conform): Likewise.
52664 (test-xfail-UNIX98/stdio.h/conform): Likewise.
52665 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52666 (test-xfail-UNIX98/stropts.h/conform): Likewise.
52667 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52668 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52669 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52670 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52671 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52672 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52673 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52674 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52675 (test-xfail-UNIX98/unistd.h/conform): Likewise.
52676 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52677 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52678 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52679 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52680 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52681 (test-xfail-XOPEN2K/math.h/conform): Likewise.
52682 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52683 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52684 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52685 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52686 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52687 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52688 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52689 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52690 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52691 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52692 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52693 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52694 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52695 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52696 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52697 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52698 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52699 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52700 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52701 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52702 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52703 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52704 (test-xfail-POSIX2008/signal.h/conform): Likewise.
52705 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52706 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52707 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52708 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52709 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52710 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52711 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52712 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52713 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52714 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52715 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52716 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52717 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52718 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52719 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52720 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52721 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52722 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52723 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52724 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52725 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52726 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52727 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52728 (conformtest-cc-flags): Likewise.
52729 ($(conformtest-header-tests): New target.
52730 * conform/check-header-lists.sh: New file.
52731 * conform/run-conformtest.sh: Remove.
52732
52733 * conform/conformtest.pl: Allow ' and \ in values given for
52734 constants.
52735 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52736 inclusion.
52737 [POSIX] (sys/types.h): Likewise.
52738 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52739 inclusion.
52740 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52741 inclusion.
52742 * conform/data/signal.h-data (SIGIO): Remove expectation.
52743 [XPG3] (SIGBUS): Do not expect.
52744 [POSIX || XPG3] (SIGPOLL): Likewise.
52745 [POSIX || XPG3] (SIGPROF): Likewise.
52746 [POSIX || XPG3] (SIGSYS): Likewise.
52747 [XPG3] (SIGTRAP): Likewise.
52748 [POSIX || XPG3] (SIGURG): Likewise.
52749 [POSIX || XPG3] (SIGVTALRM): Likewise.
52750 [POSIX || XPG3] (SIGXCPU): Likewise.
52751 [POSIX || XPG3] (SIGXFSZ): Likewise.
52752 [POSIX] (SA_SIGINFO): Expect.
52753 [XPG3] (siginfo_t): Do not expect type or contents.
52754 [POSIX] (si_pid): Do not expect element.
52755 [POSIX] (si_uid): Likewise.
52756 [POSIX] (si_addr): Likewise.
52757 [POSIX] (si_status): Likewise.
52758 [POSIX] (si_band): Likewise.
52759 [XPG4] (si_value): Likewise.
52760 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52761 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52762 [POSIX || XPG3] (ILL_ILLADR): Likewise.
52763 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52764 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52765 [POSIX || XPG3] (ILL_PRVREG): Likewise.
52766 [POSIX || XPG3] (ILL_COPROC): Likewise.
52767 [POSIX || XPG3] (ILL_BADSTK): Likewise.
52768 [POSIX || XPG3] (FPE_INTDIV): Likewise.
52769 [POSIX || XPG3] (FPE_INTOVF): Likewise.
52770 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52771 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52772 [POSIX || XPG3] (FPE_FLTUND): Likewise.
52773 [POSIX || XPG3] (FPE_FLTRES): Likewise.
52774 [POSIX || XPG3] (FPE_FLTINV): Likewise.
52775 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52776 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52777 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52778 [POSIX || XPG3] (BUS_ADRALN): Likewise.
52779 [POSIX || XPG3] (BUS_ADRERR): Likewise.
52780 [POSIX || XPG3] (BUS_OBJERR): Likewise.
52781 [POSIX || XPG3] (CLD_EXITED): Likewise.
52782 [POSIX || XPG3] (CLD_KILLED): Likewise.
52783 [POSIX || XPG3] (CLD_DUMPED): Likewise.
52784 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52785 [POSIX || XPG3] (CLD_STOPPED): Likewise.
52786 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52787 [POSIX || XPG3] (POLL_IN): Likewise.
52788 [POSIX || XPG3] (POLL_OUT): Likewise.
52789 [POSIX || XPG3] (POLL_MSG): Likewise.
52790 [POSIX || XPG3] (POLL_ERR): Likewise.
52791 [POSIX || XPG3] (POLL_PRI): Likewise.
52792 [POSIX || XPG3] (POLL_HUP): Likewise.
52793 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52794 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52795 (SIG*): Do not allow.
52796 [XPG3] (si_*): Likewise.
52797 [XPG3] (SI_*): Likewise.
52798 [XPG3 || XPG4] (sigev_*): Likewise.
52799 [XPG3 || XPG4] (SIGEV_*): Likewise.
52800 [XPG3 || XPG4] (sival_*): Likewise.
52801 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52802 [POSIX || XPG3] (BUS_*): Likewise.
52803 [POSIX || XPG3] (CLD_*): Likewise.
52804 [POSIX || XPG3] (FPE_*): Likewise.
52805 [POSIX || XPG3] (ILL_*): Likewise.
52806 [POSIX || XPG3] (POLL_*): Likewise.
52807 [POSIX || XPG3] (SEGV_*): Likewise.
52808 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52809 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52810 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52811 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52812 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52813 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52814 Specify type and value.
52815 (TVERSLEN): Likewise.
52816 (REGTYPE): Likewise.
52817 (AREGTYPE): Likewise.
52818 (LNKTYPE): Likewise.
52819 (SYMTYPE): Likewise.
52820 (CHRTYPE): Likewise.
52821 (BLKTYPE): Likewise.
52822 (DIRTYPE): Likewise.
52823 (FIFOTYPE): Likewise.
52824 (CONTTYPE): Likewise.
52825 (TSUID): Likewise.
52826 (TSGID): Likewise.
52827 (TSVTX): Likewise.
52828 (TUREAD): Likewise.
52829 (TUWRITE): Likewise.
52830 (TUEXEC): Likewise.
52831 (TGREAD): Likewise.
52832 (TGWRITE): Likewise.
52833 (TGEXEC): Likewise.
52834 (TOREAD): Likewise.
52835 (TOWRITE): Likewise.
52836 (TOEXEC): Likewise.
52837 [POSIX] (TSVTX): Expect constant.
52838
52839 2014-03-06 Joseph Myers <joseph@codesourcery.com>
52840
52841 * Makefile (tests): Change dependencies to ....
52842 (tests-special): ... additions to this variable.
52843 (tests): Depend on $(tests-special).
52844 * Makerules (check-abi-list): New variable.
52845 (check-abi): Depend on $(check-abi-list).
52846 [$(subdir) = elf] (tests-special): Add
52847 $(objpfx)check-abi-libc.out.
52848 [$(build-shared) = yes && subdir] (tests-special): Add
52849 $(check-abi-list).
52850 [$(build-shared) = yes && subdir] (tests): Do not depend on
52851 check-abi.
52852 * Rules (tests): Depend on $(tests-special).
52853 (xtests): Depend on $(xtests-special).
52854 * catgets/Makefile (tests): Change dependencies to ....
52855 (tests-special): ... additions to this variable.
52856 * conform/Makefile (tests): Change dependencies to ....
52857 (tests-special): ... additions to this variable.
52858 * elf/Makefile (tests): Change dependencies to ....
52859 (tests-special): ... additions to this variable.
52860 * grp/Makefile (tests): Change dependencies to ....
52861 (tests-special): ... additions to this variable.
52862 * iconv/Makefile (xtests): Change dependencies to ....
52863 (xtests-special): ... additions to this variable.
52864 * iconvdata/Makefile (tests): Change dependencies to ....
52865 (tests-special): ... additions to this variable.
52866 * intl/Makefile (tests): Change dependencies to ....
52867 (tests-special): ... additions to this variable. Also add
52868 $(objpfx)tst-gettext.out.
52869 * io/Makefile (tests): Change dependencies to ....
52870 (tests-special): ... additions to this variable.
52871 * libio/Makefile (tests): Change dependencies to ....
52872 (tests-special): ... additions to this variable.
52873 * malloc/Makefile (tests): Change dependencies to ....
52874 (tests-special): ... additions to this variable.
52875 * misc/Makefile (tests): Change dependencies to ....
52876 (tests-special): ... additions to this variable.
52877 * nptl/Makefile (tests): Change dependencies to ....
52878 (tests-special): ... additions to this variable.
52879 * nptl_db/Makefile (tests): Change dependencies to ....
52880 (tests-special): ... additions to this variable.
52881 * posix/Makefile (tests): Change dependencies to ....
52882 (tests-special): ... additions to this variable.
52883 (xtests): Change dependencies to ....
52884 (xtests-special): ... additions to this variable.
52885 * resolv/Makefile (tests): Change dependencies to ....
52886 (tests-special): ... additions to this variable.
52887 (xtests): Change dependencies to ....
52888 (xtests-special): ... additions to this variable.
52889 * stdio-common/Makefile (tests): Change dependencies to ....
52890 (tests-special): ... additions to this variable.
52891 (do-tst-unbputc): Remove target.
52892 (do-tst-printf): Likewise.
52893 * stdlib/Makefile (tests): Change dependencies to ....
52894 (tests-special): ... additions to this variable.
52895 * string/Makefile (tests): Change dependencies to ....
52896 (tests-special): ... additions to this variable.
52897 * sysdeps/x86/Makefile (tests): Change dependencies to ....
52898 (tests-special): ... additions to this variable.
52899
52900 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52901 whole file.
52902 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52903 whole file.
52904 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52905 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52906
52907 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52908 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52909 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52910 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52911 * conform/data/libgen.h-data [XPG3]: Likewise.
52912 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52913 * conform/data/ndbm.h-data [XPG3]: Likewise.
52914 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52915 * conform/data/netdb.h-data [XPG3]: Likewise.
52916 * conform/data/netinet/in.h-data [XPG3]: Likewise.
52917 * conform/data/poll.h-data [XPG3]: Likewise.
52918 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52919 * conform/data/strings.h-data [XPG3]: Likewise.
52920 * conform/data/stropts.h-data [XPG3]: Likewise.
52921 * conform/data/sys/mman.h-data [XPG3]: Likewise.
52922 * conform/data/sys/resource.h-data [XPG3]: Likewise.
52923 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52924 Likewise.
52925 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52926 * conform/data/sys/time.h-data [XPG3]: Likewise.
52927 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52928 * conform/data/sys/uio.h-data [XPG3]: Likewise.
52929 * conform/data/sys/un.h-data [XPG3]: Likewise.
52930 * conform/data/syslog.h-data [XPG3]: Likewise.
52931 * conform/data/ucontext.h-data [XPG3]: Likewise.
52932 * conform/data/utmpx.h-data [XPG3]: Likewise.
52933 * conform/data/varargs.h-data [UNIX98]: Enable file.
52934
52935 * manual/Makefile (INSTALL_INFO): Remove variable setting.
52936
52937 * math/libm-test.inc (struct test_f_f_data): Move expected results
52938 into structure for each rounding mode.
52939 (struct test_ff_f_data): Likewise.
52940 (struct test_ff_f_data_nexttoward): Likewise.
52941 (struct test_fi_f_data): Likewise.
52942 (struct test_fl_f_data): Likewise.
52943 (struct test_if_f_data): Likewise.
52944 (struct test_fff_f_data): Likewise.
52945 (struct test_c_f_data): Likewise.
52946 (struct test_f_f1_data): Likewise.
52947 (struct test_fF_f1_data): Likewise.
52948 (struct test_ffI_f1_data): Likewise.
52949 (struct test_c_c_data): Likewise.
52950 (struct test_cc_c_data): Likewise.
52951 (struct test_f_i_data): Likewise.
52952 (struct test_ff_i_data): Likewise.
52953 (struct test_f_l_data): Likewise.
52954 (struct test_f_L_data): Likewise.
52955 (struct test_fFF_11_data): Likewise.
52956 (RM_): New macro.
52957 (RM_FE_DOWNWARD): Likewise.
52958 (RM_FE_TONEAREST): Likewise.
52959 (RM_FE_TOWARDZERO): Likewise.
52960 (RM_FE_UPWARD): Likewise.
52961 (RUN_TEST_LOOP_f_f): Update references to expected results.
52962 (RUN_TEST_LOOP_2_f): Likewise.
52963 (RUN_TEST_LOOP_fff_f): Likewise.
52964 (RUN_TEST_LOOP_c_f): Likewise.
52965 (RUN_TEST_LOOP_f_f1): Likewise.
52966 (RUN_TEST_LOOP_fF_f1): Likewise.
52967 (RUN_TEST_LOOP_fI_f1): Likewise.
52968 (RUN_TEST_LOOP_ffI_f1): Likewise.
52969 (RUN_TEST_LOOP_c_c): Likewise.
52970 (RUN_TEST_LOOP_cc_c): Likewise.
52971 (RUN_TEST_LOOP_f_i): Likewise.
52972 (RUN_TEST_LOOP_f_i_tg): Likewise.
52973 (RUN_TEST_LOOP_ff_i_tg): Likewise.
52974 (RUN_TEST_LOOP_f_b): Likewise.
52975 (RUN_TEST_LOOP_f_b_tg): Likewise.
52976 (RUN_TEST_LOOP_f_l): Likewise.
52977 (RUN_TEST_LOOP_f_L): Likewise.
52978 (RUN_TEST_LOOP_fFF_11): Likewise.
52979 * math/gen-libm-test.pl (parse_args): Output four copies of
52980 expected results for each test.
52981
52982 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52983 (__ASSUME_UTIMES): Remove.
52984 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52985 (__ASSUME_UTIMES): Likewise.
52986
52987 * math/gen-auto-libm-tests.c: Update comment on output format.
52988 (output_for_one_input_case): Generate before-rounding and
52989 after-rounding information as conditions on output flags not
52990 floating-point format.
52991 * math/auto-libm-test-out: Regenerated.
52992 * math/gen-libm-test.pl (cond_value): New function.
52993 (or_cond_value): Use cond_value.
52994 (generate_testfile): Handle conditional exceptions.
52995
52996 2014-03-05 Joseph Myers <joseph@codesourcery.com>
52997
52998 * math/libm-test.inc (max_valid_error): New variable.
52999 (init_max_error): Take new argument specifying whether function
53000 results are exactly determined. Set max_valid_error and bound
53001 other variables for errors based on this argument.
53002 (set_max_error): Do not record results above max_valid_error.
53003 (check_float_internal): Only accept errors of up to 0.5ulps if
53004 also at most max_valid_error.
53005 (START): Take new argument EXACT and pass it to init_max_error.
53006 (acos_test): Update call to START.
53007 (acos_test_tonearest): Likewise.
53008 (acos_test_towardzero): Likewise.
53009 (acos_test_downward): Likewise.
53010 (acos_test_upward): Likewise.
53011 (acosh_test): Likewise.
53012 (asin_test): Likewise.
53013 (asin_test_tonearest): Likewise.
53014 (asin_test_towardzero): Likewise.
53015 (asin_test_downward): Likewise.
53016 (asin_test_upward): Likewise.
53017 (asinh_test): Likewise.
53018 (atan_test): Likewise.
53019 (atanh_test): Likewise.
53020 (atan2_test): Likewise.
53021 (cabs_test): Likewise.
53022 (cacos_test): Likewise.
53023 (cacosh_test): Likewise.
53024 (carg_test): Likewise.
53025 (casin_test): Likewise.
53026 (casinh_test): Likewise.
53027 (catan_test): Likewise.
53028 (catanh_test): Likewise.
53029 (cbrt_test): Likewise.
53030 (ccos_test): Likewise.
53031 (ccosh_test): Likewise.
53032 (ceil_test): Likewise.
53033 (cexp_test): Likewise.
53034 (cimag_test): Likewise.
53035 (clog_test): Likewise.
53036 (clog10_test): Likewise.
53037 (conj_test): Likewise.
53038 (copysign_test): Likewise.
53039 (cos_test): Likewise.
53040 (cos_test_tonearest): Likewise.
53041 (cos_test_towardzero): Likewise.
53042 (cos_test_downward): Likewise.
53043 (cos_test_upward): Likewise.
53044 (cosh_test): Likewise.
53045 (cosh_test_tonearest): Likewise.
53046 (cosh_test_towardzero): Likewise.
53047 (cosh_test_downward): Likewise.
53048 (cosh_test_upward): Likewise.
53049 (cpow_test): Likewise.
53050 (cproj_test): Likewise.
53051 (creal_test): Likewise.
53052 (csin_test): Likewise.
53053 (csinh_test): Likewise.
53054 (csqrt_test): Likewise.
53055 (ctan_test): Likewise.
53056 (ctan_test_tonearest): Likewise.
53057 (ctan_test_towardzero): Likewise.
53058 (ctan_test_downward): Likewise.
53059 (ctan_test_upward): Likewise.
53060 (ctanh_test): Likewise.
53061 (ctanh_test_tonearest): Likewise.
53062 (ctanh_test_towardzero): Likewise.
53063 (ctanh_test_downward): Likewise.
53064 (ctanh_test_upward): Likewise.
53065 (erf_test): Likewise.
53066 (erfc_test): Likewise.
53067 (exp_test): Likewise.
53068 (exp_test_tonearest): Likewise.
53069 (exp_test_towardzero): Likewise.
53070 (exp_test_downward): Likewise.
53071 (exp_test_upward): Likewise.
53072 (exp10_test): Likewise.
53073 (exp10_test_tonearest): Likewise.
53074 (exp10_test_towardzero): Likewise.
53075 (exp10_test_downward): Likewise.
53076 (exp10_test_upward): Likewise.
53077 (pow10_test): Likewise.
53078 (exp2_test): Likewise.
53079 (expm1_test): Likewise.
53080 (expm1_test_tonearest): Likewise.
53081 (expm1_test_towardzero): Likewise.
53082 (expm1_test_downward): Likewise.
53083 (expm1_test_upward): Likewise.
53084 (fabs_test): Likewise.
53085 (fdim_test): Likewise.
53086 (floor_test): Likewise.
53087 (fma_test): Likewise.
53088 (fma_test_towardzero): Likewise.
53089 (fma_test_downward): Likewise.
53090 (fma_test_upward): Likewise.
53091 (fmax_test): Likewise.
53092 (fmin_test): Likewise.
53093 (fmod_test): Likewise.
53094 (fpclassify_test): Likewise.
53095 (frexp_test): Likewise.
53096 (hypot_test): Likewise.
53097 (ilogb_test): Likewise.
53098 (isfinite_test): Likewise.
53099 (finite_test): Likewise.
53100 (isgreater_test): Likewise.
53101 (isgreaterequal_test): Likewise.
53102 (isinf_test): Likewise.
53103 (isless_test): Likewise.
53104 (islessequal_test): Likewise.
53105 (islessgreater_test): Likewise.
53106 (isnan_test): Likewise.
53107 (isnormal_test): Likewise.
53108 (issignaling_test): Likewise.
53109 (isunordered_test): Likewise.
53110 (j0_test): Likewise.
53111 (j1_test): Likewise.
53112 (jn_test): Likewise.
53113 (ldexp_test): Likewise.
53114 (lgamma_test): Likewise.
53115 (gamma_test): Likewise.
53116 (lrint_test): Likewise.
53117 (lrint_test_tonearest): Likewise.
53118 (lrint_test_towardzero): Likewise.
53119 (lrint_test_downward): Likewise.
53120 (lrint_test_upward): Likewise.
53121 (llrint_test): Likewise.
53122 (llrint_test_tonearest): Likewise.
53123 (llrint_test_towardzero): Likewise.
53124 (llrint_test_downward): Likewise.
53125 (llrint_test_upward): Likewise.
53126 (log_test): Likewise.
53127 (log10_test): Likewise.
53128 (log1p_test): Likewise.
53129 (log2_test): Likewise.
53130 (logb_test): Likewise.
53131 (logb_test_downward): Likewise.
53132 (lround_test): Likewise.
53133 (llround_test): Likewise.
53134 (modf_test): Likewise.
53135 (nearbyint_test): Likewise.
53136 (nextafter_test): Likewise.
53137 (nexttoward_test): Likewise.
53138 (pow_test): Likewise.
53139 (pow_test_tonearest): Likewise.
53140 (pow_test_towardzero): Likewise.
53141 (pow_test_downward): Likewise.
53142 (pow_test_upward): Likewise.
53143 (remainder_test): Likewise.
53144 (drem_test): Likewise.
53145 (remainder_test_tonearest): Likewise.
53146 (drem_test_tonearest): Likewise.
53147 (remainder_test_towardzero): Likewise.
53148 (drem_test_towardzero): Likewise.
53149 (remainder_test_downward): Likewise.
53150 (drem_test_downward): Likewise.
53151 (remainder_test_upward): Likewise.
53152 (drem_test_upward): Likewise.
53153 (remquo_test): Likewise.
53154 (rint_test): Likewise.
53155 (rint_test_tonearest): Likewise.
53156 (rint_test_towardzero): Likewise.
53157 (rint_test_downward): Likewise.
53158 (rint_test_upward): Likewise.
53159 (round_test): Likewise.
53160 (scalb_test): Likewise.
53161 (scalbn_test): Likewise.
53162 (scalbln_test): Likewise.
53163 (signbit_test): Likewise.
53164 (sin_test): Likewise.
53165 (sin_test_tonearest): Likewise.
53166 (sin_test_towardzero): Likewise.
53167 (sin_test_downward): Likewise.
53168 (sin_test_upward): Likewise.
53169 (sincos_test): Likewise.
53170 (sinh_test): Likewise.
53171 (sinh_test_tonearest): Likewise.
53172 (sinh_test_towardzero): Likewise.
53173 (sinh_test_downward): Likewise.
53174 (sinh_test_upward): Likewise.
53175 (sqrt_test): Likewise.
53176 (sqrt_test_tonearest): Likewise.
53177 (sqrt_test_towardzero): Likewise.
53178 (sqrt_test_downward): Likewise.
53179 (sqrt_test_upward): Likewise.
53180 (tan_test): Likewise.
53181 (tan_test_tonearest): Likewise.
53182 (tan_test_towardzero): Likewise.
53183 (tan_test_downward): Likewise.
53184 (tan_test_upward): Likewise.
53185 (tanh_test): Likewise.
53186 (tgamma_test): Likewise.
53187 (trunc_test): Likewise.
53188 (y0_test): Likewise.
53189 (y1_test): Likewise.
53190 (yn_test): Likewise.
53191 (significand_test): Likewise.
53192
53193 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
53194 individual tests in comment.
53195 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
53196 (prev_max_error): New variable.
53197 (prev_real_max_error): Likewise.
53198 (prev_imag_max_error): Likewise.
53199 (compare_ulp_data): Don't refer to test names in comment.
53200 (find_test_ulps): Remove function.
53201 (find_function_ulps): Likewise.
53202 (find_complex_function_ulps): Likewise.
53203 (init_max_error): Take function name as argument. Look up ulps
53204 for that function.
53205 (print_ulps): Remove function.
53206 (print_max_error): Use prev_max_error instead of calling
53207 find_function_ulps.
53208 (print_complex_max_error): Use prev_real_max_error and
53209 prev_imag_max_error instead of calling find_complex_function_ulps.
53210 (check_float_internal): Take max_ulp parameter instead of calling
53211 find_test_ulps. Don't call print_ulps.
53212 (check_float): Update call to check_float_internal.
53213 (check_complex): Update calls to check_float_internal.
53214 (START): Pass argument to init_max_error.
53215 * math/gen-libm-test.pl (%results): Don't include "kind"
53216 information.
53217 (parse_ulps): Don't handle ulps of individual tests.
53218 (print_ulps_file): Likewise.
53219 (output_ulps): Likewise.
53220 * math/README.libm-test: Update.
53221 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53222 individual tests.
53223 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53224 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53225 * sysdeps/arm/libm-test-ulps: Likewise.
53226 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53227 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53228 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53229 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53230 * sysdeps/microblaze/libm-test-ulps: Likewise.
53231 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53232 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53234 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53235 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53236 * sysdeps/sh/libm-test-ulps: Likewise.
53237 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53238 * sysdeps/tile/libm-test-ulps: Likewise.
53239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53240
53241 2014-03-04 Joseph Myers <joseph@codesourcery.com>
53242
53243 * math/libm-test.inc (print_complex_max_error): Check separately
53244 whether real and imaginary errors are within allowed range and
53245 pass 0 to print_complex_function_ulps instead of value within
53246 allowed range.
53247
53248 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53249
53250 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53251 formatting.
53252 (get_handles_fopen): Likewise.
53253 (do_write_test): Likewise.
53254
53255 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53256
53257 * libio/fileops.c (do_ftell): Use cached offset when
53258 available.
53259 * libio/iofwide.c (do_ftell_wide): Likewise.
53260 * libio/iofdopen.c (_IO_new_fdopen): Don't use
53261 _IO_file_attach.
53262 * libio/wfileops.c (_IO_fwide): Don't cache offset.
53263
53264 [BZ #16532]
53265 * libio/libioP.h (get_file_offset): New function.
53266 * libio/fileops.c (get_file_offset): Likewise.
53267 (do_ftell): Likewise.
53268 (_IO_new_file_seekoff): Split out ftell logic.
53269 * libio/wfileops.c (do_ftell_wide): Likewise.
53270 (_IO_wfile_seekoff): Split out ftell logic.
53271 * libio/tst-ftell-active-handler.c: New test case.
53272 * libio/Makefile (tests): Add it.
53273
53274 2014-03-03 Roland McGrath <roland@hack.frob.com>
53275
53276 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53277 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53278
53279 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
53280
53281 [BZ #16639]
53282 * nscd/connections.c (nscd_init): Call do_exit.
53283 (start_threads): Call do_exit and notify_parent.
53284 (begin_drop_privileges): Call do_exit.
53285 (finish_drop_privileges): Likewise.
53286 * nscd/selinux.c (preserve_capabilities): Likewise.
53287 (install_real_capabilities): Likewise.
53288 (nscd_selinux_enabled): Likewise.
53289 (avc_create_thread): Likewise.
53290 (avc_alloc_lock): Likewise.
53291 (nscd_avc_init): Likewise.
53292 * nscd/nscd.c (parent_fd): New static variable.
53293 (main): Create a pipe between parent and child processes.
53294 Skip closing parent_fd.
53295 (monitor_child): New function.
53296 (do_exit): Likewise.
53297 (notify_parent): Likewise.
53298 * nscd/nscd.h (notify_parent): Likewise.
53299 (do_exit): Likewise.
53300
53301 2014-03-03 Carlos O'Donell <carlos@redhat.com>
53302
53303 * malloc/malloc.c (__libc_calloc): Revert last change.
53304
53305 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53306
53307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53308
53309 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53310
53311 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53313 implementation.
53314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53315 (__libc_ifunc_impl_list): Likewise.
53316 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53317 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53318 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53319 * string/strrchr.c: Define STRRCHR.
53320
53321 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
53322
53323 * benchtest/bench-strtok.c (simple_strtok): Delete.
53324 (strtok_string): Use as benchmark.
53325 * string/strtok (STRTOK): New macro.
53326
53327 2014-02-28 Carlos O'Donell <carlos@redhat.com>
53328
53329 * manual/threads.texi: Add header and standard comments to all
53330 functions.
53331
53332 * elf/dl-lookup.c (check_match): New function.
53333 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53334 (do_lookup_x): Remove nested function check_match. Use non-nested
53335 function check_match.
53336
53337 2014-02-28 Roland McGrath <roland@hack.frob.com>
53338
53339 * csu/Makefile (generated, before-compile): Use += rather than =.
53340 * catgets/Makefile (generated, generated-dirs): Likewise.
53341 * debug/Makefile (generated): Likewise.
53342 * dlfcn/Makefile (generated): Likewise.
53343 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53344 * iconvdata/Makefile (before-compile, generated): Likewise.
53345 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53346 * libio/Makefile (generated): Likewise.
53347 * malloc/Makefile (generated): Likewise.
53348 * manual/Makefile (generated, generated-dirs): Likewise.
53349 * misc/Makefile (generated): Likewise.
53350 * posix/Makefile (generated): Likewise.
53351 * resolv/Makefile (generated): Likewise.
53352 * sunrpc/Makefile (generated, generated-dirs): Likewise.
53353 * timezone/Makefile (generated, generated-dirs): Likewise.
53354
53355 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53356
53357 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53358
53359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53360 power8 implementation.
53361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53362 file: POWER8 llround ifunc implementation.
53363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53364 (__lllround): Add POWER8 implementation.
53365 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53366 POWER8 llround implementation.
53367
53368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53369 power8 implementation.
53370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53371 file: POWER8 llrint ifunc implementation.
53372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53373 Add POWER8 implementation.
53374 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53375 POWER8 llrint implementation.
53376
53377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53378 power8 implementation.
53379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53380 file: POWER8 finite ifunc implementation.
53381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53382 Add POWER8 implementation.
53383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53384 Likewise.
53385 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53386 POWER8 finite implementation.
53387 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53388
53389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53390 power8 implementation.
53391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
53392 file: POWER8 isinf ifunc implementation.
53393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
53394 POWER8 implementation.
53395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
53396 Likewise.
53397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
53398 isinf implementation.
53399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
53400
53401 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
53402 (INIT_ARCH): Add hwcap2 initialization.
53403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53404 power8 implementation.
53405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
53406 file: POWER8 isnan ifunc implementation.
53407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
53408 POWER8 implementation.
53409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
53410 Likewise.
53411 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
53412 isnan implementation.
53413 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
53414
53415 2014-02-27 Joey Ye <joey.ye@arm.com>
53416
53417 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
53418 (_FP_NANFRAC_Q): Set to zero.
53419
53420 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53421
53422 [BZ #16623]
53423 * math/auto-libm-test-in: New test inputs.
53424 * math/auto-libm-test-out: Regenerate.
53425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
53426 and DA.
53427 (__cos): Likewise.
53428 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53429
53430 2014-02-27 Joseph Myers <joseph@codesourcery.com>
53431
53432 * scripts/evaluate-test.sh: Take new argument indicating whether
53433 failure is expected.
53434 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
53435 indicating whether failure is expected.
53436 * conform/Makefile (test-xfail-run-conformtest): New variable.
53437 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
53438 level.
53439 * posix/Makefile (test-xfail-annexc): New variable.
53440 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
53441
53442 2014-02-26 Joseph Myers <joseph@codesourcery.com>
53443
53444 * argp/Makefile: Include Makeconfig immediately after defining
53445 subdir.
53446 * assert/Makefile: Likewise.
53447 * benchtests/Makefile: Likewise.
53448 * catgets/Makefile: Likewise.
53449 * conform/Makefile: Likewise.
53450 * crypt/Makefile: Likewise.
53451 * csu/Makefile: Likewise.
53452 (all): Remove target.
53453 * ctype/Makefile: Include Makeconfig immediately after defining
53454 subdir.
53455 * debug/Makefile: Likewise.
53456 * dirent/Makefile: Likewise.
53457 * dlfcn/Makefile: Likewise.
53458 * gmon/Makefile: Likewise.
53459 * gnulib/Makefile: Likewise.
53460 * grp/Makefile: Likewise.
53461 * gshadow/Makefile: Likewise.
53462 * hesiod/Makefile: Likewise.
53463 * hurd/Makefile: Likewise.
53464 (all): Remove target.
53465 * iconvdata/Makefile: Include Makeconfig immediately after
53466 defining subdir.
53467 * inet/Makefile: Likewise.
53468 * intl/Makefile: Likewise.
53469 * io/Makefile: Likewise.
53470 * libio/Makefile: Likewise.
53471 (all): Remove target.
53472 * locale/Makefile: Include Makeconfig immediately after defining
53473 subdir.
53474 * login/Makefile: Likewise.
53475 * mach/Makefile: Likewise.
53476 (all): Remove target.
53477 * malloc/Makefile: Include Makeconfig immediately after defining
53478 subdir.
53479 (all): Remove target.
53480 * manual/Makefile: Include Makeconfig immediately after defining
53481 subdir.
53482 * math/Makefile: Likewise.
53483 * misc/Makefile: Likewise.
53484 * nis/Makefile: Likewise.
53485 * nss/Makefile: Likewise.
53486 * po/Makefile: Likewise.
53487 (all): Remove target.
53488 * posix/Makefile: Include Makeconfig immediately after defining
53489 subdir.
53490 * pwd/Makefile: Likewise.
53491 * resolv/Makefile: Likewise.
53492 * resource/Makefile: Likewise.
53493 * rt/Makefile: Likewise.
53494 * setjmp/Makefile: Likewise.
53495 * shadow/Makefile: Likewise.
53496 * signal/Makefile: Likewise.
53497 * socket/Makefile: Likewise.
53498 * soft-fp/Makefile: Likewise.
53499 * stdio-common/Makefile: Likewise.
53500 * stdlib/Makefile: Likewise.
53501 * streams/Makefile: Likewise.
53502 * string/Makefile: Likewise.
53503 * sunrpc/Makefile: Likewise.
53504 (all): Remove target.
53505 * sysvipc/Makefile: Include Makeconfig immediately after defining
53506 subdir.
53507 * termios/Makefile: Likewise.
53508 * time/Makefile: Likewise.
53509 * timezone/Makefile: Likewise.
53510 (all): Remove target.
53511 * wcsmbs/Makefile: Include Makeconfig immediately after defining
53512 subdir.
53513 * wctype/Makefile: Likewise.
53514
53515 2014-02-26 Steve Ellcey <sellcey@mips.com>
53516
53517 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
53518 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
53519 (libc_feholdexcept_setround_mips): Ditto.
53520 (libc_feholdsetround): New.
53521 (libc_feholdsetroundf): New.
53522 (libc_feholdsetroundl): New.
53523 (libc_feupdateenv_test_mips): New.
53524 (libc_feupdateenv_test): New.
53525 (libc_feupdateenv_testf): New.
53526 (libc_feupdateenv_testl): New.
53527 (libc_feresetround): New.
53528 (libc_feresetroundf): New.
53529 (libc_feresetroundl): New.
53530 (libc_fetestexcept_mips): New.
53531 (libc_fetestexcept): New.
53532 (libc_fetestexceptf): New.
53533 (libc_fetestexceptl): New.
53534 (HAVE_RM_CTX): New.
53535 (libc_feholdexcept_setround_mips_ctx): New.
53536 (libc_feholdexcept_setround_ctx): New.
53537 (libc_feholdexcept_setroundf_ctx): New.
53538 (libc_feholdexcept_setroundl_ctx): New.
53539 (libc_fesetenv_mips_ctx): New.
53540 (libc_fesetenv_ctx): New.
53541 (libc_fesetenv_ctxf): New.
53542 (libc_fesetenv_ctxl): New.
53543 (libc_feupdateenv_mips_ctx): New.
53544 (libc_feupdateenv_ctx): New.
53545 (libc_feupdateenvf_ctx): New.
53546 (libc_feupdateenvl_ctx): New.
53547 (libc_feholdsetround_mips_ctx): New.
53548 (libc_feholdsetround_ctx): New.
53549 (libc_feholdsetroundf_ctx): New.
53550 (libc_feholdsetroundl_ctx): New.
53551 (libc_feresetround_mips_ctx): New.
53552 (libc_feresetround_ctx): New.
53553 (libc_feresetroundf_ctx): New.
53554 (libc_feresetroundl_ctx): New.
53555
53556 2014-02-26 Carlos O'Donell <carlos@redhat.com>
53557
53558 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53559
53560 * manual/ipc.texi: New file.
53561 * manual/Makefile (chapters): Add ipc.
53562 * manual/job.texi: Add "Inter-Process Communication" to next.
53563 * manual/process.texi: Add "Inter-Process Communication" to prev.
53564
53565 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53566
53567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53568
53569 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
53570
53571 * malloc/malloc.c (__libc_calloc): Simplify implementation.
53572
53573 * manual/arith.texi: Fix spaces after sentences.
53574 * manual/charset.texi: Likewise.
53575 * manual/errno.texi: Likewise.
53576 * manual/install.texi: Likewise.
53577 * manual/llio.texi: Likewise.
53578 * manual/locale.texi: Likewise.
53579 * manual/maint.texi: Likewise.
53580 * manual/math.texi: Likewise.
53581 * manual/memory.texi: Likewise.
53582 * manual/message.texi: Likewise.
53583 * manual/probes.texi: Likewise.
53584 * manual/resource.texi: Likewise.
53585 * manual/signal.texi: Likewise.
53586 * manual/socket.texi: Likewise.
53587 * manual/stdio.texi: Likewise.
53588 * manual/string.texi: Likewise.
53589 * manual/time.texi: Likewise.
53590 * manual/users.texi: Likewise.
53591
53592 2014-02-25 Carlos O'Donell <carlos@redhat.com>
53593
53594 [BZ #16632]
53595 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53596 _DEFAULT_SOURCE is defined.
53597
53598 2014-02-25 Ulrich Drepper <drepper@gmail.com>
53599 Carlos O'Donell <carlos@redhat.com>
53600
53601 [BZ #16613]
53602 * elf/dl-tls.c (_dl_count_modids): New function.
53603 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53604 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53605 audit library and increment generation counter.
53606 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53607 * elf/tst-audit9.c: New file.
53608 * elf/tst-auditmod9a.c: New file.
53609 * elf/tst-auditmod9b.c: New file.
53610 * elf/Makefile: Add rules to build and run tst-audit9.
53611
53612 2014-02-25 Florian Weimer <fweimer@redhat.com>
53613
53614 [BZ #15347]
53615 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53616
53617 2014-02-25 Will Newton <will.newton@linaro.org>
53618
53619 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53620 (__longjmp): Restore sp and lr before restoring callee
53621 saved registers. Add longjmp and longjmp_target
53622 SystemTap probe point.
53623 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53624 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53625 Define to zero to match jmpbuf layout.
53626 * sysdeps/arm/setjmp.S: Include stap-probe.h.
53627 (__sigsetjmp): Save sp and lr before saving callee
53628 saved registers. Add setjmp SystemTap probe point.
53629
53630 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53631
53632 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53633
53634 2014-02-24 Andreas Schwab <schwab@suse.de>
53635
53636 [BZ #15804]
53637 * elf/pldd.c (wait_for_ptrace_stop): New function.
53638 (main): Call it after attaching.
53639
53640 2014-02-22 Roland McGrath <roland@hack.frob.com>
53641
53642 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53643 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53644 Versions files is now verboten.
53645 * hurd/Versions (libc: GLIBC_2.0):
53646 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53647 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53648 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53649 * mach/Versions: Likewise.
53650
53651 * csu/Versions: Remove unused %include.
53652 * resolv/Versions: Likewise.
53653
53654 2014-02-21 Joseph Myers <joseph@codesourcery.com>
53655
53656 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53657 ($(objpfx)check-local-headers.out): Likewise.
53658 ($(objpfx)begin-end-check.out): Likewise.
53659 * Makerules (check-abi-%.out): Likewise.
53660 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53661 ($(objpfx)test2.cat): Likewise.
53662 ($(objpfx)de/libc.cat): Likewise.
53663 ($(objpfx)test-gencat.out): Likewise.
53664 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53665 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53666 ($(objpfx)noload-mem): Likewise.
53667 ($(objpfx)tst-pathopt.out): Likewise.
53668 ($(objpfx)tst-rtld-load-self.out): Likewise.
53669 ($(objpfx)tst-array1-cmp.out): Likewise.
53670 ($(objpfx)tst-array1-static-cmp.out): Likewise.
53671 ($(objpfx)tst-array2-cmp.out): Likewise.
53672 ($(objpfx)tst-array3-cmp.out): Likewise.
53673 ($(objpfx)tst-array4-cmp.out): Likewise.
53674 ($(objpfx)tst-array5-cmp.out): Likewise.
53675 ($(objpfx)tst-array5-static-cmp.out): Likewise.
53676 ($(objpfx)check-textrel.out): Likewise.
53677 ($(objpfx)check-execstack.out): Likewise.
53678 ($(objpfx)check-localplt.out): Likewise.
53679 ($(objpfx)order2-cmp.out): Likewise.
53680 ($(objpfx)tst-leaks1-mem): Likewise.
53681 ($(objpfx)tst-leaks1-static-mem): Likewise.
53682 ($(objpfx)tst-initorder-cmp.out): Likewise.
53683 ($(objpfx)tst-initorder2-cmp.out): Likewise.
53684 ($(objpfx)tst-unused-dep.out): Likewise.
53685 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53686 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53687 * iconv/Makefile (test-iconvconfig): Likewise.
53688 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53689 ($(objpfx)iconv-test.out): Likewise.
53690 ($(objpfx)tst-tables.out): Likewise.
53691 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53692 ($(objpfx)tst-gettext.out): Likewise.
53693 ($(objpfx)tst-translit.out): Likewise.
53694 ($(objpfx)tst-gettext2.out): Likewise.
53695 ($(objpfx)tst-gettext4.out): Likewise.
53696 ($(objpfx)tst-gettext6.out): Likewise.
53697 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53698 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53699 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53700 ($(objpfx)tst-fopenloc-mem.out): Likewise.
53701 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53702 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53703 * posix/Makefile ($(objpfx)globtest.out): Likewise.
53704 ($(objpfx)wordexp-tst.out): Likewise.
53705 ($(objpfx)annexc.out): Likewise.
53706 ($(objpfx)tst-fnmatch-mem): Likewise.
53707 ($(objpfx)bug-regex2-mem): Likewise.
53708 ($(objpfx)bug-regex14-mem): Likewise.
53709 ($(objpfx)bug-regex21-mem): Likewise.
53710 ($(objpfx)bug-regex31-mem): Likewise.
53711 ($(objpfx)tst-vfork3-mem): Likewise.
53712 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53713 ($(objpfx)tst-pcre-mem): Likewise.
53714 ($(objpfx)tst-boost-mem): Likewise.
53715 ($(objpfx)tst-getconf.out): Likewise.
53716 ($(objpfx)bug-ga2-mem): Likewise.
53717 ($(objpfx)bug-glob2-mem): Likewise.
53718 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53719 ($(objpfx)mtrace-tst-leaks2): Likewise.
53720 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53721 ($(objpfx)tst-printf.out): Likewise.
53722 ($(objpfx)tst-setvbuf1.out): Likewise.
53723 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53724 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53725 ($(objpfx)tst-fmtmsg.out): Likewise.
53726 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53727 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53728
53729 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53730 * bits/sigaction.h [__USE_MISC]: Likewise.
53731 * bits/waitstatus.h: Update #endif comments.
53732 * ctype/ctype.h: Likewise.
53733 * dirent/dirent.h: Likewise.
53734 [__USE_MISC]: Remove redundant conditionals.
53735 * grp/grp.h: Update #endif comments.
53736 [__USE_GNU]: Remove redundant conditionals.
53737 [__USE_MISC]: Likewise.
53738 * inet/netinet/in.h [__USE_GNU]: Likewise.
53739 * io/sys/stat.h [__USE_MISC]: Likewise.
53740 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53741 * libio/bits/stdio.h: Update #endif comments.
53742 [__USE_MISC]: Remove redundant conditionals.
53743 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53744 * libio/stdio.h: Update #endif comments.
53745 [__USE_MISC]: Remove redundant conditionals.
53746 * math/bits/math-finite.h [__USE_MISC]: Likewise.
53747 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53748 * math/math.h: Update #else and #endif comments.
53749 [__USE_MISC]: Remove redundant conditionals.
53750 * misc/sys/uio.h: Update #endif comments.
53751 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53752 * posix/glob.h [__USE_MISC]: Likewise.
53753 * posix/sys/types.h: Update #endif comments.
53754 [__USE_MISC]: Remove redundant conditionals.
53755 * posix/sys/wait.h: Update #endif comments.
53756 [__USE_MISC]: Remove redundant conditionals.
53757 * posix/unistd.h: Update #endif comments.
53758 [__USE_MISC]: Remove redundant conditionals.
53759 * pwd/pwd.h [__USE_GNU]: Likewise.
53760 [__USE_MISC]: Likewise.
53761 * resolv/netdb.h [__USE_GNU]: Likewise.
53762 * signal/signal.h: Update #endif comments.
53763 [__USE_MISC]: Remove redundant conditionals.
53764 * stdlib/stdlib.h: Update #else and #endif comments.
53765 [__USE_MISC]: Remove redundant conditionals.
53766 [__USE_GNU]: Likewise.
53767 * string/bits/string2.h [__USE_MISC]: Likewise.
53768 * string/string.h: Update #endif comments.
53769 [__USE_MISC]: Remove redundant conditionals.
53770 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53771 Likewise.
53772 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53773 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53774 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53775 Likewise.
53776 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53777 Likewise.
53778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53779 comments.
53780 [__USE_MISC]: Remove redundant conditionals.
53781 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53782 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53783 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53784 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53785 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53786 Likewise.
53787 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53788 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53789 Likewise.
53790 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53791 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53792 Likewise.
53793 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53794 Likewise.
53795 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53796 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53797 Likewise.
53798 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53799 Likewise.
53800 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53801 * sysdeps/x86/bits/string.h: Update #endif comments.
53802 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53803 conditionals.
53804 * time/sys/time.h: Update #endif comments.
53805 * time/time.h: Likewise.
53806 [__USE_MISC]: Remove redundant conditionals.
53807
53808 2014-02-21 Yury Gribov <y.gribov@samsung.com>
53809
53810 [BZ #16600]
53811 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53812
53813 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
53814
53815 * Versions.def (librt): Add GLIBC_2.17.
53816
53817 2014-02-21 Adam Conrad <adconrad@0c3.net>
53818
53819 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53820 synonym for _SYS_AUXV_H to allow direct inclusion.
53821 * sysdeps/sparc/bits/hwcap.h: Likewise.
53822 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53823 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53824 * sysdeps/sparc/sysdep.h: Likewise.
53825
53826 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53827
53828 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53829
53830 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53831
53832 * benchtests/bench-strrchr.c: Print length instead of position.
53833
53834 2014-02-20 Joseph Myers <joseph@codesourcery.com>
53835
53836 [BZ #16611]
53837 * sysdeps/unix/sysv/linux/kernel-features.h
53838 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53839 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53840 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53841 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53842 Likewise.
53843 [__i386__ || __powerpc__ || __sh__ || __sparc__]
53844 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53845 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53846 (__ASSUME_SENDMMSG): Define instead of using previous
53847 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53848 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53849 (__ASSUME_SENDMMSG_SYSCALL): Define.
53850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53851 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53852 Likewise.
53853 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53854 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53855 Likewise.
53856 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53857 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53858 Likewise.
53859 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53860 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53861 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53862 [__ASSUME_SENDMMSG]: Change conditionals to
53863 [__ASSUME_SENDMMSG_SOCKETCALL].
53864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53865 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53866 Define.
53867 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53868 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53869 Likewise.
53870 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53871 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53872 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53873 [!__ASSUME_SENDMMSG]: Change conditional to
53874 [!__ASSUME_SENDMMSG_SOCKETCALL].
53875 * sysdeps/unix/sysv/linux/tile/kernel-features.h
53876 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53877 Define.
53878
53879 [BZ #16610]
53880 * sysdeps/unix/sysv/linux/kernel-features.h
53881 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53882 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53883 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53884 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53885 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53886 [__i386__ || __sparc__]
53887 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53888 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53889 (__ASSUME_RECVMMSG): Define instead of using previous
53890 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53891 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53892 (__ASSUME_RECVMMSG_SYSCALL): Define.
53893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53894 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53895 Likewise.
53896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53897 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53898 Likewise.
53899 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53900 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53901 Likewise.
53902 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53903 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53904 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53905 [__ASSUME_RECVMMSG]: Change condition to
53906 [__ASSUME_RECVMMSG_SOCKETCALL].
53907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53908 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53909 Define.
53910 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53911 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53913 Likewise.
53914 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53915 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53916 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53917 [!__ASSUME_RECVMMSG]: Change condition to
53918 [!__ASSUME_RECVMMSG_SOCKETCALL].
53919 * sysdeps/unix/sysv/linux/tile/kernel-features.h
53920 (__ASSUME_RECVMMSG_SYSCALL): Define.
53921
53922 [BZ #16609]
53923 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53924 __powerpc__ || __s390__ || __sh__ || __sparc__]
53925 (__ASSUME_SOCKETCALL): Define.
53926 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53927 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53928 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53929 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53930 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53931 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53932 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53933 (__ASSUME_ACCEPT4): Define instead of using previous
53934 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53935 __powerpc__ || __sparc__ || __s390__)] condition.
53936 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53937 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53938 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53939 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53940 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53941 [!__ASSUME_ACCEPT4]: Change condition to
53942 [!__ASSUME_ACCEPT4_SOCKETCALL].
53943 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53944 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
53945 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53946 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53947 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53948 __ASSUME_ACCEPT4_SYSCALL.
53949 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53950 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53951 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53952 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53953 __ASSUME_ACCEPT4_SYSCALL.
53954 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53955 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53956 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53957 [__ASSUME_ACCEPT4]: Change condition to
53958 [__ASSUME_ACCEPT4_SOCKETCALL].
53959 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53960 (__ASSUME_SOCKETCALL): Define.
53961 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53962 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53963 (__ASSUME_SOCKETCALL): Define.
53964 (__ASSUME_ACCEPT4): Remove.
53965 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53966 Define.
53967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53968 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53969 Likewise.
53970 * sysdeps/unix/sysv/linux/tile/kernel-features.h
53971 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53972
53973 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53974 macro.
53975 (HWCAP_ARM_LPAE): Likewise.
53976 (HWCAP_ARM_EVTSTRM): Likewise.
53977 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53978 Add vpfd32, lpae and evtstrm.
53979 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53980 Increase to 22.
53981
53982 2014-02-19 Joseph Myers <joseph@codesourcery.com>
53983
53984 * math/auto-libm-test-in: Add tests of clog10.
53985 * math/auto-libm-test-out: Regenerated.
53986 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53987 * sysdeps/i386/fpu/libm-test-ulps: Update.
53988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53989
53990 2014-02-18 Andreas Schwab <schwab@suse.de>
53991
53992 [BZ #16574]
53993 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53994 Store non-zero if the second buffer was newly allocated.
53995 (send_dg): Likewise.
53996 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53997 to send_vc and send_dg.
53998 (res_nsend): Pass NULL for ansp2_malloced.
53999 * resolv/res_query.c (__libc_res_nquery): Add parameter
54000 answerp2_malloced and pass it down to __libc_res_nsend.
54001 (res_nquery): Pass additional NULL to __libc_res_nquery.
54002 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
54003 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
54004 second answer buffer if answerp2_malloced was set.
54005 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
54006 (__libc_res_nquerydomain): Add parameter
54007 answerp2_malloced and pass it down to __libc_res_nquery.
54008 (res_nquerydomain): Pass additional NULL to
54009 __libc_res_nquerydomain.
54010 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
54011 additional NULL to __libc_res_nsend and __libc_res_nquery.
54012 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
54013 additional NULL to __libc_res_nsearch.
54014 (_nss_dns_gethostbyname4_r): Revert last change. Use new
54015 parameter of __libc_res_nsearch to check for separately allocated
54016 second buffer.
54017 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
54018 __libc_res_nquery.
54019 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
54020 additional NULL to __libc_res_nquery.
54021 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
54022 __libc_res_nsearch.
54023 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54024 * include/resolv.h: Update prototypes of __libc_res_nquery,
54025 __libc_res_nsearch, __libc_res_nsend.
54026
54027 2014-02-18 Joseph Myers <joseph@codesourcery.com>
54028
54029 * math/auto-libm-test-in: Add tests of fma.
54030 * math/auto-libm-test-out: Regenerated.
54031 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
54032 (fma_towardzero_test_data): Likewise.
54033 (fma_downward_test_data): Likewise.
54034 (fma_upward_test_data): Likewise.
54035 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
54036 mpc_mode.
54037 (rounding_modes): Add values for new field.
54038 (func_calc_method): Add value mpfr_fff_f.
54039 (func_calc_desc): Add mpfr_fff_f union field.
54040 (test_function): Add field exact_args.
54041 (FUNC): Add macro argument EXACT_ARGS.
54042 (FUNC_mpfr_f_f): Update call to FUNC.
54043 (FUNC_mpfr_f_f): Likewise.
54044 (FUNC_mpfr_ff_f): Likewise.
54045 (FUNC_mpfr_if_f): Likewise.
54046 (FUNC_mpc_c_f): Likewise.
54047 (FUNC_mpc_c_c): Likewise.
54048 (test_functions): Add fma. Update calls to FUNC.
54049 (handle_input_arg): Add argument exact_args.
54050 (add_test): Update call to handle_input_arg.
54051 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
54052 (output_for_one_input_case): Update call to calc_generic_results.
54053 Recalculate exact zero results in each rounding mode.
54054
54055 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
54056 non-negative before setting low bit.
54057 * math/auto-libm-test-in: Mark one asin test possibly having
54058 spurious underflow.
54059 * math/auto-libm-test-out: Regenerated.
54060 * sysdeps/i386/fpu/libm-test-ulps: Update.
54061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54062
54063 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
54064
54065 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
54066 * sysdeps/unix/sysv/linux/microblaze: Move directory from
54067 ports/sysdeps/unix/sysv/linux/microblaze.
54068 * README: Add missing listing for microblaze*-*-linux-gnu.
54069
54070 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
54071
54072 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
54073 duplicate code
54074
54075 2014-02-16 Mike Frysinger <vapier@gentoo.org>
54076
54077 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
54078 * sysdeps/unix/sysv/linux/ia64: Move directory from
54079 ports/sysdeps/unix/sysv/linux/ia64.
54080 * README: Update listing for ia64-*-linux-gnu.
54081
54082 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
54083 Joseph Myers <joseph@codesourcery.com>
54084
54085 * Makeconfig (test-name): New variable.
54086 (evaluate-test): Likewise.
54087 * Makerules (do-test-clean): Remove .test-result files.
54088 (common-mostlyclean): Likewise.
54089 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
54090 * scripts/evaluate-test.sh: New file.
54091
54092 2014-02-14 Joseph Myers <joseph@codesourcery.com>
54093
54094 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
54095 separate $(objpfx)tst-fopenloc-cmp.out and
54096 $(objpfx)tst-fopenloc-mem.out targets.
54097 (tests): Update dependencies.
54098 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
54099 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
54100 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
54101 (tst-rxspencer-no-utf8-ARGS): New variable.
54102 (tst-rxspencer-no-utf8-ENV): Likewise.
54103 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
54104 instead of $(objpfx)tst-rxspencer-mem.
54105 ($(objpfx)tst-rxspencer-mem): Change target to
54106 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
54107 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
54108 * posix/tst-rxspencer-no-utf8.c: New file.
54109
54110 * elf/Makefile ($(objpfx)order.out): Remove rule.
54111 [$(run-built-tests) = yes] (tests): Depend on
54112 $(objpfx)order-cmp.out.
54113 ($(objpfx)order-cmp.out): New rule.
54114 [$(run-built-tests) = yes] (tests): Depend on
54115 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
54116 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
54117 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
54118 $(objpfx)tst-array5-static-cmp.out.
54119 ($(objpfx)tst-array1.out): Remove rule.
54120 ($(objpfx)tst-array1-cmp.out): New rule.
54121 ($(objpfx)tst-array1-static.out): Remove rule.
54122 ($(objpfx)tst-array1-static-cmp.out): New rule.
54123 ($(objpfx)tst-array2.out): Remove rule.
54124 ($(objpfx)tst-array2-cmp.out): New rule.
54125 ($(objpfx)tst-array3.out): Remove rule.
54126 ($(objpfx)tst-array3-cmp.out): New rule.
54127 ($(objpfx)tst-array4.out): Remove rule.
54128 ($(objpfx)tst-array4-cmp.out): New rule.
54129 ($(objpfx)tst-array5.out): Remove rule.
54130 ($(objpfx)tst-array5-cmp.out): New rule.
54131 ($(objpfx)tst-array5-static.out): Remove rule.
54132 ($(objpfx)tst-array5-static-cmp.out): New rule.
54133 [$(run-built-tests) = yes] (tests): Depend on
54134 $(objpfx)order2-cmp.out.
54135 ($(objpfx)order2.out): Remove rule.
54136 ($(objpfx)order2-cmp.out): New rule.
54137 ($(objpfx)tst-initorder.out): Remove rule.
54138 [$(run-built-tests) = yes] (tests): Depend on
54139 $(objpfx)tst-initorder-cmp.out.
54140 ($(objpfx)tst-initorder-cmp.out): New rule.
54141 ($(objpfx)tst-initorder2.out): Remove rule.
54142 [$(run-built-tests) = yes] (tests): Depend on
54143 $(objpfx)tst-initorder2-cmp.out.
54144 ($(objpfx)tst-initorder2-cmp.out): New rule.
54145 [$(run-built-tests) = yes] (tests): Depend on
54146 $(objpfx)tst-unused-dep-cmp.out.
54147 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
54148 ($(objpfx)tst-unused-dep-cmp.out): New rule.
54149 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
54150 on $(objpfx)tst-setvbuf1-cmp.out.
54151 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
54152 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
54153 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
54154 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
54155 ($(objpfx)tst-svc.out): Remove rule.
54156 ($(objpfx)tst-svc-cmp.out): New rule.
54157
54158 2014-02-13 Joseph Myers <joseph@codesourcery.com>
54159
54160 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
54161 * ctype/ctype.h [__USE_MISC]: Likewise.
54162 * dirent/dirent.h [__USE_MISC]: Likewise.
54163 * grp/grp.h [__USE_MISC]: Likewise.
54164 * io/fcntl.h [__USE_MISC]: Likewise.
54165 * io/sys/stat.h [__USE_MISC]: Likewise.
54166 * libio/stdio.h [__USE_MISC]: Likewise.
54167 * posix/unistd.h [__USE_MISC]: Likewise.
54168 * pwd/pwd.h [__USE_MISC]: Likewise.
54169 * stdlib.h [__USE_MISC]: Likewise.
54170 * string/bits/string2.h [__USE_MISC]: Likewise.
54171 * string/string.h [__USE_MISC]: Likewise.
54172 * time/time.h [__USE_MISC]: Likewise.
54173
54174 2014-02-13 Andreas Schwab <schwab@suse.de>
54175
54176 [BZ #16574]
54177 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
54178 second answer buffer if it was separately allocated.
54179
54180 2014-02-12 Joseph Myers <joseph@codesourcery.com>
54181
54182 * sysdeps/mips/math-tests.h: Include <features.h>.
54183 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54184 (ROUNDING_TESTS_long_double): Do not define.
54185 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54186 (EXCEPTION_TESTS_long_double): Likewise.
54187 * sysdeps/mips/mips64/libm-test-ulps: Update.
54188
54189 * include/features.h (__USE_BSD): Remove macro definitions.
54190 (__USE_SVID): Likewise.
54191 (_BSD_SOURCE): Likewise.
54192 (_SVID_SOURCE): Likewise.
54193 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
54194 from definition of _DEFAULT_SOURCE.
54195 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
54196 [_DEFAULT_SOURCE].
54197 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
54198 * bits/mman.h [__USE_BSD]: Likewise.
54199 * bits/termios.h [__USE_BSD]: Likewise.
54200 * bits/waitstatus.h [__USE_BSD]: Likewise.
54201 * ctype/ctype.h [__USE_SVID]: Likewise.
54202 * dirent/dirent.h [__USE_BSD]: Likewise.
54203 * grp/grp.h [__USE_SVID]: Likewise.
54204 [__USE_BSD]: Likewise.
54205 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
54206 * io/fcntl.h [__USE_BSD]: Likewise.
54207 * io/ftw.h [__USE_BSD]: Likewise.
54208 * io/sys/stat.h [__USE_BSD]: Likewise.
54209 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
54210 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54211 * libio/stdio.h [__USE_SVID]: Likewise.
54212 [__USE_BSD]: Likewise.
54213 * math/math.h [__USE_SVID]: Likewise.
54214 [__USE_BSD]: Likewise.
54215 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54216 * misc/bits/syslog.h [__USE_BSD]: Likewise.
54217 * misc/search.h [__USE_SVID]: Likewise.
54218 * misc/sys/mman.h [__USE_BSD]: Likewise.
54219 * misc/sys/syslog.h [__USE_BSD]: Likewise.
54220 * misc/sys/uio.h [__USE_BSD]: Likewise.
54221 * posix/bits/unistd.h [__USE_BSD]: Likewise.
54222 * posix/glob.h [__USE_BSD]: Likewise.
54223 * posix/regex.h [__USE_BSD]: Likewise.
54224 * posix/sys/types.h [__USE_BSD]: Likewise.
54225 [__USE_SVID]: Likewise.
54226 * posix/sys/utsname.h [__USE_SVID]: Likewise.
54227 * posix/sys/wait.h [__USE_BSD]: Likewise.
54228 [__USE_SVID]: Likewise.
54229 * posix/unistd.h [__USE_BSD]: Likewise.
54230 [__USE_SVID]: Likewise.
54231 * pwd/pwd.h [__USE_SVID]: Likewise.
54232 * resolv/netdb.h [__USE_BSD]: Likewise.
54233 * setjmp/setjmp.h [__USE_BSD]: Likewise.
54234 * signal/signal.h [__USE_BSD]: Likewise.
54235 [__USE_SVID]: Likewise.
54236 * socket/sys/socket.h [__USE_BSD]: Likewise.
54237 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54238 * stdlib/stdlib.h [__USE_BSD]: Likewise.
54239 [__USE_SVID]: Likewise.
54240 * string/bits/string2.h [__USE_BSD]: Likewise.
54241 [__USE_SVID]: Likewise.
54242 * string/bits/string3.h [__USE_BSD]: Likewise.
54243 * string/endian.h [__USE_BSD]: Likewise.
54244 * string/string.h [__USE_SVID]: Likewise.
54245 [__USE_BSD]: Likewise.
54246 * string/strings.h [__USE_BSD]: Likewise.
54247 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54248 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54249 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54250 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54251 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54252 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54253 Likewise.
54254 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54255 Likewise.
54256 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54257 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54258 Likewise.
54259 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54260 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54261 Likewise.
54262 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54263 Likewise.
54264 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54265 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54266 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54267 Likewise.
54268 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54269 Likewise.
54270 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54271 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54272 * termios/termios.h [__USE_BSD]: Likewise.
54273 * time/sys/time.h [__USE_BSD]: Likewise.
54274 * time/time.h [__USE_BSD]: Likewise.
54275 [__USE_SVID]: Likewise.
54276
54277 * Makefile (subdir_targets): Remove subdir_lint.out.
54278
54279 * stdio-common/Makefile (do-tst-unbputc): Remove target.
54280 (do-tst-printf): Likewise.
54281 (tests): Depend directly on $(objpfx)tst-unbputc.out and
54282 $(objpfx)tst-printf.out.
54283
54284 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54285
54286 * Makerules (check-abi-%): Change target to
54287 $(objpfx)check-abi-%.out.
54288 (check-abi target): Update dependencies.
54289 (check-abi-pattern variable): Redirect output of diff to $@.
54290 (check-abi variable): Likewise.
54291 * elf/Makefile (check-abi): Update dependencies.
54292
54293 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54294 unused.
54295 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54296 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54297 subnormal range.
54298 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54299 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54300 value has largest subnormal exponent.
54301 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54302 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54303 * sysdeps/aarch64/soft-fp/sfp-machine.h
54304 (_FP_TININESS_AFTER_ROUNDING): New macro.
54305 * sysdeps/alpha/soft-fp/sfp-machine.h
54306 (_FP_TININESS_AFTER_ROUNDING): Likewise.
54307 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54308 Likewise.
54309 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54310 (_FP_TININESS_AFTER_ROUNDING): Likewise.
54311 * sysdeps/mips/soft-fp/sfp-machine.h
54312 (_FP_TININESS_AFTER_ROUNDING): Likewise.
54313 * sysdeps/powerpc/soft-fp/sfp-machine.h
54314 (_FP_TININESS_AFTER_ROUNDING): Likewise.
54315 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54316 Likewise.
54317 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54318 (_FP_TININESS_AFTER_ROUNDING): Likewise.
54319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54320 (_FP_TININESS_AFTER_ROUNDING): Likewise.
54321 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54322 Likewise.
54323
54324 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
54325
54326 [BZ #16545]
54327 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54328 model 1.
54329
54330 2014-02-12 Richard Henderson <rth@redhat.com>
54331
54332 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54333 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54334 * sysdeps/unix/sysv/linux/alpha: Move directory from
54335 ports/sysdeps/unix/sysv/linux/alpha.
54336 * README: Update listing for alpha-*-linux-gnu.
54337
54338 2014-02-11 Joseph Myers <joseph@codesourcery.com>
54339
54340 * include/features.h: Update comment documenting feature test
54341 macros.
54342 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
54343 _DEFAULT_SOURCE.
54344 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54345 (_SVID_SOURCE): Likewise.
54346 (_DEFAULT_SOURCE): Update description of default features.
54347 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54348 with _GNU_SOURCE.
54349 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54350 (S_ISVTX): Likewise.
54351 * manual/math.texi (Mathematical Constants): Likewise.
54352 * manual/signal.texi (Interrupted Primitives): Likewise.
54353 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54354 * math/test-matherr.c (_SVID_SOURCE): Do not define.
54355 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54356 Don't refer to _SVID_SOURCE in warning text.
54357
54358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54359
54360 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54361 already defined.
54362 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54363 * sysdeps/mips/dl-lookup.c: Remove.
54364 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54365
54366 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
54367
54368 [BZ #16447]
54369 * math/auto-libm-test-in: Add testcase for expl.
54370 * math/auto-libm-test-out: Regenerate.
54371 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54372 calculation of unsafe.
54373 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54374
54375 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
54376
54377 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54378 * sysdeps/unix/sysv/linux/aarch64: Move directory from
54379 ports/sysdeps/unix/sysv/linux/aarch64.
54380 * README: Update listing for aarch64*-*-linux-gnu.
54381
54382 2014-02-11 Will Newton <will.newton@linaro.org>
54383
54384 * manual/probes.texi (Mathematical Function Probes): Use
54385 "triggered" instead of "hit".
54386
54387 * manual/probes.texi (Internal Probes): Add documentation
54388 of setjmp, longjmp and longjmp_target probes.
54389
54390 * include/stap-probe.h: Add comment about probe argument
54391 format.
54392
54393 * malloc/mtrace.c (attribute_hidden): Remove unused macro
54394 definition. (tr_where, tr_freehook, tr_mallochook,
54395 tr_reallochook, tr_memalignhook): Use ANSI protoype.
54396
54397 2014-02-11 David S. Miller <davem@davemloft.net>
54398
54399 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
54400 processing int_tests.
54401
54402 2014-02-10 Joseph Myers <joseph@codesourcery.com>
54403
54404 * sysdeps/mips: Move directory from ports/sysdeps/mips.
54405 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
54406 * sysdeps/unix/sysv/linux/mips: Move directory from
54407 ports/sysdeps/unix/sysv/linux/mips.
54408 * README: Update listing for mips-*-linux-gnu and
54409 mips64-*-linux-gnu.
54410
54411 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
54412
54413 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
54414 * sysdeps/unix/sysv/linux/m68k: Move directory from
54415 ports/sysdeps/unix/sysv/linux/m68k.
54416 * README: Update listing for m68k-*-linux-gnu.
54417
54418 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
54419
54420 * sysdeps/tile: Move directory from ports/sysdeps/tile.
54421 * sysdeps/unix/sysv/linux/generic: Move directory from
54422 ports/sysdeps/unix/sysv/linux/generic.
54423 * sysdeps/unix/sysv/linux/tile: Move directory from
54424 ports/sysdeps/unix/sysv/linux/tile.
54425 * README: Update listing for tile*-*-linux-gnu.
54426
54427 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
54428
54429 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
54430 __builtin_expect.
54431 * benchtests/bench-memmem.c (simple_memmem): Likewise.
54432 * catgets/open_catalog.c (__open_catalog): Likewise.
54433 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
54434 * debug/confstr_chk.c: Likewise.
54435 * debug/fread_chk.c (__fread_chk): Likewise.
54436 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
54437 * debug/getgroups_chk.c: Likewise.
54438 * debug/mbsnrtowcs_chk.c: Likewise.
54439 * debug/mbsrtowcs_chk.c: Likewise.
54440 * debug/mbstowcs_chk.c: Likewise.
54441 * debug/memcpy_chk.c: Likewise.
54442 * debug/memmove_chk.c: Likewise.
54443 * debug/mempcpy_chk.c: Likewise.
54444 * debug/memset_chk.c: Likewise.
54445 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54446 * debug/strcat_chk.c (__strcat_chk): Likewise.
54447 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
54448 * debug/strncat_chk.c (__strncat_chk): Likewise.
54449 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
54450 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
54451 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
54452 * debug/wcpncpy_chk.c: Likewise.
54453 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54454 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
54455 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
54456 * debug/wcsncpy_chk.c: Likewise.
54457 * debug/wcsnrtombs_chk.c: Likewise.
54458 * debug/wcsrtombs_chk.c: Likewise.
54459 * debug/wcstombs_chk.c: Likewise.
54460 * debug/wmemcpy_chk.c: Likewise.
54461 * debug/wmemmove_chk.c: Likewise.
54462 * debug/wmempcpy_chk.c: Likewise.
54463 * debug/wmemset_chk.c: Likewise.
54464 * dirent/scandirat.c (SCANDIRAT): Likewise.
54465 * dlfcn/dladdr1.c (dladdr1): Likewise.
54466 * dlfcn/dladdr.c (dladdr): Likewise.
54467 * dlfcn/dlclose.c (dlclose_doit): Likewise.
54468 * dlfcn/dlerror.c (__dlerror): Likewise.
54469 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
54470 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
54471 * dlfcn/dlopen.c (dlopen_doit): Likewise.
54472 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
54473 * dlfcn/dlsym.c (dlsym_doit): Likewise.
54474 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
54475 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
54476 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
54477 Likewise.
54478 * elf/dl-conflict.c: Likewise.
54479 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
54480 * elf/dl-dst.h: Likewise.
54481 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
54482 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
54483 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
54484 * elf/dl-init.c (call_init, _dl_init): Likewise.
54485 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
54486 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
54487 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
54488 Likewise.
54489 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
54490 Likewise.
54491 * elf/dl-minimal.c (__libc_memalign): Likewise.
54492 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
54493 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54494 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
54495 * elf/dl-sym.c (do_sym): Likewise.
54496 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
54497 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
54498 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
54499 * elf/dl-writev.h (_dl_writev): Likewise.
54500 * elf/ldconfig.c (search_dir): Likewise.
54501 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
54502 (dl_main): Likewise.
54503 * elf/setup-vdso.h (setup_vdso): Likewise.
54504 * grp/compat-initgroups.c (compat_call): Likewise.
54505 * grp/fgetgrent.c (fgetgrent): Likewise.
54506 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
54507 * grp/putgrent.c (putgrent): Likewise.
54508 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54509 Likewise.
54510 * hurd/hurdinit.c: Likewise.
54511 * iconvdata/8bit-gap.c (struct): Likewise.
54512 * iconvdata/ansi_x3.110.c : Likewise.
54513 * iconvdata/big5.c : Likewise.
54514 * iconvdata/big5hkscs.c : Likewise.
54515 * iconvdata/cp1255.c: Likewise.
54516 * iconvdata/cp1258.c : Likewise.
54517 * iconvdata/cp932.c : Likewise.
54518 * iconvdata/euc-cn.c: Likewise.
54519 * iconvdata/euc-jisx0213.c : Likewise.
54520 * iconvdata/euc-jp.c: Likewise.
54521 * iconvdata/euc-jp-ms.c : Likewise.
54522 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
54523 * iconvdata/gb18030.c : Likewise.
54524 * iconvdata/gbbig5.c (const): Likewise.
54525 * iconvdata/gbgbk.c: Likewise.
54526 * iconvdata/gbk.c : Likewise.
54527 * iconvdata/ibm1364.c : Likewise.
54528 * iconvdata/ibm930.c : Likewise.
54529 * iconvdata/ibm932.c: Likewise.
54530 * iconvdata/ibm933.c : Likewise.
54531 * iconvdata/ibm935.c : Likewise.
54532 * iconvdata/ibm937.c : Likewise.
54533 * iconvdata/ibm939.c : Likewise.
54534 * iconvdata/ibm943.c: Likewise.
54535 * iconvdata/iso_11548-1.c: Likewise.
54536 * iconvdata/iso-2022-cn.c : Likewise.
54537 * iconvdata/iso-2022-cn-ext.c : Likewise.
54538 * iconvdata/iso-2022-jp-3.c: Likewise.
54539 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54540 * iconvdata/iso-2022-kr.c : Likewise.
54541 * iconvdata/iso646.c (gconv_end): Likewise.
54542 * iconvdata/iso_6937-2.c : Likewise.
54543 * iconvdata/iso_6937.c : Likewise.
54544 * iconvdata/iso8859-1.c: Likewise.
54545 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54546 * iconvdata/shift_jisx0213.c : Likewise.
54547 * iconvdata/sjis.c : Likewise.
54548 * iconvdata/t.61.c : Likewise.
54549 * iconvdata/tcvn5712-1.c : Likewise.
54550 * iconvdata/tscii.c: Likewise.
54551 * iconvdata/uhc.c : Likewise.
54552 * iconvdata/unicode.c (gconv_end): Likewise.
54553 * iconvdata/utf-16.c (gconv_end): Likewise.
54554 * iconvdata/utf-32.c (gconv_end): Likewise.
54555 * iconvdata/utf-7.c (base64): Likewise.
54556 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54557 * iconv/gconv_close.c (__gconv_close): Likewise.
54558 * iconv/gconv_open.c (__gconv_open): Likewise.
54559 * iconv/gconv_simple.c (internal_ucs4_loop_single)
54560 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54561 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54562 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54563 (ucs4le_internal_loop_single): Likewise.
54564 * iconv/iconv.c (iconv): Likewise.
54565 * iconv/iconv_close.c: Likewise.
54566 * iconv/loop.c (SINGLE): Likewise.
54567 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54568 * include/atomic.h: Likewise.
54569 * inet/inet6_option.c (option_alloc): Likewise.
54570 * intl/bindtextdom.c (set_binding_values): Likewise.
54571 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54572 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54573 * intl/localealias.c (read_alias_file): Likewise.
54574 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54575 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54576 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54577 * libio/fmemopen.c (fmemopen): Likewise.
54578 * libio/iofgets.c (_IO_fgets): Likewise.
54579 * libio/iofgets_u.c (fgets_unlocked): Likewise.
54580 * libio/iofgetws.c (fgetws): Likewise.
54581 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54582 * libio/iogetdelim.c (_IO_getdelim): Likewise.
54583 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54584 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54585 * locale/findlocale.c (_nl_find_locale): Likewise.
54586 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54587 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54588 Likewise.
54589 * locale/setlocale.c (setlocale): Likewise.
54590 * login/programs/pt_chown.c (main): Likewise.
54591 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54592 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54593 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54594 (mmap, mmap64, mremap, munmap): Likewise.
54595 * math/e_exp2l.c: Likewise.
54596 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54597 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54598 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54599 * math/s_catan.c (__catan): Likewise.
54600 * math/s_catanf.c (__catanf): Likewise.
54601 * math/s_catanh.c (__catanh): Likewise.
54602 * math/s_catanhf.c (__catanhf): Likewise.
54603 * math/s_catanhl.c (__catanhl): Likewise.
54604 * math/s_catanl.c (__catanl): Likewise.
54605 * math/s_ccosh.c (__ccosh): Likewise.
54606 * math/s_ccoshf.c (__ccoshf): Likewise.
54607 * math/s_ccoshl.c (__ccoshl): Likewise.
54608 * math/s_cexp.c (__cexp): Likewise.
54609 * math/s_cexpf.c (__cexpf): Likewise.
54610 * math/s_cexpl.c (__cexpl): Likewise.
54611 * math/s_clog10.c (__clog10): Likewise.
54612 * math/s_clog10f.c (__clog10f): Likewise.
54613 * math/s_clog10l.c (__clog10l): Likewise.
54614 * math/s_clog.c (__clog): Likewise.
54615 * math/s_clogf.c (__clogf): Likewise.
54616 * math/s_clogl.c (__clogl): Likewise.
54617 * math/s_csin.c (__csin): Likewise.
54618 * math/s_csinf.c (__csinf): Likewise.
54619 * math/s_csinh.c (__csinh): Likewise.
54620 * math/s_csinhf.c (__csinhf): Likewise.
54621 * math/s_csinhl.c (__csinhl): Likewise.
54622 * math/s_csinl.c (__csinl): Likewise.
54623 * math/s_csqrt.c (__csqrt): Likewise.
54624 * math/s_csqrtf.c (__csqrtf): Likewise.
54625 * math/s_csqrtl.c (__csqrtl): Likewise.
54626 * math/s_ctan.c (__ctan): Likewise.
54627 * math/s_ctanf.c (__ctanf): Likewise.
54628 * math/s_ctanh.c (__ctanh): Likewise.
54629 * math/s_ctanhf.c (__ctanhf): Likewise.
54630 * math/s_ctanhl.c (__ctanhl): Likewise.
54631 * math/s_ctanl.c (__ctanl): Likewise.
54632 * math/w_pow.c: Likewise.
54633 * math/w_powf.c: Likewise.
54634 * math/w_powl.c: Likewise.
54635 * math/w_scalb.c (sysv_scalb): Likewise.
54636 * math/w_scalbf.c (sysv_scalbf): Likewise.
54637 * math/w_scalbl.c (sysv_scalbl): Likewise.
54638 * misc/error.c (error_tail): Likewise.
54639 * misc/pselect.c (__pselect): Likewise.
54640 * nis/nis_callback.c (__nis_create_callback): Likewise.
54641 * nis/nis_call.c (__nisfind_server): Likewise.
54642 * nis/nis_creategroup.c (nis_creategroup): Likewise.
54643 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54644 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54645 * nis/nis_getservlist.c (nis_getservlist): Likewise.
54646 * nis/nis_lookup.c (nis_lookup): Likewise.
54647 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54648 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54649 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54650 * nis/nis_xdr.c (xdr_endpoint): Likewise.
54651 * nis/nss_compat/compat-grp.c (getgrent_next_file)
54652 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54653 * nis/nss_compat/compat-initgroups.c (add_group)
54654 (internal_getgrent_r): Likewise.
54655 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54656 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54657 * nis/nss_compat/compat-spwd.c (getspent_next_file)
54658 (internal_getspnam_r): Likewise.
54659 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54660 (_nss_nis_getaliasbyname_r): Likewise.
54661 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54662 (_nss_nis_getntohost_r): Likewise.
54663 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54664 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54665 (_nss_nis_getgrgid_r): Likewise.
54666 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54667 (internal_nis_gethostent_r, internal_gethostbyname2_r)
54668 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54669 (_nss_nis_gethostbyname4_r): Likewise.
54670 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54671 (initgroups_netid): Likewise.
54672 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54673 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54674 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54675 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54676 (_nss_nis_getprotobynumber_r): Likewise.
54677 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54678 (_nss_nis_getsecretkey): Likewise.
54679 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54680 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54681 (_nss_nis_getpwuid_r): Likewise.
54682 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54683 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54684 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54685 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54686 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54687 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54688 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54689 Likewise.
54690 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54691 (_nss_nisplus_getntohost_r): Likewise.
54692 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54693 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54694 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54695 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54696 Likewise.
54697 * nis/nss_nisplus/nisplus-initgroups.c
54698 (_nss_nisplus_initgroups_dyn): Likewise.
54699 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54700 (_nss_nisplus_getnetbyaddr_r): Likewise.
54701 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54702 (_nss_nisplus_getprotobynumber_r): Likewise.
54703 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54704 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54705 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54706 Likewise.
54707 * nis/nss_nisplus/nisplus-service.c
54708 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54709 (_nss_nisplus_getservbyport_r): Likewise.
54710 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54711 (_nss_nisplus_getspnam_r): Likewise.
54712 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54713 Likewise.
54714 * nscd/aicache.c (addhstaiX): Likewise.
54715 * nscd/cache.c (cache_search, prune_cache): Likewise.
54716 * nscd/connections.c (register_traced_file, send_ro_fd)
54717 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54718 (main_loop_epoll): Likewise.
54719 * nscd/grpcache.c (addgrbyX): Likewise.
54720 * nscd/hstcache.c (addhstbyX): Likewise.
54721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54722 * nscd/mem.c (gc, mempool_alloc): Likewise.
54723 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54724 (addinnetgrX): Likewise.
54725 * nscd/nscd-client.h (__nscd_acquire_maplock)
54726 (__nscd_drop_map_ref): Likewise.
54727 * nscd/nscd_getai.c (__nscd_getai): Likewise.
54728 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54729 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54730 Likewise.
54731 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54732 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54733 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54734 (__nscd_get_map_ref): Likewise.
54735 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54736 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54737 Likewise.
54738 * nscd/pwdcache.c (addpwbyX): Likewise.
54739 * nscd/selinux.c (preserve_capabilities): Likewise.
54740 * nscd/servicescache.c (addservbyX): Likewise.
54741 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54742 * posix/fnmatch.c (fnmatch): Likewise.
54743 * posix/getopt.c (_getopt_internal_r): Likewise.
54744 * posix/glob.c (glob, glob_in_dir): Likewise.
54745 * posix/wordexp.c (exec_comm_child): Likewise.
54746 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54747 (getanswer_r, gaih_getanswer_slice): Likewise.
54748 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54749 * resolv/res_init.c: Likewise.
54750 * resolv/res_mkquery.c (res_nmkquery): Likewise.
54751 * resolv/res_query.c (__libc_res_nquery): Likewise.
54752 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54753 Likewise.
54754 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54755 * stdio-common/perror.c (perror): Likewise.
54756 * stdio-common/printf_fp.c (___printf_fp): Likewise.
54757 * stdio-common/tmpnam.c (tmpnam): Likewise.
54758 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54759 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54760 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54761 Likewise.
54762 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54763 * stdlib/putenv.c (putenv): Likewise.
54764 * stdlib/setenv.c (__add_to_environ): Likewise.
54765 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54766 * stdlib/strtol_l.c (INTERNAL): Likewise.
54767 * string/memmem.c (memmem): Likewise.
54768 * string/strerror.c (strerror): Likewise.
54769 * string/strnlen.c (__strnlen): Likewise.
54770 * string/test-memmem.c (simple_memmem): Likewise.
54771 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54772 * sunrpc/pm_getport.c (__get_socket): Likewise.
54773 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54774 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54775 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54776 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54777 Likewise.
54778 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54779 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54780 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54781 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54782 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54783 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54784 Likewise.
54785 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54786 Likewise.
54787 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54788 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54789 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54790 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54791 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54793 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54794 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54795 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54796 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54797 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54798 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54799 Likewise.
54800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54801 Likewise.
54802 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54803 Likewise.
54804 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54807 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54808 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54809 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54810 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54811 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54812 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54813 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54814 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54816 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54817 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54819 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54820 Likewise.
54821 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54822 Likewise.
54823 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54824 Likewise.
54825 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54826 Likewise.
54827 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54829 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54830 Likewise.
54831 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54832 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54833 * sysdeps/posix/opendir.c (__opendirat): Likewise.
54834 * sysdeps/posix/sleep.c: Likewise.
54835 * sysdeps/posix/tempname.c: Likewise.
54836 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54837 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54838 Likewise.
54839 * sysdeps/powerpc/powerpc32/dl-machine.h
54840 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54841 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54843 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54844 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54845 Likewise.
54846 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54847 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54848 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54849 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54850 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54851 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54852 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54853 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54854 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54855 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54857 (elf_machine_lazy_rel): Likewise.
54858 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54860 (elf_machine_lazy_rel): Likewise.
54861 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54862 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54863 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54864 * sysdeps/unix/grantpt.c (grantpt): Likewise.
54865 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54866 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54867 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54868 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54869 Likewise.
54870 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54871 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54872 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54873 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54874 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54875 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54876 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54877 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54878 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54879 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54880 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54881 Likewise.
54882 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54883 (__posix_fallocate64_l64): Likewise.
54884 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54885 (posix_fallocate): Likewise.
54886 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54887 Likewise.
54888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54889 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54890 (getifaddrs_internal): Likewise.
54891 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54892 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54893 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54894 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54895 * sysdeps/unix/sysv/linux/posix_fallocate64.c
54896 (__posix_fallocate64_l64): Likewise.
54897 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54898 Likewise.
54899 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54900 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54901 (__get_clockfreq): Likewise.
54902 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54903 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54904 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54907 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54908 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54909 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54910 Likewise.
54911 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54912 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54913 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54914 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54915 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54916 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54917 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54918 Likewise.
54919 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54920 (posix_fallocate): Likewise.
54921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54922 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54923 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54924 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54925 (elf_machine_rela, elf_machine_rela_relative)
54926 (elf_machine_lazy_rel): Likewise.
54927 * time/asctime.c (asctime_internal): Likewise.
54928 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54929 * time/tzset.c (__tzset_parse_tz): Likewise.
54930 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54931 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54932 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54933 * wcsmbs/wcsmbsload.h: Likewise.
54934
54935 [BZ #15894]
54936 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54937
54938 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54939 (arena_get2): Remove THREAD_STATS conditionals.
54940 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54941 (__malloc_stats, int): Likewise.
54942
54943 2014-02-08 Mike Frysinger <vapier@gentoo.org>
54944
54945 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54946 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
54947
54948 * manual/setjmp.texi: Fix typos/grammar errors.
54949
54950 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54951 Only return early when n is <= 0. Delete unused return statement.
54952
54953 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54954 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54955 * debug/tst-longjmp_chk3.c: New file.
54956
54957 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54958 (test_main): Replace code with set_fortify_handler call.
54959 * debug/test-strcpy_chk.c: Likewise.
54960 * debug/tst-chk1.c: Likewise.
54961 * debug/tst-longjmp_chk.c: Likewise.
54962 * test-skeleton.c: Include fcntl.h & paths.h
54963 (set_fortify_handler): Define.
54964
54965 * debug/tst-longjmp_chk.c: Add header comment and include
54966 ../test-skeleton.c.
54967 (do_test): Mark static.
54968 (TEST_FUNCTION): Define.
54969
54970 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54971 (IP_PMTUDISC_INTERFACE): Likewise.
54972 (IP_MULTICAST_IF): Likewise.
54973 (IP_MULTICAST_TTL): Likewise.
54974 (IP_MULTICAST_LOOP): Likewise.
54975 (IP_ADD_MEMBERSHIP): Likewise.
54976 (IP_DROP_MEMBERSHIP): Likewise.
54977 (IP_UNBLOCK_SOURCE): Likewise.
54978 (IP_BLOCK_SOURCE): Likewise.
54979 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54980 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54981 (IP_MSFILTER): Likewise.
54982 (MCAST_JOIN_GROUP): Likewise.
54983 (MCAST_BLOCK_SOURCE): Likewise.
54984 (MCAST_UNBLOCK_SOURCE): Likewise.
54985 (MCAST_LEAVE_GROUP): Likewise.
54986 (MCAST_JOIN_SOURCE_GROUP): Likewise.
54987 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54988 (MCAST_MSFILTER): Likewise.
54989 (IP_MULTICAST_ALL): Likewise.
54990 (IP_UNICAST_IF): Likewise.
54991
54992 * timezone/Makefile: Delete $(have-ksh) check.
54993 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54994 * timezone/tzselect.ksh: Add +x mode bits.
54995
54996 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54997 (ANON_INODE_FS_MAGIC): Likewise.
54998 (BDEVFS_MAGIC): Likewise.
54999 (BINFMTFS_MAGIC): Likewise.
55000 (BTRFS_TEST_MAGIC): Likewise.
55001 (CRAMFS_MAGIC_WEND): Likewise.
55002 (DEBUGFS_MAGIC): Likewise.
55003 (ECRYPTFS_SUPER_MAGIC): Likewise.
55004 (EXT3_SUPER_MAGIC): Likewise.
55005 (EXT4_SUPER_MAGIC): Likewise.
55006 (FUTEXFS_SUPER_MAGIC): Likewise.
55007 (HOSTFS_SUPER_MAGIC): Likewise.
55008 (HUGETLBFS_MAGIC): Likewise.
55009 (MINIX3_SUPER_MAGIC): Likewise.
55010 (MTD_INODE_FS_MAGIC): Likewise.
55011 (NILFS_SUPER_MAGIC): Likewise.
55012 (OPENPROM_SUPER_MAGIC): Likewise.
55013 (PIPEFS_MAGIC): Likewise.
55014 (PSTOREFS_MAGIC): Likewise.
55015 (QNX6_SUPER_MAGIC): Likewise.
55016 (RAMFS_MAGIC): Likewise.
55017 (REISERFS_SUPER_MAGIC_STRING): Likewise.
55018 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
55019 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
55020 (SECURITYFS_MAGIC): Likewise.
55021 (SELINUX_MAGIC): Likewise.
55022 (SMACK_MAGIC): Likewise.
55023 (SOCKFS_MAGIC): Likewise.
55024 (SQUASHFS_MAGIC): Likewise.
55025 (STACK_END_MAGIC): Likewise.
55026 (TMPFS_MAGIC): Likewise.
55027 (USBDEVICE_SUPER_MAGIC): Likewise.
55028 (V9FS_MAGIC): Likewise.
55029 (XENFS_SUPER_MAGIC): Likewise.
55030 (CRAMFS_MAGIC): Fix typo in comment.
55031 (EXT2_SUPER_MAGIC): Update comment.
55032 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
55033
55034 2014-02-08 Joseph Myers <joseph@codesourcery.com>
55035
55036 * sysdeps/arm: Move directory from ports/sysdeps/arm.
55037 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
55038 * sysdeps/unix/sysv/linux/arm: Move directory from
55039 ports/sysdeps/unix/sysv/linux/arm.
55040 * README: Update listing for arm-*-linux-gnueabi.
55041
55042 * README: Remove mention of am33.
55043
55044 2014-02-07 Roland McGrath <roland@hack.frob.com>
55045
55046 * bits/sigset.h (__sigemptyset): Use a statement expression rather
55047 than the comma operator, to avoid "rhs of comma has no effect"
55048 compiler warnings.
55049 (__sigfillset, __sigandset, __sigorset): Likewise.
55050 * include/signal.h (__sigemptyset): Likewise.
55051 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
55052
55053 2014-02-07 Allan McRae <allan@archlinux.org>
55054
55055 * version.h (RELEASE): Set to "development".
55056 (VERSION): Set to "2.19.90"
55057 * NEWS: Add 2.20 section.
55058
55059 2014-02-06 Carlos O'Donell <carlos@redhat.com>
55060
55061 [BZ #16529]
55062 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
55063
55064 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
55065
55066 * manual/contrib.texi: Update entry for Carlos O'Donell,
55067 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
55068
55069 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
55070
55071 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
55072
55073 * sysdeps/unix/sysv/linux/kernel-features.h
55074 [__LINUX_KERNEL_VERSION >= 0x020621]
55075 (__ASSUME_PROC_PID_TASK_COMM): Define.
55076
55077 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55078
55079 [BZ #16398]
55080 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
55081 conversion when destination buffer does not have enough space.
55082 * libio/tst-ftell-partial-wide.c: New test case.
55083 * libio/Makefile (tests): Add tst-ftell-partial-wide.
55084
55085 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
55086 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
55087 Leonard and Allan McRae.
55088
55089 2014-02-04 David S. Miller <davem@davemloft.net>
55090
55091 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
55092 32-bit.
55093
55094 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55095
55096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
55097 New file
55098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
55099 New file
55100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
55101 New file.
55102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
55103 New file.
55104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
55105 New file.
55106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
55107 New file.
55108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
55109 New file.
55110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
55111 New file.
55112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
55113 New file.
55114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
55115 New file.
55116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
55117 New file.
55118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
55119 New file.
55120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
55121 New file.
55122
55123 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55124
55125 * nptl/shlib-versions: Change powerpc*le start to 2.17.
55126 * shlib-versions: Likewise.
55127
55128 2014-02-04 Roland McGrath <roland@hack.frob.com>
55129 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55130
55131 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
55132 (abilist-pattern): New variable, set to %-le.abilist.
55133
55134 * Makerules (abilist-pattern): New variable.
55135 (vpath): Use $(abilist-pattern) in place of %.abilist.
55136 (check-abi-% pattern rule): Likewise.
55137 (check-abi, update-abi): Likewise.
55138
55139 2014-02-04 Eric Wong <normalperson@yhbt.net>
55140
55141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55142
55143 2014-02-03 Carlos O'Donell <carlos@redhat.com>
55144
55145 * manual/startup.texi: Add next, previous, and top entries for
55146 the `Program Arguments' and `Environment Variables' nodes.
55147
55148 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
55149
55150 * manual/macros.texi: Add comments before MTASC-safety macros.
55151
55152 * manual/users.texi: Document MTASC-safety properties.
55153
55154 * manual/threads.texi (pthread_key_create, pthread_key_delete)
55155 (pthread_getspecific, pthread_setspecific): Format with
55156 @deftypefun, and add @safety note.
55157 * manual/signal.texi: Move comments that analyze the above
55158 functions to their home place.
55159
55160 2014-02-03 Allan McRae <allan@archlinux.org>
55161
55162 * po/sl.po: Update Slovenian translation from translation project.
55163
55164 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
55165
55166 * manual/time.texi (timegm): Add missing blank after @c.
55167 Reported by Joseph Myers <joseph@codesourcery.com>.
55168
55169 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
55170
55171 * manual/check-safety.sh: New.
55172 * manual/Makefile ($(objpfx)stamp-summary): Run it.
55173
55174 * manual/terminal.texi: Document MTASC-safety properties.
55175
55176 * manual/filesys.texi: Document MTASC-safety properties.
55177
55178 * manual/errno.texi: Document MTASC-safety properties.
55179
55180 * manual/intro.texi: Document safety identifiers and
55181 conditionals.
55182
55183 * manual/string.texi (wcstok): Fix prototype.
55184 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
55185
55186 * manual/time.texi: Document MTASC-safety properties.
55187
55188 * manual/string.texi: Document MTASC-safety properties.
55189
55190 * manual/threads.texi: Document MTASC-safety properties.
55191
55192 * manual/stdio.texi: Document MTASC-safety properties.
55193
55194 * manual/syslog.texi: Document MTASC-safety properties.
55195
55196 * manual/sysinfo.texi: Document MTASC-safety properties.
55197
55198 * manual/startup.texi: Document MTASC-safety properties.
55199
55200 * manual/socket.texi: Document MTASC-safety properties.
55201
55202 * manual/signal.texi: Document MTASC-safety properties.
55203
55204 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
55205
55206 * manual/setjmp.texi: Document MTASC-safety properties.
55207
55208 * manual/search.texi: Document MTASC-safety properties.
55209
55210 * manual/resource.texi: Document MTASC-safety properties.
55211
55212 * manual/process.texi: Document MTASC-safety properties.
55213
55214 * manual/platform.texi: Document MTASC-safety properties.
55215
55216 * manual/pipe.texi: Document MTASC-safety properties.
55217
55218 * manual/pattern.texi: Document MTASC-safety properties.
55219
55220 * manual/message.texi: Document MTASC-safety properties.
55221
55222 [BZ #12751]
55223 * manual/memory.texi: Document MTASC-safety properties.
55224
55225 * manual/math.texi: Document MTASC-safety properties.
55226
55227 * manual/locale.texi: Document MTASC-safety properties.
55228
55229 * manual/llio.texi: Document MTASC-safety properties.
55230
55231 * manual/libdl.texi: New.
55232
55233 * manual/lang.texi: Document MTASC-safety properties.
55234
55235 * manual/job.texi: Document MTASC-safety properties.
55236
55237 * manual/getopt.texi: Document MTASC-safety properties.
55238
55239 * manual/ctype.texi: Document MTASC-safety properties.
55240
55241 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
55242
55243 [BZ #16046]
55244 * csu/libc-tls.c (static_map): Remove variable.
55245 (__libc_setup_tls): Use main executable's link map for TLS data.
55246 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55247 casing for LM_ID_BASE and GL(dl_nns).
55248 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55249 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
55250 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55251 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55252 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55253 member.
55254 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55255 l_phnum members.
55256
55257 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
55258
55259 * manual/debug.texi: Document MTASC-safety properties.
55260
55261 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
55262
55263 [BZ #16510]
55264 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55265 of __x86_64__ when disabling x87 inline functions.
55266
55267 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
55268
55269 * manual/charset.texi: Document MTASC-safety properties.
55270
55271 * manual/crypt.texi: Document MTASC-safety properties.
55272
55273 * manual/conf.texi: Document MTASC-safety properties.
55274
55275 * manual/arith.texi: Document MTASC-safety properties.
55276
55277 * manual/argp.texi: Document MTASC-safety properties.
55278
55279 * manual/macros.texi: Introduce macros to document multi
55280 thread, asynchronous signal and asynchronous cancellation
55281 safety properties.
55282 * manual/intro.texi: Introduce the properties themselves.
55283
55284 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55285
55286 * sysdeps/sh/sh4/Makefile: New file.
55287
55288 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
55289
55290 * math/gen-libm-test.pl ($srcdir): New variable.
55291 ($auto_input): Use it.
55292
55293 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55294
55295 [BZ #16506]
55296 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55297 access beyond array bounds when parsing netgroups file.
55298
55299 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55300 the old buffer before realloc.
55301
55302 2014-01-27 Allan McRae <allan@archlinux.org>
55303
55304 * po/fr.po: Update French translation from translation project.
55305
55306 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55307
55308 * sysdeps/sh/libm-test-ulps: Regenerate.
55309
55310 2014-01-24 David S. Miller <davem@davemloft.net>
55311
55312 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55313
55314 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55315
55316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55317 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55318
55319 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
55320
55321 [BZ #16474]
55322 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55323 string pointers after reallocation.
55324
55325 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55326
55327 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55328 __SH4A__ instead of __SH_FPU_ANY__.
55329
55330 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55331
55332 * sysdeps/sh/fpu_control.h: New file.
55333 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55334 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55335 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55336 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55337 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55338 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55339 * sysdeps/sh/sys/ucontext.h: Remove.
55340 * sysdeps/sh/sys: Remove directory.
55341
55342 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55343
55344 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55345 s390/sys/ucontext.h.
55346 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55347 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55348
55349 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
55350
55351 [BZ #15605]
55352 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55353
55354 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55355
55356 [BZ #16431]
55357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55358 Adjust the vDSO correctly for internal calls.
55359 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55360
55361 2014-01-20 Allan McRae <allan@archlinux.org>
55362
55363 * po/ca.po: Update Catalan translation from translation project.
55364
55365 2014-01-16 Mike Frysinger <vapier@gentoo.org>
55366
55367 * sysdeps/s390/sotruss-lib.c: New file.
55368
55369 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55370
55371 [BZ #16430]
55372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55373 (__GI___gettimeofday): Alias for a different internal symbol to avoid
55374 local calls issues by not having a PLT stub required for IFUNC calls.
55375 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55376
55377 2014-01-16 Joseph Myers <joseph@codesourcery.com>
55378
55379 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55380 * math/test-fpucw-static.c: Likewise.
55381
55382 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55383
55384 [BZ #16453]
55385 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55386
55387 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55388
55389 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55390 implementation for powerpc.
55391
55392 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
55393
55394 [BZ #14782]
55395 * sysdeps/posix/system.c (__libc_system): Do not enable
55396 asynchronous cancellation.
55397
55398 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55399
55400 [BZ #16427]
55401 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
55402 handling only for numbers special also in the IEEE case.
55403
55404 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55405
55406 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55407
55408 2014-01-11 Allan McRae <allan@archlinux.org>
55409
55410 * po/bg.po: Update Bulgarian translation from translation project.
55411
55412 * po/de.po: Update German translation from translation project.
55413
55414 2014-01-10 Roland McGrath <roland@hack.frob.com>
55415
55416 * sysdeps/generic/gcc-compat.h: New file.
55417
55418 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55419
55420 * benchtests/asin-inputs: Correct slow inputs.
55421 * benchtests/acos-inputs: Likewise.
55422
55423 2014-01-10 Allan McRae <allan@archlinux.org>
55424
55425 * po:sv.po: Update Swedish translation from translation project.
55426
55427 * po/vi.po: Update Vietnamese translation from translation project.
55428
55429 * po/eo.po: Update Esperanto translation from translation project.
55430
55431 * po/cs.po: Update Czech translation from translation project.
55432
55433 * po/nl.po: Update Dutch translation from translation project.
55434
55435 * po/pl.po: Update Polish translation from translation project.
55436
55437 * po/ru.po: Update Russian translation from translation project.
55438
55439 * po/uk.po: Update Ukrainian translation from translation project.
55440
55441 2014-01-08 Brooks Moses <bmoses@google.com>
55442
55443 * elf/dl-load.c: Fix comment typo.
55444
55445 2014-01-08 Carlos O'Donell <carlos@redhat.com>
55446
55447 * po/header.pot: Rename to...
55448 * po/pot.header: ... this.
55449 * po/Makefile: Use pot.header.
55450
55451 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
55452 Maxim Kuvyrkov <maxim@kugelworks.com>
55453
55454 [BZ #16394]
55455 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
55456 SRC and DEST against LEN.
55457
55458 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55459
55460 [BZ #16414]
55461 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
55462 implementation.
55463 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
55464
55465 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55466
55467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55468
55469 2014-01-08 Joseph Myers <joseph@codesourcery.com>
55470
55471 [BZ #16408]
55472 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
55473 for large positive arguments.
55474
55475 2014-01-07 Joseph Myers <joseph@codesourcery.com>
55476
55477 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55478
55479 * math/auto-libm-test-in: Mark various tests with
55480 xfail-rounding:ldbl-128ibm.
55481 * math/auto-libm-test-out: Regenerated.
55482
55483 [BZ #16407]
55484 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
55485 Increase overflow threshold.
55486
55487 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
55488
55489 [BZ #14286]
55490 * stdio-common/vfprintf.c: Check for integer overflow.
55491
55492 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55493
55494 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
55495 the first argument and return value of __tls_get_addr_internal.
55496
55497 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55498
55499 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
55500 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
55501
55502 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55503
55504 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
55505 * sysdeps/s390/rtld-global-offsets.sym: New file.
55506 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
55507 GLIBC_2.19 symbol.
55508 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
55509 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
55510 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
55511 ... this.
55512 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
55513 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
55514 ... this.
55515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55516 Regenerate.
55517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55518 Regenerate.
55519 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
55520 halfs of GPRs for high_gprs contexts.
55521 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
55522 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
55523 field.
55524 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
55525 uc_flags field.
55526 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
55527 64 bit versions:
55528 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55529 for high GPRs (uc_high_gprs) and for future extensions
55530 (__reserved).
55531 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
55532 for future extensions (__reserved).
55533 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
55534 64 bit versions:
55535 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
55536 SC_HIGHGPRS offset definition.
55537 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
55538 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55539
55540 * Versions.def: Add GLIBC_2.19 for libpthread.
55541 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55542 siglongjmp for libpthread with GLIBC_2.19 symver.
55543 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55544 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55545 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55546 * sysdeps/s390/__longjmp.c: New file.
55547 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55548 * sysdeps/s390/longjmp.c: New file.
55549 * sysdeps/s390/setjmp.S: New file.
55550 * sysdeps/s390/sigjmp.S: New file.
55551 * sysdeps/s390/v1-longjmp.c: New file.
55552 * sysdeps/s390/v1-setjmp.h: New file.
55553 * sysdeps/s390/v1-sigjmp.c: New file.
55554 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55555 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55556 GLIBC_2.19 version.
55557 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55558 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55559 versioned symbols for ____longjmp_chk.
55560 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55561 Likewise.
55562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55563 Regenerate.
55564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55565 Regenerate.
55566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55567 Regenerate.
55568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55569 Regenerate.
55570 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55571 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55572 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55573 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55574 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55575 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55576 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55577 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55578 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55579 * sysdeps/s390/rtld-__longjmp.c: New file.
55580 * sysdeps/s390/rtld-setjmp.S: New file.
55581
55582 2014-01-06 Joseph Myers <joseph@codesourcery.com>
55583
55584 [BZ #16400]
55585 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55586 Return -__logl (x) for small positive arguments without evaluating
55587 a polynomial.
55588
55589 2014-01-06 Mike Frysinger <vapier@gentoo.org>
55590
55591 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55592 Rename to ...
55593 (__ptrace_peeksiginfo_args): ... this.
55594 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55596 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55597
55598 2014-01-06 Allan McRae <allan@archlinux.org>
55599
55600 * inet/netinet/in.h: Fix typo in comment.
55601
55602 2014-01-05 Andreas Jaeger <aj@suse.de>
55603
55604 * sysdeps/i386/fpu/libm-test-ulps: Update.
55605
55606 2014-01-05 Allan McRae <allan@archlinux.org>
55607
55608 * po/libc.pot: Regenerated.
55609
55610 * malloc/memusagestat.c: Fix gettext call formatting.
55611
55612 2014-01-04 Sami Kerola <kerolasa@iki.fi>
55613
55614 * nscd/nscd.c: Improve usage() output.
55615
55616 2014-01-04 Mike Frysinger <vapier@gentoo.org>
55617
55618 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55619 * sysdeps/unix/sysv/linux/configure: Regenerated.
55620 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55621 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55622
55623 2014-01-03 Joseph Myers <joseph@codesourcery.com>
55624
55625 [BZ #16390]
55626 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55627 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55628
55629 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55630
55631 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55632 extra tokens at end of #undef directive.
55633 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55634 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55635 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55636
55637 2014-01-03 Joseph Myers <joseph@codesourcery.com>
55638
55639 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55640
55641 * math/auto-libm-test-in: Mark various tests with
55642 xfail-rounding:ldbl-128ibm.
55643 * math/auto-libm-test-out: Regenerated.
55644
55645 2014-01-02 Joseph Myers <joseph@codesourcery.com>
55646
55647 [BZ #16386]
55648 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55649 numbers with subnormal high part when calculating exponent.
55650
55651 [BZ #16385]
55652 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55653 fabs.
55654
55655 [BZ #16384]
55656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55657 M_LN2l.
55658 (__ieee754_acoshl): Use __log1pl not __log1p.
55659
55660 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
55661
55662 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55663 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55664 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55665 (grow_heap, heap_trim, _int_new_arena, get_free_list)
55666 (reused_arena, arena_get2): Convert to GNU style.
55667 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55668 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55669 (memalign_check, __malloc_set_state): Likewise.
55670 * malloc/mallocbug.c (main): Likewise.
55671 * malloc/malloc.c (__malloc_assert, malloc_init_state)
55672 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55673 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55674 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55675 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55676 (__posix_memalign, malloc_info): Likewise.
55677 * malloc/malloc.h: Likewise.
55678 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55679 (mallochook, memalignhook, reallochook, mabort): Likewise.
55680 * malloc/mcheck.h: Likewise.
55681 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55682 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55683 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55684 * malloc/morecore.c (__default_morecore): Likewise.
55685 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55686 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55687 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55688 (print_and_abort): Likewise.
55689 * malloc/obstack.h: Likewise.
55690 * malloc/set-freeres.c (__libc_freeres): Likewise.
55691 * malloc/tst-mallocstate.c (main): Likewise.
55692 * malloc/tst-mtrace.c (main): Likewise.
55693 * malloc/tst-realloc.c (do_test): Likewise.
55694
55695 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
55696
55697 [BZ #16366]
55698 * nscd/netgroupcache.c (do_notfound): New function.
55699 (addgetnetgrentX): Use it.
55700
55701 [BZ # 16365]
55702 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55703 NSS_STATUS_NOTFOUND.
55704
55705 2014-01-01 Joseph Myers <joseph@codesourcery.com>
55706
55707 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55709
55710 2014-01-01 Allan McRae <allan@archlinux.org>
55711
55712 * scripts/update-copyrights: Update configure input file suffix.
55713
55714 * NEWS: Update copyright year.
55715 * catgets/gencat.c: Likewise.
55716 * csu/version.c: Likewise.
55717 * debug/catchsegv.sh: Likewise.
55718 * debug/pcprofiledump.c: Likewise.
55719 * debug/xtrace.sh: Likewise.
55720 * elf/ldconfig.c: Likewise.
55721 * elf/ldd.bash.in: Likewise.
55722 * elf/pldd.c: Likewise.
55723 * elf/sotruss.ksh: Likewise.
55724 * elf/sprof.c: Likewise.
55725 * iconv/iconv_prog.c: Likewise.
55726 * iconv/iconvconfig.c: Likewise.
55727 * locale/programs/locale.c: Likewise.
55728 * locale/programs/localedef.c: Likewise.
55729 * login/programs/pt_chown.c: Likewise.
55730 * malloc/memusage.sh: Likewise.
55731 * malloc/memusagestat.c: Likewise.
55732 * malloc/mtrace.pl: Likewise.
55733 * manual/libc.texinfo: Likewise.
55734 * nscd/nscd.c: Likewise.
55735 * nss/getent.c: Likewise.
55736 * nss/makedb.c: Likewise.
55737 * posix/getconf.c: Likewise.
55738 * scripts/test-installation.pl: Likewise.
55739
55740 * All files with FSF copyright notices: Update copyright dates
55741 using scripts/update-copyrights.
55742 * intl/plural.c: Regenerated.
55743 * locale/programs/charmap-kw.h: Likewise.
55744 * locale/programs/locfile-kw.h: Likewise.
55745
55746 2013-12-31 Mike Frysinger <vapier@gentoo.org>
55747
55748 * sysdeps/unix/sysv/linux/configure: Regenerated.
55749 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55750 the linux/fanotify.h header.
55751 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55752 HAVE_LINUX_FANOTIFY_H is defined.
55753
55754 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55755
55756 * benchtests/cos-inputs: New inputs.
55757 * benchtests/sin-inputs: Likewise.
55758
55759 * benchtests/atan-inputs: New inputs. Fix name of multiple
55760 precision fallback inputs.
55761
55762 * benchtests/atanh-inputs: New inputs.
55763 * benchtests/tanh-inputs: Likewise.
55764
55765 * benchtests/acosh-inputs: New inputs.
55766 * benchtests/asinh-inputs: Likewise.
55767
55768 * benchtests/cosh-inputs: New inputs.
55769 * benchtests/sinh-inputs: Likewise.
55770
55771 * benchtests/acos-inputs: Add more inputs.
55772 * benchtests/asin-inputs: Likewise.
55773
55774 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
55775
55776 [BZ #16375]
55777 * manual/arith.texi: Fix spelling.
55778 * manual/charset.texi: Likewise.
55779 * manual/errno.texi: Likewise.
55780 * manual/filesys.texi: Likewise.
55781 * manual/lang.texi: Likewise.
55782 * manual/llio.texi: Likewise.
55783 * manual/locale.texi: Likewise.
55784 * manual/message.texi: Likewise.
55785 * manual/resource.texi: Likewise.
55786 * manual/search.texi: Likewise.
55787 * manual/setjmp.texi: Likewise.
55788 * manual/stdio.texi: Likewise.
55789 * manual/string.texi: Likewise.
55790 * manual/sysinfo.texi: Likewise.
55791 * manual/time.texi: Likewise.
55792
55793 2013-12-27 Carlos O'Donell <carlos@redhat.com>
55794
55795 * po/sl.po: New file.
55796
55797 2013-12-27 Mike Frysinger <vapier@gentoo.org>
55798
55799 * .gitignore: Add core/.gdbinit/.gdb_history.
55800
55801 2013-12-27 Allan McRae <allan@archlinux.org>
55802
55803 [BZ #16369]
55804 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55805 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55806
55807 2013-12-24 Brooks Moses <bmoses@google.com>
55808
55809 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55810 all compilers that claim C++98 compliance, not just GCC.
55811 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55812 Likewise.
55813
55814 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
55815
55816 * NEWS: Restore accidentally deleted bug-fix entries.
55817
55818 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
55819 Ondřej Bílka <neleai@seznam.cz>
55820
55821 [BZ #15073]
55822 * malloc/malloc.c (_int_free): Perform sanity check only if we
55823 have_lock.
55824
55825 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
55826
55827 [BZ #12986]
55828 * manual/stdio.texi (String Input Conversions): Clarify that character
55829 classes are not supported.
55830
55831 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55832
55833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55834
55835 2013-12-22 Joseph Myers <joseph@codesourcery.com>
55836
55837 [BZ #16337]
55838 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55839 Calculate results for small negative arguments directly rather
55840 than using reflection formula with special underflow handling.
55841
55842 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55843 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55844 sysdeps/unix/bsd/bsd4.4/syscalls.list.
55845 (fchflags): Likewise.
55846 (revoke): Likewise.
55847 (setlogin): Likewise.
55848 (sigaltstack): Likewise.
55849 (wait4): Likewise.
55850 (sigblock): Remove.
55851 (sigsetmask): Likewise.
55852 (wait3): Likewise.
55853 (waitpid): Likewise.
55854 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55855 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55856 file.
55857 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55858 * sysdeps/unix/bsd/Makefile: ... here.
55859 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55860 * sysdeps/unix/bsd/Versions: ... here.
55861 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55862 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55863 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55864 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55865 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55866 * sysdeps/unix/bsd/sigblock.c: ... here.
55867 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55868 * sysdeps/unix/bsd/sigsetmask.c: ... here.
55869 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55870 * sysdeps/unix/bsd/sigvec.c: ... here.
55871 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55872 * sysdeps/unix/bsd/tcdrain.c: ... here.
55873 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55874 * sysdeps/unix/bsd/tcgetattr.c: ... here.
55875 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55876 * sysdeps/unix/bsd/tcsetattr.c: ... here.
55877 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55878 * sysdeps/unix/bsd/wait.c: ... here.
55879 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55880 * sysdeps/unix/bsd/wait3.c: ... here.
55881 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55882 * sysdeps/unix/bsd/waitpid.c: ... here.
55883
55884 2013-12-21 Joseph Myers <joseph@codesourcery.com>
55885
55886 [BZ #16356]
55887 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55888 round-to-nearest for [!USE_AS_EXPM1L].
55889 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55890 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
55891 more tests of exp and exp10. Expect some exp10 tests to miss
55892 exceptions or fail in directed rounding modes.
55893 * math/auto-libm-test-out: Regenerated.
55894 * math/libm-test.inc (exp10_tonearest_test_data): New array.
55895 (exp10_test_tonearest): New function.
55896 (exp10_towardzero_test_data): New array.
55897 (exp10_test_towardzero): New function.
55898 (exp10_downward_test_data): New array.
55899 (exp10_test_downward): New function.
55900 (exp10_upward_test_data): New array.
55901 (exp10_test_upward): New function.
55902 (main): Call the new functions.
55903 * sysdeps/i386/fpu/libm-test-ulps: Update.
55904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55905
55906 2013-12-20 Joseph Myers <joseph@codesourcery.com>
55907
55908 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55909 asinh, atan, atan2, atanh, cbrt, cos and cosh.
55910 * math/auto-libm-test-out: Regenerated.
55911 * math/libm-test.inc (acosh_test_data): Add more tests.
55912 (atanh_test_data): Likewise.
55913 (ceil_test_data): Likewise.
55914 (copysign_test_data): Likewise.
55915 * sysdeps/i386/fpu/libm-test-ulps: Update.
55916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55917
55918 * timezone/checktab.awk: Update from tzcode 2013i.
55919 * timezone/private.h: Likewise.
55920 * timezone/scheck.c: Likewise.
55921 * timezone/tzfile.h: Likewise.
55922 * timezone/tzselect.ksh: Likewise.
55923 * timezone/zdump.c: Likewise.
55924 * timezone/zic.c: Likewise.
55925
55926 * math/auto-libm-test-in: Add tests of cpow.
55927 * math/auto-libm-test-out: Regenerated.
55928 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55929 * math/gen-auto-libm-tests.c (func_calc_method): Add value
55930 mpc_cc_c.
55931 (func_calc_desc): Add mpc_cc_c union field.
55932 (test_functions): Add cpow.
55933 (special_fill_2pi): New function.
55934 (special_real_inputs): Add 2pi.
55935 (calc_generic_results): Handle mpc_cc_c.
55936 * sysdeps/i386/fpu/libm-test-ulps: Update.
55937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55938
55939 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55940 csqrt, ctan and ctanh.
55941 * math/auto-libm-test-out: Regenerated.
55942 * math/libm-test.inc (TEST_COND_x86_64): New macro.
55943 (TEST_COND_x86): Likewise.
55944 (ccos_test_data): Use AUTO_TESTS_c_c.
55945 (ccosh_test_data): Likewise.
55946 (cexp_test_data): Likewise.
55947 (clog_test_data): Likewise.
55948 (csqrt_test_data): Likewise.
55949 (ctan_test_data): Likewise.
55950 (ctan_tonearest_test_data): Likewise.
55951 (ctan_towardzero_test_data): Likewise.
55952 (ctan_downward_test_data): Likewise.
55953 (ctan_upward_test_data): Likewise.
55954 (ctanh_test_data): Likewise.
55955 (ctanh_tonearest_test_data): Likewise.
55956 (ctanh_towardzero_test_data): Likewise.
55957 (ctanh_downward_test_data): Likewise.
55958 (ctanh_upward_test_data): Likewise.
55959 * math/gen-auto-libm-tests.c (func_calc_method): Add value
55960 mpc_c_c.
55961 (func_calc_desc): Add mpc_c_c union field.
55962 (FUNC_mpc_c_c): New macro.
55963 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55964 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55965 ctanh.
55966 (special_fill_min_subnorm_p120): New function.
55967 (special_real_inputs): Add min_subnorm_p120.
55968 (calc_generic_results): Handle mpc_c_c.
55969 * sysdeps/i386/fpu/libm-test-ulps: Update.
55970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55971
55972 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
55973
55974 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55975 (do_sin_slow): New functions.
55976 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55977 (cslow2, csloww1, csloww2): Use the new functions.
55978
55979 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55980 Use M to change sign of result instead of X. Assume X is
55981 positive.
55982 (csloww1): Likewise.
55983 (__sin): Adjust.
55984 (__cos): Adjust.
55985
55986 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55987 arguments A and DA.
55988 (__sin): Adjust.
55989 (__cos): Likewise.
55990
55991 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55992 (__cos): Likewise.
55993 (sloww1): Don't adjust sign of DX.
55994 (csloww1): Likewise.
55995 (sloww2): Use X directly and don't adjust sign of DX.
55996 (csloww2): Likewise.
55997
55998 2013-12-19 Joseph Myers <joseph@codesourcery.com>
55999
56000 * math/auto-libm-test-in: Add tests of cabs and carg.
56001 * math/auto-libm-test-out: Regenerated.
56002 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
56003 (carg_test_data): Likewise.
56004 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56005 mpc_c_f.
56006 (func_calc_desc): Add mpc_c_f union field.
56007 (test_functions): Add cabs and carg.
56008 (calc_generic_results): Handle mpc_c_f.
56009
56010 * sysdeps/powerpc/powerpc32/libgcc-compat.S
56011 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
56012 as a macro and a compat symbol.
56013 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
56014 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
56015 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
56016 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
56017 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
56018 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
56019 not use .hidden.
56020 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
56021 Likewise.
56022 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
56023 Likewise.
56024 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
56025 Likewise.
56026 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
56027 Likewise.
56028 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
56029 Likewise.
56030 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
56031 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
56032 from GLIBC_2.3.2.
56033
56034 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56035
56036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56037
56038 2013-12-19 Joseph Myers <joseph@codesourcery.com>
56039
56040 * manual/texinfo.tex: Update to version 2013-11-26.10 with
56041 trailing whitespace removed.
56042 * scripts/config.guess: Update to version 2013-11-29.
56043 * scripts/config.sub: Update to version 2013-10-01.
56044
56045 * math/auto-libm-test-in: Add tests of sincos.
56046 * math/auto-libm-test-out: Regenerated.
56047 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
56048 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56049 mpfr_f_11.
56050 (func_calc_desc): Add mpfr_f_11 union field.
56051 (test_functions): Add sincos.
56052 (calc_generic_results): Handle mpfr_f_11.
56053 * sysdeps/i386/fpu/libm-test-ulps: Update.
56054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56055
56056 2013-12-19 Andreas Schwab <schwab@suse.de>
56057
56058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
56059 CALL_MCOUNT.
56060 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56061 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
56062 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
56063
56064 2013-12-19 Joseph Myers <joseph@codesourcery.com>
56065
56066 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
56067 * sysdeps/i386/fpu/libm-test-ulps: Update.
56068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56069
56070 [BZ #16293]
56071 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
56072 round-to-nearest mode when using frndint.
56073 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
56074 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
56076 Likewise.
56077 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
56078 sinh test to fail.
56079 * math/auto-libm-test-out: Regenerated.
56080 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
56081 (TEST_COND_x86): Likewise.
56082 (expm1_tonearest_test_data): New array.
56083 (expm1_test_tonearest): New function.
56084 (expm1_towardzero_test_data): New array.
56085 (expm1_test_towardzero): New function.
56086 (expm1_downward_test_data): New array.
56087 (expm1_test_downward): New function.
56088 (expm1_upward_test_data): New array.
56089 (expm1_test_upward): New function.
56090 (main): Run the new test functions.
56091 * sysdeps/i386/fpu/libm-test-ulps: Update.
56092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56093
56094 * include/features.h: Update comment documenting feature test
56095 macros. Mention _DEFAULT_SOURCE in comment.
56096 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
56097 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
56098 _BSD_SOURCE and _SVID_SOURCE.
56099 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
56100 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
56101 !_SVID_SOURCE]: Likewise.
56102 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56103 (__USE_POSIX_IMPLICITLY): Define.
56104 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56105 (_POSIX_SOURCE): Undefine and redefine.
56106 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56107 (_POSIX_C_SOURCE): Likewise.
56108 * manual/creature.texi (_DEFAULT_SOURCE): Document.
56109 (Feature Test Macros): Update documentation of default features.
56110
56111 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56112
56113 * benchtests/Makefile: Add bench-strtok.
56114 * benchtests/bench-strtok.c: New file: strtok benchtest.
56115
56116 2013-12-19 Allan McRae <allan@archlinux.org>
56117
56118 * manual/install.texi: Suppress menu for plain text output.
56119 * INSTALL: Regenerated.
56120
56121 2013-12-18 Brooks Moses <bmoses@google.com>
56122
56123 [BZ #15846]
56124 * misc/getauxval.c: Include errno.h.
56125 (__getauxval): Set errno to ENOENT if the requested type is not
56126 found.
56127 * misc/sys/auxv.h (getauxval): Document that it may set errno;
56128 don't declare with __attribute_const__.
56129 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
56130 * manual/startup.texi: Document that getauxval sets errno.
56131
56132 2013-12-18 Joseph Myers <joseph@codesourcery.com>
56133
56134 * math/auto-libm-test-in: Add tests of jn and yn.
56135 * math/auto-libm-test-out: Regenerated.
56136 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
56137 (yn_test_data): Likewise.
56138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56139 mpfr_if_f.
56140 (func_calc_desc): Add mpfr_if_f union field.
56141 (FUNC_mpfr_if_f): New macro.
56142 (test_functions): Add jn and yn.
56143 (calc_generic_results): Assert type of second input for
56144 mpfr_ff_f. Handle mpfr_if_f.
56145 (output_for_one_input_case): Disable all checking for arguments
56146 fitting floating-point types in case of an integer argument.
56147 * sysdeps/i386/fpu/libm-test-ulps: Update.
56148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56149
56150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56151 Don't expect fegetround reference in libm.so.
56152
56153 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56154
56155 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
56156 $(config-cflags-nofma).
56157
56158 2013-12-18 Joseph Myers <joseph@codesourcery.com>
56159
56160 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
56161 * math/auto-libm-test-out: Regenerated.
56162
56163 [BZ #16338]
56164 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
56165 to determine exponent and adjust argument to have exponent of -1.
56166 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
56167 log2.
56168 * math/auto-libm-test-out: Regenerated.
56169 * sysdeps/i386/fpu/libm-test-ulps: Update.
56170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56171
56172 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
56173
56174 * manual/probes.texi: Remove cases when per-thread arenas are
56175 disabled.
56176
56177 2013-12-18 Andreas Schwab <schwab@suse.de>
56178
56179 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
56180 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
56181 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
56182 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
56183 * sysdeps/i386/i686/multiarch/Makefile: Update.
56184 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
56185
56186 2013-12-17 Joseph Myers <joseph@codesourcery.com>
56187
56188 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
56189 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
56190
56191 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
56192
56193 [BZ #15968]
56194 Support TZ transition times < 00:00:00.
56195 This is needed for version-3 tz-format files; it supports time
56196 stamps past 2037 for America/Godthab (the only entry in the tz
56197 database for which this change is relevant).
56198 * manual/time.texi (TZ Variable): Document transition times
56199 from -167:59:59 through -00:00:01.
56200 * time/tzset.c (tz_rule): Time of day is now signed.
56201 (__tzset_parse_tz): Parse negative time of day.
56202
56203 Document TZ transition times >= 25:00:00.
56204 * manual/time.texi (TZ Variable): Document transition times from
56205 25:00:00 through 167:59:59. These are already supported, and this
56206 support will help with version-3 tz-format files.
56207
56208 * manual/time.texi (TZ Variable): Modernize North America example
56209 to reflect current (i.e., 2007-and-later) daylight saving rules.
56210
56211 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56212
56213 2013-12-17 Joseph Myers <joseph@codesourcery.com>
56214
56215 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56216 * sysdeps/unix/bsd/bits/stat.h: Likewise.
56217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56219 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56220 * sysdeps/unix/bsd/bsdstat.h: Likewise.
56221 * sysdeps/unix/bsd/clock.c: Likewise.
56222 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56223 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56224 * sysdeps/unix/bsd/init-posix.c: Likewise.
56225 * sysdeps/unix/bsd/poll.c: Likewise.
56226 * sysdeps/unix/bsd/ptsname.c: Likewise.
56227 * sysdeps/unix/bsd/seekdir.c: Likewise.
56228 * sysdeps/unix/bsd/setegid.c: Likewise.
56229 * sysdeps/unix/bsd/seteuid.c: Likewise.
56230 * sysdeps/unix/bsd/setgid.c: Likewise.
56231 * sysdeps/unix/bsd/setrgid.c: Likewise.
56232 * sysdeps/unix/bsd/setruid.c: Likewise.
56233 * sysdeps/unix/bsd/setsid.c: Likewise.
56234 * sysdeps/unix/bsd/setuid.c: Likewise.
56235 * sysdeps/unix/bsd/sigaction.c: Likewise.
56236 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56237 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56238 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56239 * sysdeps/unix/bsd/telldir.c: Likewise.
56240 * sysdeps/unix/bsd/times.c: Likewise.
56241 * sysdeps/unix/bsd/usleep.c: Likewise.
56242
56243 * misc/Makefile (install-lib): Remove libbsd-compat.a.
56244 ($(objpfx)libbsd-compat.a): Remove rule.
56245
56246 * include/features.h (__FAVOR_BSD): Do not define.
56247 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56248 features conflicting with POSIX.
56249 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56250 (_BSD_SOURCE): Remove description of not being a subset of other
56251 feature test macros.
56252 * manual/job.texi (getpgrp): Do not document BSD version.
56253 (getpgid): Do not document by reference to BSD getpgrp.
56254 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56255 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56256 * signal/signal.h [__FAVOR_BSD]: Likewise.
56257 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56258 instead of making contents conditional on [__FAVOR_BSD].
56259 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56260
56261 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56262
56263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56264
56265 2013-12-17 Joseph Myers <joseph@codesourcery.com>
56266
56267 [BZ #16314]
56268 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56269 values below 2**-450, not 2**-500.
56270 * math/auto-libm-test-in: Don't allow spurious underflow from
56271 hypot.
56272 * math/auto-libm-test-out: Regenerated.
56273
56274 [BZ #16316]
56275 [BZ #16330]
56276 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56277 values of ha and hb and sort them after adjusting subnormal
56278 arguments.
56279 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56280 Likewise.
56281 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56282 values of ea and eb and sort them after adjusting subnormal
56283 arguments.
56284 * math/auto-libm-test-in: Do not expect some hypot tests of
56285 subnormals to fail. Add more hypot tests.
56286 * math/auto-libm-test-out: Regenerated.
56287
56288 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56289
56290 [BZ #13304]
56291 * sysdeps/sh/s_fma.c: New file.
56292 * sysdeps/sh/s_fmaf.c: New file.
56293 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
56294 version.
56295 * sysdeps/sh/Implies: Add sh/soft-fp.
56296
56297 2013-12-16 Roland McGrath <roland@hack.frob.com>
56298
56299 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
56300 level of indirection to members `objname', `errstring', `malloced'.
56301 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56302 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
56303 it as the __longjmp argument (just pass 1 instead).
56304 (_dl_catch_error): Initialize C with argument pointers and address of
56305 volatile local ERRCODE rather than copying values out of C at return.
56306
56307 2013-12-16 Joseph Myers <joseph@codesourcery.com>
56308
56309 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56310 * math/auto-libm-test-out: Regenerated.
56311 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56312 (hypot_test_data): Likewise.
56313 (pow_test_data): Likewise.
56314 (pow_tonearest_test_data): Likewise.
56315 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56316 mpfr_ff_f.
56317 (func_calc_desc): Add mpfr_ff_f union field.
56318 (FUNC_mpfr_ff_f): New macro.
56319 (test_functions): Add atan2, hypot and pow.
56320 (special_fill_min): New function.
56321 (special_fill_minus_min): Likewise.
56322 (special_fill_min_subnorm): Likewise.
56323 (special_fill_minus_min_subnorm): Likewise.
56324 (special_real_inputs): Add min, -min, min_subnorm and
56325 -min_subnorm.
56326 (calc_generic_results): Handle mpfr_ff_f.
56327 * sysdeps/i386/fpu/libm-test-ulps: Update.
56328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56329
56330 2013-12-16 Will Newton <will.newton@linaro.org>
56331
56332 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56333 (Aligned Memory Blocks): Add documentation for aligned_alloc
56334 and suggest it as an alternative to posix_memalign.
56335 (Hooks for Malloc): Document __memalign_hook is also called
56336 for aligned_alloc. (Summary of Malloc): Add summary for
56337 aligned alloc. Document __memalign_hook is also called
56338 for aligned_alloc.
56339
56340 2013-12-16 Will Newton <will.newton@linaro.org>
56341
56342 * manual/memory.texi (Malloc Examples): Clarify default
56343 alignment documentation. Suggest posix_memalign rather
56344 than memalign or valloc.
56345 (Aligned Memory Blocks): Remove suggestion to use memalign
56346 or valloc. Remove obsolete comment about BSD.
56347 Document memalign errno values and mark the function obsolete.
56348 Document posix_memalign returned error codes. Mark valloc
56349 as obsolete. (Hooks for Malloc): __memalign_hook is also
56350 called for posix_memalign and valloc.
56351 (Summary of Malloc): Add posix_memalign to function summary.
56352 __memalign_hook is also called for posix_memalign and valloc.
56353
56354 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56355
56356 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56357 TAYLOR_SIN.
56358 (__sin): Adjust.
56359 (__cos): Likewise.
56360 (sloww): Use mynumber union. Expand ternary operator into
56361 if-else statements.
56362 (cslow): use mynumber union.
56363
56364 2013-12-16 Allan McRae <allan@archlinux.org>
56365
56366 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56367 * configure: Regenerated.
56368
56369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56370
56371 [BZ #14120]
56372 * configure.ac: Added --enable-maintainer-mode. Check for
56373 autoconf when enabled.
56374 * configure: Regenerated.
56375
56376 * nscd/nscd.service: New file.
56377 * nscd/nscd.tmpfiles: New file.
56378
56379 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
56380
56381 [BZ #12100]
56382 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56383 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56384 * sysdeps/x86_64/multiarch/strstr.c: ... here.
56385 (strstr): Add __strstr_sse2_unaligned ifunc.
56386 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56387 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56388 (strcasestr): Remove __strcasestr_sse42 ifunc.
56389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56392
56393 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56394
56395 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
56396 * sysdeps/sh/bits/fenv.h: ... here.
56397 * sysdeps/sh/sh4/fpu/bits: Remove directory.
56398
56399 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56400
56401 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
56402
56403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
56404 hypotf multiarch implementations.
56405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
56406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
56407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
56408 multiarch hypot for PPC64.
56409 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
56410 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
56411 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
56412 multiarch hypotf for PPC64.
56413
56414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56415 modff multiarch implementations.
56416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
56417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
56418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
56419 multiarch modf for PPC64.
56420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
56421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
56422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
56423 multiarch modff for PPC64.
56424
56425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
56426 and logl multiarch implementations.
56427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
56428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
56429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
56430 multiarch logb for PPC64.
56431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
56432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
56433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
56434 multiarch logb for PPC64.
56435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
56436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
56437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
56438 multiarch logb for PPC64.
56439
56440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
56441 isinff multiarch implementation.
56442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
56443 file.
56444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
56445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
56446 multiarch isinf for PPC64.
56447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
56448 file.
56449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
56450 multiarch isinff for PPC64.
56451
56452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
56453 finitef multiarch implementation.
56454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
56455 file.
56456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
56457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
56458 multiarch finite for PPC64.
56459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
56460 file.
56461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
56462 multiarch finitef for PPC64.
56463
56464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
56465 lrint multiarch implementation.
56466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
56467 file.
56468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
56469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
56470 multiarch llrint for PPC64.
56471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
56472 multiarch lrint for PPC64.
56473
56474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
56475 copysignf multiarch implementation.
56476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
56477 file.
56478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
56479 file.
56480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
56481 multiarch copysign for PPC64.
56482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
56483 multiarch copysignf for PPC64.
56484
56485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
56486 multiarch implementation.
56487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
56488 file.
56489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
56490 file.
56491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
56492 file.
56493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
56494 file.
56495 multiarch llround for PPC64.
56496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
56497 multiarch trunc for PPC64.
56498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
56499 multiarch truncf for PPC64.
56500
56501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
56502 multiarch implementation.
56503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
56504 file.
56505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
56506 file.
56507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
56508 file.
56509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
56510 file.
56511 multiarch llround for PPC64.
56512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
56513 multiarch round for PPC64.
56514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
56515 multiarch roundf for PPC64.
56516
56517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
56518 multiarch implementation.
56519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
56520 file.
56521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
56522 file.
56523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
56524 file.
56525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
56526 file.
56527 multiarch llround for PPC64.
56528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
56529 multiarch floor for PPC64.
56530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
56531 multiarch floorf for PPC64.
56532
56533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
56534 multiarch implementation.
56535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
56536 file.
56537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
56538 file.
56539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56540 file.
56541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56542 file.
56543 multiarch llround for PPC64.
56544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56545 multiarch ceil for PPC64.
56546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56547 multiarch ceilf for PPC64.
56548
56549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56550 multiarch implementation.
56551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56552 file.
56553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56554 file.
56555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56556 file.
56557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56558 multiarch llround for PPC64.
56559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56560 multiarch lround for PPC64.
56561
56562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56563 multiarch implementation.
56564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56567 file.
56568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56571 multiarch isnan for PPC64.
56572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56573 multiarch isnanf for PPC64.
56574
56575 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56576 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56577 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56578 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56579 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56581
56582 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56583 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56584 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56586
56587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56588 multiarch implementations.
56589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56590 (__libc_ifunc_impl_list): Likewise.
56591 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56592 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56593 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56594 multiarch stpcpy for PPC64.
56595
56596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56597 multiarch implementations.
56598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56599 (__libc_ifunc_impl_list): Likewise.
56600 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56601 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56602 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56603 multiarch strcpy for PPC64.
56604
56605 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56606 redefine function name.
56607 (_wordcopy_fwd_dest_aligned): Likewise.
56608 (_wordcopy_bwd_aligned): Likewise.
56609 (_wordcopy_bwd_dest_aligned): Likewise.
56610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56611 multiarch implementations.
56612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56613 (__libc_ifunc_impl_list): Likewise.
56614 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56615 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56617 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56618 multiarch wcscpy for PPC64.
56619
56620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56621 multiarch implementations.
56622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56623 (__libc_ifunc_impl_list): Likewise.
56624 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56625 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56626 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56627 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56628 multiarch wcscpy for PPC64.
56629
56630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56631 multiarch implementations.
56632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56633 (__libc_ifunc_impl_list): Likewise.
56634 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56635 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56636 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56637 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56638 multiarch wcsrchr for PPC64.
56639
56640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56641 multiarch implementations.
56642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56643 (__libc_ifunc_impl_list): Likewise.
56644 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56645 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56646 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56647 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56648 multiarch wcschr for PPC64.
56649
56650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56651 multiarch implementations.
56652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56653 (__libc_ifunc_impl_list): Likewise.
56654 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56655 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56656 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56657 multiarch strchrnul for PPC64.
56658
56659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56660 implementations.
56661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56662 (__libc_ifunc_impl_list): Likewise.
56663 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56664 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56665 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56666 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56667 strchr for PPC64.
56668
56669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56670 implementations.
56671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56672 (__libc_ifunc_impl_list): Likewise.
56673 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56674 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56675 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56676 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56677 strncmp for PPC64.
56678
56679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56680 multiarch implementations.
56681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56682 (__libc_ifunc_impl_list): Likewise.
56683 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56684 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56685 strncasecmp for PPC64.
56686 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56687 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56688 multiarch strncasecmp_l for PPC64.
56689
56690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56691 multiarch implementations.
56692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56693 (__libc_ifunc_impl_list): Likewise.
56694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56695 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56696 multiarch strcasecmp for PPC64.
56697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56698 file.
56699 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56700 multiarch strcasecmp_l for PPC64.
56701
56702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56703 implementations.
56704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56705 (__libc_ifunc_impl_list): Likewise.
56706 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56707 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56708 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56709 strnlen for PPC64.
56710
56711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56712 implementations.
56713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56714 (__libc_ifunc_impl_list): Likewise.
56715 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56716 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56717 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56718 strlen for PPC64.
56719
56720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56721 implementations.
56722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56723 (__libc_ifunc_impl_list): Likewise.
56724 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56725 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56726 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56727 rawmemrchr for PPC64.
56728
56729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56730 implementation.
56731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56732 (__libc_ifunc_impl_list): Likewise.
56733 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56734 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56735 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56736 memrchr for PPC64.
56737
56738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56739 implementation.
56740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56741 (__libc_ifunc_impl_list): Likewise.
56742 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56743 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56744 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56745 memchr for PPC64.
56746
56747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56748 implementation.
56749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56750 (__libc_ifunc_impl_list): Likewise.
56751 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56752 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56753 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56754 mempcpy for PPC64.
56755
56756 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56757 avoid cretion of __bzero symbol.
56758 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56759 Likewise.
56760 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56761 Likewise.
56762 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56763 Likewise.
56764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56765 multiarch implementations.
56766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56767 (__libc_ifunc_impl_list): Likewise.
56768 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56769 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56770 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56771 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56772 bzero for PPC32.
56773 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56774 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56775 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56776 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56777 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56778 memset for PPC64.
56779 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56780
56781 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56783 implementations.
56784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56785 (__libc_ifunc_impl_list): Likewise.
56786 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56787 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56788 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56789 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56790 memcmp for PPC64.
56791
56792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56793 multiarch for POWER/PPC64.
56794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56795 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56796 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56797 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56798 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56801 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56802 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56803 memcpy for PPC64.
56804
56805 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56806 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56807 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56808 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56809 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56810 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56811 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56812 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56813 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56814 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56815 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56816 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56817 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56818 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56819 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56827
56828 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56829
56830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56831
56832 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
56833
56834 * benchtests/Makefile (bench): Add exp2 and log2.
56835 (LDLIBS-bench-exp2): Add -lm.
56836 (LDLIBS-bench-log2): Likewise.
56837 * benchtests/exp2-inputs: New inputs file.
56838 * benchtests/log2-inputs: New inputs file.
56839 * benchtests/log-inputs: Add new inputs.
56840 * benchtests/tan-inputs: Likewise.
56841
56842 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
56843
56844 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56845 definition...
56846 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56847 (csloww2): ... from here.
56848
56849 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56850 instead of structures.
56851 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56852 (POLYNOMIAL): Likewise.
56853 (TAYLOR_SLOW): Likewise.
56854 (__sin): Likewise.
56855 (__cos): Likewise.
56856 (slow1): Likewise.
56857 (slow2): Likewise.
56858 (sloww): Likewise.
56859 (sloww1); Likewise.
56860 (sloww2): Likewise.
56861 (bsloww1): Likewise.
56862 (bsloww2): Likewise.
56863 (cslow2): Likewise.
56864 (csloww): Likewise.
56865 (csloww1): Likewise.
56866 (csloww2): Likewise.
56867
56868 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
56869
56870 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56871 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56872 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56873 * malloc/hooks.c (realloc_check): Likewise.
56874
56875 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56876 * malloc/arena.c: Remove PER_THREAD conditional.
56877 [!PER_THREAD]: Remove code.
56878 (ptmalloc_unlock_all2): Likewise.
56879 (ptmalloc_init): Likewise.
56880 (_int_new_arena): Likewise.
56881 (arena_get2): Likewise.
56882 * malloc/hooks.c (__malloc_get_state): Likewise.
56883 (__malloc_set_state): Likewise.
56884 * malloc/malloc.c: Likewise.
56885 (struct malloc_state): Likewise.
56886 (struct malloc_par): Likewise.
56887 (__libc_realloc): Likewise.
56888 (__libc_mallopt): Likewise.
56889
56890 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56891
56892 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56893
56894 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
56895
56896 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56897 macro to a function. Check for zero perturb_byte.
56898 (_int_malloc, _int_free): Remove zero perturb_byte checks.
56899
56900 * malloc/malloc.c: (force_reg): Remove.
56901 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56902 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56903 force_reg by atomic_forced_read.
56904 * malloc/arena.c (ptmalloc_init): Likewise.
56905 * malloc/hooks.c (top_check): Likewise.
56906
56907 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56908
56909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56910
56911 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
56912
56913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56914
56915 2013-12-08 Joseph Myers <joseph@codesourcery.com>
56916
56917 * math/auto-libm-test-in: Add tests of lgamma.
56918 * math/auto-libm-test-out: Regenerated.
56919 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56920 (M_LOG_2_SQRT_PIl): Likewise.
56921 (lgamma_test_data): Use AUTO_TESTS_f_f1.
56922 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56923 mpfr_f_f1.
56924 (func_calc_desc): Add mpfr_f_f1 union field.
56925 (ARGS1): New macro.
56926 (ARGS2): Likewise.
56927 (ARGS3): Likewise.
56928 (ARGS4): Likewise.
56929 (RET1): Likewise.
56930 (RET2): Likewise.
56931 (CALC): Likewise.
56932 (FUNC): Likewise.
56933 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56934 (test_functions): Add lgamma.
56935 (calc_generic_results): Handle mpfr_f_f1.
56936 * sysdeps/i386/fpu/libm-test-ulps: Update.
56937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56938
56939 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56940
56941 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56942 __mpn_add_n for PowerPC64/POWER7.
56943 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56944 __mpn_sub_n for PowerPC64/POWER7.
56945
56946 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56947 __mpn_addmul_1 for PowerPC64.
56948 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56949 __mpn_submul_1 for PowerPC64.
56950 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56951 for PowerPC64.
56952 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56953 for PowerPC64.
56954
56955 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
56956
56957 [BZ #15089]
56958 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56959
56960 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56961
56962 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56963
56964 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56965 add multiarch folders.
56966 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56967 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56968 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56969 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56970 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56971 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56972 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56973 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56974 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56975 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56976 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56983
56984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56985 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56987 New file.
56988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56989 New file.
56990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56991 multiarch __ieee754_hypot for PowerPC32.
56992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56993 New file.
56994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56995 New file.
56996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56997 multiarch __ieee754_hypotf for PowerPC32.
56998
56999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
57000 long_double_symbol only if __logbl is defined.
57001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
57002 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
57003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
57004 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
57005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
57006 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
57007 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
57008 path for implementation.
57009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
57010 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
57011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
57012 logb, and logbl multiarch implementations for PowerPC32.
57013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
57014 file.
57015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
57016 file.
57017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
57018 multiarch logb for PowerPC32.
57019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
57020 file.
57021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
57022 file.
57023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
57024 multiarch logbf for PowerPC32.
57025 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
57026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
57027 file.
57028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
57029 multiarch logbl implementation for PowerPC32.
57030
57031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
57032 and modff multiarch implementations.
57033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
57034 New file.
57035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
57036 New file.
57037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
57038 multiarch modf for PowerPC32.
57039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
57040 New file.
57041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
57042 New file.
57043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
57044 multiarch modff for PowerPC32.
57045
57046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
57047 and lrintf multiarch implementations.
57048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
57049 New file.
57050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
57051 New file.
57052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
57053 multiarch lrint for PowerPC32.
57054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
57055 file: multiarch lrintf for PowerPC32.
57056
57057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
57058 and lroundf multiarch implementations.
57059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
57060 New file.
57061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
57062 New file.
57063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
57064 New file.
57065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
57066 multiarch lround for PowerPC32.
57067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
57068 file: multiarch lroundf for PowerPC32.
57069
57070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57071 copysign and copysignf multiarch implementations.
57072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
57073 New file.
57074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
57075 New file.
57076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
57077 file: multiarch copysign for PowerPC32.
57078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
57079 file: multiarch copysignf for PowerPC32.
57080
57081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
57082 and truncf multiarch implementations.
57083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
57084 New file.
57085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
57086 file.
57087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
57088 multiarch trunc for PowerPC32.
57089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
57090 New file.
57091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
57092 New file.
57093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
57094 multiarch truncf for PowerPC32.
57095
57096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
57097 and roundf multiarch implementations.
57098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
57099 New file.
57100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
57101 file.
57102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
57103 multiarch round for PowerPC32.
57104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
57105 New file.
57106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
57107 New file.
57108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
57109 multiarch roundf for PowerPC32.
57110
57111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
57112 and floorf multiarch implementations.
57113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
57114 New file.
57115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
57116 file.
57117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
57118 multiarch floor for PowerPC32.
57119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
57120 New file.
57121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
57122 New file.
57123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
57124 multiarch floorf for PowerPC32.
57125
57126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
57127 and ceilf multiarch implementations.
57128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
57129 New file.
57130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
57131 file.
57132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
57133 multiarch ceil for PowerPC32.
57134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
57135 New file.
57136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
57137 file.
57138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
57139 multiarch ceilf for PowerPC32.
57140
57141 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
57142 is defined.
57143 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
57144 FINITEF is defined.
57145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
57146 and finitef multiarch implementations.
57147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
57148 New file.
57149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
57150 file.
57151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
57152 multiarch finite for PowerPC32.
57153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
57154 New file.
57155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
57156 file: multiarch finitef for PowerPC32.
57157
57158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
57159 and isinff multiarch implementations.
57160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
57161 file.
57162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
57163 file.
57164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
57165 multiarch isinf for PowerPC32.
57166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
57167 New file.
57168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
57169 multiarch isinff for PowerPC32.
57170
57171 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
57172 alias when __isnan is defined.
57173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
57174 and isnanf multiarch implementations.
57175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
57176 file.
57177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
57178 file.
57179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
57180 file.
57181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
57182 file.
57183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
57184 multiarch isnan for PowerPC32.
57185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
57186 New file.
57187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
57188 New file.
57189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
57190 multiarch isnanf for PowerPC32.
57191
57192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
57193 and sqrtf multiarch implementations.
57194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
57195 file.
57196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
57197 file.
57198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
57199 multiarch sqrt for PowerPC32.
57200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
57201 file.
57202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
57203 file.
57204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
57205 multiarch sqrtf for PowerPC32.
57206
57207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
57208 and llroundf multiarch implementations.
57209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
57210 New file.
57211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57212 New file.
57213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57214 New file.
57215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57216 file: multiarch llround for PowerPC32.
57217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57218 file: multiarch llroundf for PowerPC32.
57219
57220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57221 multiarch PowerPC32 fpu implementations.
57222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57223 New file.
57224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57225 New file.
57226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57227 multiarch llrint for PowerPC32.
57228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57229 New file.
57230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57231 New file.
57232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57233 file.
57234
57235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57236
57237 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57238 file.
57239 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57240 file.
57241 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57242 file.
57243 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57244 multiarch wordcopy for PPC32.
57245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57246 wordcopy objects.
57247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57248 (__libc_ifunc_impl_list): Likewise.
57249 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57250 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57251 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57252 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57253 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57254 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57255
57256 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57258 file.
57259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57260 file.
57261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57262 file.
57263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57264 multiarch wcscpy for PPC32.
57265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57266 multiarch objects.
57267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57268 (__libc_ifunc_impl_list): Likewise.
57269 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57270 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57271 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57272 sysdeps/powerpc/power6/wcscpy.c.
57273
57274 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57276 file.
57277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57278 file.
57279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57280 file.
57281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57282 multiarch wcsrchr for PPC32.
57283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57284 multiarch objects.
57285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57286 (__libc_ifunc_impl_list): Likewise.
57287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57288 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57289 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57290 sysdeps/powerpc/power6/wcsrchr.c.
57291
57292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57293 file.
57294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57295 file.
57296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57298 multiarch wcschr for PPc32.
57299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57300 multiarch objects.
57301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57302 (__libc_ifunc_impl_list): Likewise.
57303 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57304 * sysdeps/powerpc/power6/wcschr.c: ... to here.
57305 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57306 sysdeps/powerpc/power6/wcschr.c.
57307
57308 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57309 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57310 file.
57311 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57312 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57313 file: multiarch strchr for PPC32.
57314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57315 multiarch objects.
57316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57317 (__libc_ifunc_impl_list): Likewise.
57318
57319 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57320 name.
57321 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57322 file.
57323 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57324 file.
57325 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57326 multiarch strchrnul for PPC32.
57327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57328 multiarch objects.
57329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57330 (__libc_ifunc_impl_list): Likewise.
57331
57332 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57333 file.
57334 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57335 multiarch strncasecmp for PPC32.
57336 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57337 file.
57338 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57339 multiarch strncasecmp_l for PPC32.
57340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57341 strncasecmp multiarch objects.
57342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57343 (__libc_ifunc_impl_list): Likewise.
57344
57345 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57346 file.
57347 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57348 multiarch strncasecmp for PPC32.
57349 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57350 New file.
57351 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57352 multiarch strcasecmp_l for PPC32.
57353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57354 multiarch objects.
57355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57356 (__libc_ifunc_impl_list): Likewise.
57357
57358 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57359 file.
57360 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57361 file.
57362 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57363 multiarch strncmp for PPC32.
57364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57365 multiarch objects.
57366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57367 (__libc_ifunc_impl_list): Likewise.
57368
57369 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57370 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57371 file.
57372 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57373 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57375 multiarch objects.
57376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57377 (__libc_ifunc_impl_list): Likewise.
57378
57379 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57380 file.
57381 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57382 file.
57383 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57385 multiarch objects.
57386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57387 (__libc_ifunc_impl_list): Likewise.
57388
57389 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57390 file.
57391 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
57392 file.
57393 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
57394 multiarch rawmemchr for PPC32.
57395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
57396 multiarch objects.
57397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57398 (__libc_ifunc_impl_list): Likewise.
57399
57400 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
57401 file.
57402 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
57403 file.
57404 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
57405 file: memrchr multiarch for PPC32.
57406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
57407 multiarch objects.
57408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57409 (__libc_ifunc_impl_list): Likewise.
57410
57411 * string/memchr.c (__memchr): Using macro to redefine symbol name.
57412 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
57413 file.
57414 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
57415 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
57416 multiarch memchr for PPC32.
57417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
57418 multiarch objects.
57419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57420 (__libc_ifunc_impl_list): Likewise.
57421
57422 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
57423 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
57424 file.
57425 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
57426 file.
57427 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
57428 file: multiarch mempcpy for PPC32.
57429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
57430 multiarch objects.
57431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57432 (__libc_ifunc_impl_list): Likewise.
57433
57434 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
57435 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
57436 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
57437 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
57438 multiarch bzero for PPC32.
57439 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
57440 file.
57441 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
57442 file.
57443 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
57444 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
57445 file: multiarch memset for PPC32.
57446 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
57447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
57448 memset multiarch objects.
57449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57450 (__libc_ifunc_impl_list): Likewise.
57451
57452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
57453 file.
57454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
57455 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
57456 memcmp for PPC32.
57457 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
57458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
57459 multiarch objects.
57460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57461 (__libc_ifunc_impl_list): Likewise.
57462
57463 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
57464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
57465 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
57466 file.
57467 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
57468 file.
57469 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
57470 file.
57471 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
57472 multiarch memcpy for PPC32.
57473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
57474 multiarch objects.
57475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57476 (__libc_ifunc_impl_list): Likewise.
57477
57478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
57479 support multiarch for POWER/PPC32.
57480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
57481 Likewise.
57482 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
57483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
57484 Implies file to make multiarch folder appers before the fpu and
57485 default folder for power4 configuration.
57486
57487 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57488
57489 * scripts/bench.pl: Append volatile keyword to type.
57490
57491 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57492
57493 * sysdeps/sh/sotruss-lib.c: New file.
57494 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
57495
57496 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57497
57498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57499
57500 2013-12-05 Joseph Myers <joseph@codesourcery.com>
57501
57502 [BZ #6810]
57503 * math/w_tgamma.c: Include <errno.h>.
57504 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
57505 * math/w_tgammaf.c: Include <errno.h>.
57506 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
57507 * math/w_tgammal.c: Include <errno.h>.
57508 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
57509 * math/auto-libm-test-in: Do not allow missing errno on tgamma
57510 underflow. Add more tgamma tests.
57511 * math/auto-libm-test-out: Regenerated.
57512 * sysdeps/i386/fpu/libm-test-ulps: Update.
57513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57514
57515 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
57516 sin, sinh, tan, tanh, tgamma, y0 and y1.
57517 * math/auto-libm-test-out: Regenerated.
57518 * math/libm-test.inc (TEST_COND_x86_64): New macro.
57519 (TEST_COND_x86): Likewise.
57520 (M_E2l): Remove macro.
57521 (M_E3l): Likewise.
57522 (M_2_SQRT_PIl): Likewise.
57523 (M_SQRT_PIl): Likewise.
57524 (M_1_DIV_El): Likewise.
57525 (log_test_data): Use AUTO_TESTS_f_f.
57526 (log10_test_data): Likewise.
57527 (log1p_test_data): Likewise.
57528 (log2_test_data): Likewise.
57529 (sin_test_data): Likewise.
57530 (sin_tonearest_test_data): Likewise.
57531 (sin_towardzero_test_data): Likewise.
57532 (sin_downward_test_data): Likewise.
57533 (sin_upward_test_data): Likewise.
57534 (sinh_test_data): Likewise.
57535 (sinh_tonearest_test_data): Likewise.
57536 (sinh_towardzero_test_data): Likewise.
57537 (sinh_downward_test_data): Likewise.
57538 (sinh_upward_test_data): Likewise.
57539 (tan_test_data): Likewise.
57540 (tan_tonearest_test_data): Likewise.
57541 (tan_towardzero_test_data): Likewise.
57542 (tan_downward_test_data): Likewise.
57543 (tan_upward_test_data): Likewise.
57544 (tanh_test_data): Likewise.
57545 (tgamma_test_data): Likewise.
57546 (y0_test_data): Likewise.
57547 (y1_test_data): Likewise.
57548 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57549 (special_real_inputs): Add pi/4.
57550 * sysdeps/i386/fpu/libm-test-ulps: Update.
57551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57552
57553 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57554
57555 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57556 "longjmp_target" static probes.
57557 (__longjmp): Rename to __longjmp_symbol.
57558 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57559 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57560 on which longjmp to generate.
57561 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57562 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57563 probe.
57564 (__sigsetjmp): Rename to __sigsetjmp_symbol.
57565 (__sigjmp_save): Rename to __sigjmp_save_symbol.
57566 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57567 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57568 and __sigjmp_save_symbol based on which sigsetjmp to generated.
57569 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57571 __longjmp_symbol based on which __longjmp to generate.
57572 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57573 probe.
57574 (setjmp): Rename to setjmp_symbol.
57575 (__sigsetjmp): Rename to __sigsetjmp_symbol.
57576 (_setjmp): Rename to _setjmp_symbol.
57577 (__sigsetjmp): Rename to __sigsetjmp_symbol.
57578 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57579 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57580 which setjmp to generate.
57581 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57582 "longjmp_target" static probes.
57583
57584 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57585
57586 * benchtests/README: Add note about output arguments.
57587 * benchtests/bench-sincos.c: Remove file.
57588 * benchtests/sincos-inputs: New file.
57589 * scripts/bench.pl: Identify output arguments and define
57590 static variables for them.
57591
57592 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57593
57594 [BZ #15941]
57595 * Makefile (INSTALL): Add install-plain.texi as the primary
57596 dependency.
57597 * manual/install-plain.texi: New file.
57598 * manual/install.texi: Include node directive only for
57599 non-plaintext output.
57600
57601 2013-12-04 Joseph Myers <joseph@codesourcery.com>
57602
57603 * stdlib/longlong.h: Update from GCC.
57604
57605 [BZ #6807]
57606 [BZ #15901]
57607 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57608 * math/w_j0f.c (y0f): Likewise.
57609 * math/w_j0l.c (__y0l): Likewise.
57610 * math/w_j1.c (y1): Likewise.
57611 * math/w_j1f.c (y1f): Likewise.
57612 * math/w_j1l.c (__y1l): Likewise.
57613 * math/w_jn.c (yn): Likewise.
57614 * math/w_jnf.c (ynf): Likewise.
57615 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57616 Bessel function pole errors in _POSIX_ mode. Use NAN as return
57617 value for Bessel function domain errors outside _SVID_ mode.
57618 Adjust sign of return value for yn (negative integer, 0).
57619 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57620 by zero in return for negative x and set sign appropriately for
57621 negative n.
57622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57624 * math/libm-test.inc (y0_test_data): Add more tests and adjust
57625 expectations in error cases.
57626 (y1_test_data): Likewise.
57627 (yn_test_data): Likewise.
57628 * sysdeps/i386/fpu/libm-test-ulps: Update.
57629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57630
57631 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
57632
57633 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57634 "64" to "64-v1". Add "64-v2".
57635 (abi-64-options): Rename to ...
57636 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
57637 (abi-64-condition): Rename to ...
57638 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
57639 (abi-64-ld-soname): Rename to ...
57640 (abi-64-v1-ld-soname): ... this.
57641 (abi-64-v2-options): Define.
57642 (abi-64-v2-condition): Likewise.
57643 (abi-64-v2-ld-soname): Likewise.
57644 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57645 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57649
57650 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
57651 Alan Modra <amodra@gmail.com>
57652
57653 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57654 New versions for use with the ELFv2 ABI.
57655 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57656 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57657 declaration.
57658 (struct La_ppc64v2_retval): Likewise.
57659 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57660 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57661 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57662 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57663 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57665 Do not save or restore CR.
57666 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57667 (_dl_profile_resolve): Do no save or restore CR. Support extended
57668 return values for ELFv2 ABI. Fix location of FPR return registers.
57669 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57670 updated values for _CALL_ELF == 2.
57671 (La_regs, La_retval, int_retval): Likewise.
57672
57673 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
57674
57675 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57676 (FRAME_MIN_SIZE_PARM): Likewise.
57677 (FRAME_BACKCHAIN): Likewise.
57678 (FRAME_CR_SAVE): Likewise.
57679 (FRAME_LR_SAVE): Likewise.
57680 (FRAME_TOC_SAVE): Likewise.
57681 (FRAME_PARM_SAVE): Likewise.
57682 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57683 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57684 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57685 (call_mcount_parm_offset): New macro.
57686 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57687 (PROF): Use symbolic stack frame offsets.
57688 (TAIL_CALL_SYSCALL_ERROR): Likewise.
57689 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57690 Redefine in terms of FRAME_MIN_SIZE.
57691 (_dl_runtime_resolve): Use symbolic stack frame offsets.
57692 (_dl_profile_resolve): Likewise. Update comment.
57693 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57694 symbols stack frame offsets.
57695 (__sigsetjmp): Likewise.
57696 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57697 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57698 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57699 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57700
57701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57702 (FRAME_BACKCHAIN): Remove.
57703 (FRAME_CR_SAVE): Likewise.
57704 (FRAME_LR_SAVE): Likewise.
57705 (FRAME_COMPILER_DW): Likewise.
57706 (FRAME_LINKER_DW): Likewise.
57707 (FRAME_TOC_SAVE): Likewise.
57708 (FRAME_PARM_SAVE): Likewise.
57709 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57710 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57711 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57713 (CHECK_SP): Use symbolic stack frame offsets.
57714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57715 zone" instead of caller's parameter save area for temp storage.
57716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57717 Likewise. Also, use symbolic stack frame offsets.
57718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57719 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57720 our own stack frame instead of the caller's.
57721 (__socket): Use symbolic stack frame offsets.
57722
57723 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
57724 Alan Modra <amodra@gmail.com>
57725
57726 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57727 Define.
57728 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57729 (PPC64_LOCAL_ENTRY_OFFSET): Define.
57730 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57731 New function.
57732 (elf_machine_fixup_plt): Call it.
57733 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
57734 reloc arguments.
57735 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57736 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57737 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57738 r2 before calling target.
57739
57740 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
57741 Alan Modra <amodra@gmail.com>
57742
57743 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57744 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57745 versions of macros to support ELFv2 ABI.
57746 (LOCALENTRY): New macro.
57747 (ENTRY, EALIGN): Use it.
57748 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57749 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57750 fall through into ENTRY entry point.
57751 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57752 Only define if _CALL_ELF != 2.
57753
57754 (elf_machine_matches_host): Verify ABI version matches.
57755 (RTLD_START): Use LOCALENTRY.
57756 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57757 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57758 (PLT_ENTRY_WORDS): New macro.
57759 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57760 (elf_machine_runtime_setup): Support ELFv2 ABI.
57761 (elf_machine_fixup_plt): Likewise.
57762 (elf_machine_plt_conflict): Likewise.
57763 (resolve_ifunc): Likewise.
57764 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57765 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57766 Likewise.
57767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57768 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57770 (makecontext): Support ELFv2 ABI.
57771 * elf/elf.h (EF_PPC64_ABI): Define.
57772
57773 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
57774
57775 * sysdeps/powerpc/powerpc64/sysdep.h
57776 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57777 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57778 (ENTRY) [ASSEMBLER]: ... but instead here ...
57779 (EALIGN) [ASSEMBLER]: ... and here.
57780 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57781 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57782 (ENTRY_2) [!ASSEMBLER]: Use it.
57783 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57784 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57785 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57786 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57787 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57789 Use PPC64_LOAD_FUNCPTR.
57790
57791 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57792
57793 2013-12-04 Alan Modra <amodra@gmail.com>
57794
57795 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57796 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57797 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57798 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57799
57800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57801 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57802 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57803 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57804 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57805 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57806
57807 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
57808
57809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57810 (__makecontext): Fix incorrect CFI when backtracing out of
57811 context created via makecontext.
57812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57813 (__setcontext): Fix incorrect CFI during switch to new context.
57814 (__novec_setcontext): Likewise.
57815
57816 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
57817
57818 [BZ #4772]
57819 * time/strptime_l.c (__strptime_internal): Allow modifiers
57820 in strptime.
57821 * time/tst-strptime.c (day_tests): Add testcase.
57822
57823 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
57824
57825 * scripts/bench.pl: Skip over blank lines.
57826
57827 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
57828
57829 [BZ #926]
57830 * manual/time.texi (Calendar Time): Clarify what timezone functions
57831 use.
57832
57833 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57834
57835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57836
57837 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
57838
57839 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57840 implementation.
57841 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57842 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57843 * debug/memset_chk.c (__memset_chk): Likewise.
57844 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57845 * debug/strncpy_chk.c: Likewise.
57846
57847 2013-12-03 Joseph Myers <joseph@codesourcery.com>
57848
57849 [BZ #15268]
57850 [BZ #15425]
57851 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57852 (__ieee754_exp): For possibly underflowing results, check size of
57853 result and force underflow exception if required.
57854 * math/auto-libm-test-in: Add more tests of exp.
57855 * math/auto-libm-test-out: Regenerated.
57856 * sysdeps/i386/fpu/libm-test-ulps: Update.
57857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57858
57859 [BZ #16283]
57860 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57861 * math/w_exp2f.c (__exp2f): Likewise.
57862 * math/w_exp2l.c (__exp2l): Likewise.
57863 * math/auto-libm-test-in: Do not allow missing errno on exp2
57864 underflow.
57865 * math/auto-libm-test-out: Regenerated.
57866
57867 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
57868
57869 [BZ #16274]
57870 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57871 handle filename validation.
57872 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57873 (do_open): Delete.
57874
57875 2013-12-03 Joseph Myers <joseph@codesourcery.com>
57876
57877 [BZ #6786]
57878 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57879 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57880 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57881 <float.h>.
57882 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57883 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57884 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57886 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57888 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57889 * math/auto-libm-test-in: Don't allow missing errno from erfc.
57890 Add more erfc tests.
57891 * math/auto-libm-test-out: Regenerated.
57892 * sysdeps/i386/fpu/libm-test-ulps: Update.
57893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57894
57895 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57896 exp2, expm1, j0 and j1.
57897 * math/auto-libm-test-out: Regenerated.
57898 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57899 (erfc_test_data): Likewise.
57900 (exp_test_data): Likewise.
57901 (exp_tonearest_test_data): Likewise.
57902 (exp_towardzero_test_data): Likewise.
57903 (exp_downward_test_data): Likewise.
57904 (exp_upward_test_data): Likewise.
57905 (exp10_test_data): Likewise.
57906 (exp2_test_data): Likewise.
57907 (expm1_test_data): Likewise.
57908 (j0_test_data): Likewise.
57909 (j1_test_data): Likewise.
57910 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57911 (input_flag_type): Add flag_xfail_rounding.
57912 (input_flags): Add xfail-rounding.
57913 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57914 (output_for_one_input_case): Handle flag_xfail_rounding.
57915 * sysdeps/i386/fpu/libm-test-ulps: Update.
57916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57917
57918 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
57919
57920 [BZ #16289]
57921 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57922 division by 0.
57923
57924 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
57925
57926 [BZ #16195]
57927 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57928 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57929 (STAP_PROBE0): New macro.
57930 (STAP_PROBE1): Likewise.
57931 (STAP_PROBE2): Likewise.
57932 (STAP_PROBE3): Likewise.
57933 (STAP_PROBE4): Likewise.
57934
57935 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
57936
57937 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57938
57939 2013-12-02 Steve Ellcey <sellcey@mips.com>
57940
57941 * benchtests/Makefile (bench): Add sqrt.
57942 (LDLIBS-bench-sqrt): New.
57943 * benchtests/sqrt-input: New.
57944
57945 2013-12-02 Pavel Simerda <psimerda@redhat.com>
57946
57947 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57948 (GAIH_EAI): Likewise.
57949 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57950 (gaih_inet): Likewise.
57951 (getaddrinfo): Don't use GAIH_EAI.
57952
57953 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57954 (struct gaih): Remove definition.
57955
57956 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57957
57958 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57959 Use HERRNOP directly.
57960
57961 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57962
57963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57964
57965 2013-11-30 Joseph Myers <joseph@codesourcery.com>
57966
57967 * math/gen-auto-libm-tests.c (test_functions): Add more
57968 single-argument functions.
57969 (special_fill_pi_2): New function.
57970 (special_fill_minus_pi_2): Likewise.
57971 (special_fill_pi_6): Likewise.
57972 (special_fill_minus_pi_6): Likewise.
57973 (special_fill_pi_3): Likewise.
57974 (special_fill_2pi_3): Likewise.
57975 (special_fill_e): Likewise.
57976 (special_fill_1_e): Likewise.
57977 (special_fill_e_minus_1): Likewise.
57978 (special_real_inputs): Add more special inputs.
57979 (output_for_one_input_case): Do not require ERANGE on underflow to
57980 zero if round-to-nearest result does not underflow to zero, unless
57981 exact results required.
57982 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57983 atan, atanh, cbrt, cos and cosh.
57984 * math/auto-libm-test-out: Regenerated.
57985 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57986 (acos_tonearest_test_data): Likewise.
57987 (acos_towardzero_test_data): Likewise.
57988 (acos_downward_test_data): Likewise.
57989 (acos_upward_test_data): Likewise.
57990 (acosh_test_data): Likewise.
57991 (asin_test_data): Likewise.
57992 (asin_tonearest_test_data): Likewise.
57993 (asin_towardzero_test_data): Likewise.
57994 (asin_upward_test_data): Likewise.
57995 (asinh_test_data): Likewise.
57996 (atan_test_data): Likewise.
57997 (atanh_test_data): Likewise.
57998 (cbrt_test_data): Likewise.
57999 (cos_test_data): Likewise.
58000 (cos_tonearest_test_data): Likewise.
58001 (cos_towardzero_test_data): Likewise.
58002 (cos_downward_test_data): Likewise.
58003 (cos_upward_test_data): Likewise.
58004 (cosh_test_data): Likewise.
58005 (cosh_tonearest_test_data): Likewise.
58006 (cosh_towardzero_test_data): Likewise.
58007 (cosh_downward_test_data): Likewise.
58008 (cosh_upward_test_data): Likewise.
58009 * sysdeps/i386/fpu/libm-test-ulps: Update.
58010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58011
58012 2013-11-29 Joseph Myers <joseph@codesourcery.com>
58013
58014 [BZ #6787]
58015 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
58016 * math/w_exp10f.c (__exp10f): Likewise.
58017 * math/w_exp10l.c (__exp10l): Likewise.
58018 * math/libm-test.inc (exp10_test_data): Add more tests and expect
58019 errno settings in existing tests.
58020
58021 [BZ #14032]
58022 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
58023 precision control set to double precision.
58024 * sysdeps/i386/fpu/w_sqrt.c: New file.
58025 * math/auto-libm-test-in: Add more tests.
58026 * math/auto-libm-test-out: Update.
58027
58028 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
58029 (sqrt_test_tonearest): New function.
58030 (sqrt_towardzero_test_data): New variable.
58031 (sqrt_test_towardzero): New function.
58032 (sqrt_downward_test_data): New variable.
58033 (sqrt_test_downward): New function.
58034 (sqrt_upward_test_data): New variable.
58035 (sqrt_test_upward): New function.
58036 (main): Call the new functions.
58037
58038 * math/gen-auto-libm-tests.c: New file.
58039 * math/auto-libm-test-in: Likewise.
58040 * math/auto-libm-test-out: New generated file.
58041 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
58042 variables.
58043 (%beautify): Add generated representations of zero.
58044 (top level): Set $auto_input and call parse_auto_input.
58045 (beautify): Remove trailing "f" from hex float constants.
58046 (parse_args): Handle XFAIL_TEST.
58047 (convert_condition): New function.
58048 (or_value): Likewise.
58049 (or_cond_value): Likewise.
58050 (generate_testfile): Handle AUTO_TESTS_* lines.
58051 (parse_auto_input): New function.
58052 * math/libm-test.inc (XFAIL_TEST): New macro.
58053 (ERRNO_UNCHANGED): Update value.
58054 (ERRNO_EDOM): Likewise.
58055 (ERRNO_ERANGE): Likewise.
58056 (IGNORE_RESULT): Likewise.
58057 (TEST_COND_flt_32): New macro.
58058 (TEST_COND_dbl_64): Likewise.
58059 (TEST_COND_ldbl_96_intel): Likewise.
58060 (TEST_COND_ldbl_96_m68k): Likewise.
58061 (TEST_COND_ldbl_128): Likewise.
58062 (TEST_COND_ldbl_128ibm): Likewise.
58063 (TEST_COND_long32): Likewise.
58064 (TEST_COND_long64): Likewise.
58065 (TEST_COND_before_rounding): Likewise.
58066 (TEST_COND_after_rounding): Likewise.
58067 (enable_test): Handle XFAIL_TEST flag.
58068 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
58069 with finite results.
58070 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
58071 auto-libm-test-out.
58072
58073 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58074 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58075
58076 [BZ #16214]
58077 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
58078 __tls_get_addr_internal instead of __tls_get_offset in order to
58079 avoid GOT pointer dependency. Make rtld export
58080 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
58081 __tls_get_addr since we are a __tls_get_offset platform.
58082 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
58083 GOT pointer being set up before.
58084 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
58085
58086 2013-11-28 Joseph Myers <joseph@codesourcery.com>
58087
58088 * manual/math.texi (Errors in Math Functions): Document accuracy
58089 goals.
58090
58091 [BZ #15004]
58092 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
58093 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
58094 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58095 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58096 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58097 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58098 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58099 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58100 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58101 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58102 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58103 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58104 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58105 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58106 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58107 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58108
58109 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
58110 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
58111 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
58112 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
58113 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
58114 Likewise.
58115 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
58116 Likewise.
58117 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
58118 Likewise.
58119 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
58120 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
58121 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
58122 atomic-feupdateenv and flt-rounds.
58123 * sysdeps/powerpc/nofpu/Versions (libc): Add
58124 __atomic_feholdexcept, __atomic_feclearexcept,
58125 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
58126 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
58127 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
58128 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
58129 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
58130 here.
58131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
58132 Update.
58133
58134 * manual/arith.texi (FP Exceptions): Document that exceptions may
58135 not be raised when matherr is used.
58136 (Math Error Reporting): Document overflow in directed rounding
58137 modes. Document that errno may not be set when finite values are
58138 returned on overflow. Document intent to set errno on underflow
58139 only for underflow to zero.
58140
58141 [BZ #16271]
58142 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
58143 round-to-nearest then adjust result for other rounding modes.
58144 * include/fenv.h (fegetround): Use libm_hidden_proto.
58145 * math/fegetround.c (fegetround): Use libm_hidden_def.
58146 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
58147 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
58148 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58149 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
58150 Likewise.
58151 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
58152 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58153 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
58154 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
58155
58156 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58157
58158 [BZ #16077]
58159 * nss/Versions (libnss_files): Add
58160 _nss_files_gethostbyname3_r.
58161 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
58162 New function.
58163 (HOST_DB_LOOKUP): Remove macro.
58164 (_nss_files_gethostbyname_r): Implement function without the
58165 HOST_DB_LOOKUP macro.
58166 (_nss_files_gethostbyname2_r): Likewise.
58167
58168 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
58169
58170 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
58171
58172 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
58173
58174 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
58175 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
58176 warning.
58177
58178 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58179
58180 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
58181 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
58182 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
58183 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58184 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
58185 __fe_nomask_env_priv and attribute_hidden.
58186 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
58187 (libc_feupdateenv_test_ppc): Likewise.
58188 (libc_feresetround_ppc): Likewise.
58189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58190 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
58191 compat_symbol macro.
58192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58193 (__fe_nomask_env): Likewise.
58194 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58195
58196 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
58197
58198 * string/Makefile: Remove ifunc tests.
58199 * string/test-string.h: Define TEST_IFUNC.
58200 * string/test-bcopy-ifunc.c: Remove.
58201 * string/test-bzero-ifunc.c: Likewise.
58202 * string/test-memccpy-ifunc.c: Likewise.
58203 * string/test-memchr-ifunc.c: Likewise.
58204 * string/test-memcmp-ifunc.c: Likewise.
58205 * string/test-memcpy-ifunc.c: Likewise.
58206 * string/test-memmem-ifunc.c: Likewise.
58207 * string/test-memmove-ifunc.c: Likewise.
58208 * string/test-mempcpy-ifunc.c: Likewise.
58209 * string/test-memrchr-ifunc.c: Likewise.
58210 * string/test-memset-ifunc.c: Likewise.
58211 * string/test-rawmemchr-ifunc.c: Likewise.
58212 * string/test-stpcpy-ifunc.c: Likewise.
58213 * string/test-stpncpy-ifunc.c: Likewise.
58214 * string/test-strcasecmp-ifunc.c: Likewise.
58215 * string/test-strcasestr-ifunc.c: Likewise.
58216 * string/test-strcat-ifunc.c: Likewise.
58217 * string/test-strchr-ifunc.c: Likewise.
58218 * string/test-strchrnul-ifunc.c: Likewise.
58219 * string/test-strcmp-ifunc.c: Likewise.
58220 * string/test-strcpy-ifunc.c: Likewise.
58221 * string/test-strcspn-ifunc.c: Likewise.
58222 * string/test-strlen-ifunc.c: Likewise.
58223 * string/test-strncasecmp-ifunc.c: Likewise.
58224 * string/test-strncat-ifunc.c: Likewise.
58225 * string/test-strncmp-ifunc.c: Likewise.
58226 * string/test-strncpy-ifunc.c: Likewise.
58227 * string/test-strnlen-ifunc.c: Likewise.
58228 * string/test-strpbrk-ifunc.c: Likewise.
58229 * string/test-strrchr-ifunc.c: Likewise.
58230 * string/test-strspn-ifunc.c: Likewise.
58231 * string/test-strstr-ifunc.c: Likewise.
58232
58233 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
58234
58235 * benchtests/Makefile: Remove ifunc tests.
58236 * benchtests/bench-string.h: Define TEST_IFUNC.
58237 * benchtests/bench-bcopy-ifunc.c: Remove.
58238 * benchtests/bench-bzero-ifunc.c: Likewise.
58239 * benchtests/bench-memccpy-ifunc.c: Likewise.
58240 * benchtests/bench-memchr-ifunc.c: Likewise.
58241 * benchtests/bench-memcmp-ifunc.c: Likewise.
58242 * benchtests/bench-memcpy-ifunc.c: Likewise.
58243 * benchtests/bench-memmem-ifunc.c: Likewise.
58244 * benchtests/bench-memmove-ifunc.c: Likewise.
58245 * benchtests/bench-mempcpy-ifunc.c: Likewise.
58246 * benchtests/bench-memrchr-ifunc.c: Likewise.
58247 * benchtests/bench-memset-ifunc.c: Likewise.
58248 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58249 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58250 * benchtests/bench-stpcpy-ifunc.c: Likewise.
58251 * benchtests/bench-stpncpy-ifunc.c: Likewise.
58252 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58253 * benchtests/bench-strcasestr-ifunc.c: Likewise.
58254 * benchtests/bench-strcat-ifunc.c: Likewise.
58255 * benchtests/bench-strchr-ifunc.c: Likewise.
58256 * benchtests/bench-strchrnul-ifunc.c: Likewise.
58257 * benchtests/bench-strcmp-ifunc.c: Likewise.
58258 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58259 * benchtests/bench-strcpy-ifunc.c: Likewise.
58260 * benchtests/bench-strcspn-ifunc.c: Likewise.
58261 * benchtests/bench-strlen-ifunc.c: Likewise.
58262 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58263 * benchtests/bench-strncat-ifunc.c: Likewise.
58264 * benchtests/bench-strncmp-ifunc.c: Likewise.
58265 * benchtests/bench-strncpy-ifunc.c: Likewise.
58266 * benchtests/bench-strnlen-ifunc.c: Likewise.
58267 * benchtests/bench-strpbrk-ifunc.c: Likewise.
58268 * benchtests/bench-strrchr-ifunc.c: Likewise.
58269 * benchtests/bench-strsep-ifunc.c: Likewise.
58270 * benchtests/bench-strspn-ifunc.c: Likewise.
58271 * benchtests/bench-strstr-ifunc.c: Likewise.
58272
58273 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
58274
58275 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58276
58277 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
58278
58279 * resolv/netdb.h: Use __glibc_reserved instead __unused.
58280 * rt/aio.h: Likewise.
58281 * sysdeps/gnu/bits/utmp.h: Likewise.
58282 * sysdeps/gnu/bits/utmpx.h: Likewise.
58283 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58284 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58285 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58286 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58287 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58288 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58289 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58290 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58291 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58292 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58293 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58294 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58295 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58297 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58298 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58299 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58300 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58301 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58302 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58303 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58304 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58305 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58306 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58307 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58309 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58310 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58311 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58312 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58313 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58314 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58315 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58316 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58317 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58318 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58319 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58320 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58321 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58322 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58323 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58324 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58325
58326 2013-11-25 Carlos O'Donell <carlos@redhat.com>
58327
58328 [BZ #16245]
58329 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58330 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58331
58332 2013-11-25 Joseph Myers <joseph@codesourcery.com>
58333
58334 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58335 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58336 Likewise.
58337
58338 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58339
58340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58341 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58342 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58343 (__fesetround): Remove define.
58344 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58345 rounding and exceptions handling.
58346 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58347 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58348 (__fe_nomask_env): Likewise.
58349 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58350 __fegetround instead of fegetround.
58351 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58353
58354 2013-11-21 Roland McGrath <roland@hack.frob.com>
58355
58356 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58357 it's there.
58358
58359 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58360
58361 2013-11-21 Meador Inge <meadori@codesourcery.com>
58362
58363 [BZ #11157]
58364 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58365 (encrypt_r): Likewise.
58366 * malloc/obstack.h (obstack_free): Likewise.
58367 * posix/unistd.h (encrypt): Likewise.
58368
58369 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
58370
58371 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58372 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58373 DL_CALL_DT_FINI() that call the functions directly.
58374 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58375 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58376 * elf/dl-fini.c: Likewise.
58377
58378 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
58379
58380 * malloc/hooks.c (memalign_check): Add alignment rounding.
58381 * malloc/malloc.c (_mid_memalign): New function.
58382 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58383 Implement by calling _mid_memalign.
58384 * manual/probes.texi (Memory Allocation Probes): Remove
58385 memory_valloc_retry and memory_pvalloc_retry.
58386
58387 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58388
58389 * locale/programs/locarchive.c (open_archive): Add const
58390 qualifier to ARCHIVEFNAME and copy default fname to
58391 DEFAULT_FNAME.
58392
58393 [BZ #15601]
58394 * libio/tst-widetext.input: Rename Oriya to Odia.
58395 * locale/iso-639.def: Likewise.
58396
58397 * manual/probes.texi (Mathematical Function Probes): Add
58398 documentation for sin, cos, asin and acos probes.
58399 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
58400 (__sin32): Add slowasin probe.
58401 (__cos32): Add slowacos probe.
58402 (__mpsin): Add slowsin probe.
58403 (__mpcos): Add slowcos probe.
58404
58405 2013-11-19 Joseph Myers <joseph@codesourcery.com>
58406
58407 [BZ #15483]
58408 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
58409 thread-local __sim_exceptions_thread and global
58410 __sim_exceptions_global.
58411 (__sim_disabled_exceptions): Change to thread-local
58412 __sim_disabled_exceptions_thread and global
58413 __sim_disabled_exceptions_global.
58414 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58415 and global __sim_round_mode_global.
58416 (__simulate_exceptions): Use thread-local floating-point state and
58417 set global state from it as needed.
58418 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
58419 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
58420 __sim_round_mode_thread.
58421 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
58422 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
58423 and global __sim_exceptions_global.
58424 (__sim_disabled_exceptions): Change to thread-local
58425 __sim_disabled_exceptions_thread and global
58426 __sim_disabled_exceptions_global.
58427 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58428 and global __sim_round_mode_global.
58429 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
58430 (SIM_SET_GLOBAL): Likewise.
58431 * sysdeps/powerpc/soft-fp/sfp-machine.h
58432 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
58433 __sim_round_mode_thread.
58434 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
58435 __sim_disabled_exceptions_thread.
58436 (__sim_exceptions): Change to __sim_exceptions_thread.
58437 (__sim_disabled_exceptions): Change to
58438 __sim_disabled_exceptions_thread.
58439 (__sim_round_mode): Change to __sim_round_mode_thread.
58440 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
58441 thread-local floating-point state and set global state from it as
58442 needed.
58443 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
58444 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
58445 (__sim_disabled_exceptions): Remove extern declaration.
58446 (feenableexcept): Use thread-local floating-point state and set
58447 global state from it as needed.
58448 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
58449 extern declaration.
58450 (__sim_disabled_exceptions): Likewise.
58451 (__sim_round_mode): Likewise.
58452 (__fegetenv): Use thread-local floating-point state.
58453 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
58454 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58455 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
58456 floating-point state and set global state from it as needed.
58457 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
58458 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
58459 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
58460 Likewise.
58461 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
58462 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
58463 Likewise.
58464 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
58465 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
58466 Use __sim_round_mode_thread.
58467 * math/test-fenv-tls.c: New file.
58468 * math/Makefile (tests): Add test-fenv-tls.
58469 ($(objpfx)test-fenv-tls): Depend on
58470 $(common-objpfx)nptl/libpthread.so.
58471
58472 2013-11-19 Andreas Schwab <schwab@suse.de>
58473
58474 * locale/programs/locale.c (show_info): Decode wordarray elements.
58475 * locale/categories.def (LC_MONETARY): Add element for
58476 _NL_MONETARY_CRNCYSTR.
58477 * locale/C-monetary.c (conversion_rate): New variable.
58478 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
58479 element.
58480
58481 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
58482
58483 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
58484 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
58485
58486 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58487
58488 * elf/Makefile (tst-auxv): New test.
58489 * elf/tst-auxv.c: New
58490 * elf/rtld.c (dl_main): Adjust AT_EXECFN
58491
58492 2013-11-18 Joseph Myers <joseph@codesourcery.com>
58493
58494 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
58495 (hidden_proto): Caller changed.
58496 (hidden_tls_proto): New macro.
58497 (libc_hidden_tls_proto): Likewise.
58498 (rtld_hidden_tls_proto): Likewise.
58499 (libm_hidden_tls_proto): Likewise.
58500 (libresolv_hidden_tls_proto): Likewise.
58501 (librt_hidden_tls_proto): Likewise.
58502 (libdl_hidden_tls_proto): Likewise.
58503 (libnss_files_hidden_tls_proto): Likewise.
58504 (libnsl_hidden_tls_proto): Likewise.
58505 (libnss_nisplus_hidden_tls_proto): Likewise.
58506 (libutil_hidden_tls_proto): Likewise.
58507
58508 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
58509
58510 [BZ #10253]
58511 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
58512 (decompose_rpath): Defer expansion to fillin_rpath.
58513 (_dl_init_paths): Pass linkmap to fillin_rpath.
58514
58515 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58516
58517 * benchtests/Makefile: Add strsep.
58518 * benchtests/bench-strsep.c: New file: strsep benchtest.
58519 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
58520
58521 2013-11-18 Andreas Schwab <schwab@suse.de>
58522
58523 * locale/programs/locale.c (show_info) [case byte]: Check for
58524 '\377' instead of '\177'.
58525 * locale/C-monetary.c (not_available): Always use "\377".
58526 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
58527 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
58528 detect unavailable sign_posn locale elements.
58529 * locale/localeconv.c (__localeconv): For grouping and
58530 mon_grouping handle "\177" and "\377" like no grouping.
58531 (INT_ELEM): New macro. Use it to set all numeric members.
58532 * locale/programs/ld-monetary.c (monetary_read)
58533 <tok_mon_grouping>: Normalize single -1 to the empty string.
58534 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
58535 Likewise.
58536
58537 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
58538
58539 [BZ #16055]
58540 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58541 when we match (nil).
58542 * stdio-common/tst-sscanf.c (struct test): Add testcase.
58543
58544 2013-11-16 Joseph Myers <joseph@codesourcery.com>
58545
58546 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58547 (NO_TEST_INLINE): Update value.
58548 (ERRNO_UNCHANGED): Likewise.
58549 (ERRNO_EDOM): Likewise.
58550 (ERRNO_ERANGE): Likewise.
58551 (IGNORE_RESULT): Likewise.
58552 (check_float_internal): Check signs of NaN results if
58553 TEST_NAN_SIGN used.
58554 (check_complex): Pass TEST_NAN_SIGN flag through to second
58555 check_float_internal call.
58556 (copysign_test_data): Add tests with quiet NaNs as second
58557 argument. Use TEST_NAN_SIGN.
58558 (fabs_test_data): Add test of negative quiet NaN argument. Use
58559 TEST_NAN_SIGN.
58560 (signbit_test_data): Add tests of quiet NaN argument.
58561 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58562
58563 * math/gen-libm-test.pl (show_exceptions): Take extra argument
58564 $ignore_result.
58565 (parse_args): Handle function results specified as IGNORE.
58566 * math/libm-test.inc (IGNORE_RESULT): New macro.
58567 (check_float_internal): Do not check numerical result if flag
58568 IGNORE_RESULT set.
58569 (check_complex): Pass through IGNORE_RESULT to second
58570 check_float_internal call.
58571 (check_int): Do not check numerical result if flag IGNORE_RESULT
58572 set.
58573 (check_long): Likewise.
58574 (check_bool): Likewise.
58575 (check_longlong): Likewise.
58576 (lrint_test_data): Add tests of infinite and NaN arguments.
58577 (lrint_tonearest_test_data): Likewise.
58578 (lrint_towardzero_test_data): Likewise.
58579 (lrint_downward_test_data): Likewise.
58580 (lrint_upward_test_data): Likewise.
58581 (llrint_test_data): Likewise.
58582 (llrint_tonearest_test_data): Likewise.
58583 (llrint_towardzero_test_data): Likewise.
58584 (llrint_downward_test_data): Likewise.
58585 (llrint_upward_test_data): Likewise.
58586 (lround_test_data): Likewise.
58587 (llround_test_data): Likewise.
58588
58589 * math/libm-test.inc (NO_TEST_INLINE): New macro.
58590 (ERRNO_UNCHANGED): Update value.
58591 (ERRNO_EDOM): Likewise.
58592 (ERRNO_ERANGE): Likewise.
58593 (NO_TEST_INLINE_FLOAT): New macro.
58594 (NO_TEST_INLINE_DOUBLE): Likewise.
58595 (enable_test): New function.
58596 (RUN_TEST_f_f): Check enable_test before running test.
58597 (RUN_TEST_2_f): Likewise.
58598 (RUN_TEST_fff_f): Likewise.
58599 (RUN_TEST_c_f): Likewise.
58600 (RUN_TEST_f_f1): Likewise.
58601 (RUN_TEST_fF_f1): Likewise.
58602 (RUN_TEST_fI_f1): Likewise.
58603 (RUN_TEST_ffI_f1): Likewise.
58604 (RUN_TEST_c_c): Likewise.
58605 (RUN_TEST_cc_c): Likewise.
58606 (RUN_TEST_f_i): Likewise.
58607 (RUN_TEST_f_i_tg): Likewise.
58608 (RUN_TEST_ff_i_tg): Likewise.
58609 (RUN_TEST_f_b): Likewise.
58610 (RUN_TEST_f_b_tg): Likewise.
58611 (RUN_TEST_f_l): Likewise.
58612 (RUN_TEST_f_L): Likewise.
58613 (RUN_TEST_fFF_11): Likewise.
58614 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58615 conditionals.
58616 (cosh_test_data): Likewise.
58617 (exp_test_data): Likewise.
58618 (expm1_test_data): Likewise.
58619 (hypot_test_data): Likewise.
58620 (pow_test_data): Likewise.
58621 (sinh_test_data): Likewise.
58622 (tanh_test_data): Likewise.
58623 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58624 flags argument.
58625
58626 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58627 tests with quiet NaN input and output.
58628 (acosh_test_data): Likewise.
58629 (asin_test_data): Likewise.
58630 (asinh_test_data): Likewise.
58631 (atan_test_data): Likewise.
58632 (atanh_test_data): Likewise.
58633 (atan2_test_data): Likewise.
58634 (cbrt_test_data): Likewise.
58635 (cos_test_data): Likewise.
58636 (cosh_test_data): Likewise.
58637 (erf_test_data): Likewise.
58638 (erfc_test_data): Likewise.
58639 (exp_test_data): Likewise.
58640 (exp10_test_data): Likewise.
58641 (exp2_test_data): Likewise.
58642 (expm1_test_data): Likewise.
58643 (hypot_test_data): Likewise.
58644 (j0_test_data): Likewise.
58645 (j1_test_data): Likewise.
58646 (jn_test_data): Likewise.
58647 (lgamma_test_data): Likewise.
58648 (log_test_data): Likewise.
58649 (log10_test_data): Likewise.
58650 (log1p_test_data): Likewise.
58651 (log2_test_data): Likewise.
58652 (pow_test_data): Likewise.
58653 (scalb_test_data): Likewise.
58654 (sin_test_data): Likewise.
58655 (sincos_test_data): Likewise.
58656 (sinh_test_data): Likewise.
58657 (tan_test_data): Likewise.
58658 (tanh_test_data): Likewise.
58659 (tgamma_test_data): Likewise.
58660 (y0_test_data): Likewise.
58661 (y1_test_data): Likewise.
58662 (yn_test_data): Likewise.
58663
58664 [BZ #16167]
58665 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58666 argument being NaN and avoid computations with second argument in
58667 that case.
58668 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58669 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58670 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58671
58672 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
58673
58674 * locale/iso-639.def: Add Chitwani Tharu (the).
58675
58676 2013-11-14 Andreas Schwab <schwab@suse.de>
58677
58678 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58679 word instead of empty string.
58680
58681 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58682
58683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58684 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58686 (__fe_nomask_env): Likewise.
58687
58688 2013-11-13 Steve Ellcey <sellcey@mips.com>
58689
58690 * benchtests/bench-timing.h: Include time.h.
58691
58692 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
58693
58694 [BZ #15997]
58695 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58696 to 3.4.0 for x32.
58697 * sysdeps/unix/sysv/linux/configure: Regenerated.
58698
58699 2013-11-13 Joseph Myers <joseph@codesourcery.com>
58700
58701 [BZ #16151]
58702 * stdlib/strtod_l.c (round_and_return): Do not consider
58703 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58704 exponent one less than half the least subnormal exponent.
58705 * stdlib/test-strtod-round-data: Add more tests.
58706 * stdlib/tst-strtod-round.c (tests): Regenerated.
58707
58708 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58709
58710 [BZ #14143]
58711 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58712 (__fe_mask_env): Likewise.
58713 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58714 libm_hidden_proto and add function prototype.
58715 (__fe_mask_env): Add function prototype.
58716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58717 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58719 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58721 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58722
58723 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58724
58725 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58726 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58727
58728 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58729
58730 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58731 of htab_find_slot().
58732
58733 2013-11-11 David S. Miller <davem@davemloft.net>
58734
58735 [BZ #16150]
58736 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58737 symbol in the non-vis3 case in static builds.
58738 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58739 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58740 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58741 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58742
58743 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
58744
58745 [BZ #387]
58746 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58747 it is empty.
58748
58749 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58750
58751 * benchtests/Makefile: Add bench-strtod.
58752 * benchtests/bench-strtod.c: New file: strtod benchtest
58753
58754 2013-11-11 Andreas Schwab <schwab@suse.de>
58755
58756 [BZ #16153]
58757 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58758 terminating NUL in key length.
58759
58760 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58761
58762 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58763 Add artificial ODP entry for vDSO symbol for PPC64.
58764 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58765 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58766
58767 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
58768
58769 [BZ #15374]
58770 * nss/getent.c (services_keys): Recognize services starting with digit.
58771
58772 2013-11-06 David S. Miller <davem@davemloft.net>
58773
58774 [BZ #15985]
58775 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58776 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58777
58778 2013-11-06 Will Newton <will.newton@linaro.org>
58779
58780 * manual/memory.texi (Malloc Examples): Remove register
58781 keyword from examples.
58782
58783 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
58784
58785 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58786
58787 2013-11-04 Joseph Myers <joseph@codesourcery.com>
58788
58789 [BZ #6981]
58790 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58791 depending on [__GCC_IEC_559 > 0].
58792 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58793 depending on [__GCC_IEC_559_COMPLEX > 0].
58794
58795 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
58796
58797 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58798 to iso-639.def.
58799
58800 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
58801
58802 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58803
58804 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
58805
58806 [BZ #16112]
58807 * malloc/malloc (malloc_info): Do not handle first bin as
58808 special case.
58809
58810 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
58811
58812 * locale/iso-639.def: Add Central Nahuatl (nhn).
58813
58814 2013-11-01 Bruno Haible <bruno@clisp.org>
58815
58816 [BZ #7003]
58817 * manual/math.texi (BSD Random): Specify range upper bound as
58818 in POSIX.
58819
58820 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
58821
58822 * locale/iso-639.def: Add Meadow Mari (mhr).
58823
58824 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
58825
58826 [BZ #14752], [BZ #15763]
58827 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58828 Validate name.
58829 * rt/tst_shm.c: Add test for escaping directory.
58830
58831 2013-10-31 Andreas Schwab <schwab@suse.de>
58832
58833 [BZ #15917]
58834 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58835 followed by 'x' as part of digit sequence.
58836 * stdio-common/tst-sscanf.c (double_tests2): New tests.
58837
58838 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58839
58840 [BZ #16037]
58841 * configure.ac: allow GNU Make 4.0 and greater.
58842 * configure: Regenerated.
58843
58844 2013-10-30 Will Newton <will.newton@linaro.org>
58845
58846 [BZ #16038]
58847 * malloc/hooks.c (memalign_check): Limit alignment to the
58848 maximum representable power of two.
58849 * malloc/malloc.c (__libc_memalign): Likewise.
58850 * malloc/tst-memalign.c (do_test): Add test for very
58851 large alignment values.
58852 * malloc/tst-posix_memalign.c (do_test): Likewise.
58853
58854 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
58855
58856 [BZ #11087]
58857 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58858 (munmap_chunk): Likewise.
58859 (mremap_chunk): Likewise.
58860
58861 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
58862
58863 [BZ #15799]
58864 * stdlib/div.c (div): Remove obsolete code.
58865 * stdlib/ldiv.c (ldiv): Likewise.
58866 * stdlib/lldiv.c (lldiv): Likewise.
58867
58868 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
58869
58870 [BZ #16071]
58871 * nss/nss_files/files-XXX.c (get_contents_ret): New
58872 enumerator.
58873 (get_contents): New function.
58874 (internal_getent): Use it. Expand size of LINEBUFLEN.
58875
58876 2013-10-30 Mike Frysinger <vapier@gentoo.org>
58877
58878 * configure.in: Moved to ...
58879 * configure.ac: ... here. Change reference to configure.in
58880 to configure.ac.
58881 * sysdeps/arm/preconfigure.ac: ... here.
58882 configure.in to configure.ac.
58883 * sysdeps/gnu/configure.in: Moved to ...
58884 * sysdeps/gnu/configure.ac: ... here.
58885 * sysdeps/i386/configure.in: Moved to ...
58886 * sysdeps/i386/configure.ac: ... here.
58887 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58888 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58889 * sysdeps/mach/configure.in: Moved to ...
58890 * sysdeps/mach/configure.ac: ... here.
58891 * sysdeps/mach/hurd/configure.in: Moved to ...
58892 * sysdeps/mach/hurd/configure.ac: ... here.
58893 * sysdeps/powerpc/configure.in: Moved to ...
58894 * sysdeps/powerpc/configure.ac: ... here.
58895 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58896 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58897 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58898 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58899 * sysdeps/s390/s390-32/configure.in: Moved to ...
58900 * sysdeps/s390/s390-32/configure.ac: ... here.
58901 * sysdeps/s390/s390-64/configure.in: Moved to ...
58902 * sysdeps/s390/s390-64/configure.ac: ... here.
58903 * sysdeps/sh/configure.in: Moved to ...
58904 * sysdeps/sh/configure.ac: ... here.
58905 * sysdeps/sparc/configure.in: Moved to ...
58906 * sysdeps/sparc/configure.ac: ... here.
58907 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58908 * sysdeps/unix/sysv/linux/configure.ac: ... here.
58909 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58910 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58911 * sysdeps/x86_64/configure.in: Moved to ...
58912 * sysdeps/x86_64/configure.ac: ... here.
58913 * sysdeps/x86_64/preconfigure.in: Moved to ...
58914 * sysdeps/x86_64/preconfigure.ac: ... here.
58915 * aclocal.m4: Change reference to configure.in to configure.ac.
58916 * config.h.in: Likewise.
58917 * manual/install.texi: Likewise.
58918 * manual/maint.texi: Likewise.
58919 * Makefile: Likewise.
58920 * malloc/Makefile: Likewise.
58921 * nscd/Makefile: Likewise.
58922 * Makeconfig: Change reference to configure.in and
58923 preconfigure.in to configure.ac and preconfigure.ac
58924 respectively.
58925 * INSTALL: Regenerated.
58926 * configure: Likewise.
58927 * sysdeps/gnu/configure: Likewise.
58928 * sysdeps/i386/configure: Likewise.
58929 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58930 * sysdeps/mach/configure: Likewise.
58931 * sysdeps/mach/hurd/configure: Likewise.
58932 * sysdeps/powerpc/configure: Likewise.
58933 * sysdeps/powerpc/powerpc32/configure: Likewise.
58934 * sysdeps/powerpc/powerpc64/configure: Likewise.
58935 * sysdeps/s390/s390-32/configure: Likewise.
58936 * sysdeps/s390/s390-64/configure: Likewise.
58937 * sysdeps/sh/configure: Likewise.
58938 * sysdeps/sparc/configure: Likewise.
58939 * sysdeps/unix/sysv/linux/configure: Likewise.
58940 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58941 * sysdeps/x86_64/configure: Likewise.
58942 * sysdeps/x86_64/preconfigure: Likewise.
58943
58944 2013-10-29 Andreas Schwab <schwab@suse.de>
58945
58946 * stdio-common/Makefile (tst-swscanf-ENV): Define.
58947
58948 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58949
58950 * benchtests/pow-inputs: Add new inputs.
58951
58952 * benchtests/exp-inputs: Add new inputs.
58953
58954 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58955 conditional check for return value.
58956 (__cos32): Likewise.
58957
58958 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58959
58960 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58961 to provide a boost for large inputs with word alignment.
58962 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58963 implementation based on optimized PPC64 strcpy.
58964 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58965 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58966 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58967 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58968
58969 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
58970
58971 [BZ #2801]
58972 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58973
58974 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
58975
58976 [BZ #14876]
58977 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58978 * time/tst-strptime.c (day_tests): Add testcase.
58979
58980 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
58981
58982 [BZ #14029]
58983 * manual/pattern.texi: Acknowledge that fnmatch can fail.
58984
58985 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
58986
58987 [BZ #16074]
58988 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58989 MAP_FAILED on error.
58990
58991 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58992
58993 [BZ #16072]
58994 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58995 heap for large requests.
58996
58997 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
58998
58999 [BZ #9954]
59000 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
59001 result if the result has no associated interface.
59002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
59003 interface for all 127.X.Y.Z addresses.
59004
59005 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
59006
59007 * locale/iso-639.def: Add Ligurian (lij)
59008
59009 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
59010
59011 [BZ #15825]
59012 * sunrpc/rpc_main.c: Document rpcgen -5.
59013
59014 2013-10-19 Michael Stahl <mstahl@redhat.com>
59015
59016 * elf/rtld.c (do_preload): Print the reason why preloading failed.
59017
59018 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
59019
59020 [BZ #10278]
59021 * posix/glob.c: Match only directories when trailing slash is present.
59022 * posix/tst-gnuglob.c (my_opendir): Do not open files.
59023 (main): Add testcase.
59024
59025 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
59026
59027 [BZ #15670]
59028 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
59029
59030 2013-10-18 Carlos O'Donell <carlos@redhat.com>
59031
59032 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
59033 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
59034 AUTH_DES and cindex for FIPS 140-2.
59035 (DES Encryption): Add cindex FIPS 46-3.
59036
59037 * locale/locarchive.h (struct locarhandle): Add fname.
59038 * locale/programs/localedef.c (main): Pass ARGV[remaining]
59039 if an optional argument was specified to --list-archive,
59040 otherwise NULL.
59041 * locale/programs/locarchive.c (show_archive_content): Take new
59042 argument fname and pass it via ah.fname to open_archive.
59043 * locale/programs/localedef.h: Update decl.
59044 (open_archive): If AH->fname is non-null, open that file
59045 rather than the default file name, and don't ignore ENOENT.
59046 (create_archive): Set AH.fname to NULL.
59047 (delete_locales_from_archive): Likewise.
59048 (add_locales_to_archive): Likewise.
59049 * locale/programs/locfile.c (write_all_categories): Likewise.
59050
59051 2013-10-18 Joseph Myers <joseph@codesourcery.com>
59052 Aldy Hernandez <aldyh@redhat.com>
59053
59054 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
59055 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
59056 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
59057 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
59058 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
59059 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
59060 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
59061 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
59062 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
59063 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
59064 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
59065 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
59066 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
59067 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
59068 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
59069 Likewise.
59070 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
59071 Likewise.
59072 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
59073 Likewise.
59074 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
59075 Likewise.
59076 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
59077 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
59078 Likewise.
59079 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
59080 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
59081 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
59082 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
59083 Likewise.
59084 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
59085 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
59086 * sysdeps/powerpc/preconfigure: Likewise.
59087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
59088 Likewise.
59089 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
59090 Replace contents of file by #include of <fenv_libc.h>.
59091 * sysdeps/powerpc/soft-fp/sfp-machine.h
59092 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
59093 and <sys/prctl.h>.
59094 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
59095 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
59096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
59097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
59098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
59099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
59100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
59101 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
59102 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
59103 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
59104 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
59105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
59106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59107 Allow copysignl PLT reference to be missing.
59108
59109 2013-10-18 Richard Sandiford <richard@codesourcery.com>
59110 Joseph Myers <joseph@codesourcery.com
59111
59112 [BZ #15948]
59113 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
59114 single character.
59115 (add_to_tablewc): Assert sequence of wide characters is nonempty.
59116
59117 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59118
59119 * elf/tst-tls-dlinfo.c: Don't include tls.h.
59120 * elf/tst-tls1.c: Likewise.
59121 * elf/tst-tls10.h: Likewise.
59122 * elf/tst-tls14.c: Likewise.
59123 * elf/tst-tls2.c: Likewise.
59124 * elf/tst-tls3.c: Likewise.
59125 * elf/tst-tls4.c: Likewise.
59126 * elf/tst-tls5.c: Likewise.
59127 * elf/tst-tls6.c: Likewise.
59128 * elf/tst-tls7.c: Likewise.
59129 * elf/tst-tls8.c: Likewise.
59130 * elf/tst-tls9.c: Likewise.
59131 * elf/tst-tlsmod1.c: Likewise.
59132 * elf/tst-tlsmod13.c: Likewise.
59133 * elf/tst-tlsmod13a.c: Likewise.
59134 * elf/tst-tlsmod14a.c: Likewise.
59135 * elf/tst-tlsmod16a.c: Likewise.
59136 * elf/tst-tlsmod16b.c: Likewise.
59137 * elf/tst-tlsmod2.c: Likewise.
59138 * elf/tst-tlsmod3.c: Likewise.
59139 * elf/tst-tlsmod4.c: Likewise.
59140 * elf/tst-tlsmod5.c: Likewise.
59141 * elf/tst-tlsmod6.c: Likewise.
59142
59143 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
59144
59145 [BZ #12486]
59146 * malloc/malloc.c: remove checks for statistics.
59147
59148 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
59149
59150 [BZ #15277]
59151 * inet/inet_net.c (inet_network): Detect additional invalid strings.
59152 * inet/tst-network.c: Add testcase.
59153
59154 2013-10-17 Andreas Schwab <schwab@suse.de>
59155
59156 [BZ #15218]
59157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
59158 to determine canonical name.
59159
59160 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
59161
59162 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
59163 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
59164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59165 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59167 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59168 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59169 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59170 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59172 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59175 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59176 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59177 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59178 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59179 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59181 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59182 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59184 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59185 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
59186 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
59187 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59188 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59189 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
59190 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59191 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
59192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59194 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59195 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59196 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59197 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59199 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59200 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59201 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59202 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59203 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59204 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59205 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59206 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59207 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59208 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59209 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59210 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59211 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59212 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59213 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59215 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59217 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59220
59221 2013-10-17 Joseph Myers <joseph@codesourcery.com>
59222
59223 [BZ #16041]
59224 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59225 make result into a quiet NaN.
59226
59227 2013-10-16 Joseph Myers <joseph@codesourcery.com>
59228
59229 * soft-fp/adddf3.c: Fix horizontal whitespace.
59230 * soft-fp/addsf3.c: Likewise.
59231 * soft-fp/addtf3.c: Likewise.
59232 * soft-fp/divdf3.c: Likewise.
59233 * soft-fp/divsf3.c: Likewise.
59234 * soft-fp/divtf3.c: Likewise.
59235 * soft-fp/double.h: Likewise.
59236 * soft-fp/eqdf2.c: Likewise.
59237 * soft-fp/eqsf2.c: Likewise.
59238 * soft-fp/eqtf2.c: Likewise.
59239 * soft-fp/extenddftf2.c: Likewise.
59240 * soft-fp/extended.h: Likewise.
59241 * soft-fp/extendsfdf2.c: Likewise.
59242 * soft-fp/extendsftf2.c: Likewise.
59243 * soft-fp/extendxftf2.c: Likewise.
59244 * soft-fp/fixdfdi.c: Likewise.
59245 * soft-fp/fixdfsi.c: Likewise.
59246 * soft-fp/fixdfti.c: Likewise.
59247 * soft-fp/fixsfdi.c: Likewise.
59248 * soft-fp/fixsfsi.c: Likewise.
59249 * soft-fp/fixsfti.c: Likewise.
59250 * soft-fp/fixtfdi.c: Likewise.
59251 * soft-fp/fixtfsi.c: Likewise.
59252 * soft-fp/fixtfti.c: Likewise.
59253 * soft-fp/fixunsdfdi.c: Likewise.
59254 * soft-fp/fixunsdfsi.c: Likewise.
59255 * soft-fp/fixunsdfti.c: Likewise.
59256 * soft-fp/fixunssfdi.c: Likewise.
59257 * soft-fp/fixunssfsi.c: Likewise.
59258 * soft-fp/fixunssfti.c: Likewise.
59259 * soft-fp/fixunstfdi.c: Likewise.
59260 * soft-fp/fixunstfsi.c: Likewise.
59261 * soft-fp/fixunstfti.c: Likewise.
59262 * soft-fp/floatdidf.c: Likewise.
59263 * soft-fp/floatdisf.c: Likewise.
59264 * soft-fp/floatditf.c: Likewise.
59265 * soft-fp/floatsidf.c: Likewise.
59266 * soft-fp/floatsisf.c: Likewise.
59267 * soft-fp/floatsitf.c: Likewise.
59268 * soft-fp/floattidf.c: Likewise.
59269 * soft-fp/floattisf.c: Likewise.
59270 * soft-fp/floattitf.c: Likewise.
59271 * soft-fp/floatundidf.c: Likewise.
59272 * soft-fp/floatundisf.c: Likewise.
59273 * soft-fp/floatunditf.c: Likewise.
59274 * soft-fp/floatunsidf.c: Likewise.
59275 * soft-fp/floatunsisf.c: Likewise.
59276 * soft-fp/floatunsitf.c: Likewise.
59277 * soft-fp/floatuntidf.c: Likewise.
59278 * soft-fp/floatuntisf.c: Likewise.
59279 * soft-fp/floatuntitf.c: Likewise.
59280 * soft-fp/fmadf4.c: Likewise.
59281 * soft-fp/fmasf4.c: Likewise.
59282 * soft-fp/fmatf4.c: Likewise.
59283 * soft-fp/gedf2.c: Likewise.
59284 * soft-fp/gesf2.c: Likewise.
59285 * soft-fp/getf2.c: Likewise.
59286 * soft-fp/ledf2.c: Likewise.
59287 * soft-fp/lesf2.c: Likewise.
59288 * soft-fp/letf2.c: Likewise.
59289 * soft-fp/muldf3.c: Likewise.
59290 * soft-fp/mulsf3.c: Likewise.
59291 * soft-fp/multf3.c: Likewise.
59292 * soft-fp/negdf2.c: Likewise.
59293 * soft-fp/negsf2.c: Likewise.
59294 * soft-fp/negtf2.c: Likewise.
59295 * soft-fp/op-1.h: Likewise.
59296 * soft-fp/op-2.h: Likewise.
59297 * soft-fp/op-4.h: Likewise.
59298 * soft-fp/op-8.h: Likewise.
59299 * soft-fp/op-common.h: Likewise.
59300 * soft-fp/quad.h: Likewise.
59301 * soft-fp/single.h: Likewise.
59302 * soft-fp/soft-fp.h: Likewise.
59303 * soft-fp/sqrtdf2.c: Likewise.
59304 * soft-fp/sqrtsf2.c: Likewise.
59305 * soft-fp/sqrttf2.c: Likewise.
59306 * soft-fp/subdf3.c: Likewise.
59307 * soft-fp/subsf3.c: Likewise.
59308 * soft-fp/subtf3.c: Likewise.
59309 * soft-fp/truncdfsf2.c: Likewise.
59310 * soft-fp/trunctfdf2.c: Likewise.
59311 * soft-fp/trunctfsf2.c: Likewise.
59312 * soft-fp/trunctfxf2.c: Likewise.
59313 * soft-fp/unorddf2.c: Likewise.
59314 * soft-fp/unordsf2.c: Likewise.
59315 * soft-fp/unordtf2.c: Likewise.
59316
59317 2013-10-15 Joseph Myers <joseph@codesourcery.com>
59318
59319 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59320 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59321
59322 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
59323
59324 * elf/dl-libc.c: Clear initfini list after freeing.
59325
59326 2013-10-14 Joseph Myers <joseph@codesourcery.com>
59327
59328 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59329 * soft-fp/addsf3.c: Likewise.
59330 * soft-fp/addtf3.c: Likewise.
59331 * soft-fp/divdf3.c: Likewise.
59332 * soft-fp/divsf3.c: Likewise.
59333 * soft-fp/divtf3.c: Likewise.
59334 * soft-fp/double.h: Likewise.
59335 * soft-fp/eqdf2.c: Likewise.
59336 * soft-fp/eqsf2.c: Likewise.
59337 * soft-fp/eqtf2.c: Likewise.
59338 * soft-fp/extenddftf2.c: Likewise.
59339 * soft-fp/extended.h: Likewise.
59340 * soft-fp/extendsfdf2.c: Likewise.
59341 * soft-fp/extendsftf2.c: Likewise.
59342 * soft-fp/extendxftf2.c: Likewise.
59343 * soft-fp/fixdfdi.c: Likewise.
59344 * soft-fp/fixdfsi.c: Likewise.
59345 * soft-fp/fixdfti.c: Likewise.
59346 * soft-fp/fixsfdi.c: Likewise.
59347 * soft-fp/fixsfsi.c: Likewise.
59348 * soft-fp/fixsfti.c: Likewise.
59349 * soft-fp/fixtfdi.c: Likewise.
59350 * soft-fp/fixtfsi.c: Likewise.
59351 * soft-fp/fixtfti.c: Likewise.
59352 * soft-fp/fixunsdfdi.c: Likewise.
59353 * soft-fp/fixunsdfsi.c: Likewise.
59354 * soft-fp/fixunsdfti.c: Likewise.
59355 * soft-fp/fixunssfdi.c: Likewise.
59356 * soft-fp/fixunssfsi.c: Likewise.
59357 * soft-fp/fixunssfti.c: Likewise.
59358 * soft-fp/fixunstfdi.c: Likewise.
59359 * soft-fp/fixunstfsi.c: Likewise.
59360 * soft-fp/fixunstfti.c: Likewise.
59361 * soft-fp/floatdidf.c: Likewise.
59362 * soft-fp/floatdisf.c: Likewise.
59363 * soft-fp/floatditf.c: Likewise.
59364 * soft-fp/floatsidf.c: Likewise.
59365 * soft-fp/floatsisf.c: Likewise.
59366 * soft-fp/floatsitf.c: Likewise.
59367 * soft-fp/floattidf.c: Likewise.
59368 * soft-fp/floattisf.c: Likewise.
59369 * soft-fp/floattitf.c: Likewise.
59370 * soft-fp/floatundidf.c: Likewise.
59371 * soft-fp/floatundisf.c: Likewise.
59372 * soft-fp/floatunsidf.c: Likewise.
59373 * soft-fp/floatunsisf.c: Likewise.
59374 * soft-fp/floatuntidf.c: Likewise.
59375 * soft-fp/floatuntisf.c: Likewise.
59376 * soft-fp/floatuntitf.c: Likewise.
59377 * soft-fp/fmadf4.c: Likewise.
59378 * soft-fp/fmasf4.c: Likewise.
59379 * soft-fp/fmatf4.c: Likewise.
59380 * soft-fp/gedf2.c: Likewise.
59381 * soft-fp/gesf2.c: Likewise.
59382 * soft-fp/getf2.c: Likewise.
59383 * soft-fp/ledf2.c: Likewise.
59384 * soft-fp/lesf2.c: Likewise.
59385 * soft-fp/letf2.c: Likewise.
59386 * soft-fp/muldf3.c: Likewise.
59387 * soft-fp/mulsf3.c: Likewise.
59388 * soft-fp/multf3.c: Likewise.
59389 * soft-fp/negdf2.c: Likewise.
59390 * soft-fp/negsf2.c: Likewise.
59391 * soft-fp/negtf2.c: Likewise.
59392 * soft-fp/op-1.h: Likewise.
59393 * soft-fp/op-2.h: Likewise.
59394 * soft-fp/op-4.h: Likewise.
59395 * soft-fp/op-8.h: Likewise.
59396 * soft-fp/op-common.h: Likewise.
59397 * soft-fp/quad.h: Likewise.
59398 * soft-fp/single.h: Likewise.
59399 * soft-fp/soft-fp.h: Likewise.
59400 * soft-fp/sqrtdf2.c: Likewise.
59401 * soft-fp/sqrtsf2.c: Likewise.
59402 * soft-fp/sqrttf2.c: Likewise.
59403 * soft-fp/subdf3.c: Likewise.
59404 * soft-fp/subsf3.c: Likewise.
59405 * soft-fp/subtf3.c: Likewise.
59406 * soft-fp/truncdfsf2.c: Likewise.
59407 * soft-fp/trunctfdf2.c: Likewise.
59408 * soft-fp/trunctfsf2.c: Likewise.
59409 * soft-fp/trunctfxf2.c: Likewise.
59410 * soft-fp/unorddf2.c: Likewise.
59411 * soft-fp/unordsf2.c: Likewise.
59412 * soft-fp/unordtf2.c: Likewise.
59413
59414 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
59415
59416 [BZ #15672]
59417 * misc/error.c (error_tail): Fix possible buffer overflow.
59418
59419 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
59420
59421 [BZ #13028]
59422 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
59423 address.
59424
59425 2013-10-14 P. J. McDermott <pj@pehjota.net>
59426
59427 [BZ #832]
59428 * elf/ldd.bash.in (try_trace): New function. Delete previous code
59429 testing pipefail option.
59430
59431 2013-10-12 Joseph Myers <joseph@codesourcery.com>
59432
59433 * soft-fp/double.h: Indent preprocessor directives inside #if.
59434 * soft-fp/extended.h: Likewise.
59435 * soft-fp/op-2.h: Likewise.
59436 * soft-fp/op-4.h: Likewise.
59437 * soft-fp/op-common.h: Likewise.
59438 * soft-fp/quad.h: Likewise.
59439 * soft-fp/single.h: Likewise.
59440 * soft-fp/soft-fp.h: Likewise.
59441
59442 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
59443
59444 * iconv/iconv_prog.c: Fix typos.
59445 * stdio-common/psiginfo-data.h: Likewise.
59446
59447 2013-10-12 Reuben Thomas <rrt@sc3d.org>
59448
59449 [BZ #15764]
59450 * locale/setlocale.c: Fix typo.
59451
59452 2013-10-12 Joseph Myers <joseph@codesourcery.com>
59453
59454 [BZ #16036]
59455 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
59456 signaling NaN arguments.
59457 * soft-fp/unordsf2.c (__unordsf2): Likewise.
59458 * soft-fp/unordtf2.c (__unordtf2): Likewise.
59459
59460 [BZ #14910]
59461 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
59462 unordered operands.
59463 * soft-fp/gesf2.c (__gesf2): Likewise.
59464 * soft-fp/getf2.c (__getf2): Likewise.
59465 * soft-fp/ledf2.c (__ledf2): Likewise.
59466 * soft-fp/lesf2.c (__lesf2): Likewise.
59467 * soft-fp/letf2.c (__letf2): Likewise.
59468
59469 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
59470 * soft-fp/eqsf2.c (__eqsf2): Likewise.
59471 * soft-fp/eqtf2.c (__eqtf2): Likewise.
59472 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
59473 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
59474 * soft-fp/fixdfti.c (__fixdfti): Likewise.
59475 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
59476 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
59477 * soft-fp/fixsfti.c (__fixsfti): Likewise.
59478 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
59479 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
59480 * soft-fp/fixtfti.c (__fixtfti): Likewise.
59481 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
59482 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
59483 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
59484 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
59485 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
59486 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
59487 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
59488 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
59489 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
59490 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
59491 * soft-fp/floatdisf.c (__floatdisf): Likewise.
59492 * soft-fp/floatsisf.c (__floatsisf): Likewise.
59493 * soft-fp/floattidf.c (__floattidf): Likewise.
59494 * soft-fp/floattisf.c (__floattisf): Likewise.
59495 * soft-fp/floattitf.c (__floattitf): Likewise.
59496 * soft-fp/floatundidf.c (__floatundidf): Likewise.
59497 * soft-fp/floatundisf.c (__floatundisf): Likewise.
59498 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
59499 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
59500 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
59501 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
59502 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
59503 * soft-fp/gesf2.c (__gesf2): Likewise.
59504 * soft-fp/getf2.c (__getf2): Likewise.
59505 * soft-fp/ledf2.c (__ledf2): Likewise.
59506 * soft-fp/lesf2.c (__lesf2): Likewise.
59507 * soft-fp/letf2.c (__letf2): Likewise.
59508
59509 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
59510 Undefine and redefine.
59511 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
59512 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
59513 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
59514 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
59515 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59516 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
59517 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59518 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
59519 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59520 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
59521 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59522 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
59523 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59524 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
59525 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59526
59527 [BZ #16032]
59528 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
59529 without decrementing exponent if mantissa >= that for the
59530 denominator, not >.
59531 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
59532 denominator, not >. Decrement exponent in < case instead of
59533 incrementing in >= case.
59534 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
59535 without decrementing exponent if mantissa >= that for the
59536 denominator, not >.
59537
59538 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59539 computing saturated result for unsigned overflow.
59540
59541 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59542 Jeff Law <law@redhat.com>
59543
59544 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59545 (atan2Mp): Add systemtap probe marker.
59546 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59547 (__ieee754_log): Add systemtap probe marker.
59548 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59549 (atanMp): Add systemtap probe marker.
59550 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59551 (tanMp): Add systemtap probe marker.
59552 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59553 (__slowexp): Add systemtap probe marker.
59554 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59555 (__slowpow): Add systemtap probe marker.
59556 * manual/probes.texi: Document probes.
59557
59558 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
59559
59560 [BZ #15362]
59561 * libio/fileops.c (_IO_new_file_write): Return count of bytes
59562 written.
59563 (_IO_new_file_xsputn): Don't return EOF if nothing has been
59564 written.
59565 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59566 written to buffer but not flushed.
59567 * libio/iofwrite_u.c: Likewise.
59568 * libio/iopadn.c: Return bytes returned even if EOF was
59569 encountered.
59570 * libio/iowpadn.c: Likewise.
59571 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59572 if _IO_padn does not write the whole buffer.
59573 [!COMPILE_WPRINTF] (PAD): Likewise.
59574
59575 2013-10-10 David S. Miller <davem@davemloft.net>
59576
59577 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59578 directory block.
59579
59580 2013-10-10 Joseph Myers <joseph@codesourcery.com>
59581
59582 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
59583 instead of FSF address.
59584 * soft-fp/fixdfti.c: Likewise.
59585 * soft-fp/fixsfti.c: Likewise.
59586 * soft-fp/fixtfti.c: Likewise.
59587 * soft-fp/fixunsdfti.c: Likewise.
59588 * soft-fp/fixunssfti.c: Likewise.
59589 * soft-fp/fixunstfti.c: Likewise.
59590 * soft-fp/floattidf.c: Likewise.
59591 * soft-fp/floattisf.c: Likewise.
59592 * soft-fp/floattitf.c: Likewise.
59593 * soft-fp/floatuntidf.c: Likewise.
59594 * soft-fp/floatuntisf.c: Likewise.
59595 * soft-fp/floatuntitf.c: Likewise.
59596 * soft-fp/trunctfxf2.c: Likewise.
59597
59598 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
59599 * soft-fp/fixdfti.c: Likewise.
59600 * soft-fp/fixsfti.c: Likewise.
59601 * soft-fp/fixtfti.c: Likewise.
59602 * soft-fp/fixunsdfti.c: Likewise.
59603 * soft-fp/fixunssfti.c: Likewise.
59604 * soft-fp/fixunstfti.c: Likewise.
59605 * soft-fp/floattidf.c: Likewise.
59606 * soft-fp/floattisf.c: Likewise.
59607 * soft-fp/floattitf.c: Likewise.
59608 * soft-fp/floatuntidf.c: Likewise.
59609 * soft-fp/floatuntisf.c: Likewise.
59610 * soft-fp/floatuntitf.c: Likewise.
59611 * soft-fp/trunctfxf2.c: Likewise.
59612
59613 2013-10-10 David S. Miller <davem@davemloft.net>
59614
59615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59616
59617 2013-10-10 Joseph Myers <joseph@codsourcery.com>
59618
59619 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59620 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59621 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59622 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59623 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59624 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59625 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59626
59627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59628 for NaNs before doing comparisons on argument.
59629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59630 Likewise.
59631
59632 2013-10-10 Will Newton <will.newton@linaro.org>
59633
59634 * malloc/hooks.c (memalign_check): Ensure the value of bytes
59635 passed to _int_memalign does not overflow.
59636
59637 2013-10-10 Torvald Riegel <triegel@redhat.com>
59638
59639 * scripts/bench.pl: Add include-sources directive.
59640 * benchtests/README: Update documentation.
59641
59642 2013-10-10 Joseph Myers <joseph@codesourcery.com>
59643
59644 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59645 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59646 instead of FP_INIT_ROUNDMODE.
59647 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59648 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59649
59650 [BZ #16034]
59651 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
59652 copy class of input value.
59653 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
59654 not handle exceptions.
59655 * soft-fp/negsf2.c (__negsf2): Likewise.
59656 * soft-fp/negtf2.c (__negtf2): Likewise.
59657 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59658
59659 2013-10-09 Joseph Myers <joseph@codesourcery.com>
59660
59661 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59662 semicolon. From Linux kernel.
59663
59664 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
59665
59666 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59667
59668 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
59669
59670 [BZ #156]
59671 * manual/socket.texi: Added statement about buffer
59672 for gethostbyname2_r.
59673
59674 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
59675
59676 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59677 Use .p2align directive instead, throughout.
59678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59679 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59680 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59681 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59683 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59684 * sysdeps/x86_64/strchr.S: Likewise.
59685 * sysdeps/x86_64/strrchr.S: Likewise.
59686
59687 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59688
59689 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59690
59691 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59692
59693 * sysdeps/generic/math_private.h (__mpsin1): Remove
59694 declaration.
59695 (__mpcos1): Likewise.
59696 (__mpsin): New argument __range_reduce.
59697 (__mpcos): Likewise.
59698 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59699 (slow): Use __mpsin and __mpcos.
59700 (slow1): Likewise.
59701 (slow2): Likewise.
59702 (sloww): Likewise.
59703 (sloww1): Likewise.
59704 (sloww2): Likewise.
59705 (bsloww): Likewise.
59706 (bsloww1): Likewise.
59707 (bsloww2): Likewise.
59708 (cslow2): Likewise.
59709 (csloww): Likewise.
59710 (csloww1): Likewise.
59711 (csloww2): Likewise.
59712 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59713 range_reduce. Merge in __mpsin1.
59714 (__mpcos): Likewise.
59715 (__mpsin1): Remove.
59716 (__mpcos1): Likewise.
59717
59718 2013-10-07 Joseph Myers <joseph@codesourcery.com>
59719
59720 * locale/loadlocale.c (_nl_intern_locale_data): Use
59721 LOCFILE_ALIGNED_P.
59722 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59723 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59724 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59725 obstack data is appropriately aligned.
59726 (obstack_int32_grow_fast): Likewise.
59727 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59728 * locale/programs/locfile.c (add_locale_uint32): Likewise.
59729 (add_locale_uint32_array): Likewise.
59730
59731 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59732
59733 * benchtests/Makefile: Remove ARGLIST and RET variables.
59734 ($(objpfx)bench-%.c): Pass only function name to the script.
59735 * benchtests/README: Update documentation.
59736 * benchtests/acos-inputs: Add new directives.
59737 * benchtests/acosh-inputs: Likewise.
59738 * benchtests/asin-inputs: Likewise.
59739 * benchtests/asinh-inputs: Likewise.
59740 * benchtests/atan-inputs: Likewise.
59741 * benchtests/atanh-inputs: Likewise.
59742 * benchtests/cos-inputs: Likewise.
59743 * benchtests/cosh-inputs: Likewise.
59744 * benchtests/exp-inputs: Likewise.
59745 * benchtests/log-inputs: Likewise.
59746 * benchtests/pow-inputs: Likewise.
59747 * benchtests/rint-inputs: Likewise.
59748 * benchtests/sin-inputs: Likewise.
59749 * benchtests/sinh-inputs: Likewise.
59750 * benchtests/tan-inputs: Likewise.
59751 * benchtests/tanh-inputs: Likewise.
59752 * scripts/bench.pl: Add support for new directives.
59753
59754 2013-10-07 Alan Modra <amodra@gmail.com>
59755
59756 * README: Fix careless merge.
59757
59758 2013-10-05 Alan Modra <amodra@gmail.com>
59759
59760 * NEWS: Mention powerpc64le support and bugs fixed.
59761 * README: Both big-endian and little-endian powerpc64 supported.
59762
59763 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
59764
59765 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59766 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59767 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59768 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59769
59770 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
59771
59772 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59773 match prototype.
59774
59775 2013-10-04 Joseph Myers <joseph@codesourcery.com>
59776
59777 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59778 Move -mhard-float appending from
59779 ports/sysdeps/powerpc/powerpc32/Makefile.
59780 [$(with-fp) = yes] (ASFLAGS): Likewise.
59781 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59782 * sysdeps/powerpc/nofpu: Move directory from
59783 ports/sysdeps/powerpc/nofpu.
59784 * sysdeps/powerpc/soft-fp: Move directory from
59785 ports/sysdeps/powerpc/soft-fp.
59786 * sysdeps/powerpc/powerpc32/405: Move directory from
59787 ports/sysdeps/powerpc/powerpc32/405.
59788 * sysdeps/powerpc/powerpc32/440: Move directory from
59789 ports/sysdeps/powerpc/powerpc32/440.
59790 * sysdeps/powerpc/powerpc32/464: Move directory from
59791 ports/sysdeps/powerpc/powerpc32/464.
59792 * sysdeps/powerpc/powerpc32/476: Move directory from
59793 ports/sysdeps/powerpc/powerpc32/476.
59794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59795 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59797 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59799 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59801 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59803 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59804 * README: Update for powerpc-*-linux-gnu software floating point
59805 support in libc.
59806
59807 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59808 case to powerpc/powerpc32*.
59809 * sysdeps/unix/sysv/linux/configure: Regenerated.
59810
59811 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59812 (_FPU_MASK_OM): Define as 0x04.
59813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59815 0x00c10080.
59816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59817 0x0000003c.
59818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59819
59820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59821 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59822 getcontext_e500.
59823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59824 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59825 setcontext_e500.
59826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59827 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59828 and setcontext_e500.
59829
59830 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
59831
59832 * locale/iso-3166.def: Update iso-1366.def and related occurrences
59833
59834 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
59835
59836 * manual/threads.texi (Default Thread Attributes): Fix typo.
59837
59838 2013-10-04 Will Newton <will.newton@linaro.org>
59839
59840 * malloc/Makefile: Add tst-memalign.
59841 * malloc/tst-memalign.c: New file.
59842
59843 * malloc/tst-posix_memalign.c: Add comments.
59844 (do_test): Add comments and call free on all potentially
59845 allocated pointers. Add space after cast.
59846
59847 * malloc/tst-pvalloc.c: Add comments.
59848 (do_test): Add comments and call free on all potentially
59849 allocated pointers. Remove duplicate check for NULL pointer.
59850 Add space after cast.
59851
59852 * malloc/tst-valloc.c: Add comments.
59853 (do_test): Add comments and call free on all potentially
59854 allocated pointers. Remove duplicate check for NULL pointer.
59855 Add space after cast.
59856
59857 2013-10-04 Alan Modra <amodra@gmail.com>
59858
59859 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59860 Use stdint types in rather than __attribute__((mode())).
59861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59862
59863 2013-10-04 Alan Modra <amodra@gmail.com>
59864
59865 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59866 Correct handling of unaligned relocs for little-endian.
59867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59868
59869 2013-10-04 Alan Modra <amodra@gmail.com>
59870
59871 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59872 * configure: Regenerate.
59873 * nptl/shlib-versions: Powerpc*le starts at 2.18.
59874 * shlib-versions: Likewise.
59875
59876 2013-10-04 Alan Modra <amodra@gmail.com>
59877
59878 * string/tester.c (test_memrchr): Increment reported test cycle.
59879
59880 2013-10-04 Alan Modra <amodra@gmail.com>
59881
59882 * string/test-memcpy.c (do_one_test): When reporting errors, print
59883 string address and don't overrun end of string.
59884
59885 2013-10-04 Alan Modra <amodra@gmail.com>
59886
59887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59888 insrdi. Make better use of reg selection to speed exit slightly.
59889 Schedule entry path a little better. Remove useless "are we done"
59890 checks on entry to main loop. Handle wrapping around zero address.
59891 Correct main loop count. Handle single left-over word from main
59892 loop inline rather than by using loop_small. Remove extra word
59893 case in loop_small caused by wrong loop count. Add little-endian
59894 support.
59895 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59896 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
59897 cache hint.
59898 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59899 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59900 support. Avoid rlwimi.
59901 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59902
59903 2013-10-04 Alan Modra <amodra@gmail.com>
59904
59905 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59906 insrdi. Formatting.
59907 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59908 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59909 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59910 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59911 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59912 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59913
59914 2013-10-04 Alan Modra <amodra@gmail.com>
59915
59916 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59917 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59918 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59919 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59920 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59922 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59923 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59924 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
59925 use of regs. Use power7 mtocrf. Tidy function tails.
59926
59927 2013-10-04 Alan Modra <amodra@gmail.com>
59928
59929 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59930 Formatting. Consistently use rXXX register defines or rN defines.
59931 Use early exit labels that avoid restoring unused non-volatile regs.
59932 Make cr field use more consistent with rWORDn compares. Rename
59933 regs used as shift registers for unaligned loop, using rN defines
59934 for short lifetime/multiple use regs.
59935 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
59937 addi 1,1,64 to pop stack frame. Simplify return value code.
59938 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59939
59940 2013-10-04 Alan Modra <amodra@gmail.com>
59941
59942 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59943 support. Correct typos, formatting. Optimize tail. Use insrdi
59944 rather than rlwimi.
59945 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59946 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59947 little-endian support. Correct typos.
59948 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
59949 rather than rlwimi.
59950 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
59951 in loop and entry code to keep "and." results.
59952 (strchr): Add little-endian support. Comment. Move cntlzd
59953 earlier in tail.
59954 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59955
59956 2013-10-04 Alan Modra <amodra@gmail.com>
59957
59958 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59959 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59960 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59961 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59962
59963 2013-10-04 Alan Modra <amodra@gmail.com>
59964
59965 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59966 (rTMP): Define as r11.
59967 (strcmp): Add little-endian support. Optimise tail.
59968 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59969 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59970 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59971 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59972 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59973 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59975
59976 2013-10-04 Alan Modra <amodra@gmail.com>
59977
59978 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59979 little-endian support. Remove unnecessary "are we done" tests.
59980 Handle "s" wrapping around zero and extremely large "size".
59981 Correct main loop count. Handle single left-over word from main
59982 loop inline rather than by using small_loop. Correct comments.
59983 Delete "zero" tail, use "end_max" instead.
59984 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59985
59986 2013-10-04 Alan Modra <amodra@gmail.com>
59987
59988 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59989 support. Don't branch over align.
59990 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59991 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59992 support. Rearrange tmp reg use to suit. Comment.
59993 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59994
59995 2013-10-04 Alan Modra <amodra@gmail.com>
59996
59997 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59998
59999 2013-10-04 Alan Modra <amodra@gmail.com>
60000
60001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
60002 conditional form of branch and link when obtaining pc.
60003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
60004
60005 2013-10-04 Alan Modra <amodra@gmail.com>
60006
60007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
60008 HIWORD/LOWORD.
60009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
60010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
60011
60012 2013-10-04 Alan Modra <amodra@gmail.com>
60013
60014 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
60015 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
60016 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
60017 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
60018 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60019 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60020 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
60021 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60022 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
60023 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
60024
60025 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
60026 Alistair Popple <alistair@ozlabs.au.ibm.com>
60027 Alan Modra <amodra@gmail.com>
60028
60029 [BZ #15723]
60030 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
60031 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
60032 _dl_hwcap access for little-endian.
60033 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
60034 destroy vmx regs when saving unaligned.
60035 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
60036 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
60037 destroy vmx regs when saving unaligned.
60038
60039 2013-10-04 Alan Modra <amodra@gmail.com>
60040
60041 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
60042 Don't use a union to pack hi/low value.
60043
60044 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
60045
60046 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
60047 for little-endian.
60048 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
60050 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60051 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60052 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60053
60054 2013-10-04 Alan Modra <amodra@gmail.com>
60055
60056 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
60057 constants to usual value for .cst8 section, and remove redundant
60058 high address load.
60059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
60060 constant for 0x1p52. Load little-endian words of double from
60061 correct stack offsets.
60062
60063 2013-10-04 Alan Modra <amodra@gmail.com>
60064
60065 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
60066 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
60067 words of double from correct stack offsets.
60068 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
60069 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
60070 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60071 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60072 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60073 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60074 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60075 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
60076 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
60077 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60078 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60079 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60080 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60081 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60082 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60083 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
60084 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
60085
60086 2013-10-04 Alan Modra <amodra@gmail.com>
60087
60088 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
60089 64-bit int/double union.
60090 (_FPU_SETCW): Likewise.
60091 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
60092 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
60093
60094 2013-10-04 Alan Modra <amodra@gmail.com>
60095
60096 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
60097 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
60098
60099 2013-10-04 Alan Modra <amodra@gmail.com>
60100
60101 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
60102 use vector int constants.
60103 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
60104
60105 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
60106
60107 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
60108 array with long long.
60109 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
60110 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
60111 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
60112 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
60113 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
60114 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
60115 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
60116 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
60117 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
60118 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
60119 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
60120 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
60121 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
60122
60123 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
60124
60125 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
60126 (__signbit): Likewise. Correct for little-endian.
60127 (__signbitl): Call __signbit.
60128 (lrint): Correct for little-endian.
60129 (lrintf): Call lrint.
60130
60131 2013-10-04 Alan Modra <amodra@gmail.com>
60132
60133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
60134 union 32-bit int array member with 64-bit int array.
60135 (t515, tm256): Double rather than long double.
60136 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
60137
60138 2013-10-04 Alan Modra <amodra@gmail.com>
60139
60140 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
60141 Delete.
60142 (IEEE854_LONG_DOUBLE_BIAS): Delete.
60143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
60144 version of math_ldbl.h.
60145
60146 2013-10-04 Alan Modra <amodra@gmail.com>
60147
60148 [BZ #15734], [BZ #15735]
60149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
60150 all uses of ieee875 long double macros and unions. Simplify test
60151 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
60152 ldbl_extract_mantissa value for ix,iy exponents. Properly
60153 normalize after ldbl_extract_mantissa, and don't add hidden bit
60154 already handled. Don't treat low word of ieee854 mantissa like
60155 low word of IBM long double and mask off bit when testing for
60156 zero.
60157 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
60158 all uses of ieee875 long double macros and unions. Simplify tests
60159 for 0.0L and inf. Correct double adjustment of k. Delete dead code
60160 adjusting ha,hb. Simplify code setting kld. Delete two600 and
60161 two1022, instead use their values. Recognise that tests for large
60162 "a" and small "b" are mutually exclusive. Rename vars. Comment.
60163 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
60164 Rewrite all uses of ieee875 long double macros and unions. Simplify
60165 test for 0.0L and nan. Correct negation.
60166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
60167 ieee875 long double macros and unions. Correct output for large
60168 magnitude x. Correct absolute value calculation.
60169 (__erfcl): Likewise.
60170 * math/libm-test.inc: Add tests for errors discovered in IBM long
60171 double versions of fmodl, remainderl, erfl and erfcl.
60172
60173 2013-10-04 Alan Modra <amodra@gmail.com>
60174
60175 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
60176 all uses of ieee854 long double macros and unions. Simplify tests
60177 for long doubles that are fully specified by the high double.
60178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
60179 Likewise.
60180 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
60181 Remove dead code too.
60182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
60183 (__ieee754_ynl): Likewise.
60184 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
60185 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
60186 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
60187 Remove dead code too.
60188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
60189 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
60190 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
60191 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
60192 Simplify.
60193 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
60194 Simplify.
60195 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
60196 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
60198 Comment on variable precision.
60199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
60200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60201 Likewise.
60202 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
60203 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60204 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60205 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
60206 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
60207
60208 2013-10-04 Alan Modra <amodra@gmail.com>
60209
60210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60211 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60212 all uses of ieee854 long double macros and unions.
60213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60215 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60216 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60217 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60218 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60219 Likewise.
60220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60221 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60222 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60223 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60224 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60225 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60226 Simplify sign and nan test too.
60227 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60228 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60229 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60230 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60231 Likewise.
60232 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60233 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60234 Likewise.
60235 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60236 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60237 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60238 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60239 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60241
60242 2013-10-04 Alan Modra <amodra@gmail.com>
60243
60244 * stdio-common/printf_size.c (__printf_size): Don't use
60245 union ieee854_long_double in fpnum union.
60246 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
60247 signbit macro to retrieve sign from long double.
60248 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60249 retrieve sign from long double.
60250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60251 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60252 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60253 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60254 * math/test-misc.c (main): Don't use union ieee854_long_double.
60255
60256 2013-10-04 Alan Modra <amodra@gmail.com>
60257
60258 [BZ #15680]
60259 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60260 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60261 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60262 calculation. Remove unnecessary test for denormal exponent.
60263 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60264 Correct handling of denormals. Avoid undefined shift behaviour.
60265 Correct normalisation of low mantissa when low double is denormal.
60266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60267 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
60268 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60269 Correct normalisation of low mantissa. Test for overflow of high
60270 mantissa and normalise.
60271 (ldbl_nearbyint): Use more readable constant for two52.
60272 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60273 (__mpn_construct_long_double): Fix test for overflow of high
60274 mantissa and correct normalisation. Avoid undefined shift.
60275
60276 2013-10-04 Alan Modra <amodra@gmail.com>
60277
60278 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60279 (union ibm_extended_long_double): Define as an array of ieee754_double.
60280 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60281 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60282 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60283 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60285 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60287 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60288 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60289 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60290 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60291
60292 2013-10-03 Joseph Myers <joseph@codesourcery.com>
60293
60294 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60295 page size instead of calling getpagesize.
60296
60297 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60298 (LOCFILE_ALIGN_MASK): Likewise.
60299 (LOCFILE_ALIGN_UP): Likewise.
60300 (LOCFILE_ALIGNED_P): Likewise.
60301 * locale/programs/ld-collate.c (collate_output): Use the new
60302 macros instead of __alignof__ (int32_t).
60303 * locale/weight.h (findidx): Likewise.
60304
60305 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
60306
60307 [BZ #431]
60308 * manual/string.texi: Fix strncat and wcsncat.
60309
60310 2013-10-03 Brooks Moses <bmoses@google.com>
60311
60312 [BZ #15915]
60313 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60314 * Makerules: ...here, and adjust associated comments.
60315
60316 2013-10-02 Will Newton <will.newton@linaro.org>
60317
60318 * malloc/Makefile: Add tst-pvalloc.
60319 * malloc/tst-pvalloc.c: New file.
60320
60321 2013-10-02 Will Newton <will.newton@linaro.org>
60322
60323 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60324 improve test coverage.
60325
60326 2013-10-02 Will Newton <will.newton@linaro.org>
60327
60328 * malloc/Makefile: Add tst-posix_memalign.
60329 * malloc/tst-posix_memalign.c: New file.
60330
60331 2013-10-01 Eric Blake <eblake@redhat.com>
60332
60333 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60334 Use __THROWNL rather than __THROW on static functions.
60335
60336 2013-09-30 Petr Machata <pmachata@redhat.com>
60337
60338 * elf/elf.h (R_AARCH64_ABS16): New macro.
60339 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60340 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60341 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60342 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60343 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60344 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60345 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60346 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60347 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60348 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60349 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60350 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60351 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60352 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60353 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60354 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60355 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60356 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60357 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60358 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60359 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60360 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60361 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60362 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60363 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60364 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60365 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60366 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60367 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60368 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60369 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60370 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60371 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60372 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60373 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60374 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60375 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60376 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60377 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60378 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60379 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60380 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60381 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60382 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60383 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60384 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60385 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60386 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60387 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60388 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60389 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60390 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60391 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
60392 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
60393 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
60394 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60395 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
60396 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
60397 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
60398 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
60399 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
60400 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
60401 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
60402 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
60403 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
60404 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
60405 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
60406 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
60407 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
60408 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
60409 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
60410 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
60411 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
60412 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
60413 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
60414 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
60415 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
60416 (R_AARCH64_TLSDESC_LDR): Likewise.
60417 (R_AARCH64_TLSDESC_ADD): Likewise.
60418 (R_AARCH64_TLSDESC_CALL): Likewise.
60419
60420 2013-09-30 Andreas Schwab <schwab@suse.de>
60421
60422 [BZ #15048]
60423 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
60424 the nss database lookup.
60425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60427
60428 2013-09-28 Mike Frysinger <vapier@gentoo.org>
60429
60430 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
60431
60432 2013-09-28 P. J. McDermott <pj@pehjota.net>
60433
60434 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
60435 ${Bash-specific parameter/pattern/string} parameter expansion.
60436 * sysdeps/unix/make-syscalls.sh: Likewise.
60437
60438 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60439
60440 * sysdeps/sh/stackguard-macros.h: New file.
60441
60442 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
60443
60444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
60445 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
60446 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
60447 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
60448 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60449 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
60450
60451 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60452
60453 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
60454 Fix thread ID register.
60455
60456 2013-09-25 Joseph Myers <joseph@codesourcery.com>
60457
60458 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
60459 [POSIX || UNIX98]: Require rather than permitting all symbols from
60460 <time.h>.
60461 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
60462 element of struct sched_param.
60463 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
60464 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
60465 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
60466 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
60467 constant.
60468
60469 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
60470
60471 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
60472 argument calculation.
60473
60474 2013-09-24 Joseph Myers <joseph@codesourcery.com>
60475
60476 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
60477 Expect macro.
60478 [POSIX] (pthread_attr_t): Do not require type.
60479 [POSIX] (pthread_cond_t): Likewise.
60480 [POSIX] (pthread_condattr_t): Likewise.
60481 [POSIX] (pthread_key_t): Likewise.
60482 [POSIX] (pthread_mutex_t): Likewise.
60483 [POSIX] (pthread_mutexattr_t): Likewise.
60484 [POSIX] (pthread_once_t): Likewise.
60485 [POSIX] (pthread_t): Likewise.
60486 [POSIX-based standards] (pthread_atfork): Expect function.
60487
60488 2013-09-24 Joseph Myers <joseph@codesourcery.com>
60489 Richard Sandiford <richard@codesourcery.com>
60490
60491 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
60492 (swap_endianness_p): New extern variable.
60493 (set_big_endian): New inline function.
60494 (maybe_swap_uint32): Likewise.
60495 (maybe_swap_uint32_array): Likewise.
60496 (maybe_swap_uint32_obstack): Likewise.
60497 * locale/programs/locfile.c: Include <stdbool.h>.
60498 (swap_endianness_p): New variable.
60499 (add_locale_uint32): Call maybe_swap_uint32.
60500 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
60501 (write_locale_data): Call maybe_swap_uint32_array.
60502 * locale/programs/ld-collate.c (obstack_int32_grow): Call
60503 maybe_swap_uint32.
60504 (obstack_int32_grow_fast): Likewise.
60505 (output_weightwc): Call maybe_swap_uint32_obstack.
60506 (collate_output): Likewise.
60507 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
60508 (OPT_LITTLE_ENDIAN): Likewise.
60509 (options): Add --little-endian and --big-endian options.
60510 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
60511 * locale/programs/locarchive.c: Include "locfile.h".
60512 (GET): New macro.
60513 (SET): Likewise.
60514 (INC): Likewise.
60515 (create_archive): Use the new macros to access fields of
60516 structures directly mapped from or written to locale archives.
60517 (oldlocrecentcmp): Likewise.
60518 (enlarge_archive): Likewise.
60519 (insert_name): Likewise.
60520 (add_alias): Likewise.
60521 (add_locale): Likewise.
60522 (delete_locales_from_archive): Likewise.
60523 (show_archive_content): Likewise.
60524 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
60525 locale data.
60526
60527 2013-09-24 Roland McGrath <roland@hack.frob.com>
60528
60529 * manual/freemanuals.texi: Updated from (newly) canonical copy at
60530 http://www.gnu.org/doc/freemanuals.texi.
60531 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
60532
60533 2013-09-24 Will Newton <will.newton@linaro.org>
60534
60535 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
60536 macro.
60537
60538 2013-09-23 Joseph Myers <joseph@codesourcery.com>
60539
60540 * locale/hashval.h (compute_hashval): Interpret bytes of key as
60541 unsigned char.
60542
60543 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
60544
60545 * manual/threads.texi (POSIX Threads): Fix a typo.
60546
60547 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
60548
60549 [BZ #14547]
60550 * string/tst-strcoll-overflow.c: New test case.
60551 * string/Makefile (xtests): Add tst-strcoll-overflow.
60552 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60553 cache if string sizes may cause integer overflow.
60554
60555 [BZ #14547]
60556 * string/strcoll_l.c (coll_seq): New members rule, idx,
60557 save_idx and back_us.
60558 (get_next_seq_nocache): New function.
60559 (do_compare_nocache): New function.
60560 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60561 when malloc fails.
60562
60563 2013-09-23 Carlos O'Donell <carlos@redhat.com>
60564
60565 [BZ #15754]
60566 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60567 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60568 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60569
60570 [BZ #15754]
60571 * elf/Makefile (tests): Add tst-ptrguard1.
60572 (tests-static): Add tst-ptrguard1-static.
60573 (tst-ptrguard1-ARGS): Define.
60574 (tst-ptrguard1-static-ARGS): Define.
60575 * elf/tst-ptrguard1.c: New file.
60576 * elf/tst-ptrguard1-static.c: New file.
60577 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60578 * sysdeps/i386/stackguard-macros.h: Likewise.
60579 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60580 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60581 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60582 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60583 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60584 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60585
60586 2013-09-23 Hector Marco <hecmargi@upv.es>
60587 Ismael Ripoll <iripoll@disca.upv.es>
60588 Carlos O'Donell <carlos@redhat.com>
60589
60590 [BZ #15754]
60591 * sysdeps/generic/stackguard-macros.h: Define
60592 __pointer_chk_guard_local and POINTER_CHK_GUARD.
60593 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60594 Define __pointer_chk_guard_local.
60595 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60596 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60597
60598 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
60599
60600 [BZ #15859]
60601 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60602
60603 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
60604
60605 * include/string.h (__ffs): Declare as hidden.
60606 * string/ffs.c (__ffs): Define as hidden.
60607 * sysdeps/i386/ffs.c (__ffs): Likewise.
60608 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60609 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60610 * sysdeps/s390/ffs.c (__ffs): Likewise.
60611 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60612
60613 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
60614
60615 * NEWS: Mention malloc probes.
60616
60617 * malloc/arena.c (new_heap): New memory_heap_new probe.
60618 (grow_heap): New memory_heap_more probe.
60619 (shrink_heap): New memory_heap_less probe.
60620 (heap_trim): New memory_heap_free probe.
60621 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60622 (systrim): New memory_sbrk_less probe.
60623 * manual/probes.texi: Document them.
60624
60625 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60626 * manual/probes.texi: Document it.
60627
60628 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60629 (__libc_realloc): Add memory_realloc_retry probe.
60630 (__libc_memalign): Add memory_memalign_retry probe.
60631 (__libc_valloc): Add memory_valloc_retry probe.
60632 (__libc_pvalloc): Add memory_pvalloc_retry probe.
60633 (__libc_calloc): Add memory_calloc_retry probe.
60634 * manual/probes.texi: Document them.
60635
60636 * malloc/arena.c (get_free_list): Add probe
60637 memory_arena_reuse_free_list.
60638 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60639 and memory_arena_reuse.
60640 (arena_get2) [!PER_THREAD]: Likewise.
60641 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60642 memory_arena_reuse_realloc.
60643 * manual/probes.texi: Document them.
60644
60645 * malloc/malloc.c (__libc_free): Add
60646 memory_mallopt_free_dyn_thresholds probe.
60647 (__libc_mallopt): Add multiple memory_mallopt probes.
60648 * manual/probes.texi: Document them.
60649
60650 * malloc/malloc.c: Include stap-probe.h.
60651 (__libc_mallopt): Add memory_mallopt probe.
60652 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60653 * manual/probes.texi: New.
60654 * manual/Makefile (chapters): Add probes.
60655 * manual/threads.texi: Set next node.
60656
60657 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
60658
60659 [BZ #15963, #13985]
60660 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60661 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60662 Add `Chinese' to `nan' entry name.
60663
60664 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60665
60666 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60667 (POLYNOMIAL): Likewise.
60668 (TAYLOR_SINCOS): Likewise.
60669 (TAYLOR_SLOW): Likewise.
60670 (__sin): Use TAYLOR_SINCOS.
60671 (__cos): Likewise.
60672 (slow): Use TAYLOR_SLOW.
60673 (sloww): Likewise.
60674 (bsloww): Likewise.
60675 (csloww): Likewise.
60676
60677 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60678
60679 * stdlib/strtod_l.c: Fix buffer overrun.
60680
60681 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60682
60683 * benchtests/Makefile (bench): Add sincos.
60684 * benchtests/bench-sincos.c: New file.
60685
60686 * math/libm-test.inc (cos_test_data): New test inputs.
60687 (sin_test_data): Likewise.
60688
60689 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60690 macro.
60691 (__sin): Use it.
60692 (__cos): Likewise.
60693 (slow1): Likewise.
60694 (slow2): Likewise.
60695 (sloww1): Likewise.
60696 (sloww2): Likewise.
60697 (bsloww1): Likewise.
60698 (bsloww2): Likewise.
60699 (cslow2): Likewise.
60700 (csloww1): Likewise.
60701 (csloww2): Likewise.
60702
60703 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60704 function.
60705 (__sin): Use it.
60706 (__cos): Likewise.
60707
60708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60709 gotos.
60710 (__cos): Likewise.
60711
60712 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
60713
60714 * config.h.in (HAVE_MIPS_NAN2008): New macro.
60715 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60716 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60717 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60718 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60719 * elf/cache.c (print_entry): Handle the new cache flags.
60720
60721 2013-09-18 Joseph Myers <joseph@codesourcery.com>
60722 Aldy Hernandez <aldyh@redhat.com>
60723
60724 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60725 Change condition to [_SOFT_FLOAT].
60726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60738 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60741 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60742 declaration.
60743
60744 2013-09-18 Joseph Myers <joseph@codesourcery.com>
60745
60746 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60747 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60748 (__longjmp): Use LOAD_GP to load saved GPRs.
60749 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60750 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60751 (__sigsetjmp): Use SAVE_GP to save GPRs.
60752
60753 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60754 Do not append -msoft-float.
60755 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60756
60757 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60758
60759 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60760
60761 2013-09-17 Joseph Myers <joseph@codesourcery.com>
60762
60763 [BZ #15966]
60764 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60765 (_FPU_GETCW): Use initial "__" on variable and field names but not
60766 on macro parameter name.
60767 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
60768 parentheses around reference to macro parameter.
60769
60770 2013-09-13 Richard Sandiford <richard@codesourcery.com>
60771
60772 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60773 prototype.
60774 (ctype_startup): Use uint32_t in cast and sizeof for
60775 ctype->charnames.
60776
60777 2013-09-11 Jia Liu <proljc@gmail.com>
60778
60779 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60780 __daddr_t_defined.
60781 [__FreeBSD__]: Likewise.
60782
60783 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
60784
60785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60786 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60787 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60788 (strchr): Remove __strchr_sse42 ifunc selection.
60789 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60790 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60791
60792 2013-09-11 Will Newton <will.newton@linaro.org>
60793
60794 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60795 parameter to RES. Remove hardcoded 1000 value.
60796 * benchtests/bench-skeleton.c (main): Pass RES parameter
60797 to TIMING_INIT and multiply result by 1000.
60798
60799 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60800
60801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60802
60803 2013-09-11 Andreas Schwab <schwab@suse.de>
60804
60805 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60806 if not defined.
60807 (O_TMPFILE) [__USE_GNU]: Define.
60808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60809 Define.
60810
60811 2013-09-11 Will Newton <will.newton@linaro.org>
60812
60813 [BZ #15857]
60814 * malloc/malloc.c (__libc_memalign): Check the value of bytes
60815 does not overflow.
60816
60817 2013-09-11 Will Newton <will.newton@linaro.org>
60818
60819 [BZ #15856]
60820 * malloc/malloc.c (__libc_valloc): Check the value of bytes
60821 does not overflow.
60822
60823 2013-09-11 Will Newton <will.newton@linaro.org>
60824
60825 [BZ #15855]
60826 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60827 does not overflow.
60828
60829 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
60830
60831 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60833 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60835 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60836
60837 2013-09-10 Allan McRae <allan@archlinux.org>
60838
60839 [BZ #15748]
60840 * manual/arith.texi (Parsing of Floats): Clarify
60841 cross-reference.
60842
60843 [BZ #15849]
60844 * manual/install.texi (Running make install): Mention
60845 --enable-pt-chown.
60846 * INSTALL: Regenerated.
60847
60848 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
60849
60850 * csu/init-first.c (_init): Remove the !SHARED condition around
60851 FPU control word initialization.
60852 * elf/dl-support.c (_dl_fpu_control): New variable.
60853 (_dl_aux_init) <AT_FPUCW>: Initialize it.
60854 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60855 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60856 * math/test-fpucw-static.c: New file.
60857 * math/test-fpucw-ieee.c: New file.
60858 * math/test-fpucw-ieee-static.c: New file.
60859 * math/Makefile (tests): Add `test-fpucw-ieee' and
60860 `$(tests-static)'.
60861 (tests-static): New variable.
60862 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60863 dependency to...
60864 [($(build-shared),yes)]
60865 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60866 ... this.
60867 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60868 New dependency.
60869
60870 2013-09-09 Allan McRae <allan@archlinux.org>
60871
60872 [BZ #15939]
60873 * manual/string.texi (Collation Functions): Fix typo in
60874 strcoll example.
60875 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60876
60877 [BZ #15893]
60878 * stdlib/isomac.c (get_null_defines): Fix memory leak.
60879
60880 [BZ #15892]
60881 * libio/memstream.c (open_memstream): Fix memory leak.
60882 * libio/wmemstream.c (open_wmemstream): Likewise.
60883
60884 [BZ #15895]
60885 * nscd/netgroupcache.c: Fix nesting of ifdefs.
60886
60887 2013-09-09 Will Newton <will.newton@linaro.org>
60888
60889 * malloc/Makefile: Add tst-realloc to tests.
60890 * malloc/tst-realloc.c: New file.
60891
60892 2013-09-09 Allan McRae <allan@archlinux.org>
60893
60894 [BZ #15844]
60895 * COPYING: Update from GNU website to fix FSF address.
60896 * COPYING.LIB: Likewise.
60897
60898 2013-09-06 David S. Miller <davem@davemloft.net>
60899
60900 * po/zh_TW.po: Update Chinese (traditional) translation from
60901 translation project.
60902
60903 2013-09-06 Richard Sandiford <richard@codesourcery.com>
60904 Joseph Myers <joseph@codesourcery.com>
60905
60906 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60907 "localeinfo.h".
60908 (obstack_chunk_alloc): New macro.
60909 (obstack_chunk_free): Likewise.
60910 (record_offset): New function.
60911 (init_locale_data): Likewise.
60912 (align_locale_data): Likewise.
60913 (add_locale_empty): Likewise.
60914 (add_locale_raw_data): Likewise.
60915 (add_locale_raw_obstack): Likewise.
60916 (add_locale_string): Likewise.
60917 (add_locale_wstring): Likewise.
60918 (add_locale_uint32): Likewise.
60919 (add_locale_uint32_array): Likewise.
60920 (add_locale_char): Likewise.
60921 (start_locale_structure): Likewise.
60922 (end_locale_structure): Likewise.
60923 (start_locale_prelude): Likewise.
60924 (end_locale_prelude): Likewise.
60925 (write_locale_data): Take locale_file structure rather than an
60926 iovec.
60927 * locale/programs/locfile.h: Include "obstack.h".
60928 (struct locale_file): Change to store locale file contents instead
60929 of header.
60930 (init_locale_data): New prototype.
60931 (align_locale_data): Likewise.
60932 (add_locale_empty): Likewise.
60933 (add_locale_raw_data): Likewise.
60934 (add_locale_raw_obstack): Likewise.
60935 (add_locale_string): Likewise.
60936 (add_locale_wstring): Likewise.
60937 (add_locale_uint32): Likewise.
60938 (add_locale_uint32_array): Likewise.
60939 (add_locale_char): Likewise.
60940 (start_locale_structure): Likewise.
60941 (end_locale_structure): Likewise.
60942 (start_locale_prelude): Likewise.
60943 (end_locale_prelude): Likewise.
60944 (write_locale_data): Update prototype.
60945 * locale/programs/3level.h (struct TABLE): Remove result field.
60946 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60947 Use new locale_file interface.
60948 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60949 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60950 * locale/programs/ld-address.c (address_output): Use new
60951 locale_file interface.
60952 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60953 NO_ADD_LOCALE.
60954 (collate_finish): Don't call collseq_table_finalize.
60955 (collate_output): Use new locale_file interface.
60956 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60957 in file.
60958 (NO_FINALIZE): Change to NO_ADD_LOCALE.
60959 (TABLE): Move defines earlier in file.
60960 (ELEMENT): Likewise.
60961 (DEFAULT): Likewise.
60962 (wctrans_table_add): Move macro and inline function earlier in
60963 file.
60964 (struct wctype_table): Move type earlier in file.
60965 (add_locale_wctype_table): New static prototype.
60966 (struct locale_ctype_t): Use logical types instead of struct iovec
60967 pointers for members.
60968 (ctype_output): Use new locale_file interface.
60969 (wctype_table_finalize): Change to add_locale_wctype_table. Use
60970 new locale_file interface.
60971 (allocate_arrays): Update for use of new locale_file interface.
60972 * locale/programs/ld-identification.c (identification_output): Use
60973 new locale_file interface.
60974 * locale/programs/ld-measurement.c (measurement_output): Likewise.
60975 * locale/programs/ld-messages.c (messages_output): Likewise.
60976 * locale/programs/ld-monetary.c (monetary_output): Likewise.
60977 * locale/programs/ld-name.c (name_output): Likewise.
60978 * locale/programs/ld-numeric.c (numeric_output): Likewise.
60979 * locale/programs/ld-paper.c (paper_output): Likewise.
60980 * locale/programs/ld-telephone.c (telephone_output): Likewise.
60981 * locale/programs/ld-time.c (time_output): Likewise.
60982
60983 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60984
60985 * benchtests/Makefile: Add memrchr benchmark.
60986 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60987 benchmark as memrchr.
60988 * benchtests/bench-memrchr-ifunc.c: New file.
60989 * benchtests/bench-memrchr.c: New file.
60990
60991 2013-09-06 Will Newton <will.newton@linaro.org>
60992
60993 * benchtests/Makefile (string-bench): Add memcpy.
60994
60995 2013-09-05 Carlos O'Donell <carlos@redhat.com>
60996 Cong Wang <amwang@redhat.com>
60997
60998 [BZ #15850]
60999 * sysdeps/unix/sysv/linux/bits/in.h
61000 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
61001 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
61002 before __USE_KERNEL_IPV6_DEFS uses.
61003 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
61004 IPPROTO_BEETPH.
61005 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
61006 sockaddr_in6, or ipv6_mreq.
61007
61008 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61009
61010 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
61011 memory access for final bytes in some large inputs.
61012 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
61013
61014 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61015
61016 * string/test-memrchr.c: New file.
61017 * string/test-memrchr-ifunc.c: New file.
61018 * string/Makefile: Add new memrchr testcase.
61019
61020 2013-09-05 Mike Frysinger <vapier@gentoo.org>
61021
61022 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
61023 fanotify_init returns EPERM.
61024
61025 2013-09-04 Joseph Myers <joseph@codesourcery.com>
61026
61027 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
61028 errors.
61029 (top level): Treat second token from macro or constant entries for
61030 allowed headers as allowed.
61031 * include/complex.h: Condition internal declarations on
61032 [!_ISOMAC].
61033 * include/fenv.h: Condition include of <stdbool.h> and internal
61034 declarations on [!_ISOMAC].
61035
61036 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
61037
61038 [BZ #15923]
61039 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
61040
61041 2013-09-04 Joseph Myers <joseph@codesourcery.com>
61042
61043 * configure.in (--enable-versioning): Remove configure option.
61044 (libc_cv_asm_symver_directive): Remove configure test.
61045 (libc_cv_ld_version_script_option): Likewise.
61046 (VERSIONING): Remove variable and AC_SUBST.
61047 (DO_VERSIONING): Remove AC_DEFINE.
61048 * configure: Regenerated.
61049 * config.h.in (DO_VERSIONING): Remove macro.
61050 * Makerules [$(versioning) = yes]: Change conditionals to
61051 [$(build-shared) = yes].
61052 * config.make.in (versioning): Remove variable.
61053 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
61054 [$(build-shared) = yes].
61055 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
61056 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
61057 * elf/Makefile [$(versioning) = yes]: Change conditionals to
61058 [$(build-shared) = yes].
61059 * extra-lib.mk [$(versioning) = yes]: Likewise.
61060 * hurd/Makefile [$(versioning) = yes]: Likewise.
61061 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
61062 [SHARED].
61063 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
61064 [SHARED].
61065 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61066 [SHARED && !NO_HIDDEN].
61067 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
61068 [SHARED].
61069 [SHARED && DO_VERSIONING]: Likewise..
61070 * libio/Makefile [$(versioning) = yes]: Change conditionals to
61071 [$(build-shared) = yes].
61072 * manual/install.texi (--disable-versioning): Remove
61073 documentation.
61074 * INSTALL: Regenerated.
61075 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
61076 to [SHARED].
61077 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
61078 [$(build-shared) = yes].
61079 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
61080 * sysdeps/i386/i686/multiarch/strstr-c.c
61081 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61082 [SHARED && !NO_HIDDEN].
61083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
61084 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
61085 * sysdeps/powerpc/powerpc32/dl-machine.c
61086 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
61087 * sysdeps/powerpc/powerpc32/sysdep.h
61088 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
61089 to [SHARED && PIC && !NO_HIDDEN].
61090 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
61091 conditional to [SHARED].
61092
61093 2013-09-04 Will Newton <will.newton@linaro.org>
61094
61095 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
61096 * benchtests/bench-string.h: Include bench-timing.h instead
61097 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
61098 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
61099 call to HP_TIMING_DIFF_INIT.
61100 * benchtests/bench-memccpy.c: Use bench-timing.h macros
61101 instead of hp-timing.h macros.
61102 * benchtests/bench-memchr.c: Likewise.
61103 * benchtests/bench-memcmp.c: Likewise.
61104 * benchtests/bench-memcpy.c: Likewise.
61105 * benchtests/bench-memmem.c: Likewise.
61106 * benchtests/bench-memmove.c: Likewise.
61107 * benchtests/bench-memset.c: Likewise.
61108 * benchtests/bench-rawmemchr.c: Likewise.
61109 * benchtests/bench-strcasecmp.c: Likewise.
61110 * benchtests/bench-strcasestr.c: Likewise.
61111 * benchtests/bench-strcat.c: Likewise.
61112 * benchtests/bench-strchr.c: Likewise.
61113 * benchtests/bench-strcmp.c: Likewise.
61114 * benchtests/bench-strcpy.c: Likewise.
61115 * benchtests/bench-strcpy_chk.c: Likewise.
61116 * benchtests/bench-strlen.c: Likewise.
61117 * benchtests/bench-strncasecmp.c: Likewise.
61118 * benchtests/bench-strncat.c: Likewise.
61119 * benchtests/bench-strncmp.c: Likewise.
61120 * benchtests/bench-strncpy.c: Likewise.
61121 * benchtests/bench-strnlen.c: Likewise.
61122 * benchtests/bench-strpbrk.c: Likewise.
61123 * benchtests/bench-strrchr.c: Likewise.
61124 * benchtests/bench-strspn.c: Likewise.
61125 * benchtests/bench-strstr.c: Likewise.
61126
61127 2013-09-04 Will Newton <will.newton@linaro.org>
61128
61129 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
61130
61131 2013-09-03 Joseph Myers <joseph@codesourcery.com>
61132
61133 [BZ #15427]
61134 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
61135 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
61136 * math/libm-test.inc (lgamma_test_data): Add more tests.
61137 * sysdeps/i386/fpu/libm-test-ulps: Update.
61138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61139
61140 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
61141
61142 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
61143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61144 Add ifunc.
61145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61146 Add strcmp-sse2-unaligned
61147 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
61148
61149 2013-09-02 Mike Frysinger <vapier@gentoo.org>
61150
61151 * Versions.def (libc): Add GLIBC_2.19.
61152
61153 2013-09-02 Mike Frysinger <vapier@gentoo.org>
61154
61155 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
61156 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
61157
61158 2013-09-02 Joseph Myers <joseph@codesourcery.com>
61159
61160 [BZ #14155]
61161 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
61162 intermediate calculations in recurrence.
61163 (__ieee754_ynf): Likewise.
61164 * math/libm-test.inc (jn_test_data): Do not allow spurious
61165 underflow exception. Add more tests.
61166 (yn_test_data): Add more tests.
61167 * sysdeps/i386/fpu/libm-test-ulps: Update.
61168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61169
61170 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
61171
61172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
61173
61174 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
61175
61176 * csu/init-first.c: Fix then/than typos.
61177 * locale/programs/ld-collate.c: Likewise.
61178 * locale/programs/linereader.h: Likewise.
61179 * manual/charset.texi: Likewise.
61180 * manual/filesys.texi: Likewise.
61181 * manual/stdio.texi: Likewise.
61182 * manual/string.texi: Likewise.
61183 * stdlib/fmtmsg.c: Likewise.
61184 * sysdeps/i386/stpncpy.S: Likewise.
61185 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61186 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61187 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61188 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61189
61190 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
61191
61192 * elf/dl-open.c: Fix typos.
61193 * iconvdata/gbbig5.c: Likewise.
61194 * iconvdata/iso-2022-jp.c: Likewise.
61195 * iconv/gconv_int.h: Likewise.
61196 * iconv/loop.c: Likewise.
61197 * nis/rpcsvc/nis.h: Likewise.
61198 * resolv/ns_name.c: Likewise.
61199 * stdio-common/vfscanf.c: Likewise.
61200 * streams/stropts.h: Likewise.
61201 * sunrpc/rpc_thread.c: Likewise.
61202 * sysdeps/i386/strpbrk.S: Likewise.
61203 * sysdeps/ieee754/k_standard.c: Likewise.
61204 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61206 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
61207 * sysdeps/mach/hurd/profil.c: Likewise.
61208 * sysdeps/s390/dl-procinfo.h: Likewise.
61209 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
61210 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61211 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61212 * sysdeps/x86_64/dl-trampoline.S: Likewise.
61213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61214
61215 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
61216
61217 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61219
61220 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
61221
61222 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61223 aix specific files.
61224 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61225 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61226 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61227 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61228 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61229 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61230 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61231 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61232
61233 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
61234 Roland McGrath <roland@hack.frob.com>
61235
61236 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61237 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61238
61239 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
61240
61241 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61242 __executable_start symbol instead of _start.
61243
61244 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
61245
61246 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61247 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61248 Move macros to...
61249 * sysdeps/gnu/ldsodefs.h: ... this new file.
61250
61251 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61252 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61253 instead of ELFOSABI_LINUX.
61254
61255 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61256 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61257 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61258 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61259 Likewise.
61260 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61261 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61262 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61263 Likewise.
61264 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61265 (ibm_extended_long_double): Add ieee_nan member.
61266 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61267 (do_test): New function.
61268
61269 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61270 TEST_TRUNC.
61271 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61272 functions, renamed from truncdfsf_test, trunctfsf_test,
61273 trunctfdf_test.
61274 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61275 functions.
61276 (do_test): Run all these.
61277
61278 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
61279
61280 * argp/argp-help.c: Fix typos.
61281 * argp/argp-parse.c: Likewise.
61282 * debug/backtracesyms.c: Likewise.
61283 * elf/elf.h: Likewise.
61284 * malloc/malloc.c: Likewise.
61285 * nis/nis_print.c: Likewise.
61286 * resolv/res_comp.c: Likewise.
61287 * stdlib/stdlib.h: Likewise.
61288 * sunrpc/clnt_tcp.c: Likewise.
61289 * sunrpc/clnt_udp.c: Likewise.
61290 * sunrpc/clnt_unix.c: Likewise.
61291 * sysdeps/unix/bsd/ptsname.c: Likewise.
61292 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61293 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61295 Likewise.
61296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61297 Likewise.
61298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61299 Likewise.
61300 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61301
61302 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61303
61304 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61306
61307 2013-08-27 Mike Frysinger <vapier@gentoo.org>
61308
61309 [BZ #15897]
61310 * dlfcn/Makefile (tests): Add bug-dl-leaf.
61311 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61312 ($(objpfx)bug-dl-leaf): New rule.
61313 ($(objpfx)bug-dl-leaf.so): Likewise.
61314 ($(objpfx)bug-dl-leaf.out): Likewise.
61315 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61316 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61317 * dlfcn/bug-dl-leaf.c: New test.
61318 * dlfcn/bug-dl-leaf-lib.c: Likewise.
61319 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61320 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61321 (dlclose): Likewise.
61322 (dlmopen): Likewise.
61323
61324 2013-08-27 Roland McGrath <roland@hack.frob.com>
61325
61326 * include/netdb.h [!_ISOMAC]:
61327 Don't include <tls.h>.
61328 (h_errno, __libc_h_errno): Move declaration and macros out of
61329 [_LIBC_REENTRANT].
61330
61331 * include/resolv.h [_RESOLV_H_]:
61332 Don't include <tls.h>.
61333 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61334 * resolv/res_libc.c: Don't include <tls.h>.
61335 (_res): Use __attribute__ ((nocommon)) in place of
61336 __attribute__ ((section (".bss"))).
61337
61338 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61339 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61340
61341 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61342
61343 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61344 only under [SIOCGIFCONF && SIOCGIFNETMASK].
61345
61346 * resolv/res_mkquery.c: Include <sys/time.h>.
61347
61348 * inet/ifreq.c: Moved to ...
61349 * sysdeps/unix/ifreq.c: ... here.
61350 * inet/ifreq.c: New file, true stub version.
61351
61352 * socket/sa_len.c: New file.
61353 * socket/Makefile (aux): Add it.
61354 * sysdeps/unix/sysv/linux/Makefile
61355 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61356 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61357 and #include <socket/sa_len.c>.
61358 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61359 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61360
61361 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61362 * bits/socket.h: ... here.
61363
61364 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61365 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61366 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61367
61368 2013-08-27 Andreas Schwab <schwab@suse.de>
61369
61370 [BZ #15736]
61371 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61372 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61373 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61374 * string/test-strcasecmp.c (test_main): Run tests in several
61375 locales.
61376 * string/test-strncasecmp.c (test_main): Likewise.
61377
61378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61379 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61380 to __strcasecmp_nonascii and __strncasecmp_nonascii.
61381 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61382 (__strncasecmp_ssse3) [PIC]: Likewise.
61383
61384 2013-08-26 Roland McGrath <roland@hack.frob.com>
61385
61386 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61387
61388 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61389 instead of explicitly declaring xdecrypt.
61390 * nis/nss_nis/nis-publickey.c: Likewise.
61391
61392 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61393
61394 [BZ #15890]
61395 * nscd/aicache.c: Include res_hconf.h.
61396 (addhstaiX): Initialize res_hconf.
61397
61398 2013-08-26 Andreas Schwab <schwab@suse.de>
61399
61400 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61401 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
61402
61403 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61404
61405 * nscd/aicache.c (addhstaiX): Fix indentation.
61406
61407 2013-08-25 Mike Frysinger <vapier@gentoo.org>
61408
61409 * configure.ac: Quote $build_pt_chown test.
61410 * configure: Regenerated.
61411
61412 2013-08-23 Joseph Myers <joseph@codesourcery.com>
61413
61414 [BZ #15532]
61415 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
61416 * math/s_cexpf.c (__cexpf): Likewise.
61417 * math/s_cexpl.c (__cexpl): Likewise.
61418 * math/libm-test.inc (cexp_test_data): Correct expected return
61419 value for NaN + i0. Add another test.
61420
61421 2013-08-22 David S. Miller <davem@davemloft.net>
61422
61423 * po/ca.po: Update Catalan translation from translation project.
61424 * po/uk.po: Add Ukrainian translations from translation project.
61425
61426 2013-08-21 Joseph Myers <joseph@codesourcery.com>
61427
61428 [BZ #15797]
61429 * math/s_fdim.c (__fdim): Check for infinite arguments if result
61430 is infinite, not alongside NaN test.
61431 * math/s_fdimf.c (__fdimf): Likewise.
61432 * math/s_fdiml.c (__fdiml): Likewise.
61433 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
61434 errno is unchanged.
61435
61436 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
61437
61438 * argp/argp-help.c: Fix typos.
61439 * crypt/speeds.c: Likewise.
61440 * csu/check_fds.c: Likewise.
61441 * elf/dl-load.c: Likewise.
61442 * elf/dl-open.c: Likewise.
61443 * elf/reldep3.c: Likewise.
61444 * elf/reldep.c: Likewise.
61445 * elf/sprof.c: Likewise.
61446 * iconv/iconv_charmap.c: Likewise.
61447 * iconv/skeleton.c: Likewise.
61448 * iconv/strtab.c: Likewise.
61449 * io/lockf64.c: Likewise.
61450 * libio/libioP.h: Likewise.
61451 * resolv/gai_notify.c: Likewise.
61452 * resolv/ns_name.c: Likewise.
61453 * resolv/ns_samedomain.c: Likewise.
61454 * resolv/res_send.c: Likewise.
61455 * stdlib/random.c: Likewise.
61456 * sunrpc/rpc/xdr.h: Likewise.
61457 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
61458 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61459 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61460 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61464 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61465 * sysdeps/mach/hurd/check_fds.c: Likewise.
61466 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61467 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61469 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61470 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61471 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61472 * sysdeps/pthread/aio_notify.c: Likewise.
61473 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
61474 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
61475 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
61476 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61477 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61478
61479 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61480
61481 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
61482 version if bit_Slow_SSE4_2 is set.
61483 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61485
61486 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61487
61488 [BZ #15867]
61489 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
61490 trampoline stack frame information.
61491 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
61492 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
61493 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
61494 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
61495 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
61496 * sysdeps/unix/sysv/linux/powerpc/init-first.c
61497 (_libc_vdso_platform_setup): Initialize the signal trampolines.
61498 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
61499 sa_flags value.
61500 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
61501 interrupting a syscall and set with option SA_SIGINFO.
61502
61503 2013-08-20 Joseph Myers <joseph@codesourcery.com>
61504
61505 [BZ #15531]
61506 * math/s_cproj.c (__cproj): Only return an infinity if one part of
61507 argument is infinite.
61508 * math/s_cprojf.c (__cprojf): Likewise.
61509 * math/s_cprojl.c (__cprojl): Likewise.
61510 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
61511 * math/libm-test.inc (cproj_test_data): Add more tests.
61512
61513 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
61514
61515 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
61516 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
61517 size. Use __ffs to determine corresponding shift.
61518
61519 2013-08-20 Joseph Myers <joseph@codesourcery.com>
61520 Roland McGrath <roland@hack.frob.com>
61521
61522 * Makefile (INSTALL): Remove trailing blank lines from output of
61523 makeinfo.
61524
61525 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61526
61527 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
61528 Align 32 bit compat elf_greg to 8 bytes.
61529
61530 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
61531
61532 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
61533
61534 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61535
61536 * string/strcoll_l.c (coll_seq): New structure.
61537 (get_next_seq_cached): New function.
61538 (get_next_seq): New function.
61539 (do_compare): New function.
61540 (STRCOLL): Use GNU style definition. Simplify implementation
61541 by using get_next_seq, get_next_seq_cached and do_compare.
61542
61543 2013-08-16 Florian Weimer <fweimer@redhat.com>
61544
61545 [BZ #14699]
61546 CVE-2013-4237
61547 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61548 member.
61549 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61550 member.
61551 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61552 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61553 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
61554 conditional.
61555 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61556 GETDENTS_64BIT_ALIGNED.
61557 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61558 * manual/filesys.texi (Reading/Closing Directory): Document
61559 ENAMETOOLONG return value of readdir_r. Recommend readdir more
61560 strongly.
61561 * manual/conf.texi (Limits for Files): Add portability note to
61562 NAME_MAX, PATH_MAX.
61563 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61564
61565 2013-08-13 Andreas Schwab <schwab@suse.de>
61566
61567 [BZ #15749]
61568 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61569 of fabs.
61570 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61571 LDBL_MAX_EXP >= 16384]: Add tests for it.
61572
61573 2013-08-12 David S. Miller <davem@davemloft.net>
61574
61575 * version.h (RELEASE): Set to "development".
61576 (VERSION): Set to "2.18.90".
61577 * NEWS: Add 2.19 section.
61578
61579 2013-08-03 David S. Miller <davem@davemloft.net>
61580
61581 * po/ko.po: Update Korean translation from translation project.
61582
61583 2013-08-01 David S. Miller <davem@davemloft.net>
61584
61585 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
61586 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61587 Bilka.
61588
61589 2013-07-30 David S. Miller <davem@davemloft.net>
61590
61591 * po/fr.po: Update French translation from translation project.
61592
61593 2013-07-28 David S. Miller <davem@davemloft.net>
61594
61595 * po/cs.po: Update Czech translation from translation project.
61596
61597 * po/sv.po: Update Swedish translation from translation project.
61598
61599 2013-07-27 David S. Miller <davem@davemloft.net>
61600
61601 * po/eo.po: Update Esperanto translation from translation project.
61602
61603 * po/vi.po: Update Vietnamese translation from translation project.
61604
61605 * po/de.po: Update German translation from translation project.
61606
61607 2013-07-26 David S. Miller <davem@davemloft.net>
61608
61609 * po/bg.po: Update Bulgarian translation from translation project.
61610
61611 * po/nl.po: Update Dutch translation from translation project.
61612 * po/pl.po: Update Polish translation from translation project.
61613 * po/ru.po: Update Russian translation from translation project.
61614
61615 2013-07-24 David S. Miller <davem@davemloft.net>
61616
61617 * po/libc.pot: Update.
61618
61619 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61620
61621 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61622 variable page size.
61623 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61624 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61625 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61626
61627 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61628
61629 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61630
61631 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
61632 Andreas Schwab <schwab@suse.de>
61633 Roland McGrath <roland@hack.frob.com>
61634 Joseph Myers <joseph@codesourcery.com>
61635 Carlos O'Donell <carlos@redhat.com>
61636
61637 [BZ #15755]
61638 * config.h.in: Define HAVE_PT_CHOWN.
61639 * config.make.in (build-pt-chown): New variable.
61640 * configure.in (--enable-pt_chown): New configure option.
61641 * configure: Regenerate.
61642 * login/Makefile: Include Makeconfig. Build pt_chown only if
61643 build-pt-chown is enabled.
61644 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61645 pt_chown to fix pty ownership.
61646 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61647 CLOSE_ALL_FDS.
61648 * manual/install.texi (Configuring and compiling): Mention
61649 --enable-pt_chown. Add @findex for grantpt.
61650 * INSTALL: Regenerate.
61651
61652 2013-07-20 David S. Miller <davem@davemloft.net>
61653
61654 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61655 difference between 32-bit and 64-bit.
61656
61657 2013-07-15 Carlos O'Donell <carlos@redhat.com>
61658
61659 [BZ #15711]
61660 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61661 Avoid system header dependency with -ffreestanding.
61662 ($(objpfx)bits/syscall%d): Likewise.
61663
61664 2013-07-13 David S. Miller <davem@davemloft.net>
61665
61666 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61667 underflows from atanl/atan2l due to bug 15319.
61668 (casinh_test_data): Likewise.
61669
61670 2013-07-07 David S. Miller <davem@davemloft.net>
61671
61672 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61673
61674 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
61675
61676 * sysdeps/i386/fpu/libm-test-ulps: Update.
61677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61678
61679 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61680
61681 * configure.in (--enable-lock-elision): Fix message text.
61682 * INSTALL: Regenerate.
61683 * configure: Regenerate.
61684
61685 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61686
61687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61688
61689 2013-07-03 Andreas Jaeger <aj@suse.de>
61690
61691 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61692 define.
61693 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61694 (ptrace_peeksiginfo_args): Add.
61695 (__ptrace_peeksiginfo_flags): Add.
61696 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61698 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61699
61700 2013-07-03 Allan McRae <allan@archlinux.org>
61701
61702 * sysdeps/i386/fpu/libm-test-ulps: Update.
61703
61704 2013-07-02 David S. Miller <davem@davemloft.net>
61705
61706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61707
61708 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
61709
61710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61711
61712 2013-07-02 Joseph Myers <joseph@codesourcery.com>
61713
61714 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61716
61717 2013-07-02 Andi Kleen <ak@linux.intel.com>
61718
61719 * config.h.in (ENABLE_LOCK_ELISION): Add.
61720 * configure.in (--enable-lock-elision): Add option.
61721 * manual/install.texi: Document --enable lock elision.
61722 * configure: Regenerate
61723 * INSTALL: Regenerate.
61724
61725 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
61726
61727 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61728 SSE4.2 strcasecmp for libc.a.
61729 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61730
61731 2013-07-02 Joseph Myers <joseph@codesourcery.com>
61732
61733 [BZ #13304]
61734 * soft-fp/op-common.h (_FP_FMA): New macro.
61735 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61736 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
61737 (_FP_MUL_MEAT_1_imm): ... here.
61738 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
61739 (_FP_MUL_MEAT_1_wide): ... here.
61740 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
61741 (_FP_MUL_MEAT_1_hard): ... here.
61742 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61743 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
61744 (_FP_MUL_MEAT_2_wide): ... here.
61745 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
61746 (_FP_MUL_MEAT_2_wide_3mul): ... here.
61747 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
61748 (_FP_MUL_MEAT_2_gmp): ... here.
61749 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61750 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
61751 (_FP_MUL_MEAT_4_wide): ... here.
61752 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
61753 (_FP_MUL_MEAT_4_gmp): ... here.
61754 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61755 (_FP_WFRACBITS_DW_S): Likewise.
61756 (_FP_WFRACXBITS_DW_S): Likewise.
61757 (_FP_HIGHBIT_DW_S): Likewise.
61758 (FP_FMA_S): Likewise.
61759 (_FP_FRAC_HIGH_DW_S): Likewise.
61760 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61761 (_FP_WFRACBITS_DW_D): Likewise.
61762 (_FP_WFRACXBITS_DW_D): Likewise.
61763 (_FP_HIGHBIT_DW_D): Likewise.
61764 (FP_FMA_D): Likewise.
61765 (_FP_FRAC_HIGH_DW_D): Likewise.
61766 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61767 (_FP_WFRACBITS_DW_E): Likewise.
61768 (_FP_WFRACXBITS_DW_E): Likewise.
61769 (_FP_HIGHBIT_DW_E): Likewise.
61770 (FP_FMA_E): Likewise.
61771 (_FP_FRAC_HIGH_DW_E): Likewise.
61772 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61773 (_FP_WFRACBITS_DW_Q): Likewise.
61774 (_FP_WFRACXBITS_DW_Q): Likewise.
61775 (_FP_HIGHBIT_DW_Q): Likewise.
61776 (FP_FMA_Q): Likewise.
61777 (_FP_FRAC_HIGH_DW_Q): Likewise.
61778 * soft-fp/fmasf4.c: New file.
61779 * soft-fp/fmadf4.c: Likewise.
61780 * soft-fp/fmatf4.c: Likewise.
61781
61782 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61783
61784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61785 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61786 Silvermont.
61787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61788 macro.
61789 (index_Slow_SSE4_2): Likewise.
61790 (index_Prefer_PMINUB_for_stringop): Likewise.
61791 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61792 bit_Slow_SSE4_2 is set.
61793 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61794 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61795
61796 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61797
61798 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61799 rtld_global._dl_hwcap2.
61800 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61801 POWER8.
61802 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61803 POWER8 feature descriptions defined in _dl_hwcap2.
61804 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61805 string handling for POWER8 feature bits.
61806 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61807 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61808 _dl_powerpc_cap_flags.
61809 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61810 * sysdeps/powerpc/rtld-global-offsets.sym
61811 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61812 _dl_hwcap2 in the rtld_global_ro structure.
61813
61814 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61815
61816 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61817 hardware capabilities in support of AT_HWCAP2.
61818 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61819 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61820 GLRO(dl_hwcap2).
61821 (_dl_show_auxv): Add support for calling _dl_procinfo to display
61822 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
61823 explicitly the unknown a_type display mechanism is used.
61824 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61825 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61826 struct member.
61827 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61828 to macro prototype for AT_HWCAP2 support.
61829 * sysdeps/i386/dl-procinfo.h: Likewise.
61830 * sysdeps/s390/dl-procinfo.h: Likewise.
61831 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61832 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
61833 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
61834 return -1 for unknown a_type display fallback.
61835 * sysdeps/sparc/dl-procinfo.h: Likewise.
61836 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61837 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61838
61839 2013-06-28 Joseph Myers <joseph@codesourcery.com>
61840
61841 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61842 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61843
61844 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
61845
61846 [BZ #12492]
61847 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61848 mprotect making __stack_prot writable.
61849
61850 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
61851 Joseph Myers <joseph@codesourcery.com>
61852
61853 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61854 as being properly aligned.
61855
61856 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
61857
61858 * dlfcn/modstatic5.c: New file.
61859 * dlfcn/tststatic5.c: New file.
61860 * dlfcn/Makefile (tests): Add tststatic5.
61861 (tests-static): Likewise.
61862 (modules-names): Add modstatic5.
61863 (tststatic5-ENV): New variable.
61864 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61865
61866 [BZ #15022]
61867 * elf/dl-support.c (_dl_main_map): New variable.
61868 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61869 (_dl_nns, _dl_load_adds): Set to 1.
61870 (_dl_initial_searchlist): Refer to _dl_main_map.
61871 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61872 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61873 call to _dl_get_origin.
61874 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61875 around call_map.
61876 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61877 * dlfcn/modstatic3.c: New file.
61878 * dlfcn/tststatic3.c: New file.
61879 * dlfcn/tststatic4.c: New file.
61880 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61881 (tests-static): Likewise.
61882 (modules-names): Add modstatic3.
61883 (tststatic3-ENV, tststatic4-ENV): New variables.
61884 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61885 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61886
61887 2013-06-26 Joseph Myers <joseph@codesourcery.com>
61888
61889 * configure.in (CC): Require GCC version 4.4 or later.
61890 * configure: Regenerated.
61891 * manual/install.texi (Tools for Compilation): Update GCC version
61892 requirement.
61893 * INSTALL: Regenerated.
61894
61895 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61896
61897 [BZ #15674]
61898 * string/test-memcmp.c (check2): New.
61899 (main): Call check2.
61900
61901 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61902
61903 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
61904
61905 [BZ #15022]
61906 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61907 over to...
61908 (dl_open_worker) [!SHARED]: ... here.
61909
61910 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61911
61912 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61913
61914 2013-06-25 Richard Henderson <rth@redhat.com>
61915
61916 * locale/programs/locarchive.c: Include <libc-internal.h>
61917
61918 2013-06-25 Joseph Myers <joseph@codesourcery.com>
61919
61920 * manual/texinfo.tex: Update to version 2013-06-21.17, with
61921 trailing whitespace removed.
61922
61923 2013-06-24 Mike Frysinger <vapier@gentoo.org>
61924
61925 [BZ #10283]
61926 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61927 * locale/programs/locarchive.c: Include libc-mmap.h.
61928 (prepare_address_space): Take two new outputs (the mmap base and len).
61929 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
61930 values.
61931 (create_archive): Declare new mmap base and len values for
61932 prepare_address_space, and store the result in ah.
61933 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61934 (enlarge_archive): If ah->mmap_base is not NULL, use that and
61935 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61936 Declare new mmap base and len values for
61937 prepare_address_space, and store the result in new_ah.
61938 (open_archive): Declare new mmap base and len values for
61939 prepare_address_space, and store the result in ah.
61940 (close_archive): If ah->mmap_base is not NULL, use that and
61941 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61942 * sysdeps/generic/libc-mmap.h: New file.
61943
61944 2013-06-24 Mike Frysinger <vapier@gentoo.org>
61945
61946 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61947 (ALIGN_UP): Likewise.
61948 (PTR_ALIGN_DOWN): Likewise.
61949 (PTR_ALIGN_UP): Likewise.
61950
61951 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61952
61953 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61954 entry mapped to PPC_PLATFORM_POWER8.
61955 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61956 POWER8.
61957 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61958 (_dl_string_platform): Add case for exporting platform position for
61959 POWER8.
61960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61961 search path to sysdeps/powerpc/powerpc32/power8 directory.
61962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61963 search path to sysdeps/powerpc/powerpc64/power8 directory.
61964 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61965 power7 directories.
61966 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61967 power7 directories.
61968
61969 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
61970
61971 * INSTALL: Regenerate.
61972
61973 * nscd/connections.c (nscd_init): Fix comment.
61974
61975 2013-06-22 Joseph Myers <joseph@codesourcery.com>
61976
61977 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61978
61979 [BZ #15667]
61980 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61981 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61982
61983 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
61984
61985 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61986 DL_DST_REQ_STATIC.
61987 (DL_DST_REQ_STATIC): Remove macro.
61988
61989 2013-06-21 Joseph Myers <joseph@codesourcery.com>
61990
61991 [BZ #7006]
61992 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61993 with a shift of 0 bits.
61994
61995 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
61996
61997 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61998 $(tststatic-ENV).
61999
62000 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62001
62002 [BZ #15655]
62003 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
62004
62005 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62006
62007 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
62008 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
62009 accepts -fno-tree-loop-distribute-patterns.
62010 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
62011 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
62012 recursive call.
62013 * string/memset.c (memset): Likewise.
62014 * string/test-memmove.c (simple_memmove): Disable loop transformation
62015 to library calls.
62016 * string/test-memset.c (simple_memset): Likewise.
62017 * benchtests/bench-memmove.c (simple_memmove): Likewise.
62018 * benchtests/bench-memset.c (simple_memset): Likewise.
62019 * configure: Regenerated.
62020
62021 2013-06-20 Joseph Myers <joseph@codesourcery.com>
62022
62023 * math/test-misc.c (main): Ignore fesetround failure when failures
62024 of subsequent rounding tests would be ignored.
62025
62026 [BZ #15654]
62027 * math/fedisblxcpt.c (fedisableexcept): Return 0.
62028 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
62029 * math/fegetenv.c (__fegetenv): Return 0.
62030 * math/fegetexcept.c (fegetexcept): Return 0.
62031 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
62032 FE_TONEAREST.
62033 * math/feholdexcpt.c (feholdexcept): Return 0.
62034 * math/fesetenv.c (__fesetenv): Return 0.
62035 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
62036 argument FE_TONEAREST.
62037 * math/feupdateenv.c (__feupdateenv): Return 0.
62038 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
62039
62040 2013-06-18 Roland McGrath <roland@hack.frob.com>
62041
62042 * elf/rtld-Rules (rtld-compile-command.S): New variable.
62043 (rtld-compile-command.s, rtld-compile-command.c): New variables.
62044 ($(objpfx)rtld-%.os rules): Use them.
62045
62046 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62047
62048 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
62049 fields.
62050
62051 2013-06-17 Roland McGrath <roland@hack.frob.com>
62052
62053 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
62054 length of target pattern, then descending length of dependency pattern.
62055 * configure.in (AWK): Require gawk 3.1.2 or newer.
62056 * manual/install.texi (Tools for Compilation): Say that we do.
62057 * configure: Regenerated.
62058
62059 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
62060 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
62061 * scripts/sysd-rules.awk: ... this new script.
62062 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
62063 than a glob-style pattern.
62064
62065 2013-06-17 Joseph Myers <joseph@codesourcery.com>
62066
62067 * math/test-misc.c (main): Do not treat incorrectly rounded
62068 conversions as failure unless ROUNDING_TESTS passes.
62069
62070 2013-06-15 Joseph Myers <joseph@codesourcery.com>
62071
62072 [BZ #15631]
62073 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
62074 restore exception state around main square root computation, then
62075 check for inexactness explicitly.
62076
62077 * math/libm-test.inc (fma_test_data): Add another test.
62078
62079 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
62080
62081 * manual/threads.texi (Non-POSIX Extensions): New document
62082 node. Document pthread_getattr_default_np and
62083 pthread_setattr_default_np.
62084
62085 * Versions.def (libpthread): Add GLIBC_2.18.
62086 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
62087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62088 Likewise.
62089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62090 Likewise.
62091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62092 Likewise.
62093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62094 Likewise.
62095 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
62096 Likewise.
62097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62098 Likewise.
62099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62100 Likewise.
62101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62102 Likewise.
62103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62104 Likewise.
62105
62106 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62107
62108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62109 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
62110
62111 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
62112 H.J. Lu <hjl.tools@gmail.com>
62113
62114 [BZ #15627]
62115 * sysdeps/x86_64/rtld-memset.c: Remove file.
62116 * sysdeps/x86_64/rtld-memset.S: New file.
62117
62118 2013-06-14 Joseph Myers <joseph@codesourcery.com>
62119
62120 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
62121 (test_in_one_mode): Take arguments for whether the rounding mode
62122 is supported for each floating-point type.
62123 (do_test): Pass new arguments to test_in_one_mode using
62124 ROUNDING_TESTS.
62125
62126 2013-06-13 Roland McGrath <roland@hack.frob.com>
62127
62128 * posix/tst-waitid.c (do_test): Distinguish different instances of
62129 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
62130 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
62131 before entering the kernel for waitpid.
62132
62133 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
62134
62135 * NEWS: Fix note on clock function precision. Text by Roland
62136 McGrath.
62137
62138 2013-06-13 Roland McGrath <roland@hack.frob.com>
62139
62140 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
62141 it into place only when and if the sanity check passes.
62142
62143 2013-06-13 Joseph Myers <joseph@codesourcery.com>
62144
62145 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
62146 output for whether conversion result is exact. Take argument
62147 indicating whether type is IBM long double.
62148 (round_for_all): Change need_exact field to ibm_ld.
62149 * stdlib/tst-strtod-round.c (struct exactness): New type.
62150 (struct test): Change bool ld_ok field to struct exactness exact.
62151 (TEST): Update all definitions for change to field.
62152 (tests): Regenerate array contents.
62153 (test_in_one_mode): Take pointer to new field instead of old ld_ok
62154 field value. Check for IBM long double here.
62155 (do_test): Update calls to test_in_one_mode.
62156
62157 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
62158
62159 [BZ #12515]
62160 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
62161 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
62162
62163 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62164
62165 [BZ #15605]
62166 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
62167 generated by the compiler on loop optimizations.
62168 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
62169 general definitions.
62170
62171 2013-06-12 Joseph Myers <joseph@codesourcery.com>
62172
62173 * math/bug-nextafter.c: Include <math-tests.h>.
62174 (main): Only test for exceptions if EXCEPTION_TESTS is true for
62175 the relevant type.
62176 * math/bug-nexttoward.c: Include <math-tests.h>.
62177 (main): Only test for exceptions if EXCEPTION_TESTS is true for
62178 the relevant type.
62179 * math/test-misc.c: Include <math-tests.h>.
62180 (main): Only test for exceptions if EXCEPTION_TESTS is true for
62181 the relevant type.
62182
62183 2013-06-12 Andreas Jaeger <aj@suse.de>
62184
62185 * po/ia.po: Update Interlingua translation from translation
62186 project.
62187
62188 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
62189
62190 * include/fenv.h: Include stdbool.h.
62191 (struct rm_ctx): New structure.
62192 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
62193 Define macro.
62194 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
62195 (SET_RESTORE_ROUNDF): Likewise.
62196 (SET_RESTORE_ROUNDL): Likewise.
62197 (SET_RESTORE_ROUND_NOEX): Likewise.
62198 (SET_RESTORE_ROUND_NOEXF): Likewise.
62199 (SET_RESTORE_ROUND_NOEXL): Likewise.
62200 (SET_RESTORE_ROUND_53BIT): Likewise.
62201 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
62202 (libc_feresetround_noexf_ctx): Likewise.
62203 (libc_feresetround_noexl_ctx): Likewise.
62204 (libc_feholdsetround_53bit_ctx): Likewise.
62205 (libc_feresetround_53bit_ctx): Likewise.
62206 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
62207 (libc_feholdexcept_setround_sse_ctx): New function.
62208 (libc_fesetenv_sse_ctx): Likewise.
62209 (libc_feupdateenv_sse_ctx): Likewise.
62210 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62211 (libc_feholdexcept_setround_387_ctx): Likewise.
62212 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62213 (libc_feholdsetround_387_prec_ctx): Likewise.
62214 (libc_feholdsetround_387_ctx): Likewise.
62215 (libc_feholdsetround_387_53bit_ctx): Likewise.
62216 (libc_feholdsetround_sse_ctx): Likewise.
62217 (libc_feresetround_sse_ctx): Likewise.
62218 (libc_feresetround_387_ctx): Likewise.
62219 (libc_feupdateenv_387_ctx): Likewise.
62220 (libc_feholdexcept_setroundf_ctx): Define macro.
62221 (libc_fesetenvf_ctx): Likewise.
62222 (libc_feupdateenvf_ctx): Likewise.
62223 (libc_feholdsetroundf_ctx): Likewise.
62224 (libc_feresetroundf_ctx): Likewise.
62225 (libc_feholdexcept_setround_ctx): Likewise.
62226 (libc_fesetenv_ctx): Likewise.
62227 (libc_feupdateenv_ctx): Likewise.
62228 (libc_feholdsetround_ctx): Likewise.
62229 (libc_feresetround_ctx): Likewise.
62230 (libc_feholdexcept_setroundl_ctx): Likewise.
62231 (libc_feupdateenvl_ctx): Likewise.
62232 (libc_feholdsetroundl_ctx): Likewise.
62233 (libc_feresetroundl_ctx): Likewise.
62234 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62235 (libc_feresetround_53bit_ctx): Likewise.
62236
62237 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62238
62239 * locale/iso-639.def: Convert to UTF-8.
62240
62241 2013-06-11 Joseph Myers <joseph@codesourcery.com>
62242
62243 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62244 (EXCEPTION_TESTS_double): Likewise.
62245 (EXCEPTION_TESTS_long_double): Likewise.
62246 (EXCEPTION_TESTS): Likewise.
62247 * math/libm-test.inc (test_exceptions): Only test exceptions if
62248 EXCEPTION_TESTS (FLOAT).
62249
62250 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62251
62252 * benchtests/Makefile (string-bench): Add strcpy_chk and
62253 stpcpy_chk.
62254 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62255 * benchtests/bench-stpcpy_chk.c: New file.
62256 * benchtests/bench-strcpy_chk-ifunc.c: New file.
62257 * benchtests/bench-strcpy_chk.c: New file.
62258 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62259 code.
62260 (do_test): Likewise.
62261
62262 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62263
62264 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62265 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62266 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62267 with tabs where appropriate.
62268 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62269 dl-procinfo.h.
62270 [PPC_PLATFORM_PPC440]: Likewise.
62271 [PPC_PLATFORM_PPC464]: Likewise.
62272 [PPC_PLATFORM_PPC476]: Likewise.
62273 (_dl_string_platform): Add support for detecting ppc405, ppc440,
62274 ppc464, and ppc476 platform strings merging from ports/
62275 dl-procinfo.h.
62276
62277 2013-06-11 Andreas Schwab <schwab@suse.de>
62278
62279 [BZ #14991]
62280 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62281 (from_ucs4_idx): Regenerate.
62282 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62283 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62284 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62285 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62286 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62287 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62288 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62289 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62290 from FROM_LOOP and TO_LOOP specific macros.
62291 (BODY): Handle combining characters.
62292 * iconvdata/BIG5HKSCS.irreversible: Update.
62293 * iconvdata/BIG5HKSCS.precomposed: New file.
62294 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62295 characters.
62296 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62297
62298 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62299
62300 * include/sys/time.h: Fix indentation and add copyright header.
62301
62302 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62303 (do_test): Likewise.
62304 * string/test-memchr.c (do_one_test): Likewise.
62305 (do_test): Likewise.
62306 * string/test-memcmp.c (do_one_test): Likewise.
62307 (do_test): Likewise.
62308 * string/test-memcpy.c (do_one_test): Likewise.
62309 (do_test): Likewise.
62310 * string/test-memmem.c (do_one_test): Likewise.
62311 (do_test): Likewise.
62312 (do_random_tests): Likewise.
62313 * string/test-memmove.c (do_one_test): Likewise.
62314 (do_test): Likewise.
62315 * string/test-memset.c (do_one_test): Likewise.
62316 (do_test): Likewise.
62317 * string/test-rawmemchr.c (do_one_test): Likewise.
62318 (do_test): Likewise.
62319 * string/test-strcasecmp.c (do_one_test): Likewise.
62320 (do_test): Likewise.
62321 * string/test-strcasestr.c (do_one_test): Likewise.
62322 (do_test): Likewise.
62323 * string/test-strcat.c (do_one_test): Likewise.
62324 (do_test): Likewise.
62325 * string/test-strchr.c (do_one_test): Likewise.
62326 (do_test): Likewise.
62327 * string/test-strcmp.c (do_one_test): Likewise.
62328 (do_test): Likewise.
62329 * string/test-strcpy.c (do_one_test): Likewise.
62330 (do_test): Likewise.
62331 * string/test-string.h: Likewise.
62332 (test_init): Likewise.
62333 * string/test-strlen.c (do_one_test): Likewise.
62334 (do_test): Likewise.
62335 * string/test-strncasecmp.c (do_one_test): Likewise.
62336 (do_test): Likewise.
62337 * string/test-strncat.c (do_one_test): Likewise.
62338 (do_test): Likewise.
62339 * string/test-strncmp.c (do_one_test): Likewise.
62340 (do_test_limit): Likewise.
62341 (do_test): Likewise.
62342 * string/test-strncpy.c (do_one_test): Likewise.
62343 (do_test): Likewise.
62344 * string/test-strnlen.c (do_one_test): Likewise.
62345 (do_test): Likewise.
62346 * string/test-strpbrk.c (do_one_test): Likewise.
62347 (do_test): Likewise.
62348 * string/test-strrchr.c (do_one_test): Likewise.
62349 (do_test): Likewise.
62350 * string/test-strspn.c (do_one_test): Likewise.
62351 (do_test): Likewise.
62352 * string/test-strstr.c (do_one_test): Likewise.
62353 (do_test): Likewise.
62354
62355 * benchtests/Makefile (string-bench): Add string benchmarks.
62356 * benchtests/bench-bcopy-ifunc.c: New file.
62357 * benchtests/bench-bcopy.c: New file.
62358 * benchtests/bench-bzero-ifunc.c: New file.
62359 * benchtests/bench-bzero.c: New file.
62360 * benchtests/bench-memccpy-ifunc.c: New file.
62361 * benchtests/bench-memccpy.c: New file.
62362 * benchtests/bench-memchr-ifunc.c: New file.
62363 * benchtests/bench-memchr.c: New file.
62364 * benchtests/bench-memcmp-ifunc.c: New file.
62365 * benchtests/bench-memcmp.c: New file.
62366 * benchtests/bench-memmem-ifunc.c: New file.
62367 * benchtests/bench-memmem.c: New file.
62368 * benchtests/bench-memmove-ifunc.c: New file.
62369 * benchtests/bench-memmove.c: New file.
62370 * benchtests/bench-mempcpy-ifunc.c: New file.
62371 * benchtests/bench-mempcpy.c: New file.
62372 * benchtests/bench-memset-ifunc.c: New file.
62373 * benchtests/bench-memset.c: New file.
62374 * benchtests/bench-rawmemchr-ifunc.c: New file.
62375 * benchtests/bench-rawmemchr.c: New file.
62376 * benchtests/bench-stpcpy-ifunc.c: New file.
62377 * benchtests/bench-stpcpy.c: New file.
62378 * benchtests/bench-stpncpy-ifunc.c: New file.
62379 * benchtests/bench-stpncpy.c: New file.
62380 * benchtests/bench-strcasecmp-ifunc.c: New file.
62381 * benchtests/bench-strcasecmp.c: New file.
62382 * benchtests/bench-strcasestr-ifunc.c: New file.
62383 * benchtests/bench-strcasestr.c: New file.
62384 * benchtests/bench-strcat-ifunc.c: New file.
62385 * benchtests/bench-strcat.c: New file.
62386 * benchtests/bench-strchr-ifunc.c: New file.
62387 * benchtests/bench-strchr.c: New file.
62388 * benchtests/bench-strchrnul-ifunc.c: New file.
62389 * benchtests/bench-strchrnul.c: New file.
62390 * benchtests/bench-strcmp-ifunc.c: New file.
62391 * benchtests/bench-strcmp.c: New file.
62392 * benchtests/bench-strcpy-ifunc.c: New file.
62393 * benchtests/bench-strcpy.c: New file.
62394 * benchtests/bench-strcspn-ifunc.c: New file.
62395 * benchtests/bench-strcspn.c: New file.
62396 * benchtests/bench-strlen-ifunc.c: New file.
62397 * benchtests/bench-strlen.c: New file.
62398 * benchtests/bench-strncasecmp-ifunc.c: New file.
62399 * benchtests/bench-strncasecmp.c: New file.
62400 * benchtests/bench-strncat-ifunc.c: New file.
62401 * benchtests/bench-strncat.c: New file.
62402 * benchtests/bench-strncmp-ifunc.c: New file.
62403 * benchtests/bench-strncmp.c: New file.
62404 * benchtests/bench-strncpy-ifunc.c: New file.
62405 * benchtests/bench-strncpy.c: New file.
62406 * benchtests/bench-strnlen-ifunc.c: New file.
62407 * benchtests/bench-strnlen.c: New file.
62408 * benchtests/bench-strpbrk-ifunc.c: New file.
62409 * benchtests/bench-strpbrk.c: New file.
62410 * benchtests/bench-strrchr-ifunc.c: New file.
62411 * benchtests/bench-strrchr.c: New file.
62412 * benchtests/bench-strspn-ifunc.c: New file.
62413 * benchtests/bench-strspn.c: New file.
62414 * benchtests/bench-strstr-ifunc.c: New file.
62415 * benchtests/bench-strstr.c: New file.
62416
62417 * benchtests/Makefile: Disable parallel execution of targets.
62418 (string-bench): Add memcpy.
62419 (benchset): New variable to store a list of benchmark sets.
62420 (bench-func): Renamed from bench.
62421 (bench-set): New target.
62422 (bench): Depend on bench-func and bench-set.
62423 * benchtests/README: Add section on benchmark sets.
62424 * benchtests/bench-memcpy-ifunc.c: New file.
62425 * benchtests/bench-memcpy.c: New file.
62426 * benchtests/bench-string.h: New file.
62427
62428 2013-06-11 Andreas Schwab <schwab@suse.de>
62429
62430 [BZ #15577]
62431 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
62432 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
62433 values in the triple.
62434 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
62435 terminator in the group key.
62436
62437 2013-06-11 Andreas Jaeger <aj@suse.de>
62438
62439 * po/zh_TW.po: Update Chinese (traditional) translation from
62440 translation project.
62441
62442 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62443
62444 * include/time.h (__clock_gettime): Add libc_hidden_proto.
62445 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
62446 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
62447 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62448 (clock_getcpuclockid): Likewise.
62449 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
62450 Add weak_alias and libc_hidden_def.
62451 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
62452 * rt/clock_gettime.c (clock_gettime): Rename to
62453 __clock_gettime. Add weak_alias and libc_hidden_def.
62454 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
62455 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
62456 __clock_nanosleep. Add weak_alias and libc_hidden_def.
62457 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
62458 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
62459 Likewise.
62460 * rt/clock_settime.c (clock_settime): Rename to
62461 __clock_settime. Add weak_alias and libc_hidden_def.
62462 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
62463
62464 2013-06-10 Joseph Myers <joseph@codesourcery.com>
62465
62466 * mach/err_boot.sub: Remove trailing whitespace.
62467 * mach/err_ipc.sub: Likewise.
62468 * mach/err_mach.sub: Likewise.
62469
62470 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
62471 (ROUNDING_TESTS_double): Likewise.
62472 (ROUNDING_TESTS_long_double): Likewise.
62473 (ROUNDING_TESTS): Likewise.
62474 * math/libm-test.inc: Include <math-tests.h>.
62475 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
62476 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62477 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62478 (IF_ROUND_INIT_FE_UPWARD): Likewise.
62479
62480 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
62481
62482 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
62483 of assigning.
62484
62485 2013-06-08 Joseph Myers <joseph@codesourcery.com>
62486
62487 * sysdeps/gnu/errlist.awk: Do not generate space at end of
62488 otherwise empty TRANS lines.
62489 * sysdeps/gnu/errlist.c: Regenerated.
62490
62491 * catgets/gencat.c (error_print): Use (void) in function
62492 definition.
62493 * crypt/crypt_util.c (__init_des): Likewise.
62494 * crypt/speeds.c (Stop): Likewise.
62495 (main): Likewise.
62496 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
62497 * inet/ruserpass.c (token): Likewise.
62498 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
62499 * intl/localealias.c (extend_alias_table): Likewise.
62500 * intl/plural-exp.c (init_germanic_plural): Likewise.
62501 * libio/fcloseall.c (__fcloseall): Likewise.
62502 * libio/genops.c (_IO_flush_all): Likewise.
62503 (_IO_flush_all_linebuffered): Likewise.
62504 (_IO_cleanup): Likewise.
62505 (_IO_iter_begin): Likewise.
62506 (_IO_iter_end): Likewise.
62507 (_IO_list_lock): Likewise.
62508 (_IO_list_unlock): Likewise.
62509 (_IO_list_resetlock): Likewise.
62510 * libio/getchar.c (getchar): Likewise.
62511 * libio/getchar_u.c (getchar_unlocked): Likewise.
62512 * libio/getwchar.c (getwchar): Likewise.
62513 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
62514 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
62515 * login/getpt.c (__getpt): Likewise.
62516 * login/tst-utmp.c (main): Likewise.
62517 * malloc/hooks.c (__malloc_check_init): Likewise.
62518 * malloc/malloc.c (__malloc_stats): Likewise.
62519 * malloc/mtrace.c (tr_break): Likewise.
62520 (mtrace): Likewise.
62521 (muntrace): Likewise.
62522 * misc/fstab.c (endfsent): Likewise.
62523 * misc/getclktck.c (__getclktck): Likewise.
62524 * misc/getdtsz.c (__getdtablesize): Likewise.
62525 * misc/gethostid.c (gethostid): Likewise.
62526 * misc/getpagesize.c (__getpagesize): Likewise.
62527 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
62528 (__get_nprocs): Likewise.
62529 (__get_phys_pages): Likewise.
62530 (__get_avphys_pages): Likewise.
62531 * misc/getttyent.c (getttyent): Likewise.
62532 (setttyent): Likewise.
62533 (endttyent): Likewise.
62534 * misc/getusershell.c (getusershell): Likewise.
62535 (endusershell): Likewise.
62536 (setusershell): Likewise.
62537 (initshells): Likewise.
62538 * misc/hsearch.c (__hdestroy): Likewise.
62539 * misc/sync.c (sync): Likewise.
62540 * misc/syslog.c (closelog_internal): Likewise.
62541 (closelog): Likewise.
62542 * misc/ttyslot.c (ttyslot): Likewise.
62543 * misc/vhangup.c (vhangup): Likewise.
62544 * posix/fork.c (__fork): Likewise.
62545 * posix/getegid.c (__getegid): Likewise.
62546 * posix/geteuid.c (__geteuid): Likewise.
62547 * posix/getgid.c (__getgid): Likewise.
62548 * posix/getpid.c (__getpid): Likewise.
62549 * posix/getppid.c (__getppid): Likewise.
62550 * posix/getuid.c (__getuid): Likewise.
62551 * posix/pause.c (pause): Likewise.
62552 * posix/setpgrp.c (setpgrp): Likewise.
62553 * posix/setsid.c (__setsid): Likewise.
62554 * posix/test-vfork.c (noop): Likewise.
62555 * resolv/gethnamaddr.c (_endhtent): Likewise.
62556 (_gethtent): Likewise.
62557 (ht_endhostent): Likewise.
62558 (gethostent): Likewise.
62559 (dns_service): Likewise.
62560 * stdlib/drand48.c (drand48): Likewise.
62561 * stdlib/lrand48.c (lrand48): Likewise.
62562 * stdlib/mrand48.c (mrand48): Likewise.
62563 * stdlib/rand.c (rand): Likewise.
62564 * stdlib/random.c (__random): Likewise.
62565 * stdlib/setenv.c (clearenv): Likewise.
62566 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62567 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62568 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62569 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62570 (__get_nprocs): Likewise.
62571 (__get_phys_pages): Likewise.
62572 (__get_avphys_pages): Likewise.
62573 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62574 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62575 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62576 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62577 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62578 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62579 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62580 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62581 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62582 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62583 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62584 * sysdeps/mach/hurd/sync.c (sync): Likewise.
62585 * sysdeps/posix/clock.c (clock): Likewise.
62586 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62587 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62588 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62589 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62590 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62591 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62592 (__get_nprocs_conf): Likewise.
62593 (__get_phys_pages): Likewise.
62594 (__get_avphys_pages): Likewise.
62595 * time/clock.c (clock): Likewise.
62596 * time/tzset.c (__tzname_max): Likewise.
62597
62598 2013-06-07 Joseph Myers <joseph@codesourcery.com>
62599
62600 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62601 (__bswap_32): Do not use "register".
62602 * crypt/crypt.c (_ufc_doit_r): Likewise.
62603 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62604 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62605 * gmon/gmon.c (__monstartup): Likewise.
62606 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62607 * hurd/hurdmalloc.c (more_memory): Likewise.
62608 (malloc): Likewise.
62609 (free): Likewise.
62610 (realloc): Likewise.
62611 (malloc_fork_prepare): Likewise.
62612 (malloc_fork_parent): Likewise.
62613 (malloc_fork_child): Likewise.
62614 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62615 (_svcauth_des): Likewise.
62616 * inet/inet_lnaof.c (inet_lnaof): Likewise.
62617 * inet/inet_net.c (inet_network): Likewise.
62618 * inet/inet_netof.c (inet_netof): Likewise.
62619 * inet/rcmd.c (__validuser2_sa): Likewise.
62620 * io/fts.c (fts_open): Likewise.
62621 (fts_load): Likewise.
62622 (fts_close): Likewise.
62623 (fts_read): Likewise.
62624 (fts_children): Likewise.
62625 (fts_build): Likewise.
62626 (fts_stat): Likewise.
62627 (fts_sort): Likewise.
62628 (fts_alloc): Likewise.
62629 (fts_lfree): Likewise.
62630 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62631 (_IO_file_xsgetn): Likewise.
62632 (_IO_file_xsgetn_mmap): Likewise.
62633 * libio/iofopncook.c (_IO_cookie_read): Likewise.
62634 (_IO_cookie_write): Likewise.
62635 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62636 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62637 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62638 * malloc/obstack.c (_obstack_begin): Likewise.
62639 (_obstack_begin_1): Likewise.
62640 (_obstack_newchunk): Likewise.
62641 (_obstack_allocated_p): Likewise.
62642 (obstack_free): Likewise.
62643 (_obstack_memory_used): Likewise.
62644 * misc/getttyent.c (getttynam): Likewise.
62645 (getttyent): Likewise.
62646 (skip): Likewise.
62647 (value): Likewise.
62648 * misc/getusershell.c (initshells): Likewise.
62649 * misc/syslog.c (__vsyslog_chk): Likewise.
62650 * misc/ttyslot.c (ttyslot): Likewise.
62651 * nis/nis_hash.c (__nis_hash): Likewise.
62652 * posix/fnmatch_loop.c (FCT): Likewise.
62653 * posix/getconf.c (print_all): Likewise.
62654 (main): Likewise.
62655 * posix/getopt.c (exchange): Likewise.
62656 * posix/glob.c (globfree): Likewise.
62657 (prefix_array): Likewise.
62658 (__glob_pattern_type): Likewise.
62659 * resolv/arpa/nameser.h (NS_GET16): Likewise.
62660 (NS_GET32): Likewise.
62661 (NS_PUT16): Likewise.
62662 (NS_PUT32): Likewise.
62663 * resolv/gethnamaddr.c (getanswer): Likewise.
62664 (gethostbyname2): Likewise.
62665 (gethostbyaddr): Likewise.
62666 (_gethtent): Likewise.
62667 (_gethtbyname2): Likewise.
62668 (_gethtbyaddr): Likewise.
62669 * resolv/ns_print.c (dst_s_get_int16): Likewise.
62670 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62671 * resolv/res_init.c (__res_vinit): Likewise.
62672 (net_mask): Likewise.
62673 * resolv/res_mkquery.c (outchar): Likewise.
62674 (PRINT): Likewise.
62675 * stdio-common/printf_fp.c (outchar): Likewise.
62676 (PRINT): Likewise.
62677 * stdio-common/printf_fphex.c (outchar): Likewise.
62678 (PRINT): Likewise.
62679 * stdio-common/printf_size.c (outchar): Likewise.
62680 (PRINT): Likewise.
62681 * stdio-common/test_rdwr.c (main): Likewise.
62682 * stdio-common/tfformat.c (matches): Likewise.
62683 * stdio-common/vfprintf.c (outchar): Likewise.
62684 (printf_unknown): Likewise.
62685 (buffered_vfprintf): Likewise.
62686 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62687 * stdio-common/xbug.c (AppendToBuffer): Likewise.
62688 (ReadFile): Likewise.
62689 * stdlib/qsort.c (SWAP): Likewise.
62690 (_quicksort): Likewise.
62691 * stdlib/setenv.c (__add_to_environ): Likewise.
62692 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62693 * stdlib/strtol_l.c (__strtol_l): Likewise.
62694 * stdlib/tst-strtod.c (main): Likewise.
62695 * stdlib/tst-strtol.c (main): Likewise.
62696 * stdlib/tst-strtoll.c (main): Likewise.
62697 * string/bits/string2.h (__strcmp_cc): Likewise.
62698 (__strcmp_cg): Likewise.
62699 (__strcspn_c1): Likewise.
62700 (__strcspn_c2): Likewise.
62701 (__strcspn_c3): Likewise.
62702 (__strspn_c1): Likewise.
62703 (__strspn_c2): Likewise.
62704 (__strspn_c3): Likewise.
62705 (__strsep_1c): Likewise.
62706 (__strsep_2c): Likewise.
62707 (__strsep_3c): Likewise.
62708 * string/memccpy.c (__memccpy): Likewise.
62709 * string/stpcpy.c (__stpcpy): Likewise.
62710 * string/strcmp.c (strcmp): Likewise.
62711 * string/strrchr.c (strrchr): Likewise.
62712 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62713 Likewise.
62714 * sysdeps/mach/hurd/getcwd.c
62715 (_hurd_canonicalize_directory_name_internal): Likewise.
62716 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62717 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62718 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62719 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62720 Likewise, in both definitions.
62721 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62722 definitions.
62723 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62724 64] (__bswap_64): Likewise.
62725 * time/test_time.c (main): Likewise.
62726 * time/tzfile.c (__tzfile_read): Likewise.
62727 (__tzfile_compute): Likewise.
62728 * time/tzset.c (__tzset_parse_tz): Likewise.
62729 (tzset_internal): Likewise.
62730 (compute_change): Likewise.
62731 * wcsmbs/wcscat.c (__wcscat): Likewise.
62732 * wcsmbs/wcschr.c (wcschr): Likewise.
62733 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62734 * wcsmbs/wcscspn.c (wcscspn): Likewise.
62735 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62736 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62737 * wcsmbs/wcsspn.c (wcsspn): Likewise.
62738 * wcsmbs/wcsstr.c (wcsstr): Likewise.
62739 * wcsmbs/wmemchr.c (wmemchr): Likewise.
62740 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62741 * wcsmbs/wmemset.c (wmemset): Likewise.
62742
62743 2013-06-06 Joseph Myers <joseph@codesourcery.com>
62744
62745 * scripts/config.guess: Update to version 2013-05-16.
62746 * scripts/config.sub: Update to version 2013-04-24.
62747 * scripts/install-sh: Update to version 2011-11-20.07.
62748 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62749 * scripts/move-if-change: Update to version 2012-01-06 07:23.
62750
62751 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
62752
62753 * debug/fgetws_u_chk.c: Fix leading whitespaces.
62754 * elf/sln.c: Likewise.
62755 * hurd/hurd/ioctl.h: Likewise.
62756 * hurd/hurdmalloc.c: Likewise.
62757 * hurd/xattr.c: Likewise.
62758 * include/shlib-compat.h: Likewise.
62759 * inet/ruserpass.c: Likewise.
62760 * libio/iofgets_u.c: Likewise.
62761 * libio/iofgetws_u.c: Likewise.
62762 * locale/programs/ld-identification.c: Likewise.
62763 * locale/programs/ld-time.c: Likewise.
62764 * mach/msg-destroy.c: Likewise.
62765 * nss/nss_files/files-netgrp.c: Likewise.
62766 * resolv/res_data.c: Likewise.
62767 * soft-fp/op-1.h: Likewise.
62768 * soft-fp/op-2.h: Likewise.
62769 * soft-fp/op-4.h: Likewise.
62770 * soft-fp/op-common.h: Likewise.
62771 * stdio-common/printf_fphex.c: Likewise.
62772 * stdlib/strtod_l.c: Likewise.
62773 * sunrpc/rpc/clnt.h: Likewise.
62774 * sysdeps/generic/framestate.c: Likewise.
62775 * sysdeps/i386/bsd-_setjmp.S: Likewise.
62776 * sysdeps/i386/bsd-setjmp.S: Likewise.
62777 * sysdeps/i386/__longjmp.S: Likewise.
62778 * sysdeps/i386/setjmp.S: Likewise.
62779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62780 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62785 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62786 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62787 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62788 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62789 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62790 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62791 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62792 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62793 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62795 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62796 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62797 * sysdeps/ieee754/support.c: Likewise.
62798 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62799 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62800 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62801 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62802 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62803 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62804 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62805 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62806 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62807 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62808 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62809 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62810 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62811 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62812 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62813 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62814 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62816
62817 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
62818
62819 * posix/transbug.c: Remove executable mode.
62820
62821 2013-06-05 Joseph Myers <joseph@codesourcery.com>
62822
62823 * crypt/speeds.c: Remove trailing whitespace.
62824 * dlfcn/default.c: Likewise.
62825 * elf/ifuncdep2.c: Likewise.
62826 * elf/ifuncmain1.c: Likewise.
62827 * elf/ifuncmain1vis.c: Likewise.
62828 * elf/testobj.h: Likewise.
62829 * elf/tst-stackguard1.c: Likewise.
62830 * gmon/sys/gmon.h: Likewise.
62831 * hurd/hurdmsg.c: Likewise.
62832 * hurd/new-fd.c: Likewise.
62833 * hurd/ports-get.c: Likewise.
62834 * iconvdata/ibm1008_420.c: Likewise.
62835 * inet/tst-getni1.c: Likewise.
62836 * inet/tst-getni2.c: Likewise.
62837 * libio/ioungetc.c: Likewise.
62838 * libio/wfiledoalloc.c: Likewise.
62839 * manual/libm-err-tab.pl: Likewise.
62840 * math/w_dremf.c: Likewise.
62841 * misc/ftruncate.c: Likewise.
62842 * posix/bug-glob2.c: Likewise.
62843 * posix/tst-pcre.c: Likewise.
62844 * posix/wait4.c: Likewise.
62845 * resolv/README: Likewise.
62846 * resolv/res_debug.h: Likewise.
62847 * resolv/tst-inet_ntop.c: Likewise.
62848 * setjmp/bug269-setjmp.c: Likewise.
62849 * soft-fp/extended.h: Likewise.
62850 * soft-fp/op-1.h: Likewise.
62851 * soft-fp/op-2.h: Likewise.
62852 * soft-fp/op-4.h: Likewise.
62853 * soft-fp/op-8.h: Likewise.
62854 * soft-fp/testit.c: Likewise.
62855 * stdio-common/bug16.c: Likewise.
62856 * stdlib/random.c: Likewise.
62857 * sunrpc/rpcsvc/rquota.x: Likewise.
62858 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62859 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62860 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62861 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62862 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62863 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62864 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62865 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62866 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62867 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62868 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62870 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62871 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62872 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62873 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62874 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62875 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62876 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62877 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62878 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62880 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62881 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62882 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62883 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62886 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62887 * sysdeps/ieee754/s_lib_version.c: Likewise.
62888 * sysdeps/mach/hurd/check_fds.c: Likewise.
62889 * sysdeps/mach/hurd/getsockname.c: Likewise.
62890 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62891 * sysdeps/mach/hurd/recvfrom.c: Likewise.
62892 * sysdeps/powerpc/bits/link.h: Likewise.
62893 * sysdeps/powerpc/dl-procinfo.c: Likewise.
62894 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62895 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62896 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62897 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62898 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62899 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62900 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62901 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62902 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62903 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62904 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62905 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62906 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62907 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62908 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62909 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62910 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62912 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62913 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62914 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62916 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62917 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62920 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62921 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62922 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62925 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62926 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62927 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62928 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62929 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62930 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62931 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62932 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62933 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62934 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62935 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62936 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62937 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62938 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62939 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62940 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62941 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62942 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62943 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62944 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62945 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62946 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62947 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62948 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62949 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62950 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62951 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62952 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62953 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62954 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62955 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62956 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62957 * sysdeps/powerpc/sysdep.h: Likewise.
62958 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62959 * sysdeps/s390/s390-64/sub_n.S: Likewise.
62960 * sysdeps/sh/dl-trampoline.S: Likewise.
62961 * sysdeps/sh/memset.S: Likewise.
62962 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62963 * sysdeps/sh/strlen.S: Likewise.
62964 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62965 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62966 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62967 * sysdeps/sparc/sparc32/rem.S: Likewise.
62968 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62969 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62970 * sysdeps/sparc/sparc32/strchr.S: Likewise.
62971 * sysdeps/sparc/sparc32/udiv.S: Likewise.
62972 * sysdeps/sparc/sparc32/urem.S: Likewise.
62973 * sysdeps/sparc/sparc64/add_n.S: Likewise.
62974 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62975 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62976 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62977 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62978 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62979 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62980 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62981 * sysdeps/unix/bsd/times.c: Likewise.
62982 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62983 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62987 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62988 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62989 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62990 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62991 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62992 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62993 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62994 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62995 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62996 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62997 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62998 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62999 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
63000 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
63001 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
63002 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
63003 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
63004 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63005 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
63006 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
63007 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
63008 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
63009 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63010 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
63011 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
63012 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
63013 * sysdeps/x86_64/strcspn.S: Likewise.
63014
63015 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63016
63017 * locale/C-translit.h: Revert #include <stdint.h> because this is a
63018 generated file. Regenerate properly from gen-translit.pl.
63019 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
63020 locale/C-translit.h.
63021
63022 2013-06-05 Andreas Schwab <schwab@suse.de>
63023
63024 [BZ #15100]
63025 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
63026 week as 6 instead of -1.
63027 * time/tst-strptime.c (day_tests): Add test case.
63028
63029 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
63030
63031 * sysdeps/generic/math_private.h
63032 (libc_feholdexcept_setround_53bit): Replace with
63033 libc_feholdsetround_53bit.
63034 (libc_feupdateenv_53bit): Replace with
63035 libc_feresetround_53bit.
63036 (SET_RESTORE_ROUND_53BIT): Adjust.
63037
63038 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
63039
63040 * string/test-strchrnul.c: Add copyright header.
63041
63042 * posix/tst-getaddrinfo4.c: Increase test timeout.
63043
63044 2013-06-03 Carlos O'Donell <carlos@redhat.com>
63045
63046 [BZ #15536]
63047 * math/libm-test.inc (MAX_EXP): Remove
63048 (MIN_EXP): Define.
63049 (ulp): Use MIN_EXP - MANT_DIG.
63050 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
63051
63052 2013-05-31 Carlos O'Donell <carlos@redhat.com>
63053
63054 * po/be.po: Revert last change.
63055 * po/zh_CN.po: Likewise.
63056 * po/header.pot: Likewise.
63057
63058 2013-05-31 Joseph Myers <joseph@codesourcery.com>
63059
63060 * Makefile ($(common-objpfx)linkobj/libc.so): Define
63061 link-libc-deps to empty as target-specific variable.
63062 * Makerules (link-libc-args): New variable.
63063 (libc-for-link): Likewise.
63064 (link-libc-deps): Likewise.
63065 (lib%.so): Depend on $(link-libc-deps). Link with
63066 $(link-libc-args).
63067 (build-module): Link with $(link-libc-args).
63068 (build-module-asneeded): Likewise.
63069 (build-module-helper-objlist): Filter out $(link-libc-deps) from
63070 list of objects.
63071 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
63072 target-specific variable.
63073 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
63074 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
63075 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
63076 libc.
63077 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
63078 libc and ld.so.
63079 ($(objpfx)libpcprofile.so): Likewise.
63080 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
63081 libc_nonshared.a.
63082 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
63083 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
63084 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
63085 $(link-libc-deps).
63086 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
63087 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
63088 * login/Makefile ($(objpfx)libutil.so): Likewise.
63089 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
63090 * math/Makefile ($(objpfx)libm.so): Likewise.
63091 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
63092 $(objpfx)libnsl.so): Define libc-for-link as target-specific
63093 variable instead of depending directly on libc.
63094 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
63095 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
63096 $(link-libc-deps).
63097 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
63098 libc.
63099 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
63100 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
63101 ($(objpfx)libanl.so): Likewise.
63102 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
63103 ld.so.
63104 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
63105 $(link-libc-deps).
63106 * sysdeps/i386/fpu/Makefile: Remove file.
63107 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
63108 ($(objpfx)libm.so): Remove dependency on ld.so.
63109
63110 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
63111
63112 [BZ # 15553]
63113 * nis/yp_xdr.c (XDRMAXNAME): Define.
63114 (XDRMAXRECORD): Define.
63115 (xdr_domainname): Use XDRMAXNAME.
63116 (xdr_mapname): Likewise.
63117 (xdr_peername): Likewise.
63118 (xdr_keydat): Use XDRMAXRECORD.
63119 (xdr_valdat): Likewise.
63120
63121 2013-05-30 Jeff Law <law@redhat.com>
63122
63123 [BZ #14256]
63124 * manual/errno.texi (ESTALE): Update to account for more than
63125 just NFS file systems.
63126 * sysdeps/gnu/errlist.c: Regenerated.
63127
63128 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
63129
63130 [BZ #15465]
63131 * elf/Makefile (tests): Add tst-null-argv.
63132 (modules-names): Add tst-null-argv-lib.
63133 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
63134 (tst-null-argv-ENV): Set environment for tst-null-argv.
63135 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
63136 (RTLD_PROGNAME): New macro.
63137 * elf/tst-null-argv.c: New test case.
63138 * elf/tst-null-argv-lib.c: Library for test case.
63139 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
63140 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
63141 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
63142 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
63143 * elf/dl-init.c (call_init): Likewise.
63144 (_dl_init): Likewise.
63145 * elf/dl-load.c (print_search_path): Likewise.
63146 (_dl_map_object): Likewise.
63147 * elf/dl-lookup.c (do_lookup_x): Likewise.
63148 (add_dependency): Likewise.
63149 (_dl_lookup_symbol_x): Likewise.
63150 (_dl_debug_bindings): Likewise.
63151 * elf/dl-open.c (_dl_show_scope): Likewise.
63152 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
63153 * elf/dl-version.c (match_symbol): Likewise.
63154 (_dl_check_map_versions): Likewise.
63155 * elf/rtld.c (dl_main): Likewise.
63156 (print_unresolved): Use RTLD_PROGNAME.
63157 (print_missing_version): Likewise.
63158 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
63159 (elf_machine_rela): Likewise.
63160 * sysdeps/powerpc/powerpc32/dl-machine.c
63161 (__process_machine_rela): Likewise.
63162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63163 Likewise.
63164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63165 Likewise.
63166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
63167 Likewise.
63168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
63170 Likewise.
63171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
63172 Likewise.
63173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63174
63175 2013-05-28 Carlos O'Donell <carlos@redhat.com>
63176
63177 * po/be.po: Add descriptive title.
63178 * po/zh_CN.po: Likewise.
63179 * po/header.pot: Likewise.
63180
63181 2013-05-28 Mike Frysinger <vapier@gentoo.org>
63182
63183 * locale/programs/locarchive.c (create_archive): Inlucde fname in
63184 error message.
63185 (enlarge_archive): Likewise.
63186
63187 2013-05-28 Ben North <ben@redfrontdoor.org>
63188
63189 * manual/arith.texi (frexp): It is the magnitude of the return
63190 value which lies in [0.5, 1), not the return value itself.
63191
63192 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63193
63194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63195
63196 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
63197
63198 * stdio-common/bug26.c (main): Correct fscanf template.
63199
63200 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
63201 declare _dl_skip_args.
63202
63203 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
63204 Don't declare.
63205
63206 * manual/platform.texi: Add missing @end deftypefun.
63207
63208 2013-05-24 Joseph Myers <joseph@codesourcery.com>
63209
63210 [BZ #15529]
63211 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63212 bit of mantissa of 2^16382.
63213 * math/libm-test.inc (hypot_test_data): Add more tests.
63214
63215 * math/libm-test.inc: Add drem and pow10 to list of tested
63216 functions.
63217 (pow10_test): New function.
63218 (drem_test): Likewise.
63219 (drem_test_tonearest): Likewise.
63220 (drem_test_towardzero): Likewise.
63221 (drem_test_downward): Likewise.
63222 (drem_test_upward): Likewise.
63223 (main): Call the new functions.
63224
63225 * math/libm-test.inc (finite_test_data): Remove.
63226 (finite_test): Run tests from isfinite_test_data.
63227 (gamma_test_data): Remove.
63228 (gamma_test): Run tests from lgamma_test_data.
63229 * sysdeps/i386/fpu/libm-test-ulps: Update.
63230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63231
63232 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63233
63234 * manual/platform.texi: Add PowerPC PPR function set documentation.
63235 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63236 implementation.
63237
63238 2013-05-24 Carlos O'Donell <carlos@redhat.com>
63239
63240 * math/libm-test.inc (MAX_EXP): Define.
63241 (ULPDIFF): Define.
63242 (ulp): New function.
63243 (check_float_internal): Use ULPDIFF.
63244 (cpow_test): Disable failing test.
63245 (check_ulp): Test ulp() implementation.
63246 (main): Call check_ulp before starting tests.
63247
63248 2013-05-24 Joseph Myers <joseph@codesourcery.com>
63249
63250 * math/gen-libm-test.pl (generate_testfile): Do not handle
63251 START_DATA and END_DATA.
63252 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63253 END_DATA.
63254 (acos_tonearest_test_data): Likewise.
63255 (acos_towardzero_test_data): Likewise.
63256 (acos_downward_test_data): Likewise.
63257 (acos_upward_test_data): Likewise.
63258 (acosh_test_data): Likewise.
63259 (asin_test_data): Likewise.
63260 (asin_tonearest_test_data): Likewise.
63261 (asin_towardzero_test_data): Likewise.
63262 (asin_downward_test_data): Likewise.
63263 (asin_upward_test_data): Likewise.
63264 (asinh_test_data): Likewise.
63265 (atan_test_data): Likewise.
63266 (atanh_test_data): Likewise.
63267 (atan2_test_data): Likewise.
63268 (cabs_test_data): Likewise.
63269 (cacos_test_data): Likewise.
63270 (cacosh_test_data): Likewise.
63271 (carg_test_data): Likewise.
63272 (casin_test_data): Likewise.
63273 (casinh_test_data): Likewise.
63274 (catan_test_data): Likewise.
63275 (catanh_test_data): Likewise.
63276 (cbrt_test_data): Likewise.
63277 (ccos_test_data): Likewise.
63278 (ccosh_test_data): Likewise.
63279 (ceil_test_data): Likewise.
63280 (cexp_test_data): Likewise.
63281 (cimag_test_data): Likewise.
63282 (clog_test_data): Likewise.
63283 (clog10_test_data): Likewise.
63284 (conj_test_data): Likewise.
63285 (copysign_test_data): Likewise.
63286 (cos_test_data): Likewise.
63287 (cos_tonearest_test_data): Likewise.
63288 (cos_towardzero_test_data): Likewise.
63289 (cos_downward_test_data): Likewise.
63290 (cos_upward_test_data): Likewise.
63291 (cosh_test_data): Likewise.
63292 (cosh_tonearest_test_data): Likewise.
63293 (cosh_towardzero_test_data): Likewise.
63294 (cosh_downward_test_data): Likewise.
63295 (cosh_upward_test_data): Likewise.
63296 (cpow_test_data): Likewise.
63297 (cproj_test_data): Likewise.
63298 (creal_test_data): Likewise.
63299 (csin_test_data): Likewise.
63300 (csinh_test_data): Likewise.
63301 (csqrt_test_data): Likewise.
63302 (ctan_test_data): Likewise.
63303 (ctan_tonearest_test_data): Likewise.
63304 (ctan_towardzero_test_data): Likewise.
63305 (ctan_downward_test_data): Likewise.
63306 (ctan_upward_test_data): Likewise.
63307 (ctanh_test_data): Likewise.
63308 (ctanh_tonearest_test_data): Likewise.
63309 (ctanh_towardzero_test_data): Likewise.
63310 (ctanh_downward_test_data): Likewise.
63311 (ctanh_upward_test_data): Likewise.
63312 (erf_test_data): Likewise.
63313 (erfc_test_data): Likewise.
63314 (exp_test_data): Likewise.
63315 (exp_tonearest_test_data): Likewise.
63316 (exp_towardzero_test_data): Likewise.
63317 (exp_downward_test_data): Likewise.
63318 (exp_upward_test_data): Likewise.
63319 (exp10_test_data): Likewise.
63320 (exp2_test_data): Likewise.
63321 (expm1_test_data): Likewise.
63322 (fabs_test_data): Likewise.
63323 (fdim_test_data): Likewise.
63324 (finite_test_data): Likewise.
63325 (floor_test_data): Likewise.
63326 (fma_test_data): Likewise.
63327 (fma_towardzero_test_data): Likewise.
63328 (fma_downward_test_data): Likewise.
63329 (fma_upward_test_data): Likewise.
63330 (fmax_test_data): Likewise.
63331 (fmin_test_data): Likewise.
63332 (fmod_test_data): Likewise.
63333 (fpclassify_test_data): Likewise.
63334 (frexp_test_data): Likewise.
63335 (gamma_test_data): Likewise.
63336 (hypot_test_data): Likewise.
63337 (ilogb_test_data): Likewise.
63338 (isfinite_test_data): Likewise.
63339 (isgreater_test_data): Likewise.
63340 (isgreaterequal_test_data): Likewise.
63341 (isinf_test_data): Likewise.
63342 (isless_test_data): Likewise.
63343 (islessequal_test_data): Likewise.
63344 (islessgreater_test_data): Likewise.
63345 (isnan_test_data): Likewise.
63346 (isnormal_test_data): Likewise.
63347 (issignaling_test_data): Likewise.
63348 (isunordered_test_data): Likewise.
63349 (j0_test_data): Likewise.
63350 (j1_test_data): Likewise.
63351 (jn_test_data): Likewise.
63352 (ldexp_test_data): Likewise.
63353 (lgamma_test_data): Likewise.
63354 (lrint_test_data): Likewise.
63355 (lrint_tonearest_test_data): Likewise.
63356 (lrint_towardzero_test_data): Likewise.
63357 (lrint_downward_test_data): Likewise.
63358 (lrint_upward_test_data): Likewise.
63359 (llrint_test_data): Likewise.
63360 (llrint_tonearest_test_data): Likewise.
63361 (llrint_towardzero_test_data): Likewise.
63362 (llrint_downward_test_data): Likewise.
63363 (llrint_upward_test_data): Likewise.
63364 (log_test_data): Likewise.
63365 (log10_test_data): Likewise.
63366 (log1p_test_data): Likewise.
63367 (log2_test_data): Likewise.
63368 (logb_test_data): Likewise.
63369 (logb_downward_test_data): Likewise.
63370 (lround_test_data): Likewise.
63371 (llround_test_data): Likewise.
63372 (modf_test_data): Likewise.
63373 (nearbyint_test_data): Likewise.
63374 (nextafter_test_data): Likewise.
63375 (nexttoward_test_data): Likewise.
63376 (pow_test_data): Likewise.
63377 (pow_tonearest_test_data): Likewise.
63378 (pow_towardzero_test_data): Likewise.
63379 (pow_downward_test_data): Likewise.
63380 (pow_upward_test_data): Likewise.
63381 (remainder_test_data): Likewise.
63382 (remainder_tonearest_test_data): Likewise.
63383 (remainder_towardzero_test_data): Likewise.
63384 (remainder_downward_test_data): Likewise.
63385 (remainder_upward_test_data): Likewise.
63386 (remquo_test_data): Likewise.
63387 (rint_test_data): Likewise.
63388 (rint_tonearest_test_data): Likewise.
63389 (rint_towardzero_test_data): Likewise.
63390 (rint_downward_test_data): Likewise.
63391 (rint_upward_test_data): Likewise.
63392 (round_test_data): Likewise.
63393 (scalb_test_data): Likewise.
63394 (scalbn_test_data): Likewise.
63395 (scalbln_test_data): Likewise.
63396 (signbit_test_data): Likewise.
63397 (sin_test_data): Likewise.
63398 (sin_tonearest_test_data): Likewise.
63399 (sin_towardzero_test_data): Likewise.
63400 (sin_downward_test_data): Likewise.
63401 (sin_upward_test_data): Likewise.
63402 (sincos_test_data): Likewise.
63403 (sinh_test_data): Likewise.
63404 (sinh_tonearest_test_data): Likewise.
63405 (sinh_towardzero_test_data): Likewise.
63406 (sinh_downward_test_data): Likewise.
63407 (sinh_upward_test_data): Likewise.
63408 (sqrt_test_data): Likewise.
63409 (tan_test_data): Likewise.
63410 (tan_tonearest_test_data): Likewise.
63411 (tan_towardzero_test_data): Likewise.
63412 (tan_downward_test_data): Likewise.
63413 (tan_upward_test_data): Likewise.
63414 (tanh_test_data): Likewise.
63415 (tgamma_test_data): Likewise.
63416 (trunc_test_data): Likewise.
63417 (y0_test_data): Likewise.
63418 (y1_test_data): Likewise.
63419 (yn_test_data): Likewise.
63420 (significand_test_data): Likewise.
63421
63422 * math/gen-libm-test.pl (@functions): Remove variable.
63423 (generate_testfile): Don't handle START and END lines.
63424 * math/libm-test.inc (START): New macro.
63425 (END): Likewise.
63426 (END_COMPLEX): Likewise.
63427 (acos_test): Use END macro without arguments.
63428 (acos_test_tonearest): Likewise.
63429 (acos_test_towardzero): Likewise.
63430 (acos_test_downward): Likewise.
63431 (acos_test_upward): Likewise.
63432 (acosh_test): Likewise.
63433 (asin_test): Likewise.
63434 (asin_test_tonearest): Likewise.
63435 (asin_test_towardzero): Likewise.
63436 (asin_test_downward): Likewise.
63437 (asin_test_upward): Likewise.
63438 (asinh_test): Likewise.
63439 (atan_test): Likewise.
63440 (atanh_test): Likewise.
63441 (atan2_test): Likewise.
63442 (cabs_test): Likewise.
63443 (cacos_test): Use END_COMPLEX macro without arguments.
63444 (cacosh_test): Likewise.
63445 (carg_test): Use END macro without arguments.
63446 (casin_test): Use END_COMPLEX macro without arguments.
63447 (casinh_test): Likewise.
63448 (catan_test): Likewise.
63449 (catanh_test): Likewise.
63450 (cbrt_test): Use END macro without arguments.
63451 (ccos_test): Use END_COMPLEX macro without arguments.
63452 (ccosh_test): Likewise.
63453 (ceil_test): Use END macro without arguments.
63454 (cexp_test): Use END_COMPLEX macro without arguments.
63455 (cimag_test): Use END macro without arguments.
63456 (clog_test): Use END_COMPLEX macro without arguments.
63457 (clog10_test): Likewise.
63458 (conj_test): Likewise.
63459 (copysign_test): Use END macro without arguments.
63460 (cos_test): Likewise.
63461 (cos_test_tonearest): Likewise.
63462 (cos_test_towardzero): Likewise.
63463 (cos_test_downward): Likewise.
63464 (cos_test_upward): Likewise.
63465 (cosh_test): Likewise.
63466 (cosh_test_tonearest): Likewise.
63467 (cosh_test_towardzero): Likewise.
63468 (cosh_test_downward): Likewise.
63469 (cosh_test_upward): Likewise.
63470 (cpow_test): Use END_COMPLEX macro without arguments.
63471 (cproj_test): Likewise.
63472 (creal_test): Use END macro without arguments.
63473 (csin_test): Use END_COMPLEX macro without arguments.
63474 (csinh_test): Likewise.
63475 (csqrt_test): Likewise.
63476 (ctan_test): Likewise.
63477 (ctan_test_tonearest): Likewise.
63478 (ctan_test_towardzero): Likewise.
63479 (ctan_test_downward): Likewise.
63480 (ctan_test_upward): Likewise.
63481 (ctanh_test): Likewise.
63482 (ctanh_test_tonearest): Likewise.
63483 (ctanh_test_towardzero): Likewise.
63484 (ctanh_test_downward): Likewise.
63485 (ctanh_test_upward): Likewise.
63486 (erf_test): Use END macro without arguments.
63487 (erfc_test): Likewise.
63488 (exp_test): Likewise.
63489 (exp_test_tonearest): Likewise.
63490 (exp_test_towardzero): Likewise.
63491 (exp_test_downward): Likewise.
63492 (exp_test_upward): Likewise.
63493 (exp10_test): Likewise.
63494 (exp2_test): Likewise.
63495 (expm1_test): Likewise.
63496 (fabs_test): Likewise.
63497 (fdim_test): Likewise.
63498 (finite_test): Likewise.
63499 (floor_test): Likewise.
63500 (fma_test): Likewise.
63501 (fma_test_towardzero): Likewise.
63502 (fma_test_downward): Likewise.
63503 (fma_test_upward): Likewise.
63504 (fmax_test): Likewise.
63505 (fmin_test): Likewise.
63506 (fmod_test): Likewise.
63507 (fpclassify_test): Likewise.
63508 (frexp_test): Likewise.
63509 (gamma_test): Likewise.
63510 (hypot_test): Likewise.
63511 (ilogb_test): Likewise.
63512 (isfinite_test): Likewise.
63513 (isgreater_test): Likewise.
63514 (isgreaterequal_test): Likewise.
63515 (isinf_test): Likewise.
63516 (isless_test): Likewise.
63517 (islessequal_test): Likewise.
63518 (islessgreater_test): Likewise.
63519 (isnan_test): Likewise.
63520 (isnormal_test): Likewise.
63521 (issignaling_test): Likewise.
63522 (isunordered_test): Likewise.
63523 (j0_test): Likewise.
63524 (j1_test): Likewise.
63525 (jn_test): Likewise.
63526 (ldexp_test): Likewise.
63527 (lgamma_test): Likewise.
63528 (lrint_test): Likewise.
63529 (lrint_test_tonearest): Likewise.
63530 (lrint_test_towardzero): Likewise.
63531 (lrint_test_downward): Likewise.
63532 (lrint_test_upward): Likewise.
63533 (llrint_test): Likewise.
63534 (llrint_test_tonearest): Likewise.
63535 (llrint_test_towardzero): Likewise.
63536 (llrint_test_downward): Likewise.
63537 (llrint_test_upward): Likewise.
63538 (log_test): Likewise.
63539 (log10_test): Likewise.
63540 (log1p_test): Likewise.
63541 (log2_test): Likewise.
63542 (logb_test): Likewise.
63543 (logb_test_downward): Likewise.
63544 (lround_test): Likewise.
63545 (llround_test): Likewise.
63546 (modf_test): Likewise.
63547 (nearbyint_test): Likewise.
63548 (nextafter_test): Likewise.
63549 (nexttoward_test): Likewise.
63550 (pow_test): Likewise.
63551 (pow_test_tonearest): Likewise.
63552 (pow_test_towardzero): Likewise.
63553 (pow_test_downward): Likewise.
63554 (pow_test_upward): Likewise.
63555 (remainder_test): Likewise.
63556 (remainder_test_tonearest): Likewise.
63557 (remainder_test_towardzero): Likewise.
63558 (remainder_test_downward): Likewise.
63559 (remainder_test_upward): Likewise.
63560 (remquo_test): Likewise.
63561 (rint_test): Likewise.
63562 (rint_test_tonearest): Likewise.
63563 (rint_test_towardzero): Likewise.
63564 (rint_test_downward): Likewise.
63565 (rint_test_upward): Likewise.
63566 (round_test): Likewise.
63567 (scalb_test): Likewise.
63568 (scalbn_test): Likewise.
63569 (scalbln_test): Likewise.
63570 (signbit_test): Likewise.
63571 (sin_test): Likewise.
63572 (sin_test_tonearest): Likewise.
63573 (sin_test_towardzero): Likewise.
63574 (sin_test_downward): Likewise.
63575 (sin_test_upward): Likewise.
63576 (sincos_test): Likewise.
63577 (sinh_test): Likewise.
63578 (sinh_test_tonearest): Likewise.
63579 (sinh_test_towardzero): Likewise.
63580 (sinh_test_downward): Likewise.
63581 (sinh_test_upward): Likewise.
63582 (sqrt_test): Likewise.
63583 (tan_test): Likewise.
63584 (tan_test_tonearest): Likewise.
63585 (tan_test_towardzero): Likewise.
63586 (tan_test_downward): Likewise.
63587 (tan_test_upward): Likewise.
63588 (tanh_test): Likewise.
63589 (tgamma_test): Likewise.
63590 (trunc_test): Likewise.
63591 (y0_test): Likewise.
63592 (y1_test): Likewise.
63593 (yn_test): Likewise.
63594 (significand_test): Likewise.
63595
63596 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
63597
63598 [BZ #15381]
63599 * libio/genops.c (_IO_no_init): Initialize wide struct info.
63600
63601 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
63602
63603 [BZ #14894]
63604 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63605 __ppc_mdoio and __ppc_mdoom.
63606 * manual/platform.texi: Document new functions __ppc_yield,
63607 __ppc_mdoio and __ppc_mdoom.
63608
63609 2013-05-22 Carlos O'Donell <carlos@redhat.com>
63610
63611 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63612 (main): Mention "tls" pseudo-hwcap is legacy.
63613 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63614
63615 2013-05-22 Joseph Myers <joseph@codesourcery.com>
63616
63617 * math/gen-libm-test.pl (parse_args): Output only string of
63618 arguments as text for test name, not full call or descriptions of
63619 tests for extra outputs.
63620 (generate_testfile): Do not pass function name to parse_args.
63621 Generate this_func variable from START.
63622 * math/libm-test.inc (struct test_f_f_data): Rename test_name
63623 field to arg_str.
63624 (struct test_ff_f_data): Likewise.
63625 (test_ff_f_data_nexttoward): Likewise.
63626 (struct test_fi_f_data): Likewise.
63627 (struct test_fl_f_data): Likewise.
63628 (struct test_if_f_data): Likewise.
63629 (struct test_fff_f_data): Likewise.
63630 (struct test_c_f_data): Likewise.
63631 (struct test_f_f1_data): Likewise. Remove field extra_name.
63632 (struct test_fF_f1_data): Likewise.
63633 (struct test_ffI_f1_data): Likewise.
63634 (struct test_c_c_data): Rename test_name field to arg_str.
63635 (struct test_cc_c_data): Likewise.
63636 (struct test_f_i_data): Likewise.
63637 (struct test_ff_i_data): Likewise.
63638 (struct test_f_l_data): Likewise.
63639 (struct test_f_L_data): Likewise.
63640 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
63641 and extra2_name.
63642 (COMMON_TEST_SETUP): New macro.
63643 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63644 (COMMON_TEST_CLEANUP): Likewise.
63645 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63646 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
63647 macros.
63648 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63649 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
63650 macros.
63651 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63652 (RUN_TEST_fff_f): Take argument string. Call new setup and
63653 cleanup macros.
63654 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63655 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
63656 macros.
63657 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63658 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
63659 macros.
63660 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63661 (RUN_TEST_fF_f1): Take argument string. Call new setup and
63662 cleanup macros.
63663 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63664 (RUN_TEST_fI_f1): Take argument string. Call new setup and
63665 cleanup macros.
63666 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63667 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
63668 cleanup macros.
63669 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63670 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
63671 macros.
63672 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63673 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
63674 macros.
63675 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63676 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
63677 macros.
63678 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63679 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
63680 cleanup macros.
63681 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63682 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
63683 cleanup macros.
63684 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63685 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
63686 macros.
63687 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63688 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
63689 cleanup macros.
63690 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63691 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
63692 macros.
63693 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63694 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
63695 macros.
63696 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63697 (RUN_TEST_fFF_11): Take argument string. Call new setup and
63698 cleanup macros.
63699 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63700
63701 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
63702
63703 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63704 to _sifields.sigfault.
63705 (si_addr_lsb): Define new macro.
63706 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63707 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63708 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63709
63710 2013-05-03 Carlos O'Donell <carlos at redhat.com>
63711
63712 [BZ #15441]
63713 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63714 returns -1.
63715 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63716 null return -1.
63717 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63718 loading the domain.
63719
63720 2013-05-22 Joseph Myers <joseph@codesourcery.com>
63721
63722 * math/gen-libm-test.pl (parse_args): Do not include expected
63723 result in test name.
63724 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63726 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63727 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63728 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63730
63731 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
63732
63733 * benchtests/Makefile: Sort function entries.
63734
63735 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63736 tanh, asinh, acosh, atanh.
63737 * benchtests/acos-inputs: New file.
63738 * benchtests/acosh-inputs: New file.
63739 * benchtests/asin-inputs: New file.
63740 * benchtests/asinh-inputs: New file.
63741 * benchtests/atanh-inputs: New file.
63742 * benchtests/cosh-inputs: New file.
63743 * benchtests/log-inputs: New file.
63744 * benchtests/sinh-inputs: New file.
63745 * benchtests/tanh-inputs: New file.
63746
63747 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
63748
63749 [BZ #15339]
63750 * posix/tst-getaddrinfo4.c: New test.
63751 * posix/Makefile (tests): Add it.
63752
63753 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
63754
63755 [BZ #15339]
63756 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63757 when no services were used.
63758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63759 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63760
63761 2013-05-21 Andreas Schwab <schwab@suse.de>
63762
63763 [BZ #15014]
63764 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63765 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63766 successful.
63767 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63768 redundant variable declarations and reallocation of buffer when
63769 parsing as IPv6 address. Always set NSS status when called from
63770 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
63771 buffer too small. Correct computation of needed size.
63772 * nss/Makefile (tests): Add test-digits-dots.
63773 * nss/test-digits-dots.c: New test.
63774
63775 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
63776
63777 * benchtests/Makefile: Remove instructions for adding
63778 benchmark tests.
63779 * benchtests/README: New file to explain how to execute and
63780 enhance the benchmark tests.
63781
63782 2013-05-21 Andreas Schwab <schwab@suse.de>
63783
63784 [BZ #15493]
63785 * setjmp/Makefile (tests): Add tst-sigsetjmp.
63786 * setjmp/tst-sigsetjmp.c: New test.
63787
63788 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
63789
63790 * sysdeps/x86_64/memset.S (memset): New implementation.
63791 (__bzero): Likewise.
63792 (__memset_tail): New function.
63793
63794 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
63795
63796 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63797 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63798 __memcpy_sse2_unaligned ifunc selection.
63799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63800 Add memcpy-sse2-unaligned.S.
63801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63802 Add: __memcpy_sse2_unaligned.
63803
63804 2013-05-19 Joseph Myers <joseph@codesourcery.com>
63805
63806 [BZ #15490]
63807 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63808 math_force_eval before restoring floating-point envrionment.
63809 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63811 Likewise.
63812 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63813 <math_private.h>.
63814 (__nearbyintl): Use math_force_eval before restoring
63815 floating-point environment.
63816 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63817
63818 * math/gen-libm-test.pl (special_functions): Remove.
63819 (parse_args): Don't handle TEST_extra. Handle functions with no
63820 return value.
63821 * math/libm-test.inc (struct test_sincos_data): Replace with
63822 struct test_fFF_11_data.
63823 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63824 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63825 (sincos_test_data): Change element type to struct
63826 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
63827 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63828 RUN_TEST_LOOP_sincos.
63829 * math/README.libm-test: Don't mention special handling of
63830 individual functions.
63831 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63832 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63833 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63834 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63835 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63837
63838 * math/gen-libm-test.pl (get_variable): Remove function.
63839 (parse_args): Don't show pointer parameters to call in test
63840 names. Use "extra output N" in test names for extra outputs
63841 rather than naming variables.
63842
63843 2013-05-18 Joseph Myers <joseph@codesourcery.com>
63844
63845 [BZ #15488]
63846 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63847 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63848 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63849 double tests.
63850 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63851 disable.
63852 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63853 check_long_double.
63854
63855 * math/gen-libm-test.pl (@tests): Remove variable.
63856 ($count): Likewise.
63857 (new_test): Remove function.
63858 (show_exceptions): New function.
63859 (special_functions): Use show_exceptions instead of new_test.
63860 (parse_args): Likewise.
63861 (generate_testfile): Pass only function name in generated call to
63862 print_max_error or print_complex_max_error.
63863 (get_ulps): Do not handle complex tests specially.
63864 (output_test): Rename to ...
63865 (get_all_ulps_for_test): ... this. Return a string rather than
63866 printing to a file. Require ulps to be present.
63867 (output_ulps): Generate arrays rather than #defines.
63868 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63869 (struct ulp_data): New type.
63870 (BUILD_COMPLEX_ULP): Remove macro.
63871 (compare_ulp_data): New function.
63872 (find_ulps): Likewise.
63873 (find_test_ulps): Likewise.
63874 (find_function_ulps): Likewise.
63875 (find_complex_function_ulps): Likewise.
63876 (print_max_error): Determine allowed ulps using
63877 find_function_ulps.
63878 (print_complex_max_error): Determine allowed ulps using
63879 find_complex_function_ulps.
63880 (check_float_internal): Determine max ulps using find_test_ulps.
63881 (check_float): Do not take max_ulp parameter. Update call to
63882 check_float_internal.
63883 (check_complex): Likewise.
63884 (check_int): Do not take max_ulp parameter.
63885 (check_long): Likewise.
63886 (check_bool): Likewise.
63887 (check_longlong): Likewise.
63888 (struct test_f_f_data): Remove max_ulp field.
63889 (struct test_ff_f_data): Likewise.
63890 (struct test_ff_f_data_nexttoward): Likewise.
63891 (struct test_fi_f_data): Likewise.
63892 (struct test_fl_f_data): Likewise.
63893 (struct test_if_f_data): Likewise.
63894 (struct test_fff_f_data): Likewise.
63895 (struct test_c_f_data): Likewise.
63896 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63897 (struct test_fF_f1_data): Likewise.
63898 (struct test_ffI_f1_data): Likewise.
63899 (struct test_c_c_data): Remove max_ulp field.
63900 (struct test_cc_c_data): Likewise.
63901 (struct test_f_i_data): Likewise.
63902 (struct test_ff_i_data): Likewise.
63903 (struct test_f_l_data): Likewise.
63904 (struct test_f_L_data): Likewise.
63905 (struct test_sincos_data): Likewise.
63906 (RUN_TEST_f_f): Do not handle ulps.
63907 (RUN_TEST_LOOP_f_f): Likewise.
63908 (RUN_TEST_2_f): Likewise.
63909 (RUN_TEST_LOOP_2_f): Likewise.
63910 (RUN_TEST_fff_f): Likewise.
63911 (RUN_TEST_LOOP_fff_f): Likewise.
63912 (RUN_TEST_c_f): Likewise.
63913 (RUN_TEST_LOOP_c_f): Likewise.
63914 (RUN_TEST_f_f1): Likewise.
63915 (RUN_TEST_LOOP_f_f1): Likewise.
63916 (RUN_TEST_fF_f1): Likewise.
63917 (RUN_TEST_LOOP_fF_f1): Likewise.
63918 (RUN_TEST_fI_f1): Likewise.
63919 (RUN_TEST_LOOP_fI_f1): Likewise.
63920 (RUN_TEST_ffI_f1): Likewise.
63921 (RUN_TEST_LOOP_ffI_f1): Likewise.
63922 (RUN_TEST_c_c): Likewise.
63923 (RUN_TEST_LOOP_c_c): Likewise.
63924 (RUN_TEST_cc_c): Likewise.
63925 (RUN_TEST_LOOP_cc_c): Likewise.
63926 (RUN_TEST_f_i): Likewise.
63927 (RUN_TEST_LOOP_f_i): Likewise.
63928 (RUN_TEST_f_i_tg): Likewise.
63929 (RUN_TEST_LOOP_f_i_tg): Likewise.
63930 (RUN_TEST_ff_i_tg): Likewise.
63931 (RUN_TEST_LOOP_ff_i_tg): Likewise.
63932 (RUN_TEST_f_b): Likewise.
63933 (RUN_TEST_LOOP_f_b): Likewise.
63934 (RUN_TEST_f_b_tg): Likewise.
63935 (RUN_TEST_LOOP_f_b_tg): Likewise.
63936 (RUN_TEST_f_l): Likewise.
63937 (RUN_TEST_LOOP_f_l): Likewise.
63938 (RUN_TEST_f_L): Likewise.
63939 (RUN_TEST_LOOP_f_L): Likewise.
63940 (RUN_TEST_sincos): Likewise.
63941 (RUN_TEST_LOOP_sincos): Likewise.
63942
63943 2013-05-17 Joseph Myers <joseph@codesourcery.com>
63944
63945 [BZ #15480]
63946 [BZ #15485]
63947 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63948 main case of finite arguments, set rounding mode to FE_TONEAREST
63949 and discard exceptions.
63950 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63951 exceptions.
63952 (remainder_tonearest_test_data): New variable.
63953 (remainder_test_tonearest): New function.
63954 (remainder_towardzero_test_data): New variable.
63955 (remainder_test_towardzero): New function.
63956 (remainder_downward_test_data): New variable.
63957 (remainder_test_downward): New function.
63958 (remainder_upward_test_data): New variable.
63959 (remainder_test_upward): New function.
63960 (main): Call the new test functions.
63961
63962 * math/libm-test.inc (struct test_f_f1_data): Remove field
63963 extra_init.
63964 (struct test_fF_f1_data): Likewise.
63965 (struct test_ffI_f1_data): Likewise.
63966 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
63967 based on value of EXTRA_EXPECTED.
63968 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63969 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
63970 EXTRA_VAR based on value of EXTRA_EXPECTED.
63971 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63972 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
63973 EXTRA_VAR based on value of EXTRA_EXPECTED.
63974 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63975 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
63976 EXTRA_VAR based on value of EXTRA_EXPECTED.
63977 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63978 * math/gen-libm-test.pl (parse_args): Don't output initializers
63979 for extra output values.
63980
63981 * math/libm-test.inc (check_int): Expect result to be exactly
63982 equal to expected value and do not handle ulps.
63983 (check_long): Likewise.
63984 (check_longlong): Likewise.
63985
63986 * math/libm-test.inc (ceil_test_data): Test for "inexact"
63987 exceptions.
63988 (cimag_test_data): Likewise.
63989 (conj_test_data): Likewise.
63990 (copysign_test_data): Likewise.
63991 (cproj_test_data): Likewise.
63992 (creal_test_data): Likewise.
63993 (fabs_test_data): Likewise.
63994 (fdim_test_data): Likewise.
63995 (finite_test_data): Likewise.
63996 (floor_test_data): Likewise.
63997 (fmax_test_data): Likewise.
63998 (fmin_test_data): Likewise.
63999 (fmod_test_data): Likewise.
64000 (fpclassify_test_data): Likewise.
64001 (frexp_test_data): Likewise.
64002 (ilogb_test_data): Likewise.
64003 (isfinite_test_data): Likewise.
64004 (isgreater_test_data): Likewise.
64005 (isgreaterequal_test_data): Likewise.
64006 (isinf_test_data): Likewise.
64007 (isless_test_data): Likewise.
64008 (islessequal_test_data): Likewise.
64009 (islessgreater_test_data): Likewise.
64010 (isnan_test_data): Likewise.
64011 (isnormal_test_data): Likewise.
64012 (issignaling_test_data): Likewise.
64013 (isunordered_test_data): Likewise.
64014 (ldexp_test_data): Likewise.
64015 (lrint_test_data): Likewise.
64016 (lrint_test_data) [TEST_FLOAT]: Disable one test.
64017 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
64018 (lrint_tonearest_test_data): Test for "inexact" exceptions.
64019 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64020 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
64021 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64022 test input.
64023 (lrint_towardzero_test_data): Test for "inexact" exceptions.
64024 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64025 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
64026 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
64027 that test input.
64028 (lrint_downward_test_data): Test for "inexact" exceptions.
64029 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64030 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
64031 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64032 test input.
64033 (lrint_upward_test_data): Test for "inexact" exceptions.
64034 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
64035 test input.
64036 (llrint_test_data): Test for "inexact" exceptions.
64037 (llrint_test_data) [TEST_FLOAT]: Disable one test.
64038 (llrint_tonearest_test_data): Test for "inexact" exceptions.
64039 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64040 (llrint_towardzero_test_data): Test for "inexact" exceptions.
64041 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64042 (llrint_downward_test_data): Test for "inexact" exceptions.
64043 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64044 (llrint_upward_test_data): Test for "inexact" exceptions.
64045 (logb_test_data): Likewise.
64046 (logb_downward_test_data): Likewise.
64047 (nextafter_test_data): Likewise.
64048 (nexttoward_test_data): Likewise.
64049 (remainder_test_data): Likewise.
64050 (remquo_test_data): Likewise.
64051 (scalbn_test_data): Likewise.
64052 (scalbln_test_data): Likewise.
64053 (signbit_test_data): Likewise.
64054 (sqrt_test_data): Likewise.
64055 (significand_test_data): Likewise.
64056
64057 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
64058
64059 [BZ #15424]
64060 * benchtests/bench-modf.c (struct args): Mark arg0 as
64061 volatile.
64062 * scripts/bench.pl: Mark members of struct args as volatile.
64063
64064 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64065
64066 [BZ # 15497]
64067 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
64068 negative infinity on POWER6 or lower.
64069 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
64070
64071 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
64072
64073 [BZ #15442]
64074 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
64075 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
64076 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
64077 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
64078 (_FP_SETQNAN): New macro.
64079 (_FP_SETQNAN_SEMIRAW): Likewise.
64080 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
64081 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
64082 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
64083 (FP_EXTEND): Use _FP_FRAC_SNANP.
64084 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
64085 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
64086 into account.
64087 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64088 New macro.
64089 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64090 Likewise.
64091
64092 2013-05-16 Joseph Myers <joseph@codesourcery.com>
64093
64094 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
64095 with DIVIDE_BY_ZERO_EXCEPTION.
64096 (gamma_test_data): Likewise.
64097 (lgamma_test_data): Likewise.
64098 (log_test_data): Likewise.
64099 (log10_test_data): Likewise.
64100 (log2_test_data): Likewise.
64101 (tgamma_test_data): Likewise.
64102
64103 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
64104 (acos_test_tonearest): Likewise.
64105 (acos_test_towardzero): Likewise.
64106 (acos_test_downward): Likewise.
64107 (acos_test_upward): Likewise.
64108 (acosh_test): Likewise.
64109 (asin_test): Likewise.
64110 (asin_test_tonearest): Likewise.
64111 (asin_test_towardzero): Likewise.
64112 (asin_test_downward): Likewise.
64113 (asin_test_upward): Likewise.
64114 (asinh_test): Likewise.
64115 (atan_test): Likewise.
64116 (atanh_test): Likewise.
64117 (atan2_test): Likewise.
64118 (cabs_test): Likewise.
64119 (cacos_test): Likewise.
64120 (cacosh_test): Likewise.
64121 (casin_test): Likewise.
64122 (casinh_test): Likewise.
64123 (catan_test): Likewise.
64124 (catanh_test): Likewise.
64125 (cbrt_test): Likewise.
64126 (ccos_test): Likewise.
64127 (ccosh_test): Likewise.
64128 (cexp_test): Likewise.
64129 (clog_test): Likewise.
64130 (clog10_test): Likewise.
64131 (cos_test): Likewise.
64132 (cos_test_tonearest): Likewise.
64133 (cos_test_towardzero): Likewise.
64134 (cos_test_downward): Likewise.
64135 (cos_test_upward): Likewise.
64136 (cosh_test): Likewise.
64137 (cosh_test_tonearest): Likewise.
64138 (cosh_test_towardzero): Likewise.
64139 (cosh_test_downward): Likewise.
64140 (cosh_test_upward): Likewise.
64141 (cpow_test): Likewise.
64142 (csin_test): Likewise.
64143 (csinh_test): Likewise.
64144 (csqrt_test): Likewise.
64145 (ctan_test): Likewise.
64146 (ctan_test_tonearest): Likewise.
64147 (ctan_test_towardzero): Likewise.
64148 (ctan_test_downward): Likewise.
64149 (ctan_test_upward): Likewise.
64150 (ctanh_test): Likewise.
64151 (ctanh_test_tonearest): Likewise.
64152 (ctanh_test_towardzero): Likewise.
64153 (ctanh_test_downward): Likewise.
64154 (ctanh_test_upward): Likewise.
64155 (erf_test): Likewise.
64156 (erfc_test): Likewise.
64157 (exp_test): Likewise.
64158 (exp_test_tonearest): Likewise.
64159 (exp_test_towardzero): Likewise.
64160 (exp_test_downward): Likewise.
64161 (exp_test_upward): Likewise.
64162 (exp10_test): Likewise.
64163 (exp2_test): Likewise.
64164 (expm1_test): Likewise.
64165 (fmod_test): Likewise.
64166 (gamma_test): Likewise.
64167 (hypot_test): Likewise.
64168 (j0_test): Likewise.
64169 (j1_test): Likewise.
64170 (jn_test): Likewise.
64171 (lgamma_test): Likewise.
64172 (log_test): Likewise.
64173 (log10_test): Likewise.
64174 (log1p_test): Likewise.
64175 (log2_test): Likewise.
64176 (logb_test_downward): Likewise.
64177 (pow_test): Likewise.
64178 (pow_test_tonearest): Likewise.
64179 (pow_test_towardzero): Likewise.
64180 (pow_test_downward): Likewise.
64181 (pow_test_upward): Likewise.
64182 (remainder_test): Likewise.
64183 (remquo_test): Likewise.
64184 (sin_test): Likewise.
64185 (sin_test_tonearest): Likewise.
64186 (sin_test_towardzero): Likewise.
64187 (sin_test_downward): Likewise.
64188 (sin_test_upward): Likewise.
64189 (sincos_test): Likewise.
64190 (sinh_test): Likewise.
64191 (sinh_test_tonearest): Likewise.
64192 (sinh_test_towardzero): Likewise.
64193 (sinh_test_downward): Likewise.
64194 (sinh_test_upward): Likewise.
64195 (sqrt_test): Likewise.
64196 (tan_test): Likewise.
64197 (tan_test_tonearest): Likewise.
64198 (tan_test_towardzero): Likewise.
64199 (tan_test_downward): Likewise.
64200 (tan_test_upward): Likewise.
64201 (tanh_test): Likewise.
64202 (tgamma_test): Likewise.
64203 (y0_test): Likewise.
64204 (y1_test): Likewise.
64205 (yn_test): Likewise.
64206
64207 * math/gen-libm-test.pl (adjust_arg): Remove function.
64208 (special_function): Remove argument $in_func. Only handle
64209 generating output for tables of tests, not inside functions.
64210 (parse_args): Likewise.
64211 (generate_testfile): Remove variable $in_func. Update call to
64212 parse_args.
64213 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64214 (MINUS_ZERO_INIT): Rename macro to minus_zero.
64215 (PLUS_INFTY_INIT): Rename macro to plus_infty.
64216 (MINUS_INFTY_INIT): Rename macro to minus_infty.
64217 (QNAN_VALUE_INIT): Rename macro to qnan_value.
64218 (MAX_VALUE_INIT): Rename macro to max_value.
64219 (MIN_VALUE_INIT): Rename macro to min_value.
64220 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64221 (plus_zero): Remove variable.
64222 (minus_zero): Likewise.
64223 (plus_infty): Likewise.
64224 (minus_infty): Likewise.
64225 (qnan_value): Likewise.
64226 (max_value): Likewise.
64227 (min_value): Likewise.
64228 (min_subnorm_value): Likewise.
64229
64230 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64231
64232 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64233 uint64_t or uint32_t usage.
64234 * crypt/sha256-block.c: Likewise.
64235 * crypt/sha256-crypt.c: Likewise.
64236 * crypt/sha256.c: Likewise.
64237 * crypt/sha512-block.c: Likewise.
64238 * crypt/sha512-crypt.c: Likewise.
64239 * crypt/sha512.c: Likewise.
64240 * debug/backtrace-tst.c: Likewise.
64241 * debug/pcprofiledump.c: Likewise.
64242 * elf/cache.c: Likewise.
64243 * elf/dl-cache.c: Likewise.
64244 * elf/dl-misc.c: Likewise.
64245 * elf/dl-profile.c: Likewise.
64246 * elf/dl-support.c: Likewise.
64247 * elf/ldconfig.c: Likewise.
64248 * elf/sprof.c: Likewise.
64249 * iconv/dummy-repertoire.c: Likewise.
64250 * iconv/iconv_charmap.c: Likewise.
64251 * iconv/skeleton.c: Likewise.
64252 * iconvdata/8bit-generic.c: Likewise.
64253 * iconvdata/cp737.h: Likewise.
64254 * iconvdata/cp775.h: Likewise.
64255 * iconvdata/ibm1008.h: Likewise.
64256 * iconvdata/ibm1025.h: Likewise.
64257 * iconvdata/ibm1046.h: Likewise.
64258 * iconvdata/ibm1097.h: Likewise.
64259 * iconvdata/ibm1112.h: Likewise.
64260 * iconvdata/ibm1122.h: Likewise.
64261 * iconvdata/ibm1123.h: Likewise.
64262 * iconvdata/ibm1124.h: Likewise.
64263 * iconvdata/ibm1129.h: Likewise.
64264 * iconvdata/ibm1130.h: Likewise.
64265 * iconvdata/ibm1132.h: Likewise.
64266 * iconvdata/ibm1133.h: Likewise.
64267 * iconvdata/ibm1137.h: Likewise.
64268 * iconvdata/ibm1140.h: Likewise.
64269 * iconvdata/ibm1141.h: Likewise.
64270 * iconvdata/ibm1142.h: Likewise.
64271 * iconvdata/ibm1143.h: Likewise.
64272 * iconvdata/ibm1144.h: Likewise.
64273 * iconvdata/ibm1145.h: Likewise.
64274 * iconvdata/ibm1146.h: Likewise.
64275 * iconvdata/ibm1147.h: Likewise.
64276 * iconvdata/ibm1148.h: Likewise.
64277 * iconvdata/ibm1149.h: Likewise.
64278 * iconvdata/ibm1153.h: Likewise.
64279 * iconvdata/ibm1154.h: Likewise.
64280 * iconvdata/ibm1155.h: Likewise.
64281 * iconvdata/ibm1156.h: Likewise.
64282 * iconvdata/ibm1157.h: Likewise.
64283 * iconvdata/ibm1158.h: Likewise.
64284 * iconvdata/ibm1160.h: Likewise.
64285 * iconvdata/ibm1161.h: Likewise.
64286 * iconvdata/ibm1162.h: Likewise.
64287 * iconvdata/ibm1163.h: Likewise.
64288 * iconvdata/ibm1164.h: Likewise.
64289 * iconvdata/ibm1166.h: Likewise.
64290 * iconvdata/ibm1167.h: Likewise.
64291 * iconvdata/ibm12712.h: Likewise.
64292 * iconvdata/ibm1390.h: Likewise.
64293 * iconvdata/ibm1399.h: Likewise.
64294 * iconvdata/ibm16804.h: Likewise.
64295 * iconvdata/ibm4517.h: Likewise.
64296 * iconvdata/ibm4899.h: Likewise.
64297 * iconvdata/ibm4909.h: Likewise.
64298 * iconvdata/ibm4971.h: Likewise.
64299 * iconvdata/ibm5347.h: Likewise.
64300 * iconvdata/ibm803.h: Likewise.
64301 * iconvdata/ibm856.h: Likewise.
64302 * iconvdata/ibm901.h: Likewise.
64303 * iconvdata/ibm902.h: Likewise.
64304 * iconvdata/ibm9030.h: Likewise.
64305 * iconvdata/ibm9066.h: Likewise.
64306 * iconvdata/ibm921.h: Likewise.
64307 * iconvdata/ibm922.h: Likewise.
64308 * iconvdata/ibm9448.h: Likewise.
64309 * iconvdata/isiri-3342.h: Likewise.
64310 * iconvdata/jis0201.h: Likewise.
64311 * include/link.h: Likewise.
64312 * include/netdb.h: Likewise.
64313 * inet/check_native.c: Likewise.
64314 * inet/check_pf.c: Likewise.
64315 * inet/getipv4sourcefilter.c: Likewise.
64316 * inet/getnameinfo.c: Likewise.
64317 * inet/getsourcefilter.c: Likewise.
64318 * inet/htonl.c: Likewise.
64319 * inet/setipv4sourcefilter.c: Likewise.
64320 * inet/setsourcefilter.c: Likewise.
64321 * inet/test-inet6_opt.c: Likewise.
64322 * inet/tst-network.c: Likewise.
64323 * locale/C-collate.c: Likewise.
64324 * locale/C-ctype.c: Likewise.
64325 * locale/C-time.c: Likewise.
64326 * locale/C-translit.h: Likewise.
64327 * locale/loadarchive.c: Likewise.
64328 * locale/programs/3level.h: Likewise.
64329 * locale/programs/charmap.c: Likewise.
64330 * locale/programs/charmap.h: Likewise.
64331 * locale/programs/ld-address.c: Likewise.
64332 * locale/programs/ld-collate.c: Likewise.
64333 * locale/programs/ld-ctype.c: Likewise.
64334 * locale/programs/ld-identification.c: Likewise.
64335 * locale/programs/ld-measurement.c: Likewise.
64336 * locale/programs/ld-messages.c: Likewise.
64337 * locale/programs/ld-monetary.c: Likewise.
64338 * locale/programs/ld-name.c: Likewise.
64339 * locale/programs/ld-numeric.c: Likewise.
64340 * locale/programs/ld-paper.c: Likewise.
64341 * locale/programs/ld-telephone.c: Likewise.
64342 * locale/programs/ld-time.c: Likewise.
64343 * locale/programs/linereader.c: Likewise.
64344 * locale/programs/locale.c: Likewise.
64345 * locale/programs/locarchive.c: Likewise.
64346 * locale/programs/locfile.h: Likewise.
64347 * locale/programs/repertoire.c: Likewise.
64348 * locale/programs/simple-hash.c: Likewise.
64349 * locale/programs/simple-hash.h: Likewise.
64350 * malloc/memusage.c: Likewise.
64351 * malloc/memusagestat.c: Likewise.
64352 * nis/nis_defaults.c: Likewise.
64353 * nis/nis_hash.c: Likewise.
64354 * nis/nis_print.c: Likewise.
64355 * nis/nis_xdr.c: Likewise.
64356 * nscd/connections.c: Likewise.
64357 * nscd/hstcache.c: Likewise.
64358 * nscd/nscd_gethst_r.c: Likewise.
64359 * nscd/nscd_getserv_r.c: Likewise.
64360 * nscd/nscd_helper.c: Likewise.
64361 * nscd/servicescache.c: Likewise.
64362 * nss/makedb.c: Likewise.
64363 * nss/nss_db/db-XXX.c: Likewise.
64364 * nss/nss_db/db-initgroups.c: Likewise.
64365 * nss/nss_db/db-netgrp.c: Likewise.
64366 * nss/nss_files/files-network.c: Likewise.
64367 * nss/nss_files/files-parse.c: Likewise.
64368 * posix/bug-regex5.c: Likewise.
64369 * posix/fnmatch_loop.c: Likewise.
64370 * posix/regcomp.c: Likewise.
64371 * posix/regexec.c: Likewise.
64372 * posix/tst-rfc3484-2.c: Likewise.
64373 * posix/tst-rfc3484-3.c: Likewise.
64374 * posix/tst-rfc3484.c: Likewise.
64375 * resolv/nss_dns/dns-canon.c: Likewise.
64376 * resolv/nss_dns/dns-network.c: Likewise.
64377 * resolv/res_init.c: Likewise.
64378 * resolv/res_mkquery.c: Likewise.
64379 * resolv/tst-aton.c: Likewise.
64380 * stdlib/cxa_atexit.c: Likewise.
64381 * stdlib/cxa_finalize.c: Likewise.
64382 * stdlib/gen-fpioconst.c: Likewise.
64383 * stdlib/strtol_l.c: Likewise.
64384 * string/tst-endian.c: Likewise.
64385 * sunrpc/auth_des.c: Likewise.
64386 * sunrpc/clnt_udp.c: Likewise.
64387 * sunrpc/rtime.c: Likewise.
64388 * sunrpc/svcauth_des.c: Likewise.
64389 * sunrpc/xdr.c: Likewise.
64390 * sunrpc/xdr_intXX_t.c: Likewise.
64391 * sunrpc/xdr_rec.c: Likewise.
64392 * sysdeps/generic/ldconfig.h: Likewise.
64393 * sysdeps/generic/ldsodefs.h: Likewise.
64394 * sysdeps/generic/memusage.h: Likewise.
64395 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64396 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
64397 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
64398 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64401 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64402 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64403 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64405 * sysdeps/posix/getaddrinfo.c: Likewise.
64406 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64407 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64408 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64409 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64410 * sysdeps/powerpc/test-gettimebase.c: Likewise.
64411 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
64412 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
64413 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
64414 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
64415 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
64416 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64417 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64418 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
64419 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
64420 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
64421 * sysdeps/x86_64/dl-tls.h: Likewise.
64422 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
64423 * time/alt_digit.c: Likewise.
64424 * time/era.c: Likewise.
64425 * wcsmbs/tst-c16c32-1.c: Likewise.
64426
64427 2013-05-16 Joseph Myers <joseph@codesourcery.com>
64428
64429 * math/libm-test.inc (struct test_sincos_data): New type.
64430 (RUN_TEST_LOOP_sincos): New macro.
64431 (sincos_test_data): New variable.
64432 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
64433
64434 2013-05-16 Richard Henderson <rth@redhat.com>
64435
64436 * math/atest-exp2.c (LIMB64): New macro.
64437 (CONSTSZ): New macro.
64438 (mp_exp1, mp_exp_m1, mp_log2): New variables.
64439 (hexdig): Move ...
64440 (print_mpn_fp): ... to function scope.
64441 (read_mpn_hex): Remove.
64442 (get_log2): Remove.
64443 (exp2_mpn): Use mp_log2.
64444 (main): Use mp_exp1.
64445
64446 2013-05-16 Joseph Myers <joseph@codesourcery.com>
64447
64448 * math/libm-test.inc: Remove comment about not testing "inexact"
64449 exceptions.
64450 (INEXACT_EXCEPTION): New macro.
64451 (NO_INEXACT_EXCEPTION): Likewise.
64452 (INVALID_EXCEPTION_OK): Update value.
64453 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64454 (OVERFLOW_EXCEPTION_OK): Likewise.
64455 (UNDERFLOW_EXCEPTION_OK): Likewise.
64456 (IGNORE_ZERO_INF_SIGN): Likewise.
64457 (ERRNO_UNCHANGED): Likewise.
64458 (ERRNO_EDOM): Likewise.
64459 (ERRNO_ERANGE): Likewise.
64460 (test_exceptions): Handle testing "inexact" exceptions.
64461 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
64462 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
64463 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
64464 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
64465 INEXACT_EXCEPTION.
64466 (rint_towardzero_test_data): Likewise.
64467 (rint_downward_test_data): Likewise.
64468 (rint_upward_test_data): Likewise.
64469
64470 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
64471 with OVERFLOW_EXCEPTION.
64472 (exp10_test_data): Likewise.
64473 (exp2_test_data): Likewise.
64474 (expm1_test_data): Likewise.
64475 (lgamma_test_data): Likewise.
64476 (pow_test_data): Likewise.
64477 (tgamma_test_data): Likewise.
64478 (yn_test_data): Remove duplicate test of overflow.
64479
64480 * math/libm-test.inc (struct test_cc_c_data): New type.
64481 (RUN_TEST_LOOP_cc_c): New macro.
64482 (cpow_test_data): New variable.
64483 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
64484
64485 * math/libm-test.inc (struct test_f_L_data): New type.
64486 (RUN_TEST_LOOP_f_L): New macro.
64487 (llrint_test_data): New variable.
64488 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
64489 (llrint_tonearest_test_data): New variable.
64490 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
64491 (llrint_towardzero_test_data): New variable.
64492 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
64493 (llrint_downward_test_data): New variable.
64494 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
64495 (llrint_upward_test_data): New variable.
64496 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
64497 (llround_test_data): New variable.
64498 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
64499
64500 2013-05-13 Peter Collingbourne <pcc@google.com>
64501
64502 * math/atest-exp2.c (get_log2): Remove const attribute.
64503
64504 2013-05-15 Joseph Myers <joseph@codesourcery.com>
64505
64506 * math/libm-test.inc (struct test_f_l_data): New type.
64507 (RUN_TEST_LOOP_f_l): New macro.
64508 (lrint_test_data): New variable.
64509 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
64510 (lrint_tonearest_test_data): New variable.
64511 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
64512 (lrint_towardzero_test_data): New variable.
64513 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
64514 (lrint_downward_test_data): New variable.
64515 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
64516 (lrint_upward_test_data): New variable.
64517 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
64518 (lround_test_data): New variable.
64519 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
64520
64521 2013-05-15 Peter Collingbourne <pcc@google.com>
64522
64523 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
64524 (EXTRACT_WORDS64) Use where appropriate.
64525 (INSERT_WORDS64) Likewise.
64526
64527 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
64528 constraints with x constraints.
64529 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
64530
64531 * malloc/obstack.c (_obstack_compat): Add initializer.
64532
64533 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
64534
64535 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
64536 si_trapno and add si_addr_lsb to _sifields.sigfault.
64537 (si_trapno): Remove macro.
64538 (si_addr_lsb): Define new macro.
64539 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64540
64541 2013-05-15 Joseph Myers <joseph@codesourcery.com>
64542
64543 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64544 instead of TEST_f_l.
64545 (llrint_test_tonearest): Likewise.
64546 (llrint_test_towardzero): Likewise.
64547 (llrint_test_downward): Likewise.
64548 (llrint_test_upward): Likewise.
64549 (llround_test): Likewise.
64550
64551 * math/libm-test.inc (struct test_f_i_data): Add comment.
64552 (RUN_TEST_LOOP_f_b): New macro.
64553 (RUN_TEST_LOOP_f_b_tg): Likewise.
64554 (finite_test_data): New variable.
64555 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64556 (isfinite_test_data): New variable.
64557 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64558 (isinf_test_data): New variable.
64559 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64560 (isnan_test_data): New variable.
64561 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64562 (isnormal_test_data): New variable.
64563 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64564 (issignaling_test_data): New variable.
64565 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64566 (signbit_test_data): New variable.
64567 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64568
64569 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64570 with INVALID_EXCEPTION.
64571 (acosh_test_data): Likewise.
64572 (asin_test_data): Likewise.
64573 (atanh_test_data): Likewise.
64574 (fmod_test_data): Likewise.
64575 (log_test_data): Likewise.
64576 (log10_test_data): Likewise.
64577 (log2_test_data): Likewise.
64578 (pow_test_data): Likewise.
64579 (sqrt_test_data): Likewise.
64580 (y0_test_data): Likewise.
64581 (y1_test_data): Likewise.
64582 (yn_test_data): Likewise.
64583
64584 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64585 function contents.
64586
64587 * math/libm-test.inc (struct test_ff_i_data): New type.
64588 (RUN_TEST_LOOP_ff_i_tg): New macro.
64589 (isgreater_test_data): New variable.
64590 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64591 (isgreaterequal_test_data): New variable.
64592 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64593 (isless_test_data): New variable.
64594 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64595 (islessequal_test_data): New variable.
64596 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64597 (islessgreater_test_data): New variable.
64598 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64599 (isunordered_test_data): New variable.
64600 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64601
64602 2013-05-14 David S. Miller <davem@davemloft.net>
64603
64604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64605
64606 2013-05-14 Joseph Myers <joseph@codesourcery.com>
64607
64608 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64609
64610 * math/libm-test.inc (struct test_fF_f1_data): Change type of
64611 extra_test to int.
64612 (struct test_f_i_data): Change type of max_ulp to int.
64613
64614 * math/libm-test.inc (test_ffI_f1_data): New type.
64615 (RUN_TEST_LOOP_ffI_f1): New macro.
64616 (remquo_test_data): New variable.
64617 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64618
64619 * setjmp/tst-setjmp-fp.c: New file.
64620 * setjmp/Makefile (tests): Add tst-setjmp-fp.
64621 (link-libm): New variable.
64622 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64623
64624 * math/libm-test.inc (struct test_f_i_data): New type.
64625 (RUN_TEST_LOOP_f_i): New macro.
64626 (RUN_TEST_LOOP_f_i_tg): Likewise.
64627 (fpclassify_test_data): New variable.
64628 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64629 (ilogb_test_data): New variable.
64630 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64631
64632 * math/libm-test.inc (scalbln_test): Correct function name in END
64633 call.
64634
64635 * math/libm-test.inc (struct test_f_f1_data): Add comment.
64636 (RUN_TEST_LOOP_fI_f1): New macro.
64637 (frexp_test_data): New variable.
64638 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64639
64640 * math/libm-test.inc (struct test_fF_f1_data): New type.
64641 (RUN_TEST_LOOP_fF_f1): New macro.
64642 (modf_test_data): New variable.
64643 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64644
64645 * math/libm-test.inc (struct test_f_f1_data): New type.
64646 (RUN_TEST_LOOP_f_f1): New macro.
64647 (gamma_test_data): New variable.
64648 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64649 (lgamma_test_data): New variable.
64650 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64651
64652 2013-05-13 Carlos O'Donell <carlos@redhat.com>
64653
64654 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64655 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64656 (main): Comment "tls" pseudo-hwcap.
64657
64658 2013-05-13 Joseph Myers <joseph@codesourcery.com>
64659
64660 * math/libm-test.inc (struct test_fl_f_data): New type.
64661 (RUN_TEST_LOOP_fl_f): New variable.
64662 (scalbln_test_data): New variable.
64663 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64664
64665 * math/libm-test.inc (struct test_fi_f_data): New type.
64666 (RUN_TEST_LOOP_fi_f): New macro.
64667 (ldexp_test_data): New variable.
64668 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64669 (scalbn_test_data): New variable.
64670 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64671
64672 * math/libm-test.inc (struct test_c_f_data): New type.
64673 (RUN_TEST_LOOP_c_f): New macro.
64674 (cabs_test_data): New variable.
64675 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64676 (carg_test_data): New variable.
64677 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64678 (cimag_test_data): New variable.
64679 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64680 (creal_test_data): New variable.
64681 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64682
64683 * math/libm-test.inc (struct test_if_f_data): New type.
64684 (RUN_TEST_LOOP_if_f): New macro.
64685 (jn_test_data): New variable.
64686 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64687 (yn_test_data): New variable.
64688 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64689
64690 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64691
64692 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64693
64694 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64695 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64696
64697 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64698
64699 * benchtests/Makefile (CPPFLAGS-nonlib): Add
64700 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64701 (bench-deps): Add bench-timing.h.
64702 * benchtests-bench-skeleton.c: Include bench-timing.h.
64703 (main): Use TIMING_* macros instead of clock_gettime.
64704 * benchtests/bench-timing.h: New file.
64705
64706 [BZ #14582]
64707 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64708 Renamed from _LIB_VERSION.
64709 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64710
64711 2013-05-12 Joseph Myers <joseph@codesourcery.com>
64712
64713 * math/libm-test.inc (struct test_fff_f_data): New type.
64714 (RUN_TEST_LOOP_fff_f): New macro.
64715 (fma_test_data): New variable.
64716 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64717 (fma_towardzero_test_data): New variable.
64718 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64719 (fma_downward_test_data): New variable.
64720 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64721 (fma_upward_test_data): New variable.
64722 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64723
64724 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64725 (struct test_c_c_data): New type.
64726 (RUN_TEST_LOOP_c_c): New macro.
64727 (cacos_test_data): New variable.
64728 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64729 (cacosh_test_data): New variable.
64730 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64731 (casin_test_data): New variable.
64732 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64733 (casinh_test_data): New variable.
64734 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64735 (catan_test_data): New variable.
64736 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64737 (catanh_test_data): New variable.
64738 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64739 (ccos_test_data): New variable.
64740 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64741 (ccosh_test_data): New variable.
64742 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64743 (cexp_test_data): New variable.
64744 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64745 (clog_test_data): New variable.
64746 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64747 (clog10_test_data): New variable.
64748 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64749 (conj_test_data): New variable.
64750 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64751 (cproj_test_data): New variable.
64752 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64753 (csin_test_data): New variable.
64754 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64755 (csinh_test_data): New variable.
64756 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64757 (csqrt_test_data): New variable.
64758 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64759 (ctan_test_data): New variable.
64760 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64761 (ctan_tonearest_test_data): New variable.
64762 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64763 (ctan_towardzero_test_data): New variable.
64764 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64765 (ctan_downward_test_data): New variable.
64766 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64767 (ctan_upward_test_data): New variable.
64768 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64769 (ctanh_test_data): New variable.
64770 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64771 (ctanh_tonearest_test_data): New variable.
64772 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64773 (ctanh_towardzero_test_data): New variable.
64774 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64775 (ctanh_downward_test_data): New variable.
64776 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64777 (ctanh_upward_test_data): New variable.
64778 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64779 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64780 of BUILD_COMPLEX.
64781
64782 * math/libm-test.inc (struct test_ff_f_data): New type.
64783 (struct test_ff_f_data_nexttoward): Likewise.
64784 (RUN_TEST_LOOP_2_f): New macro.
64785 (RUN_TEST_LOOP_ff_f): Likewise.
64786 (atan2_test_data): New variable.
64787 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64788 (copysign_test_data): New variable.
64789 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64790 (fdim_test_data): New variable.
64791 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64792 (fmax_test_data): New variable.
64793 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64794 (fmin_test_data): New variable.
64795 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64796 (fmod_test_data): New variable.
64797 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64798 (hypot_test_data): New variable.
64799 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64800 (nextafter_test_data): New variable.
64801 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64802 (nexttoward_test_data): New variable.
64803 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64804 (pow_test_data): New variable.
64805 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64806 (pow_tonearest_test_data): New variable.
64807 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64808 (pow_towardzero_test_data): New variable.
64809 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64810 (pow_downward_test_data): New variable.
64811 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64812 (pow_upward_test_data): New variable.
64813 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64814 (remainder_test_data): New variable.
64815 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64816 (scalb_test_data): New variable.
64817 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64818 * sysdeps/i386/fpu/libm-test-ulps: Update.
64819
64820 2013-05-11 Joseph Myers <joseph@codesourcery.com>
64821
64822 * math/libm-test.inc (fma_test): Use max_value instead of local
64823 variable fltmax.
64824 (nextafter_test): Likewise.
64825
64826 * math/libm-test.inc (acos_towardzero_test_data): New variable.
64827 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64828 (acos_downward_test_data): New variable.
64829 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64830 (acos_upward_test_data): New variable.
64831 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64832 (acosh_test_data): New variable.
64833 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64834 (asin_test_data): New variable.
64835 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64836 (asin_tonearest_test_data): New variable.
64837 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64838 (asin_towardzero_test_data): New variable.
64839 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64840 (asin_downward_test_data): New variable.
64841 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64842 (asin_upward_test_data): New variable.
64843 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64844 (asinh_test_data): New variable.
64845 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64846 (atan_test_data): New variable.
64847 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64848 (atanh_test_data): New variable.
64849 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64850 (cbrt_test_data): New variable.
64851 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64852 (ceil_test_data): New variable.
64853 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64854 (cos_test_data): New variable.
64855 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64856 (cos_tonearest_test_data): New variable.
64857 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64858 (cos_towardzero_test_data): New variable.
64859 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64860 (cos_downward_test_data): New variable.
64861 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64862 (cos_upward_test_data): New variable.
64863 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64864 (cosh_test_data): New variable.
64865 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64866 (cosh_tonearest_test_data): New variable.
64867 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64868 (cosh_towardzero_test_data): New variable.
64869 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64870 (cosh_downward_test_data): New variable.
64871 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64872 (cosh_upward_test_data): New variable.
64873 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64874 (erf_test_data): New variable.
64875 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64876 (erfc_test_data): New variable.
64877 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64878 (exp_test_data): New variable.
64879 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64880 (exp_tonearest_test_data): New variable.
64881 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64882 (exp_towardzero_test_data): New variable.
64883 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64884 (exp_downward_test_data): New variable.
64885 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64886 (exp_upward_test_data): New variable.
64887 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64888 (exp10_test_data): New variable.
64889 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64890 (exp2_test_data): New variable.
64891 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64892 (expm1_test_data): New variable.
64893 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64894 (fabs_test_data): New variable.
64895 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64896 (floor_test_data): New variable.
64897 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64898 (j0_test_data): New variable.
64899 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64900 (j1_test_data): New variable.
64901 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64902 (log_test_data): New variable.
64903 (log_test): Run tests with RUN_TEST_LOOP_f_f.
64904 (log10_test_data): New variable.
64905 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64906 (log1p_test_data): New variable.
64907 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64908 (log2_test_data): New variable.
64909 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64910 (logb_test_data): New variable.
64911 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64912 (logb_downward_test_data): New variable.
64913 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64914 (nearbyint_test_data): New variable.
64915 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64916 (rint_test_data): New variable.
64917 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64918 (rint_tonearest_test_data): New variable.
64919 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64920 (rint_towardzero_test_data): New variable.
64921 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64922 (rint_downward_test_data): New variable.
64923 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64924 (rint_upward_test_data): New variable.
64925 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64926 (round_test_data): New variable.
64927 (round_test): Run tests with RUN_TEST_LOOP_f_f.
64928 (sin_test_data): New variable.
64929 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64930 (sin_tonearest_test_data): New variable.
64931 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64932 (sin_towardzero_test_data): New variable.
64933 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64934 (sin_downward_test_data): New variable.
64935 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64936 (sin_upward_test_data): New variable.
64937 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64938 (sinh_test_data): New variable.
64939 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64940 (sinh_tonearest_test_data): New variable.
64941 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64942 (sinh_towardzero_test_data): New variable.
64943 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64944 (sinh_downward_test_data): New variable.
64945 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64946 (sinh_upward_test_data): New variable.
64947 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64948 (sqrt_test_data): New variable.
64949 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64950 (tan_test_data): New variable.
64951 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64952 (tan_tonearest_test_data): New variable.
64953 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64954 (tan_towardzero_test_data): New variable.
64955 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64956 (tan_downward_test_data): New variable.
64957 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64958 (tan_upward_test_data): New variable.
64959 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64960 (tanh_test_data): New variable.
64961 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64962 (tgamma_test_data): New variable.
64963 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64964 (trunc_test_data): New variable.
64965 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64966 (y0_test_data): New variable.
64967 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64968 (y1_test_data): New variable.
64969 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64970 (significand_test_data): New variable.
64971 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64972
64973 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
64974
64975 [BZ #12387]
64976 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64977
64978 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
64979
64980 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64981
64982 2013-05-10 Andreas Jaeger <aj@suse.de>
64983
64984 [BZ #15448]
64985 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64986 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64987
64988 2013-05-10 Joseph Myers <joseph@codesourcery.com>
64989
64990 * math/gen-libm-test.pl (adjust_arg): New function.
64991 (special_functions): Handle generating output in both functions
64992 and arrays.
64993 (parse_args): Likewise.
64994 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
64995 $in_func argument to parse_args.
64996 * math/libm-test.inc (struct test_f_f_data): New type.
64997 (IF_ROUND_INIT_): New macro.
64998 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64999 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65000 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65001 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65002 (ROUND_RESTORE_): Likewise.
65003 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
65004 (ROUND_RESTORE_FE_TONEAREST): Likewise.
65005 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
65006 (ROUND_RESTORE_FE_UPWARD): Likewise.
65007 (RUN_TEST_LOOP_f_f): New macro.
65008 (acos_test_data): New variable.
65009 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
65010 (acos_tonearest_test_data): New variable.
65011 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65012
65013 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65014
65015 * benchtests/bench-skeleton.c (startup): Fix coding style.
65016
65017 2013-05-10 Joseph Myers <joseph@codesourcery.com>
65018
65019 [BZ #6809]
65020 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
65021 negative infinity argument.
65022 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
65023 negative infinity argument.
65024 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
65025 negative infinity argument.
65026 * math/libm-test.inc (tgamma_test): Expect errno to be set for
65027 domain errors.
65028
65029 2013-05-10 Florian Weimer <fweimer@redhat.com>
65030
65031 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
65032 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
65033 * iconv/iconv_prog.c (main): Likewise.
65034 * locale/programs/charmap-dir.c (charmap_readdir)
65035 (fopen_uncompressed): Likewise.
65036 * locale/programs/locfile.c (siblings_uncached)
65037 (write_locale_data): Use lstat64 instead of lstat.
65038 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
65039 stat.
65040
65041 2013-05-10 Andreas Jaeger <aj@suse.de>
65042
65043 [BZ #15395]
65044 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
65045 localization.
65046 Include <locale.h>.
65047
65048 2013-05-09 Carlos O'Donell <carlos@redhat.com>
65049
65050 * elf/dl-close.c (_dl_close_worker): Add comments.
65051
65052 2013-05-09 Joseph Myers <joseph@codesourcery.com>
65053
65054 [BZ #15359]
65055 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
65056 high part of pi/2.
65057 (__ieee754_rem_pio2l): Update comments.
65058
65059 [BZ #15429]
65060 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
65061 high part of pi/2.
65062 (__ieee754_rem_pio2l): Update comments.
65063
65064 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
65065 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
65066
65067 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
65068 M_PI_4l.
65069
65070 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
65071 (M_PI_34_LOG10El): Likewise.
65072 (M_PI2_LOG10El): Likewise.
65073 (M_PI4_LOG10El): Likewise.
65074 (M_PI_LOG10El): Likewise.
65075
65076 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65077
65078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65079
65080 2013-05-08 Joseph Myers <joseph@codesourcery.com>
65081
65082 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
65083 (MINUS_ZERO_INIT): Likewise.
65084 (PLUS_INFTY_INIT): Likewise.
65085 (MINUS_INFTY_INIT): Likewise.
65086 (QNAN_VALUE_INIT): Likewise.
65087 (MAX_VALUE_INIT): Likewise.
65088 (MIN_VALUE_INIT): Likewise.
65089 (MIN_SUBNORM_VALUE_INIT): Likewise.
65090 (plus_zero): Initialize with PLUS_ZERO_INIT.
65091 (minus_zero): Initialize with MINUS_ZERO_INIT.
65092 (plus_infty): Initialize with PLUS_INFTY_INIT.
65093 (minus_infty): Initialize with MINUS_INFTY_INIT.
65094 (qnan_value): Initialize with QNAN_VALUE_INIT.
65095 (max_value): Initialize with MAX_VALUE_INIT.
65096 (min_value): Initialize with MIN_VALUE_INIT.
65097 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
65098
65099 * math/libm-test.inc (RUN_TEST_if_f): New macro.
65100 (jn_test): Use TEST_if_f instead of TEST_ff_f.
65101 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
65102 (yn_test): Use TEST_if_f instead of TEST_ff_f.
65103
65104 * math/libm-test.inc (RUN_TEST_f_f): New macro.
65105 (RUN_TEST_2_f): Likewise.
65106 (RUN_TEST_ff_f): Likewise.
65107 (RUN_TEST_fi_f): Likewise.
65108 (RUN_TEST_fl_f): Likewise.
65109 (RUN_TEST_fff_f): Likewise.
65110 (RUN_TEST_c_f): Likewise.
65111 (RUN_TEST_f_f1): Likewise.
65112 (RUN_TEST_fF_f1): Likewise.
65113 (RUN_TEST_fI_f1): Likewise.
65114 (RUN_TEST_ffI_f1): Likewise.
65115 (RUN_TEST_c_c): Likewise.
65116 (RUN_TEST_cc_c): Likewise.
65117 (RUN_TEST_f_i): Likewise.
65118 (RUN_TEST_f_i_tg): Likewise.
65119 (RUN_TEST_ff_i_tg): Likewise.
65120 (RUN_TEST_f_b): Likewise.
65121 (RUN_TEST_f_b_tg): Likewise.
65122 (RUN_TEST_f_l): Likewise.
65123 (RUN_TEST_f_L): Likewise.
65124 (RUN_TEST_sincos): Likewise.
65125 * math/gen-libm-test.pl (new_test): Take new argument to indicate
65126 whether to show exceptions. Do not include ");\n" in return
65127 value.
65128 (special_functions): Output call to RUN_TEST_sincos instead of
65129 check_float calls. Update calls to new_test.
65130 (parse_args): Output call to single RUN_TEST_* macro instead of
65131 check_* calls and other assignments. Update calls to new_test.
65132
65133 [BZ #2546]
65134 [BZ #2560]
65135 [BZ #5159]
65136 [BZ #15426]
65137 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
65138 input to result for tgamma overflow.
65139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
65140 (gamma_coeff): New variable.
65141 (NCOEFF): New macro.
65142 (gamma_positive): New function.
65143 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
65144 underflow here. Use gamma_positive instead of exp (lgamma) for
65145 other arguments.
65146 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
65147 (gamma_coeff): New variable.
65148 (NCOEFF): New macro.
65149 (gammaf_positive): New function.
65150 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
65151 underflow here. Use gamma_positive instead of exp (lgamma) for
65152 other arguments.
65153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
65154 (gamma_coeff): New variable.
65155 (NCOEFF): New macro.
65156 (gammal_positive): New function.
65157 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
65158 underflow here. Use gamma_positive instead of exp (lgamma) for
65159 other arguments.
65160 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
65161 (gamma_coeff): New variable.
65162 (NCOEFF): New macro.
65163 (gammal_positive): New function.
65164 (__ieee754_gammal_r): Handle positive infinity, overflow and
65165 underflow here. Handle NaN the same as positive infinity. Remove
65166 check x < 0xffffffff for negative integers. Use gamma_positive
65167 instead of exp (lgamma) for other arguments.
65168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
65169 (gamma_coeff): New variable.
65170 (NCOEFF): New macro.
65171 (gammal_positive): New function.
65172 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
65173 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
65174 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
65175 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
65176 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
65177 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
65178 * sysdeps/generic/math_private.h (__gamma_productf): New
65179 prototype.
65180 (__gamma_product): Likewise.
65181 (__gamma_productl): Likewise.
65182 * math/Makefile (libm-calls): Add gamma_product.
65183 * math/libm-test.inc (tgamma_test): Add more tests.
65184 * sysdeps/i386/fpu/libm-test-ulps: Update.
65185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65186
65187 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
65188
65189 * benchtests/bench-skeleton.c (main): Preheat CPU.
65190
65191 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
65192
65193 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
65194
65195 2013-05-07 Roland McGrath <roland@hack.frob.com>
65196
65197 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
65198 and _dl_skip_args_internal.
65199
65200 2013-05-07 Carlos O'Donell <carlos@redhat.com>
65201
65202 * manual/message.texi (Message Translation): Talk about users.
65203 Message to key mapping impacts design.
65204
65205 2013-05-06 Roland McGrath <roland@hack.frob.com>
65206
65207 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
65208
65209 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65210
65211 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65212 * sysdeps/wordsize-64/glob64.c: ... here.
65213
65214 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65215 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65216 New macros.
65217
65218 * debug/getlogin_r_chk.c: Moved to ...
65219 * login/getlogin_r_chk.c: ... here.
65220 * debug/Makefile (routines): Move getlogin_r_chk to ...
65221 * login/Makefile (routines): ... here.
65222 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65223 * login/Versions (libc: GLIBC_2.4): ... here.
65224
65225 * io/poll.c (__poll): Renamed from poll.
65226 Add libc_hidden_def.
65227 (poll): Define as weak alias.
65228
65229 * debug/ptsname_r_chk.c: Moved to ...
65230 * login/ptsname_r_chk.c: ... here.
65231 * debug/Makefile (routines): Move ptsname_r_chk to ...
65232 * login/Makefile (routines): ... here.
65233 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65234 * login/Versions (libc: GLIBC_2.4): ... here.
65235
65236 * posix/getlogin.c: Moved to ...
65237 * login/getlogin.c: ... here.
65238 * posix/getlogin_r.c: Moved to ...
65239 * login/getlogin_r.c: ... here.
65240 * posix/getlogin_r.c: Moved to ...
65241 * login/getlogin_r.c: ... here.
65242 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65243 * login/Makefile (routines): ... here.
65244 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65245 * login/Versions (libc: GLIBC_2.0): ... here.
65246
65247 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65248 (setrlimit): Define as weak alias.
65249
65250 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65251 Call __ names for open, ftruncate, and close.
65252 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65253 (truncate): Define as weak alias.
65254
65255 2013-05-06 Joseph Myers <joseph@codesourcery.com>
65256
65257 * math/gen-libm-test.pl (parse_args): Initialize x before each
65258 test of frexp, modf and remquo.
65259
65260 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65261 test signgam value.
65262
65263 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65264
65265 [BZ #15418]
65266 [BZ #15419]
65267 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65268 internal tests.
65269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65270
65271 2013-05-06 Roland McGrath <roland@hack.frob.com>
65272
65273 * elf/dl-writev.h: New file.
65274 * elf/dl-misc.c: Include it.
65275 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65276 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65277
65278 2013-05-04 Joseph Myers <joseph@codesourcery.com>
65279
65280 * math/libm-test.inc (noXFails): Remove variable.
65281 (noXPasses): Likewise.
65282 (BUILD_COMPLEX_INT): Remove macro.
65283 (print_screen): Remove xfail argument.
65284 (print_screen_max_error): Likewise.
65285 (update_stats): Likewise.
65286 (print_max_error): Likewise. Update calls to other affected
65287 functions.
65288 (print_complex_max_error): Likewise.
65289 (test_single_exception): Update calls to print_screen.
65290 (test_single_errno): Likewise.
65291 (check_float_internal): Remove xfail argument. Update calls to
65292 other affected functions.
65293 (check_float): Likewise.
65294 (check_complex): Likewise.
65295 (check_int): Likewise.
65296 (check_long): Likewise.
65297 (check_bool): Likewise.
65298 (check_longlong): Likewise.
65299 (main): Don't print noXFails and noXPasses.
65300 * math/gen-libm-test.pl (top level): Don't mention expected
65301 failure handling in comment.
65302 (new_test): Don't handle expected failures.
65303 (parse_args): Don't mention expected failure handling in comment.
65304 (generate_testfile): Don't handle expected failures.
65305 (parse_ulps): Likewise.
65306 (print_ulps_file): Likewise.
65307 (get_failure): Remove function.
65308 (output_test): Don't handle expected failures.
65309 * make/README.libm-test: Don't mention expected failure handling.
65310
65311 * math/libm-test.inc (plus_zero): Make const. Add initializer.
65312 (minus_zero): Likewise.
65313 (plus_infty): Likewise.
65314 (minus_infty): Likewise.
65315 (qnan_value): Likewise.
65316 (max_value): Likewise.
65317 (min_value): Likewise.
65318 (min_subnorm_value): Likewise.
65319 (initialize): Do not initialize those variables dynamically.
65320
65321 2013-05-03 Roland McGrath <roland@hack.frob.com>
65322
65323 * io/open.c (__open_2): Moved to ...
65324 * io/open_2.c: ... this new file.
65325 * io/open64.c (__open64_2): Moved to ...
65326 * io/open64_2.c: ... this new file.
65327 * io/openat.c (__openat_2): Moved to ...
65328 * io/openat_2.c: ... this new file.
65329 * io/openat64.c (__openat64_2): Moved to ...
65330 * io/openat64_2.c: ... this new file.
65331 * io/Makefile (routines): Add them.
65332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65333 * sysdeps/unix/sysv/linux/open_2.c: File removed.
65334 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65335 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65336 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65337 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65338 (__openat64): Add hidden_ver.
65339 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65340 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65341
65342 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65343 Separately conditionalize setting of GLRO(dl_sysinfo) so
65344 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65345 as well, but the actual setting is only under [NEED_DL_SYSINFO].
65346
65347 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65348
65349 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65350 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65351 definition.
65352 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65353 * sysdeps/unix/sysv/linux/powerpc/init-first.c
65354 (_libc_vdso_platform_setup): Add __vdso_time initialization.
65355 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65356 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65357
65358 2013-05-03 Joseph Myers <joseph@codesourcery.com>
65359
65360 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65361 test signgam value.
65362
65363 * math/libm-test.inc (hypot_test): Do not use
65364 IGNORE_ZERO_INF_SIGN.
65365
65366 2013-05-03 Andreas Jaeger <aj@suse.de>
65367
65368 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65369 Linux 3.9.
65370 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65371 (PF_MAX): Adjust for VSOCK change.
65372
65373 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65374
65375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65376
65377 2013-05-02 Carlos O'Donell <carlos@redhat.com>
65378
65379 [BZ #15264]
65380 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65381 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65382 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65383
65384 2013-05-02 David S. Miller <davem@davemloft.net>
65385
65386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65387
65388 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
65389
65390 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
65391
65392 2013-05-01 Roland McGrath <roland@hack.frob.com>
65393
65394 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
65395
65396 2013-05-01 Richard Smith <richard@metafoo.co.uk>
65397
65398 [BZ #14952]
65399 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
65400 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65401 Use __attribute__ ((__gnu_inline__)).
65402 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65403 Don't use __attribute__ ((__gnu_inline__)).
65404
65405 2013-05-01 Joseph Myers <joseph@codesourcery.com>
65406
65407 [BZ #15423]
65408 * math/s_catan.c (__catan): Handle small real or imaginary part of
65409 input specially to avoid spurious underflow.
65410 * math/s_catanf.c (__catanf): Likewise.
65411 * math/s_catanh.c (__catanh): Likewise.
65412 * math/s_catanhf.c (__catanhf): Likewise.
65413 * math/s_catanhl.c (__catanhl): Likewise.
65414 * math/s_catanl.c (__catanl): Likewise.
65415 * math/libm-test.inc (catan_test): Add more tests.
65416 (catanh_test): Likewise.
65417 * sysdeps/i386/fpu/libm-test-ulps: Update.
65418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65419
65420 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65421
65422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65423
65424 2013-04-30 Joseph Myers <joseph@codesourcery.com>
65425
65426 [BZ #15416]
65427 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
65428 accurately for denominator in atan2.
65429 * math/s_catanf.c (__catanf): Likewise.
65430 * math/s_catanh.c (__catanh): Likewise.
65431 * math/s_catanhf.c (__catanhf): Likewise.
65432 * math/s_catanhl.c (__catanhl): Likewise.
65433 * math/s_catanl.c (__catanl): Likewise.
65434 * math/libm-test.inc (catan_test): Add more tests.
65435 (catanh_test): Likewise.
65436 * sysdeps/i386/fpu/libm-test-ulps: Update.
65437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65438
65439 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
65440
65441 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
65442
65443 * benchtests/Makefile (bench): Remove slow benchmarks.
65444 * benchtests/atan-inputs: Add slow benchmark inputs.
65445 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
65446 (BENCH_FUNC): Accept variant offset.
65447 (VARIANT): Define.
65448 * benchtests/bench-skeleton.c (main): Run benchmark for each
65449 variant.
65450 * benchtests/cos-inputs: Add slow benchmark inputs.
65451 * benchtests/exp-inputs: Likewise.
65452 * benchtests/pow-inputs: Likewise.
65453 * benchtests/sin-inputs: Likewise.
65454 * benchtests/slowatan-inputs: Remove.
65455 * benchtests/slowatan.c: Remove.
65456 * benchtests/slowcos-inputs: Remove.
65457 * benchtests/slowcos.c: Remove.
65458 * benchtests/slowexp-inputs: Remove.
65459 * benchtests/slowexp.c: Remove.
65460 * benchtests/slowpow-inputs: Remove.
65461 * benchtests/slowpow.c: Remove.
65462 * benchtests/slowsin-inputs: Remove.
65463 * benchtests/slowsin.c: Remove.
65464 * benchtests/slowtan-inputs: Remove.
65465 * benchtests/slowtan.c: Remove.
65466 * benchtests/tan-inputs: Add slow benchmark inputs.
65467 * scripts/bench.pl: Parse comments and directives.
65468
65469 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
65470 in CPPFLAGS.
65471 ($(objpfx)bench-%.c): Remove *-ITER.
65472 * benchtests/bench-modf.c: Remove definition of ITER.
65473 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
65474 (main): Loop for DURATION seconds instead of fixed number of
65475 iterations.
65476 * scripts/bench.pl: Don't expect iterations in parameters.
65477
65478 2013-04-29 Roland McGrath <roland@hack.frob.com>
65479
65480 * io/fchdir.c (__fchdir): Renamed from fchdir.
65481 (fchdir): Define as weak alias.
65482
65483 2013-04-29 Joseph Myers <joseph@codesourcery.com>
65484
65485 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
65486 (ERRNO_EDOM): Likewise.
65487 (ERRNO_ERANGE): Likewise.
65488 (noErrnoTests): New variable.
65489 (init_max_error): Set errno to 0.
65490 (test_single_errno): New function.
65491 (test_errno): Likewise.
65492 (check_float_internal): Call test_errno. Set errno to 0.
65493 (check_complex): Refer to errno tests in comment.
65494 (check_int): Call test_errno. Set errno to 0.
65495 (check_long): Likewise.
65496 (check_bool): Likewise.
65497 (check_longlong): Likewise.
65498 (cos_test): Use ERRNO_* flags for errno tests instead of
65499 check_int.
65500 (expm1_test): Likewise.
65501 (fmod_test): Likewise.
65502 (ilogb_test): Likewise.
65503 (lgamma_test): Likewise.
65504 (pow_test): Likewise.
65505 (remainder_test): Likewise.
65506 (sin_test): Likewise.
65507 (tan_test): Likewise.
65508 (yn_test): Likewise.
65509 (initialize): Set errno to 0.
65510 (main): Print number of errno tests.
65511 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
65512
65513 2013-04-29 Andreas Jaeger <aj@suse.de>
65514
65515 [BZ #15084]
65516 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
65517 and RES_USEVC.
65518
65519 [BZ #15085]
65520 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
65521 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
65522 unimplemented.
65523
65524 [BZ #15380]
65525 * stdlib/random.c (__initstate): Return NULL if
65526 __initstate fails.
65527
65528 [BZ #15086]
65529 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
65530 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65531 RES_SNGLKUPREOP.
65532
65533 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65534
65535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65536
65537 2013-04-29 Joseph Myers <joseph@codesourcery.com>
65538
65539 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65540 of individual tests.
65541 (casin_test): Likewise.
65542 (casinh_test): Likewise.
65543
65544 2013-04-27 Joseph Myers <joseph@codesourcery.com>
65545
65546 [BZ #15409]
65547 * math/s_catan.c (__catan): Handle arguments with large real or
65548 imaginary part separately without squaring.
65549 * math/s_catanf.c (__catanf): Likewise.
65550 * math/s_catanh.c (__catanh): Likewise.
65551 * math/s_catanhf.c (__catanhf): Likewise.
65552 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65553 and redefine.
65554 (__catanhl): Handle arguments with large real or imaginary part
65555 separately without squaring.
65556 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65557 and redefine.
65558 (__catanl): Handle arguments with large real or imaginary part
65559 separately without squaring.
65560 * math/libm-test.inc (catan_test): Add more tests.
65561 (catanh_test): Likewise.
65562 * sysdeps/i386/fpu/libm-test-ulps: Update.
65563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65564
65565 2013-04-27 Andreas Jaeger <aj@suse.de>
65566
65567 [BZ #15007]
65568 * stdlib/stdlib.h: Update guards for qecvt.
65569 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65570 <stdlib.h>.
65571
65572 2013-04-27 Allan McRae <allan@archlinux.org>
65573
65574 * sysdeps/i386/fpu/libm-test-ulps: Update.
65575
65576 2013-04-26 Joseph Myers <joseph@codesourcery.com>
65577
65578 [BZ #15406]
65579 * math/s_catan.c: Include <float.h>.
65580 (__catan): Ensure underflow exception occurs for underflowed
65581 result.
65582 * math/s_catanf.c: Include <float.h>.
65583 (__catanf): Ensure underflow exception occurs for underflowed
65584 result.
65585 * math/s_catanh.c: Include <float.h>.
65586 (__catanh): Ensure underflow exception occurs for underflowed
65587 result.
65588 * math/s_catanhf.c: Include <float.h>.
65589 (__catanhf): Ensure underflow exception occurs for underflowed
65590 result.
65591 * math/s_catanhl.c: Include <float.h>.
65592 (__catanhl): Ensure underflow exception occurs for underflowed
65593 result.
65594 * math/s_catanl.c: Include <float.h>.
65595 (__catanl): Ensure underflow exception occurs for underflowed
65596 result.
65597 * math/libm-test.inc (catan_test): Add more tests.
65598 (catanh_test): Likewise.
65599
65600 [BZ #15405]
65601 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65602 underflowed result.
65603 * math/s_ccoshf.c (__ccoshf): Likewise.
65604 * math/s_ccoshl.c (__ccoshl): Likewise.
65605 * math/s_csin.c (__csin): Likewise.
65606 * math/s_csinf.c (__csinf): Likewise.
65607 * math/s_csinh.c (__csinh): Likewise.
65608 * math/s_csinhf.c (__csinhf): Likewise.
65609 * math/s_csinhl.c (__csinhl): Likewise.
65610 * math/s_csinl.c (__csinl): Likewise.
65611 * math/libm-test.inc (ccos_test): Add more tests.
65612 (ccosh_test): Likewise.
65613 (csin_test): Likewise.
65614 (csinh_test): Likewise.
65615
65616 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65617
65618 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65619 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65620 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65621 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65622 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65623 powerpc/power5+/fpu folders.
65624 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65625
65626
65627 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
65628
65629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65630
65631 2013-04-25 Joseph Myers <joseph@codesourcery.com>
65632
65633 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65634 additions to variable.
65635 [$(config-machine) = x86_64] (modules-names): Likewise.
65636 ($(objpfx)tst-audit3): Remove dependency.
65637 ($(objpfx)tst-audit3.out): Likewise.
65638 ($(objpfx)tst-audit4): Likewise.
65639 ($(objpfx)tst-audit4.out): Likewise.
65640 ($(objpfx)tst-audit5): Likewise.
65641 ($(objpfx)tst-audit5.out): Likewise.
65642 ($(objpfx)tst-audit6): Likewise.
65643 ($(objpfx)tst-audit6.out): Likewise.
65644 ($(objpfx)tst-audit7): Likewise.
65645 ($(objpfx)tst-audit7.out): Likewise.
65646 (tst-audit3-ENV): Remove variable.
65647 (tst-audit4-ENV): Likewise.
65648 (tst-audit5-ENV): Likewise.
65649 (tst-audit6-ENV): Likewise.
65650 (tst-audit7-ENV): Likewise.
65651 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65652 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65653 addition to variable.
65654 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65655 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65656 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65657 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65658 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65659 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65660 tst-audit3, tst-audit4 and tst-audit5.
65661 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65662 tst-audit6 and tst-audit7.
65663 [$(subdir) = elf] (modules-names): Add audit modules for those
65664 tests.
65665 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65666 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65667 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65668 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65669 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65670 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65671 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65672 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65673 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65674 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65675 [$(subdir) = elf] (tst-audit3-ENV): New variable.
65676 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65677 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65678 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65679 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65680 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65681 Likewise.
65682 [$(subdir) = elf && $(config-cflags-avx) = yes]
65683 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65684 [$(subdir) = elf && $(config-cflags-avx) = yes]
65685 (CFLAGS-tst-auditmod4a.c): Likewise.
65686 [$(subdir) = elf && $(config-cflags-avx) = yes]
65687 (CFLAGS-tst-auditmod4b.c): Likewise.
65688 [$(subdir) = elf && $(config-cflags-avx) = yes]
65689 (CFLAGS-tst-auditmod6b.c): Likewise.
65690 [$(subdir) = elf && $(config-cflags-avx) = yes]
65691 (CFLAGS-tst-auditmod6c.c): Likewise.
65692 [$(subdir) = elf && $(config-cflags-avx) = yes]
65693 (CFLAGS-tst-auditmod7b.c): Likewise.
65694 * elf/tst-audit3.c: Move to ...
65695 * sysdeps/x86_64/tst-audit3.c: ... here.
65696 * elf/tst-audit4.c: Move to ...
65697 * sysdeps/x86_64/tst-audit4.c: ... here.
65698 * elf/tst-audit5.c: Move to ...
65699 * sysdeps/x86_64/tst-audit5.c: ... here.
65700 * elf/tst-audit6.c: Move to ...
65701 * sysdeps/x86_64/tst-audit6.c: ... here.
65702 * elf/tst-audit7.c: Move to ...
65703 * sysdeps/x86_64/tst-audit7.c: ... here.
65704 * elf/tst-auditmod3a.c: Move to ...
65705 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65706 * elf/tst-auditmod3b.c: Move to ...
65707 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65708 * elf/tst-auditmod4a.c: Move to ...
65709 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65710 * elf/tst-auditmod4b.c: Move to ...
65711 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65712 * elf/tst-auditmod5a.c: Move to ...
65713 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65714 * elf/tst-auditmod5b.c: Move to ...
65715 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65716 * elf/tst-auditmod6a.c: Move to ...
65717 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65718 * elf/tst-auditmod6b.c: Move to ...
65719 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65720 * elf/tst-auditmod6c.c: Move to ...
65721 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65722 * elf/tst-auditmod7a.c: Move to ...
65723 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65724 * elf/tst-auditmod7b.c: Move to ...
65725 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65726
65727 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
65728
65729 [BZ #15366]
65730 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65731 define unconditionally.
65732 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65733 define unconditionally.
65734 (INT8_C, INT16_C, etc.): Likewise.
65735
65736 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
65737
65738 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65739 __ehdr_start with hidden visibility.
65740
65741 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65742
65743 2013-04-24 Carlos O'Donell <carlos@redhat.com>
65744
65745 * math/libm-test.inc (cos_test): Use accurate hex constants.
65746 (sincost_test): Likewise.
65747
65748 2013-04-24 Joseph Myers <joseph@codesourcery.com>
65749
65750 * math/libm-test.inc (catan_test): Add more tests.
65751 (catanh_test): Likewise.
65752
65753 * math/s_catanf.c (__catanf): Use suffixed floating-point
65754 constants.
65755 * math/s_catanhf.c (__catanhf): Likewise.
65756 * math/s_catanhl.c (__catanhl): Likewise.
65757 * math/s_catanl.c (__catanl): Likewise.
65758
65759 [BZ #15394]
65760 * math/s_catan.c (__catan): Calculate imaginary part of result
65761 with log1p not log unless computing log of number close to 0.
65762 * math/s_catanf.c (__catanf): Likewise.
65763 * math/s_catanl.c (__catanl): Likewise.
65764 * math/s_catanh.c (__catanh): Calculate real part of result with
65765 log1p not log unless computing log of number close to 0.
65766 * math/s_catanhf.c (__catanhf): Likewise.
65767 * math/s_catanhl.c (__catanhl): Likewise.
65768 * math/libm-test.inc (catan_test): Add more tests.
65769 (catanh_test): Likewise.
65770 * sysdeps/i386/fpu/libm-test-ulps: Update.
65771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65772
65773 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
65774
65775 * benchtests/Makefile: Mention files in which fast and slow
65776 paths of math functions are implemented.
65777
65778 2013-04-23 Roland McGrath <roland@hack.frob.com>
65779
65780 * sysdeps/posix/timespec_get.c: New file.
65781
65782 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65783
65784 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65785 POWER.
65786 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65787 for POWER.
65788 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65789 powerpc/power5/fpu folders.
65790 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65791 * benchtests/Makefile: Add modf testcase.
65792 * benchtests/bench-modf.c: New file: Benchmark test for mo
65793
65794 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
65795
65796 [BZ #14888]
65797 * time/Makefile (tests): Add tst-strptime-whitespace.
65798 * time/strptime_l.c (get_number): Use ISSPACE.
65799 (__strptime_internal): Likewise.
65800 * time/tst-strptime-whitespace.c: New test case.
65801
65802 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
65803
65804 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65805 member.
65806 (_nss_files_init): Set it here.
65807
65808 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
65809
65810 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65811 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65812 unsigned.
65813
65814 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
65815
65816 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65817
65818 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
65819
65820 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65821 size just once.
65822
65823 2013-04-21 David S. Miller <davem@davemloft.net>
65824
65825 * po/ru.po: Update Russion translation from translation project.
65826
65827 2013-04-17 Adam Conrad <adconrad@0c3.net>
65828
65829 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65830 and setfsgid.
65831
65832 2013-04-17 Carlos O'Donell <carlos@redhat.com>
65833
65834 * configure.in: Remove i386 configure warning. Remove i386 case.
65835 * configure: Regenerate.
65836 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65837 Add example to error message.
65838 * sysdeps/i386/configure: Regenerate.
65839
65840 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
65841
65842 * benchtests/Makefile (bench): Add cos, tan, slowcos and
65843 slowtan.
65844 * benchtests/cos-inputs: New file.
65845 * benchtests/slowcos-inputs: New file.
65846 * benchtests/slowcos.c: New file.
65847 * benchtests/slowtan-inputs: New file.
65848 * benchtests/slowtan.c: New file.
65849 * benchtests/tan-inputs: New file.
65850
65851 2013-04-16 Roland McGrath <roland@hack.frob.com>
65852
65853 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65854 considered kosher.
65855
65856 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
65857
65858 * benchtests/Makefile: Include cppflags-iterator.mk to add
65859 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65860
65861 * Makefile.in (bench-clean): New target.
65862 * benchtests/Makefile (bench-clean): Likewise.
65863
65864 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
65865
65866 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65867
65868 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
65869
65870 * stdio-common/tstdiomisc.c: Fix coding-style violation.
65871
65872 2013-04-15 Andreas Schwab <schwab@suse.de>
65873
65874 * nscd/grpcache.c (cache_addgr): Properly check for short write.
65875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
65876 * nscd/pwdcache.c (cache_addpw): Likewise.
65877 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
65878 more than recsize.
65879
65880 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65881
65882 * benchtests/Makefile (bench): Write all output to
65883 bench-out.tmp together.
65884
65885 2013-04-15 Andreas Schwab <schwab@suse.de>
65886
65887 * nscd/nscd.c (main): Don't fork again after closing files.
65888
65889 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65890
65891 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65892
65893 * benchtests/Rules (bench-deps): Collect dependencies into a
65894 single variable. Add Makefile to dependencies.
65895 ($(objpfx)bench-%.c): Depend on bench-deps.
65896
65897 2013-04-12 Roland McGrath <roland@hack.frob.com>
65898 Xavier Roche <roche+kml2@exalead.com>
65899
65900 [BZ #15361]
65901 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65902 just that it's a file descriptor.
65903 * manual/llio.texi (Synchronizing AIO Operations): Update description
65904 for EBADF error from aio_fsync.
65905
65906 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
65907
65908 * Rules (bench): Move target definition...
65909 * benchtests/Makefile: ... here.
65910
65911 2013-04-11 Carlos O'Donell <carlos@redhat.com>
65912
65913 * math/libm-test.inc (cos_test): Fix PI/2 test.
65914 (sincos_test): Likewise.
65915 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65916 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65917
65918 2013-04-11 Andreas Schwab <schwab@suse.de>
65919
65920 [BZ #13988]
65921 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65922 accept exponent character only when digits were seen.
65923 * stdio-common/Makefile (tests): Add bug26.
65924 * stdio-common/bug26.c: New file.
65925
65926 [BZ #14293]
65927 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65928 non-freeable.
65929
65930 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65931
65932 * Makeconfig (rtld-prefix): Define built linker prefix.
65933 * Rules (run-bench): Use it.
65934 * math/Makefile (run-regen-ulps): Likewise.
65935
65936 * Rules (bench): Remove eval.
65937
65938 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65939 Roland McGrath <roland@hack.frob.com>
65940 Ondrej Bilka <neleai@seznam.cz>
65941
65942 [BZ #15346]
65943 * time/getdate.c: Include ctype.h and alloca.h.
65944 (__getdate_r): Trim leading and trailing spaces of input.
65945 * time/tst-getdate.c (tests): Add tests with leading and
65946 trailing spaces.
65947
65948 2013-04-08 Roland McGrath <roland@hack.frob.com>
65949
65950 [BZ #14280]
65951 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65952 when computing value.
65953
65954 2013-04-06 Carlos O'Donell <carlos@redhat.com>
65955
65956 * math/README.libm-test (How can I generate "libm-test-ulps"?):
65957 Use testrun.sh to run libm tests.
65958
65959 [BZ #15309]
65960 * elf/dl-open.c (dl_open_worker): memset all of seen array.
65961
65962 2013-04-06 Marko Myllynen <myllynen@redhat.com>
65963
65964 [BZ #15264]
65965 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65966
65967 2013-04-06 Carlos O'Donell <carlos@redhat.com>
65968
65969 * Makefile.in (regen-ulps): New target.
65970 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65971 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65972 [ifneq (no,$(PERL)] (regen-ulps): New target.
65973 [ifeq (no,$(PERL)] (regen-ulps): New target.
65974 * math/libm-test.inc (ulps_file_name): Define.
65975 (output_dir): New variable.
65976 (options): Add "output-dir" option.
65977 (parse_opt): Handle 'o' case.
65978 (main): If output_dir is non-NULL use it as a prefix
65979 otherwise use "".
65980 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65981
65982 2013-04-06 Carlos O'Donell <carlos@redhat.com>
65983
65984 [BZ #10060, #10062]
65985 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65986 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65987 fail configure if __sync_val_compare_and_swap is not inlined.
65988 * sysdeps/i386/configure: Regenerate.
65989 * configure.in: Build for i686 when configured for i386.
65990 * configure: Regenerate.
65991 * README: Remove i386 reference.
65992
65993 2013-04-06 Carlos O'Donell <carlos@redhat.com>
65994
65995 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65996 * sysdeps/s390/s390-64/sysdep.h: Likewise.
65997
65998 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
65999
66000 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
66001 (lmsnanval): New variables.
66002 (F): Add conversion tests.
66003 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
66004 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
66005
66006 * stdio-common/tstdiomisc.c (F): Properly collect individual
66007 tests' results.
66008
66009 [BZ #14686, #15336]
66010 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
66011 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
66012 Instead, use input NaN values or generate a qNaN by arithmetic
66013 operation. Also fix bugs to comply with the standard.
66014 * math/libm-test.inc (remainder_test): Add more tests.
66015
66016 [BZ #15335, #15342]
66017 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
66018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66019 input NaN values or generate a qNaN by arithmetic operation.
66020
66021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
66022 unreachable code.
66023
66024 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
66025 definitions.
66026
66027 2013-04-03 Joseph Myers <joseph@codesourcery.com>
66028
66029 [BZ #14478]
66030 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
66031 underflowed result.
66032 * math/s_cexpf.c (__cexpf): Likewise.
66033 * math/s_cexpl.c (__cexpl): Likewise.
66034 * math/libm-test.inc (cexp_test): Add more tests.
66035
66036 2013-04-03 Andreas Schwab <schwab@suse.de>
66037
66038 [BZ #15330]
66039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
66040 order arrays from heap if bigger than alloca cutoff.
66041
66042 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
66043
66044 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
66045 (SNAN_TESTS_double): Refer to GCC PR56831.
66046 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
66047 GCC PR56828.
66048
66049 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
66050
66051 * Rules (bench): Move bench.out after the run is complete.
66052
66053 * Rules (bench): Echo currently running benchmark.
66054
66055 * benchtests/Makefile (bench): Add atan and slowatan.
66056 * benchtests/atan-inputs: New file.
66057 * benchtests/slowatan-inputs: New file.
66058 * benchtests/slowatan.c: New file.
66059
66060 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
66061 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
66062 its value.
66063
66064 [BZ #15305]
66065 * sysdeps/unix/sysv/linux/kernel-features.h
66066 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
66067 __ASSUME_XFS_RESTRICTED_CHOWN.
66068 * sysdeps/unix/sysv/linux/pathconf.c
66069 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
66070 Save and restore errno.
66071
66072 2013-04-02 Joseph Myers <joseph@codesourcery.com>
66073
66074 [BZ #15327]
66075 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
66076 arguments using __kernel_casinh.
66077 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
66078 arguments using __kernel_casinhf.
66079 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
66080 arguments using __kernel_casinhl.
66081 * math/libm-test.inc (cacosh_test): Add more tests.
66082 * sysdeps/i386/fpu/libm-test-ulps: Update.
66083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66084
66085 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
66086
66087 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
66088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
66089
66090 * bench/Makefile (bench): Add sin and slowsin.
66091 * benchtests/sin-inputs: New file.
66092 * benchtests/slowsin-inputs: New file.
66093 * benchtests/slowsin.c: New file.
66094
66095 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
66096 (bench): Add slowexp and slowpow.
66097 (exp-ITER): Increase iterations.
66098 (pow-ITER): Likewise.
66099 * benchtests/exp-inputs: Change input.
66100 * benchtests/pow-inputs: Likewise.
66101 * benchtests/slowexp-inputs: New file.
66102 * benchtests/slowexp.c: New file.
66103 * benchtests/slowpow-inputs: New file.
66104 * benchtests/slowpow.c: New file.
66105
66106 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66107
66108 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
66109 instructions.
66110 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66111 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
66112 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
66113 * benchtests/Makefile: Add rint benchtest.
66114 * benchtests/rint-inputs: Input for rint benchtest.
66115
66116 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
66117
66118 * Versions.def (libm): Add GLIBC_2.18.
66119 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
66120 hidden libm prototypes.
66121 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
66122 * math/Makefile (libm-calls): Add s_issignaling.
66123 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
66124 __issignalingf, __issignalingl. Adjust all libm.abilist files.
66125 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
66126 declaration.
66127 * math/math.h [__USE_GNU] (issignaling): New macro.
66128 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
66129 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
66130 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
66131 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
66132 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
66133 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
66134 * manual/arith.texi (issignaling): New section.
66135 * manual/libm-err-tab.pl (@all_functions): Update comment.
66136 * math/gen-libm-test.pl (parse_args): Apply special handling for
66137 issignaling.
66138 * math/libm-test.inc (print_float, issignaling_test): New
66139 functions.
66140 (check_float_internal): Add issignaling checks.
66141 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
66142 default definition.
66143 * sysdeps/powerpc/math-tests.h: New file.
66144 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
66145 tests.
66146 * math/test-snan.c (TEST_FUNC): Likewise.
66147
66148 2013-03-30 David S. Miller <davem@davemloft.net>
66149
66150 * po/de.po: Update from translation team.
66151
66152 2013-03-30 Joseph Myers <joseph@codesourcery.com>
66153
66154 [BZ #10357]
66155 * math/k_casinh.c (__kernel_casinh): Handle arguments with
66156 imaginary part less than 1.0 and real part less than 0.5
66157 specially.
66158 * math/k_casinhf.c (__kernel_casinhf): Likewise.
66159 * math/k_casinhl.c (__kernel_casinhl): Likewise.
66160 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
66161 (cacos_test): Add more tests.
66162 (casin_test): Likewise.
66163 (casinh_test): Likewise.
66164 * sysdeps/i386/fpu/libm-test-ulps: Update.
66165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66166
66167 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66168
66169 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
66170 ONE with its value.
66171
66172 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
66173 (__pow_mp): Replace ONE and MONE with their values.
66174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
66176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66177 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
66178 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66179 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66180
66181 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
66182
66183 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
66184 (__pow_mp): Replace ZERO and MZERO with their values.
66185 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66186 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66187 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66189 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66190 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
66191 (__sqr): Likewise.
66192
66193 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
66194
66195 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
66196
66197 2013-03-28 Roland McGrath <roland@hack.frob.com>
66198
66199 * include/stdlib.h [!SHARED] (__call_tls_dtors):
66200 Declare with __attribute__ ((weak)).
66201 * stdlib/exit.c (__libc_atexit) [!SHARED]:
66202 Call __call_tls_dtors only if it's not NULL.
66203
66204 2013-03-28 Roland McGrath <roland@hack.frob.com>
66205
66206 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
66207 didn't do it already, then set _dl_phdr and _dl_phnum based on the
66208 magic __ehdr_start linker symbol if it's defined.
66209 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
66210 them up here if it was already done.
66211
66212 * elf/dl-support.c (_dl_phdr): Make pointer to const.
66213 (_dl_aux_init): Use const in cast when setting it.
66214 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66215 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66216 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66217
66218 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66219 Declare them here.
66220 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66221 * csu/libc-tls.c: Nor here.
66222 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66223
66224 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66225 (__libc_message): Never call vsyslog.
66226
66227 2013-03-28 Alan Modra <amodra@gmail.com>
66228
66229 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66230 Define as empty.
66231 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66232 Likewise.
66233
66234 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66235
66236 [BZ #15214]
66237 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66238 underflow.
66239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66240
66241 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66242
66243 [BZ #15304]
66244 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66245 Don't add gid passed as argument.
66246
66247 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66248
66249 2013-03-27 Joseph Myers <joseph@codesourcery.com>
66250
66251 [BZ #15307]
66252 * math/k_casinh.c (__kernel_casinh): Handle arguments with
66253 imaginary part between 1.0 and 1.5 and real part less than 0.5
66254 specially.
66255 * math/k_casinhf.c (__kernel_casinhf): Likewise.
66256 * math/k_casinhl.c (__kernel_casinhl): Likewise.
66257 * math/libm-test.inc (cacos_test): Add more tests.
66258 (casin_test): Likewise.
66259 (casinh_test): Likewise.
66260 * sysdeps/i386/fpu/libm-test-ulps: Update.
66261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66262
66263 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66264
66265 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66266 constants.
66267 (norm): Likewise.
66268 (denorm): Likewise.
66269 (__dbl_mp): Likewise.
66270 (add_magnitudes): Likewise.
66271 (sub_magnitudes): Likewise.
66272 (__add): Likewise.
66273 (__sub): Likewise.
66274 (__mul): Likewise.
66275 (__sqr): Likewise.
66276 (__inv): Likewise.
66277 (__dvd): Likewise.
66278
66279 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66280 commented code.
66281 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66282 (__dubcos): Likewise.
66283 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66284 (__ieee754_acos): Likewise.
66285 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66286 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66287 (__exp1): Likewise.
66288 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66290 (log1): Likewise.
66291 (my_log2): Likewise.
66292 (checkint): Likewise.
66293 * sysdeps/ieee754/dbl-64/e_remainder.c
66294 (__ieee754_remainder): Likewise.
66295 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66297 (bsloww): Likewise.
66298 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66299
66300 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66301 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66302 MANTISSA_STORE_T to store computations on mantissa. Use
66303 macros for rounding and division.
66304 (denorm): Likewise.
66305 (__dbl_mp): Likewise.
66306 (add_magnitudes): Likewise.
66307 (sub_magnitudes): Likewise.
66308 (__mul): Likewise.
66309 (__sqr): Likewise.
66310 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
66311 powers of two in terms of TWOPOW macro.
66312 (mp_no): Make type of mantissa as MANTISSA_T.
66313 [!RADIXI]: Define RADIXI.
66314 [!TWO52]: Define TWO52.
66315 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66316
66317 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66318
66319 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66320 llroundl symbol when building for PPC32.
66321
66322 2013-03-24 Mark H Weaver <mhw@netris.org>
66323
66324 * manual/arith.texi (Normalization Functions): Fix prototypes for
66325 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66326
66327 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66328
66329 [BZ #13889]
66330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66331 high value to check if expl overflow.
66332 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66333 to check for underflow and overflow.
66334 * math/libm-test.inc: Add exp test.
66335
66336 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
66337
66338 [BZ #11120]
66339 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66340 with NOT_IN_libc.
66341
66342 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66343
66344 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66345 symbol.
66346
66347 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
66348
66349 * math/gen-libm-test.pl (parse_args, special_functions): Properly
66350 wrap blocks consisting of several statements.
66351
66352 * sysdeps/generic/math-tests.h: New file.
66353 * sysdeps/i386/fpu/math-tests.h: Likewise.
66354 * math/test-snan.c: Include it.
66355 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66356
66357 2013-03-21 Joseph Myers <joseph@codesourcery.com>
66358
66359 [BZ #15285]
66360 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66361 (__ieee754_j0l): Do not improve calculations using cos of twice
66362 input for inputs above LDBL_MAX / 2.0L.
66363 (__ieee754_y0l): Likewise.
66364 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66365 (__ieee754_j1l): Do not improve calculations using cos of twice
66366 input for inputs above LDBL_MAX / 2.0L.
66367 (__ieee754_y1l): Likewise.
66368 * math/libm-test.inc (j0_test): Add another test.
66369 (j1_test): Likewise.
66370 (y0_test): Likewise.
66371 (y1_test): Likewise.
66372 * sysdeps/i386/fpu/libm-test-ulps: Update.
66373
66374 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66375
66376 * Rules ($(objpfx)bench-%.c): Include code from a C source
66377 file.
66378
66379 2013-03-21 Joseph Myers <joseph@codesourcery.com>
66380
66381 [BZ #15287]
66382 * math/k_casinh.c (__kernel_casinh): Handle arguments with
66383 imaginary part 1.0 and real part less than 0.5 specially.
66384 * math/k_casinhf.c (__kernel_casinhf): Likewise.
66385 * math/k_casinhl.c (__kernel_casinhl): Likewise.
66386 * math/libm-test.inc (cacos_test): Add more tests.
66387 (casin_test): Likewise.
66388 (casinh_test): Likewise.
66389 * sysdeps/i386/fpu/libm-test-ulps: Update.
66390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66391
66392 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66393
66394 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
66395 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
66396
66397 2013-03-20 Joseph Myers <joseph@codesourcery.com>
66398
66399 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
66400 * config.make.in (config-cflags-sse4): Remove variable.
66401 (config-cflags-avx): Likewise.
66402 (config-cflags-sse2avx): Likewise.
66403 (config-cflags-novzeroupper): Likewise.
66404 (config-asflags-i686): Likewise.
66405 (have-mfma4): Likewise.
66406 (have-as-vis3): Likewise.
66407 (MIG): Likewise.
66408 * configure.in (MIG): Do not AC_SUBST.
66409 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
66410 (libc_cv_cc_sse4): Do not AC_SUBST.
66411 (libc_cv_cc_avx): Likewise.
66412 (libc_cv_cc_sse2avx): Likewise.
66413 (libc_cv_cc_novzeroupper): Likewise.
66414 (libc_cv_cc_fma4): Likewise.
66415 (libc_cv_as_i686): Likewise.
66416 (libc_cv_sparc_as_vis3): Likewise.
66417 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
66418 LIBC_CONFIG_VAR.
66419 (config-asflags-i686): Likewise.
66420 (config-cflags-avx): Likewise.
66421 (config-cflags-sse2avx): Likewise.
66422 (have-mfma4): Likewise.
66423 (config-cflags-novzeroupper): Likewise.
66424 * sysdeps/mach/configure.in (MIG): Likewise.
66425 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
66426 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
66427 LIBC_CONFIG_VAR.
66428 (config-cflags-avx): Likewise.
66429 (config-cflags-sse2avx): Likewise.
66430 (have-mfma4): Likewise.
66431 (config-cflags-novzeroupper): Likewise.
66432 * configure: Regenerated.
66433 * sysdeps/i386/configure: Likewise.
66434 * sysdeps/mach/configure: Likewise.
66435 * sysdeps/sparc/configure: Likewise.
66436 * sysdeps/x86_64/configure: Likewise.
66437
66438 2013-03-20 Roland McGrath <roland@hack.frob.com>
66439
66440 [BZ #14812]
66441 * locale/programs/localedef.c (options): Put N_ translation marker
66442 on argument names, not just descriptions.
66443
66444 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
66445
66446 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
66447
66448 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
66449
66450 [BZ #14176]
66451 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
66452
66453 2013-03-19 Roland McGrath <roland@hack.frob.com>
66454
66455 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
66456 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
66457 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
66458 [!BEFORE_ABORT] (before_abort): New function.
66459 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
66460 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
66461 (writev_for_fatal): New function.
66462 (WRITEV_FOR_FATAL): New macro; call that.
66463 (backtrace_and_maps): New function.
66464 (BEFORE_ABORT): New macro; call that.
66465 (struct str_list): Type removed.
66466 (__libc_message, __libc_fatal): Functions removed.
66467 Include <sysdeps/posix/libc_fatal.c> instead.
66468
66469 2013-03-19 Joseph Myers <joseph@codesourcery.com>
66470
66471 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
66472 constants.
66473 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
66474 double constants.
66475
66476 2013-03-19 Andreas Schwab <schwab@suse.de>
66477
66478 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
66479 * sysdeps/gnu/configure: Regenerate.
66480
66481 * configure.in: Substitute libc_cv_rtlddir.
66482 * configure: Regenerate.
66483 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
66484 * Makeconfig (rtlddir, inst_rtlddir): New variables.
66485 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
66486 * elf/Makefile (install-others, CFLAGS-interp.c)
66487 (ldso_install, common-ldd-rewrite): Likewise.
66488 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
66489 $(inst_slibdir)/$(rtld-installed-name).
66490 * scripts/rellns-sh: Add -p option.
66491 * Makerules (make-shlib-link): Use rellns-sh to get relative name
66492 for source.
66493
66494 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
66495
66496 * manual/nptl.texi: Renamed to ...
66497 * manual/threads.texi: ... this.
66498 * manual/Makefile (chapters): Update.
66499
66500 2013-03-18 Roland McGrath <roland@hack.frob.com>
66501
66502 [BZ #14812]
66503 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
66504 on argument names, not just descriptions.
66505 * malloc/memusagestat.c (options): Likewise.
66506 * nss/getent.c (options): Likewise.
66507
66508 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
66509
66510 [BZ #14812]
66511 * iconv/iconv_prog.c (options): Put N_ translation marker
66512 on argument names, not just descriptions.
66513 * iconv/iconvconfig.c (options): Likewise.
66514
66515 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
66516
66517 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
66518 implementation which is faster on all x86_64 architectures.
66519 Tested on AMD, Intel Nehalem, SNB, IVB.
66520 * sysdeps/x86_64/strnlen.S: Likewise.
66521
66522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66523 Remove all multiarch strlen and strnlen versions.
66524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
66525 Remove strlen and strnlen related parts.
66526
66527 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
66528 Inline strlen part.
66529 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
66530
66531 * sysdeps/x86_64/multiarch/strlen.S: Remove.
66532 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
66533 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
66534 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
66535 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66536 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
66537
66538 2013-03-17 Carlos O'Donell <carlos@redhat.com>
66539
66540 * manual/memory.texi (Malloc Tunable Parameters):
66541 Sort parameters alphabetically. Add comments for missing entries.
66542
66543 2013-03-17 David S. Miller <davem@davemloft.net>
66544
66545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66546
66547 2013-03-16 Joseph Myers <joseph@codesourcery.com>
66548
66549 [BZ #15283]
66550 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66551 for arguments at most half maximum finite value.
66552 * math/libm-test.inc (j0_test): Add more tests.
66553 (j1_test): Likewise.
66554 (y0_test): Likewise.
66555 (y1_test): Likewise.
66556 * sysdeps/i386/fpu/libm-test-ulps: Update.
66557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66558
66559 [BZ #14155]
66560 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66561 1 / x and functions P and Q for arguments above 0x1p256L.
66562 (__ieee754_y0l): Likewise.
66563 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66564 (__ieee754_y1l): Likewise.
66565 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66566 (j1_test): Likewise.
66567 (y0_test): Likewise.
66568 (y1_test): Likewise.
66569
66570 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
66571
66572 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66573 variable.
66574
66575 2013-03-15 Roland McGrath <roland@hack.frob.com>
66576
66577 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66578 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66579 zero since it's initialized to EXEC_PAGESIZE.
66580
66581 * sysdeps/unix/sysv/linux/ldsodefs.h
66582 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66583 * sysdeps/generic/ldsodefs.h: ... here.
66584
66585 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
66586
66587 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66588
66589 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66590 math/test-snan.c.
66591 * math/test-snan.c: Renamed from
66592 sysdeps/powerpc/fpu/test-powerpc-snan.c.
66593 * math/Makefile (tests): Add test-snan.
66594 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66595 test-powerpc-snan.
66596
66597 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66598 SUFFIX. Initialize qNaN_var with __builtin_nan family of
66599 functions.
66600 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
66601 __builtin_nan family of functions.
66602 * math/libm-test.inc (initialize): Initialize qnan_value with
66603 __builtin_nan family of functions.
66604 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66605 Remove variables.
66606 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66607 Remove functions.
66608 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
66609 storage class. Initialize qNaN_var and sNaN_var with
66610 __builtin_nan and __builtin_nans families of functions,
66611 respectively.
66612
66613 * math/libm-test.inc (acosh_test): Also test with qNaN input.
66614 (sqrt_test): Remove duplicate test with qNaN input.
66615 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66616 (round_test, signbit_test, significand_test): Note missing +/-Inf
66617 as well as qNaN tests.
66618
66619 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66620 qNaN_var. Fix a few strings, too.
66621 * math/libm-test.inc (nan_value): Rename to qnan_value.
66622 * math/gen-libm-test.pl (%beautify): Adjust to that.
66623 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66624 * math/test-misc.c (main): Likewise.
66625 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66626 to __qnan_bytes, and __qnan_union, respectively.
66627 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66628 Likewise.
66629 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66630 and lqnanval, respectively.
66631 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66632 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66633 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66634 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66635
66636 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66637 * math/test-misc.c (main) [__x86_64__]: Enable test for long
66638 doubles.
66639
66640 * math/test-misc.c (main): Fix copy'n'pastos.
66641 * misc/tst-efgcvt.c (special): Likewise.
66642
66643 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66644 Remove declarations.
66645
66646 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
66647
66648 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66649 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66650 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66651 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66652
66653 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66654
66655 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66656 macro to return vdso values correctly in IFUNC implementations.
66657 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66658 Optimization by using IFUNC.
66659
66660 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
66661 Richard Henderson <rth@redhat.com>
66662 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66663
66664 * Makefile.in (bench): New target.
66665 * NEWS: Mention the benchmark framework.
66666 * Rules (bench): Likewise.
66667 (binaries-bench): Generate binaries for functions to
66668 benchmark.
66669 * benchtests/Makefile: New makefile for benchmark tests.
66670 * benchtests/bench-skeleton.c: New skeleton file for benchmark
66671 programs.
66672 * benchtests/exp-inputs: New input file for EXP function.
66673 * benchtests/pow-inputs: New input file for POW function.
66674 * scripts/bench.pl: New script to generate source files for
66675 benchmark programs.
66676
66677 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
66678
66679 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66680 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66681 computations on mantissa. Use macros for rounding and
66682 division.
66683 (denorm): Likewise.
66684 (__dbl_mp): Likewise.
66685 (add_magnitudes): Likewise.
66686 (sub_magnitudes): Likewise.
66687 (__mul): Likewise.
66688 (__sqr): Likewise.
66689 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
66690 powers of two in terms of TWOPOW macro.
66691 (mp_no): Make type of mantissa as MANTISSA_T.
66692 [!RADIXI]: Define RADIXI.
66693 [!TWO52]: Define TWO52.
66694 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66695
66696 * manual/nptl.texi (cindex): Modify threads to pthreads.
66697
66698 2013-03-15 Joseph Myers <joseph@codesourcery.com>
66699
66700 * sysdeps/x86_64/preconfigure: Regenerated.
66701
66702 2013-03-14 Joseph Myers <joseph@codesourcery.com>
66703
66704 [BZ #14155]
66705 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66706 0x1p28 and above.
66707 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66708 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66709 0x1p28 and above.
66710 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66711 * math/libm-test.inc (j0_test): Do not allow one spurious
66712 underflow exception.
66713 (y1_test): Likewise.
66714
66715 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
66716
66717 * manual/Makefile (chapters): Add nptl.
66718 * manual/debug.texi (Debugging Support): Add link to Threads
66719 chapter.
66720 * manual/nptl.texi: New file.
66721
66722 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66723
66724 2013-03-14 Petr Baudis <pasky@ucw.cz>
66725
66726 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66727 for non-NULL pointer before the memory validity test. Pointed
66728 out by Holger Brunck <holger.brunck@keymile.com>.
66729
66730 2013-03-13 Andreas Schwab <schwab@suse.de>
66731
66732 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66733 instead of .os.
66734
66735 2013-03-13 Joseph Myers <joseph@codesourcery.com>
66736
66737 * timezone/zic.c: Update from tzcode 2013b.
66738
66739 2013-03-12 Carlos O'Donell <carlos@redhat.com>
66740
66741 * manual/install.texi (Configuring and compiling):
66742 Mention i686 and i586.
66743 * INSTALL: Regenerate.
66744
66745 2013-03-12 Roland McGrath <roland@hack.frob.com>
66746
66747 * sysdeps/init_array/elf-init.c: New file.
66748 * csu/elf-init.c
66749 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66750 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66751
66752 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66753 __gmon_start__ as global, but as static with a .preinit_array pointer.
66754 * sysdeps/init_array/gmon-start.c: New file. Use that.
66755 * sysdeps/init_array/crti.S: New file, empty except for comments.
66756 * sysdeps/init_array/crtn.S: Likewise.
66757
66758 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
66759
66760 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66761 definining bcopy.
66762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66763 Remove Prefer_SSE_for_memop.
66764 * sysdeps/x86_64/multiarch/init-arch.h: Remove
66765 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66766 HAS_PREFER_SSE_FOR_MEMOP.
66767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66768 memset-x86-64.
66769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66770 Remove bzero, memset ifunc support.
66771 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66772 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66773 * sysdeps/x86_64/multiarch/memset.S: Likewise.
66774 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66775
66776 2013-03-11 Andreas Schwab <schwab@suse.de>
66777
66778 [BZ #15234]
66779 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66780 by SHLIB_COMPAT.
66781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66782 (GLIBC_2.16): Remove pthread_atfork.
66783
66784 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
66785
66786 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66787 (ptestcases.h): Likewise.
66788
66789 2013-03-08 Roland McGrath <roland@hack.frob.com>
66790
66791 * Makeconfig ($(common-objpfx)config.status): Depend on
66792 sysdeps/*/preconfigure{,.in} too.
66793
66794 2013-03-08 Joseph Myers <joseph@codesourcery.com>
66795
66796 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66797 (__free_hook): Use void * instead of __malloc_ptr_t.
66798 (__malloc_hook): Likewise.
66799 (__realloc_hook): Likewise.
66800 (__memalign_hook): Likewise.
66801 (__after_morecore_hook): Likewise.
66802 * malloc/arena.c (save_malloc_hook): Likewise.
66803 (save_free_hook): Likewise.
66804 * malloc/hooks.c (malloc_hook_ini): Likewise.
66805 (realloc_hook_ini): Likewise.
66806 (memalign_hook_ini): Likewise.
66807 * malloc/malloc.c (malloc_hook_ini): Likewise.
66808 (realloc_hook_ini): Likewise.
66809 (memalign_hook_ini): Likewise.
66810 (__free_hook): Likewise.
66811 (__malloc_hook): Likewise.
66812 (__realloc_hook): Likewise.
66813 (__memalign_hook): Likewise.
66814 (__libc_malloc): Likewise.
66815 (__libc_free): Likewise.
66816 (__libc_realloc): Likewise.
66817 (__libc_memalign): Likewise.
66818 (__libc_valloc): Likewise.
66819 (__libc_pvalloc): Likewise.
66820 (__libc_calloc): Likewise.
66821 (__posix_memalign): Likewise.
66822 * malloc/morecore.c (__sbrk): Likewise.
66823 (__default_morecore): Likewise.
66824
66825 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66826
66827 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66828 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66829 __malloc_ptrdiff_t.
66830
66831 * malloc/malloc.h (__malloc_size_t): Remove macro.
66832 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66833 __malloc_size_t.
66834 (old_memalign_hook): Likewise.
66835 (old_realloc_hook): Likewise.
66836 (struct hdr): Likewise.
66837 (flood): Likewise.
66838 (mallochook): Likewise.
66839 (memalignhook): Likewise.
66840 (reallochook): Likewise.
66841 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66842 (tr_old_realloc_hook): Likewise.
66843 (tr_old_memalign_hook): Likewise.
66844 (tr_mallochook): Likewise.
66845 (tr_reallochook): Likewise.
66846 (tr_memalignhook): Likewise.
66847
66848 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66849
66850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66851 default_ldbl_pack and using as default implementation.
66852 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66853 implementation.
66854 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66855 redundant definition.
66856 (ldbl_insert_mantissa): Likewise.
66857 (ldbl_canonicalize): Likewise.
66858 (ldbl_nearbyint): Likewise.
66859 (ldbl_pack): Rename to ldbl_pack_ppc.
66860 (ldbl_unpack): Rename to ldbl_unpack_ppc.
66861 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66862 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66863
66864 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
66865
66866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66867 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66868 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66869 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66871 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66872 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66873 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66874
66875 2013-03-07 Andreas Jaeger <aj@suse.de>
66876
66877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66878 bits/mman-linux.h.
66879
66880 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66881
66882 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66883 Include mpa.h and declare __MPEXP.
66884 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66885 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66886 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66887 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66888 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66889 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66890 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66891
66892 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66893 (__slowpow): Use long double EXPL and LOGL functions to
66894 compute POW.
66895 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66896 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66897 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66898 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66899 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66900 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66901
66902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66903 intermediate variable to calculate exponent.
66904 (__sqr): Likewise.
66905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66906 Likewise.
66907 (__sqr): Likewise.
66908
66909 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66910 [!NO__SQR]: Define __sqr.
66911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66912 and NO__SQR. Remove all code except __mul and __sqr. Include
66913 sysdeps/ieee754/dbl-64/mpa.c.
66914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66915
66916 [BZ #12723]
66917 * posix/Makefile (tests): Add tst-pathconf.
66918 * posix/tst-pathconf.c: New test case.
66919 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66920 _PC_PIPE_BUF.
66921 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66922
66923 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
66924
66925 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66926
66927 2013-03-06 Andreas Jaeger <aj@suse.de>
66928
66929 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66930 definition via __MAP_ANONYMOUS.
66931
66932 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66933 it's not part of Linux headers.
66934
66935 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66936 (MAP_HUGE_MASK): Define.
66937
66938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66939 Define.
66940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66941 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66942 Define.
66943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66944 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66945 Define.
66946 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66948 Define.
66949 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66950
66951 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66952 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66953 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66954 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66955 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66956 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66957
66958 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66959 Handle f2fs.
66960
66961 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66962 Handle f2fs and efivarfs.
66963
66964 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66965 f2fs.
66966
66967 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66968 (EFIVARFS_MAGIC): Add.
66969 (F2FS_LINK_MAX): Add.
66970
66971 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
66972
66973 * stdio-common/vfprintf.c: Replace __builtin_expect with
66974 __glibc_unlikely.
66975
66976 2013-03-06 Joseph Myers <joseph@codesourcery.com>
66977
66978 [BZ #13550]
66979 * sysdeps/generic/bp-sym.h: Remove file.
66980 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66981 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66982 <bp-sym.h> and <bp-asm.h>.
66983 (__longjmp): Don't use BP_SYM.
66984 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66985 and <bp-asm.h>.
66986 (memcpy): Don't use BP_SYM.
66987 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66988 <bp-sym.h> and <bp-asm.h>.
66989 (memcpy): Don't use BP_SYM.
66990 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66991 <bp-asm.h>.
66992 (memcpy): Don't use BP_SYM.
66993 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66994 <bp-asm.h>.
66995 (memset): Don't use BP_SYM.
66996 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66997 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66998 (__bzero): Don't use BP_SYM.
66999 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67000 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67001 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
67002 <bp-sym.h> and <bp-asm.h>.
67003 (memcmp): Don't use BP_SYM. Remove comment about bounded
67004 pointers.
67005 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
67006 <bp-sym.h> and <bp-asm.h>.
67007 (memcpy): Don't use BP_SYM.
67008 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
67009 <bp-sym.h> and <bp-asm.h>.
67010 (memset): Don't use BP_SYM.
67011 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67012 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67013 (__bzero): Don't use BP_SYM.
67014 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67015 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67016 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
67017 <bp-sym.h> and <bp-asm.h>.
67018 (strncmp): Don't use BP_SYM. Remove comment about bounded
67019 pointers.
67020 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
67021 <bp-sym.h> and <bp-asm.h>.
67022 (memcpy): Don't use BP_SYM.
67023 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
67024 <bp-sym.h> and <bp-asm.h>.
67025 (memset): Don't use BP_SYM.
67026 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67027 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67028 (__bzero): Don't use BP_SYM.
67029 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67030 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67031 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
67032 <bp-sym.h> and <bp-asm.h>.
67033 (__memchr): Don't use BP_SYM.
67034 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
67035 <bp-sym.h> and <bp-asm.h>.
67036 (memcmp): Don't use BP_SYM. Remove comment about bounded
67037 pointers.
67038 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
67039 <bp-sym.h> and <bp-asm.h>.
67040 (memcpy): Don't use BP_SYM.
67041 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
67042 <bp-sym.h> and <bp-asm.h>.
67043 (__mempcpy): Don't use BP_SYM.
67044 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
67045 <bp-sym.h> and <bp-asm.h>.
67046 (__memrchr): Don't use BP_SYM.
67047 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
67048 <bp-sym.h> and <bp-asm.h>.
67049 (memset): Don't use BP_SYM.
67050 (__bzero): Likewise.
67051 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
67052 <bp-sym.h> and <bp-asm.h>.
67053 (__rawmemchr): Don't use BP_SYM.
67054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
67055 <bp-sym.h> and <bp-asm.h>.
67056 (__STRCMP): Don't use BP_SYM.
67057 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
67058 <bp-sym.h> and <bp-asm.h>.
67059 (strchr): Don't use BP_SYM.
67060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
67061 <bp-sym.h> and <bp-asm.h>.
67062 (__strchrnul): Don't use BP_SYM.
67063 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
67064 <bp-sym.h> and <bp-asm.h>.
67065 (strlen): Don't use BP_SYM.
67066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
67067 <bp-sym.h> and <bp-asm.h>.
67068 (strncmp): Don't use BP_SYM. Remove comment about bounded
67069 pointers.
67070 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
67071 <bp-sym.h> and <bp-asm.h>.
67072 (__strnlen): Don't use BP_SYM.
67073 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
67074 <bp-sym.h> and <bp-asm.h>.
67075 (__GI__setjmp): Don't use BP_SYM.
67076 (_setjmp): Likewise.
67077 (__sigsetjmp): Likewise.
67078 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
67079 (L(start_addresses)): Don't use BP_SYM.
67080 (_start): Likewise.
67081 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
67082 <bp-asm.h>.
67083 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
67084 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
67085 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67086 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67087 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
67088 <bp-asm.h>.
67089 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
67090 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
67091 about bounded pointers.
67092 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67093 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67094 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
67095 <bp-asm.h>.
67096 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
67097 about bounded pointers. Remove GKM FIXME comments.
67098 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67099 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
67100 <bp-asm.h>.
67101 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
67102 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
67103 Remove GKM FIXME comments.
67104 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67105 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67106 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
67107 <bp-asm.h>.
67108 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
67109 about bounded pointers. Remove GKM FIXME comment.
67110 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
67111 and <bp-asm.h>.
67112 (strncmp): Don't use BP_SYM. Remove comment about bounded
67113 pointers.
67114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
67115 <bp-sym.h> and <bp-asm.h>.
67116 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
67118 <bp-sym.h> and <bp-asm.h>.
67119 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
67120 comment.
67121
67122 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
67123
67124 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
67125 call free(NULL).
67126
67127 2013-03-05 David S. Miller <davem@davemloft.net>
67128
67129 * po/es.po: Update from translation team.
67130
67131 2013-03-05 Andreas Jaeger <aj@suse.de>
67132
67133 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
67134 <bits/mman-linux.h>.
67135 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67136 is fine.
67137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
67138 <bits/mman-linux.h> to end of file.
67139 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67140 is fine.
67141 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
67142 <bits/mman-linux.h> to end of file.
67143 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67144 is fine.
67145 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
67146 <bits/mman-linux.h> to end of file.
67147
67148 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
67149 (MCL_CURRENT, MCL_FUTURE): Define here.
67150
67151 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67152
67153 [BZ #15232]
67154 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
67155 attribute_hidden.
67156 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67157
67158 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67159
67160 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
67161 fourth parameter needed for rt_sigprocmask syscall.
67162 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
67163 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
67164 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
67165 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
67166 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
67167 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
67168
67169 2013-03-04 Joseph Myers <joseph@codesourcery.com>
67170
67171 [BZ #13550]
67172 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
67173 comment about bounded pointers.
67174 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
67175 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
67176
67177 2013-03-04 Andreas Jaeger <aj@suse.de>
67178
67179 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
67180 common definitions.
67181
67182 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
67183 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
67184 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
67185 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67188
67189 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67190
67191 [BZ #15055]
67192 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
67193 __ieee754_sqrl instead of __sqrl.
67194
67195 2013-03-01 Joseph Myers <joseph@codesourcery.com>
67196
67197 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
67198 * sysdeps/powerpc/fpu_control.h: ... here.
67199 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
67200 * sysdeps/powerpc/bits/fenvinline.h: ... here.
67201 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
67202 * sysdeps/powerpc/bits/mathinline.h: ... here.
67203
67204 2013-03-01 Roland McGrath <roland@hack.frob.com>
67205
67206 * elf/dl-hwcaps.c (_dl_important_hwcaps):
67207 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
67208 to just [NEED_DL_SYSINFO_DSO].
67209 * elf/dl-support.c: Likewise.
67210 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67211 * elf/rtld.c (dl_main): Likewise.
67212 * elf/setup-vdso.h (setup_vdso): Likewise.
67213 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67214 * sysdeps/unix/sysv/linux/dl-sysdep.c
67215 (_dl_discover_osversion): Likewise.
67216
67217 2013-03-01 Carlos O'Donell <carlos@redhat.com>
67218
67219 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67220 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67221
67222 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
67223
67224 * NEWS: Mention libm performance improvements and non-x86 PI
67225 futex support.
67226
67227 * csu/libc-start.c (__pthread_initialize_minimal): Change
67228 function arguments.
67229 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67230
67231 2013-02-28 Joseph Myers <joseph@codesourcery.com>
67232
67233 [BZ #13550]
67234 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67235 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
67236 <bp-sym.h> and <bp-asm.h>.
67237 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67238 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
67239 and <bp-asm.h>.
67240 (memcpy): Don't use BP_SYM.
67241 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67242 <bp-asm.h>.
67243 (__mpn_add_n): Don't use BP_SYM.
67244 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67245 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67246 and <bp-asm.h>.
67247 (__mpn_addmul_1): Don't use BP_SYM.
67248 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67249 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67250 <bp-sym.h>.
67251 (_setjmp): Don't use BP_SYM.
67252 (__novmx_setjmp): Likewise.
67253 (__GI__setjmp): Likewise.
67254 (__vmx_setjmp): Likewise.
67255 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67256 <bp-sym.h>.
67257 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67258 (__bzero): Don't use BP_SYM.
67259 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67260 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67261 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67262 <bp-sym.h> and <bp-asm.h>.
67263 (memcpy): Don't use BP_SYM.
67264 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67265 <bp-sym.h> and <bp-asm.h>.
67266 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67267 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67268 <bp-sym.h> and <bp-asm.h>.
67269 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67270 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67271 <bp-asm.h>.
67272 (__mpn_lshift): Don't use BP_SYM.
67273 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67274 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67275 <bp-asm.h>.
67276 (memset): Don't use BP_SYM.
67277 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67278 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67279 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67280 <bp-asm.h>.
67281 (__mpn_mul_1): Don't use BP_SYM.
67282 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67284 <bp-sym.h> and <bp-asm.h>.
67285 (memcmp): Don't use BP_SYM.
67286 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67287 <bp-sym.h> and <bp-asm.h>.
67288 (memcpy): Don't use BP_SYM.
67289 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67290 <bp-sym.h> and <bp-asm.h>.
67291 (memset): Don't use BP_SYM.
67292 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67293 <bp-sym.h> and <bp-asm.h>.
67294 (strncmp): Don't use BP_SYM.
67295 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67296 <bp-sym.h> and <bp-asm.h>.
67297 (memcpy): Don't use BP_SYM.
67298 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67299 <bp-sym.h> and <bp-asm.h>.
67300 (memset): Don't use BP_SYM.
67301 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67302 <bp-sym.h> and <bp-asm.h>.
67303 (__memchr): Don't use BP_SYM.
67304 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67305 <bp-sym.h> and <bp-asm.h>.
67306 (memcmp): Don't use BP_SYM.
67307 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67308 <bp-sym.h> and <bp-asm.h>.
67309 (memcpy): Don't use BP_SYM.
67310 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67311 <bp-sym.h> and <bp-asm.h>.
67312 (__mempcpy): Don't use BP_SYM.
67313 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67314 <bp-sym.h> and <bp-asm.h>.
67315 (__memrchr): Don't use BP_SYM.
67316 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67317 <bp-sym.h> and <bp-asm.h>.
67318 (memset): Don't use BP_SYM.
67319 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67320 <bp-sym.h> and <bp-asm.h>.
67321 (__rawmemchr): Don't use BP_SYM.
67322 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67323 <bp-sym.h> and <bp-asm.h>.
67324 (__STRCMP): Don't use BP_SYM.
67325 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67326 <bp-sym.h> and <bp-asm.h>.
67327 (strchr): Don't use BP_SYM.
67328 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67329 <bp-sym.h> and <bp-asm.h>.
67330 (__strchrnul): Don't use BP_SYM.
67331 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67332 <bp-sym.h> and <bp-asm.h>.
67333 (strlen): Don't use BP_SYM.
67334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67335 <bp-sym.h> and <bp-asm.h>.
67336 (strncmp): Don't use BP_SYM.
67337 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67338 <bp-sym.h> and <bp-asm.h>.
67339 (__strnlen): Don't use BP_SYM.
67340 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67341 <bp-asm.h>.
67342 (__mpn_rshift): Don't use BP_SYM.
67343 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67344 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67345 <bp-sym.h> and <bp-asm.h>.
67346 (__sigsetjmp): Don't use BP_SYM.
67347 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67348 (L(start_addresses)): Don't use BP_SYM.
67349 (_start): Likewise.
67350 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67351 <bp-asm.h>.
67352 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67353 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67354 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67355 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67356 <bp-asm.h>.
67357 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67358 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67359 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67360 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67361 <bp-asm.h>.
67362 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
67363 comments.
67364 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67365 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67366 <bp-asm.h>.
67367 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
67368 FIXME comments.
67369 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67370 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67371 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67372 <bp-asm.h>.
67373 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
67374 comment.
67375 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67376 and <bp-asm.h>.
67377 (strncmp): Don't use BP_SYM,
67378 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67379 <bp-asm.h>.
67380 (__mpn_sub_n): Don't use BP_SYM.
67381 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67382 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67383 and <bp-asm.h>.
67384 (__mpn_submul_1): Don't use BP_SYM.
67385 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67387 <bp-sym.h> and <bp-asm.h>.
67388 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67390 <bp-sym.h> and <bp-asm.h>.
67391 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
67392 comment.
67393
67394 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67395
67396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
67397 Use ZK to minimize writes to Z.
67398 (sub_magnitudes): Simplify code a bit.
67399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
67400 Use ZK to minimize writes to Z.
67401 (sub_magnitudes): Simplify code a bit.
67402
67403 2013-02-27 Roland McGrath <roland@hack.frob.com>
67404
67405 * csu/gmon-start.c: Add special exception to license text.
67406
67407 2013-02-27 Richard Henderson <rth@redhat.com>
67408
67409 * scripts/config.guess: Update from config.git.
67410 * scripts/config.sub: Likewise.
67411
67412 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
67413
67414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
67415
67416 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
67417
67418 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
67419
67420 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
67421
67422 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
67423
67424 2013-02-26 Roland McGrath <roland@hack.frob.com>
67425
67426 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
67427 [$(build-shared = yes].
67428
67429 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
67430
67431 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
67432 (__mul): Reduce iterations for calculating mantissa.
67433
67434 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
67435 MPTWO.
67436 (__mpranred): Likewise.
67437
67438 [BZ #15160]
67439 * malloc/memusagestat.c (main): Draw graphs for heap and stack
67440 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
67441
67442 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
67443
67444 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
67445 Define __attribute__.
67446
67447 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
67448
67449 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
67450 unused.
67451 * posix/regex_internal.h (__attribute): Remove.
67452 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
67453 (re_string_context_at): Likewise.
67454 (bitset_not): Use __attribute__ and mark function as possibly
67455 unused.
67456 (bitset_merge): Likewise.
67457 (bitset_mask): Likewise.
67458 (re_string_char_size_at): Likewise.
67459 (re_string_wchar_at): Likewise.
67460 (re_string_elem_size_at): Likewise.
67461
67462 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
67463
67464 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
67465 code.
67466 (cc32): Likewise.
67467
67468 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
67469 (__acr): Likewise.
67470 (__cpy): Likewise.
67471 (norm): Likewise.
67472 (denorm): Likewise.
67473 (__dbl_mp): Likewise.
67474 (add_magnitudes): Likewise.
67475 (sub_magnitudes): Likewise.
67476 (__mul): Likewise.
67477 (__inv): Likewise.
67478
67479 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
67480 style.
67481
67482 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
67483 style.
67484
67485 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
67486 code.
67487
67488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
67489 up changes with default code.
67490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
67491 Likewise.
67492
67493 2013-02-24 Allan McRae <allan@archlinux.org>
67494
67495 * manual/socket.texi (The Internet Namespace): Order menu items
67496 to match that in the file.
67497
67498 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
67499 node listing of the info page menu.
67500
67501 2013-02-21 Joseph Myers <joseph@codesourcery.com>
67502
67503 [BZ #13550]
67504 * sysdeps/i386/bp-asm.h: Remove file.
67505 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67506 (PARMS): Do not use macros from bp-asm.h.
67507 (S1): Likewise.
67508 (S2): Likewise.
67509 (SIZE): Likewise.
67510 (__mpn_add_n): Do not use BP_SYM
67511 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
67512 "bp-asm.h".
67513 (PARMS): Do not use macros from bp-asm.h.
67514 (S1): Likewise.
67515 (SIZE): Likewise.
67516 (__mpn_addmul_1): Do not use BP_SYM
67517 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
67518 "bp-asm.h".
67519 (PARMS): Do not use macros from bp-asm.h.
67520 (SIGMSK): Likewise.
67521 (_setjmp): Likewise. Do not use BP_SYM.
67522 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
67523 "bp-asm.h".
67524 (PARMS): Do not use macros from bp-asm.h.
67525 (SIGMSK): Likewise.
67526 (setjmp): Likewise. Do not use BP_SYM.
67527 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
67528 "bp-asm.h".
67529 (PARMS): Do not use macros from bp-asm.h.
67530 (__frexp): Do not use BP_SYM.
67531 (frexp): Likewise.
67532 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
67533 "bp-asm.h".
67534 (PARMS): Do not use macros from bp-asm.h.
67535 (__frexpf): Do not use BP_SYM.
67536 (frexpf): Likewise.
67537 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
67538 "bp-asm.h".
67539 (PARMS): Do not use macros from bp-asm.h.
67540 (__frexpl): Do not use BP_SYM.
67541 (frexpl): Likewise.
67542 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67543 "bp-asm.h".
67544 (PARMS): Do not use macros from bp-asm.h.
67545 (__remquo): Do not use BP_SYM.
67546 (remquo): Likewise.
67547 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67548 "bp-asm.h".
67549 (PARMS): Do not use macros from bp-asm.h.
67550 (__remquof): Do not use BP_SYM.
67551 (remquof): Likewise.
67552 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67553 "bp-asm.h".
67554 (PARMS): Do not use macros from bp-asm.h.
67555 (__remquol): Do not use BP_SYM.
67556 (remquol): Likewise.
67557 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67558 "bp-asm.h".
67559 (PARMS): Do not use macros from bp-asm.h.
67560 (DEST): Likewise.
67561 (SRC): Likewise.
67562 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
67563 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67564 "bp-asm.h".
67565 (PARMS): Do not use macros from bp-asm.h.
67566 (strlen): Do not use BP_SYM.
67567 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67568 "bp-asm.h".
67569 (PARMS): Do not use macros from bp-asm.h.
67570 (S1): Likewise.
67571 (S2): Likewise.
67572 (SIZE): Likewise.
67573 (__mpn_add_n): Do not use BP_SYM.
67574 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67575 "bp-asm.h".
67576 (PARMS): Do not use macros from bp-asm.h.
67577 (S1): Likewise.
67578 (SIZE): Likewise.
67579 (__mpn_addmul_1): Do not use BP_SYM.
67580 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67581 weak_alias.
67582 (bzero): Likewise.
67583 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
67584 "bp-asm.h".
67585 (PARMS): Do not use macros from bp-asm.h.
67586 (S): Likewise.
67587 (SIZE): Likewise.
67588 (__mpn_lshift): Do not use BP_SYM.
67589 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
67590 "bp-asm.h".
67591 (PARMS): Do not use macros from bp-asm.h.
67592 (DEST): Likewise.
67593 (SRC): Likewise.
67594 (LEN): Likewise.
67595 (memcpy): Likewise. Do not use BP_SYM.
67596 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67597 libc_hidden_def and weak_alias.
67598 (mempcpy): Do not use BP_SYM in weak_alias.
67599 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67600 "bp-asm.h".
67601 (PARMS): Do not use macros from bp-asm.h.
67602 (DEST): Likewise.
67603 (LEN): Likewise.
67604 [!BZERO_P] (CHR): Likewise.
67605 (memset): Likewise. Do not use BP_SYM.
67606 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
67607 "bp-asm.h".
67608 (PARMS): Do not use macros from bp-asm.h.
67609 (S1): Likewise.
67610 (SIZE): Likewise.
67611 (__mpn_mul_1): Do not use BP_SYM.
67612 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67613 "bp-asm.h".
67614 (PARMS): Do not use macros from bp-asm.h.
67615 (S): Likewise.
67616 (SIZE): Likewise.
67617 (__mpn_rshift): Do not use BP_SYM.
67618 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67619 "bp-asm.h".
67620 (PARMS): Do not use macros from bp-asm.h.
67621 (STR): Likewise.
67622 (CHR): Likewise.
67623 (strchr): Likewise. Do not use BP_SYM.
67624 (index): Do not use BP_SYM in weak_alias.
67625 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
67626 "bp-asm.h".
67627 (PARMS): Do not use macros from bp-asm.h.
67628 (DEST): Likewise.
67629 (SRC): Likewise.
67630 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
67631 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67632 "bp-asm.h".
67633 (PARMS): Do not use macros from bp-asm.h.
67634 (strlen): Do not use BP_SYM.
67635 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67636 "bp-asm.h".
67637 (PARMS): Do not use macros from bp-asm.h.
67638 (S1): Likewise.
67639 (S2): Likewise.
67640 (SIZE): Likewise.
67641 (__mpn_sub_n): Do not use BP_SYM.
67642 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67643 "bp-asm.h".
67644 (PARMS): Do not use macros from bp-asm.h.
67645 (S1): Likewise.
67646 (SIZE): Likewise.
67647 (__mpn_submul_1): Do not use BP_SYM.
67648 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67649 "bp-asm.h".
67650 (PARMS): Do not use macros from bp-asm.h.
67651 (S1): Likewise.
67652 (S2): Likewise.
67653 (SIZE): Likewise.
67654 (__mpn_add_n): Do not use BP_SYM.
67655 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67656 weak_alias.
67657 (bzero): Likewise.
67658 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67659 "bp-asm.h".
67660 (PARMS): Do not use macros from bp-asm.h.
67661 (BLK2): Likewise.
67662 (LEN): Likewise.
67663 (memcmp): Do not use BP_SYM.
67664 (bcmp): Do not use BP_SYM in weak_alias.
67665 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
67666 "bp-asm.h".
67667 (PARMS): Do not use macros from bp-asm.h.
67668 (DEST): Likewise.
67669 (SRC): Likewise.
67670 (LEN): Likewise.
67671 (memcpy): Likewise. Do not use BP_SYM.
67672 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67673 "bp-asm.h".
67674 (PARMS): Do not use macros from bp-asm.h.
67675 (DEST): Likewise.
67676 (SRC): Likewise.
67677 (LEN): Likewise.
67678 (memmove): Likewise. Do not use BP_SYM.
67679 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67680 "bp-asm.h".
67681 (PARMS): Do not use macros from bp-asm.h.
67682 (DEST): Likewise.
67683 (SRC): Likewise.
67684 (LEN): Likewise.
67685 (__mempcpy): Likewise. Do not use BP_SYM.
67686 (mempcpy): Do not use BP_SYM in weak_alias.
67687 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67688 "bp-asm.h".
67689 (PARMS): Do not use macros from bp-asm.h.
67690 (DEST): Likewise.
67691 (LEN): Likewise.
67692 [!BZERO_P] (CHR): Likewise.
67693 (memset): Likewise. Do not use BP_SYM.
67694 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67695 "bp-asm.h".
67696 (PARMS): Do not use macros from bp-asm.h.
67697 (STR2): Likewise.
67698 (strcmp): Do not use BP_SYM.
67699 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67700 "bp-asm.h".
67701 (PARMS): Do not use macros from bp-asm.h.
67702 (STR): Likewise.
67703 (DELIM): Likewise.
67704 [USE_AS_STRTOK_R] (SAVE): Likewise.
67705 (FUNCTION): Likewise. Do not use BP_SYM.
67706 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67707 aliases.
67708 (strtok_r): Likewise.
67709 (__GI___strtok_r): Likewise.
67710 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67711 (PARMS): Do not use macros from bp-asm.h.
67712 (S): Likewise.
67713 (SIZE): Likewise.
67714 (__mpn_lshift): Do not use BP_SYM.
67715 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67716 (PARMS): Do not use macros from bp-asm.h.
67717 (STR): Likewise.
67718 (CHR): Likewise.
67719 (__memchr): Do not use BP_SYM.
67720 (memchr): Do not use BP_SYM in weak_alias.
67721 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67722 (PARMS): Do not use macros from bp-asm.h.
67723 (BLK2): Likewise.
67724 (LEN): Likewise.
67725 (memcmp): Do not use BP_SYM.
67726 (bcmp): Do not use BP_SYM in weak_alias.
67727 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67728 (PARMS): Do not use macros from bp-asm.h.
67729 (S1): Likewise.
67730 (SIZE): Likewise.
67731 (__mpn_mul_1): Do not use BP_SYM.
67732 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67733 "bp-asm.h".
67734 (PARMS): Do not use macros from bp-asm.h.
67735 (STR): Likewise.
67736 (CHR): Likewise.
67737 (__rawmemchr): Do not use BP_SYM.
67738 (rawmemchr): Do not use BP_SYM in weak_alias.
67739 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67740 (PARMS): Do not use macros from bp-asm.h.
67741 (S): Likewise.
67742 (SIZE): Likewise.
67743 (__mpn_rshift): Do not use BP_SYM.
67744 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67745 (PARMS): Do not use macros from bp-asm.h.
67746 (SIGMSK): Likewise.
67747 (__sigsetjmp): Likewise. Do not use BP_SYM.
67748 * sysdeps/i386/start.S: Do not include "bp-sym.h".
67749 (_start): Do not use BP_SYM.
67750 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67751 (PARMS): Do not use macros from bp-asm.h.
67752 (DEST): Likewise.
67753 (SRC): Likewise.
67754 (__stpcpy): Likewise. Do not use BP_SYM.
67755 (stpcpy): Do not use BP_SYM in weak_alias.
67756 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67757 "bp-asm.h".
67758 (PARMS): Do not use macros from bp-asm.h.
67759 (DEST): Likewise.
67760 (SRC): Likewise.
67761 (LEN): Likewise.
67762 (__stpncpy): Likewise. Do not use BP_SYM.
67763 (stpncpy): Do not use BP_SYM in weak_alias.
67764 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67765 (PARMS): Do not use macros from bp-asm.h.
67766 (STR): Likewise.
67767 (CHR): Likewise.
67768 (strchr): Likewise. Do not use BP_SYM.
67769 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67770 "bp-asm.h".
67771 (PARMS): Do not use macros from bp-asm.h.
67772 (STR): Likewise.
67773 (CHR): Likewise.
67774 (__strchrnul): Likewise. Do not use BP_SYM.
67775 (strchrnul): Do not use BP_SYM in weak_alias.
67776 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67777 "bp-asm.h".
67778 (PARMS): Do not use macros from bp-asm.h.
67779 (STOP): Likewise.
67780 (strcspn): Do not use BP_SYM.
67781 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67782 "bp-asm.h".
67783 (PARMS): Do not use macros from bp-asm.h.
67784 (STR): Likewise.
67785 (STOP): Likewise.
67786 (strpbrk): Likewise. Do not use BP_SYM.
67787 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67788 "bp-asm.h".
67789 (PARMS): Do not use macros from bp-asm.h.
67790 (STR): Likewise.
67791 (CHR): Likewise.
67792 (strrchr): Likewise. Do not use BP_SYM.
67793 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67794 (PARMS): Do not use macros from bp-asm.h.
67795 (SKIP): Likewise.
67796 (strspn): Do not use BP_SYM.
67797 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67798 (PARMS): Do not use macros from bp-asm.h.
67799 (STR): Likewise.
67800 (DELIM): Likewise.
67801 (SAVE): Likewise.
67802 (FUNCTION): Likewise. Do not use BP_SYM.
67803 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67804 aliases.
67805 (strtok_r): Likewise.
67806 (__GI___strtok_r): Likewise.
67807 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67808 (PARMS): Do not use macros from bp-asm.h.
67809 (S1): Likewise.
67810 (S2): Likewise.
67811 (SIZE): Likewise.
67812 (__mpn_sub_n): Do not use BP_SYM.
67813 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67814 "bp-asm.h".
67815 (PARMS): Do not use macros from bp-asm.h.
67816 (S1): Likewise.
67817 (SIZE): Likewise.
67818 (__mpn_submul_1): Do not use BP_SYM.
67819 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67820 <bp-sym.h>.
67821 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67822 and <bp-asm.h>.
67823 (PARMS): Do not use macros from bp-asm.h.
67824 (FLAGS): Likewise.
67825 (PTID): Likewise.
67826 (TLS): Likewise.
67827 (CTID): Likewise.
67828 (__clone): Do not use BP_SYM.
67829 (clone): Do not use BP_SYM in weak_alias.
67830 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67831 and <bp-asm.h>.
67832 (PARMS): Do not use macros from bp-asm.h.
67833 (LEN): Likewise.
67834 (__mmap64): Do not use BP_SYM.
67835 (mmap64): Do not use BP_SYM in weak_alias.
67836 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67837 <bp-sym.h> and <bp-asm.h>.
67838 (PARMS): Do not use macros from bp-asm.h.
67839 (__posix_fadvise64_l64): Do not use BP_SYM.
67840 * sysdeps/unix/sysv/linux/i386/semtimedop.S
67841 (PARMS): Do not use macros from bp-asm.h.
67842 (NSOPS): Likewise.
67843 (semtimedop): Do not use BP_SYM.
67844 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67845 and <bp-asm.h>.
67846
67847 2013-02-21 Allan McRae <allan@archlinux.org>
67848
67849 * manual/message.texi (Charset conversion in gettext):
67850 Move @end statement to beginning of line.
67851
67852 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
67853
67854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67855 static.
67856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67857 Likewise.
67858
67859 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67860 (denorm): Likewise.
67861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67863
67864 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67865
67866 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67867 tail-call to the resolved function if pltexit isn't needed.
67868
67869 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
67870
67871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67872 or Y being zero as being unlikely.
67873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67874 Likewise.
67875
67876 2013-02-20 Carlos O'Donell <carlos@redhat.com>
67877
67878 * manual/nss.texi (System Databases and Name Service Switch):
67879 Remove frobnicate @pxref.
67880
67881 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
67882
67883 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67884 __attribute__ ((unused)) to __attribute__ ((__unused__)).
67885
67886 2013-02-20 Petr Machata <pmachata@redhat.com>
67887
67888 * elf/elf.h (R_ARM_TARGET1): New macro.
67889 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67890 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67891 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67892 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67893 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67894 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67895 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67896 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67897 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67898 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67899 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67900 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67901 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67902 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67903 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67904 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67905 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67906 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67907 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67908 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67909 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67910 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67911 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67912 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67913 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67914 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67915 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67916 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67917 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67918 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67919 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67920 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67921 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67922 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67923 (R_ARM_THM_GOT_BREL12): Likewise.
67924 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67925 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67926 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67927 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67928 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67929 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67930 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67931 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67932 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67933
67934 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
67935
67936 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67937 __attribute_used__ to __attribute__ ((unused)).
67938
67939 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
67940
67941 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67942 powerpc mpa.c.
67943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67944 comment formatting.
67945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67946
67947 2013-02-19 Joseph Myers <joseph@codesourcery.com>
67948
67949 [BZ #13550]
67950 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67951 Remove macro.
67952 (ENTER): Remove both macro definitions.
67953 (LEAVE): Likewise.
67954 (CHECK_BOUNDS_LOW): Likewise.
67955 (CHECK_BOUNDS_HIGH): Likewise.
67956 (CHECK_BOUNDS_BOTH): Likewise.
67957 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67958 (RETURN_BOUNDED_POINTER): Likewise.
67959 (RETURN_NULL_BOUNDED_POINTER): Likewise.
67960 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67961 (POP_ERRNO_LOCATION_RETURN): Likewise.
67962 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67963 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67964 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67965 macros.
67966 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67967 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67968 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67969 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67970 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67971 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67972 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67973 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67974 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67975 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67976 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67977 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67978 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67979 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67980 removed macros.
67981 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67982 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67983 macros.
67984 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67985 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67986 * sysdeps/i386/i586/memset.S (memset): Likewise.
67987 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67988 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67989 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67990 macros.
67991 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67992 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67993 Change uses of L(2) to L(out).
67994 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67995 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67996 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67997 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67998 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67999 removed macros.
68000 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68001 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
68002 macros.
68003 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68004 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
68005 (RETURN): Do not use macro LEAVE.
68006 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
68007 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
68008 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
68009 * sysdeps/i386/i686/memset.S (memset): Likewise.
68010 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
68011 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
68012 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68013 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
68014 Likewise.
68015 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68016 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
68017 L(1_2) and L(1_3) into L(1).
68018 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68019 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
68020 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68021 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
68022 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68023 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
68024 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
68025 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68026 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
68027 macros.
68028 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
68029 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68030 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
68031 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
68032 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
68033 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68034 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
68035 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
68036 * sysdeps/i386/strcspn.S (strcspn): Likewise.
68037 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
68038 * sysdeps/i386/strrchr.S (strrchr): Likewise.
68039 * sysdeps/i386/strspn.S (strspn): Likewise.
68040 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
68041 conditional code.
68042 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68043 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
68044 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68045 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
68046 L(1_3) into L(1_1).
68047 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
68048 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68049 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
68050 macros.
68051 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68052
68053 2013-02-19 Jakub Jelinek <jakub@redhat.com>
68054
68055 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
68056 macro.
68057
68058 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
68059
68060 * math/atest-exp.c (exp_mpn): Remove ROUND.
68061 * math/atest-exp2.c (exp_mpn): Likewise.
68062 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
68063
68064 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
68065 * stdlib/tst-tls-atexit-lib.c: Likewise.
68066 * stdlib/tst-tls-atexit.c: Likewise.
68067
68068 2013-02-18 Mike Frysinger <vapier@gentoo.org>
68069
68070 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
68071 and __attribute_alloc_size__.
68072
68073 2013-02-18 Mike Frysinger <vapier@gentoo.org>
68074
68075 * include/programs/xmalloc.h: Change __attribute_alloc_size to
68076 __attribute_alloc_size__.
68077 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
68078 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
68079
68080 2013-02-18 Mike Frysinger <vapier@gentoo.org>
68081
68082 * include/programs/xmalloc.h: New file.
68083 * catgets/gencat.c: Include it.
68084 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
68085 * elf/pldd.c: Likewise.
68086 * iconv/iconv_charmap.c: Likewise.
68087 * iconv/iconvconfig.c: Likewise.
68088 * iconv/strtab.c: Likewise.
68089 * locale/programs/locale.c: Likewise.
68090 * locale/programs/localedef.h: Likewise.
68091 * locale/programs/simple-hash.c: Likewise.
68092 * nscd/nscd.h: Likewise.
68093 * nss/makedb.c: Likewise.
68094 * sysdeps/generic/ldconfig.h: Likewise.
68095
68096 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
68097
68098 * Versions.def: Add GLIBC_2.18.
68099 * include/link.h (struct link_map): New member l_tls_dtor_count.
68100 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
68101 (__call_tls_dtors): Likewise.
68102 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
68103 __cxa_thread_atexit_impl.
68104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68105 Likewise.
68106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68107 Likewise.
68108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
68109 Likewise.
68110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
68111 Likewise.
68112 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
68114 Likewise.
68115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
68116 Likewise.
68117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68119 Likewise.
68120 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
68121 (tests): Add test case tst-tls-atexit.
68122 (modules-names): Add shared library for tst-tls-atexit.
68123 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
68124 (GLIBC_PRIVATE): Add __call_tls_dtors.
68125 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
68126 for libstdc++.
68127 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
68128 * stdlib/tst-tls-atexit.c: New test case.
68129 * stdlib/tst-tls-atexit-lib.c: New test case.
68130
68131 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
68132
68133 * elf/Versions (ld): Add _dl_find_dso_for_object.
68134 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
68135 * elf/dl-open.c (_dl_find_dso_for_object): New function.
68136 (dl_open_worker): Use _dl_find_dso_for_object.
68137 * elf/dl-sym.c (do_sym): Likewise.
68138 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
68139
68140 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68141
68142 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
68143 Syntactic changes only.
68144 (_dl_runtime_profile): Do a tail-call to the resolved function.
68145
68146 2013-02-17 Joseph Myers <joseph@codesourcery.com>
68147
68148 [BZ #13550]
68149 * sysdeps/x86_64/bp-asm.h: Remove file.
68150 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
68151 <bp-sym.h> and <bp-asm.h>.
68152 (__clone): Do not use BP_SYM.
68153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
68154 <bp-sym.h> and <bp-asm.h>.
68155 * sysdeps/unix/x86_64/sysdep.S: Likewise.
68156 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
68157 "bp-asm.h".
68158 (_setjmp): Do not use BP_SYM.
68159 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68160 "bp-asm.h".
68161 (setjmp): Do not use BP_SYM.
68162 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
68163 libc_hidden_def.
68164 (mempcpy): Do not use BP_SYM in weak_alias.
68165 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
68166 "bp-asm.h".
68167 (strchr): Do not use BP_SYM.
68168 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
68169 "bp-asm.h".
68170 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
68171 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
68172 (_start): Do not use BP_SYM.
68173 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
68174 "bp-asm.h".
68175 (strcat): Do not use BP_SYM.
68176 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
68177 "bp-asm.h".
68178 (STRCMP): Do not use BP_SYM.
68179 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
68180 "bp-asm.h".
68181 (STRCPY): Do not use BP_SYM.
68182 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
68183 "bp-asm.h".
68184 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
68185 "bp-asm.h".
68186 (FUNCTION): Do not use BP_SYM.
68187 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
68188 weak_alias.
68189 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
68190
68191 2013-02-17 Andreas Jaeger <aj@suse.de>
68192
68193 * time/Versions: Sort entries.
68194 * string/Versions: Likewise.
68195 * resolv/Versions: Likewise.
68196 * posix/Versions: Likewise.
68197 * iconv/Versions: Likewise.
68198 * elf/Versions: Likewise.
68199 * wcsmbs/Versions: Likewise.
68200
68201 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68202
68203 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
68204 loop termination condition.
68205
68206 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
68207 variable to calculate EZ.
68208 (__sqr): Likewise.
68209
68210 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68211 the lower precision input.
68212
68213 2013-02-15 Joseph Myers <joseph@codesourcery.com>
68214
68215 [BZ #13550]
68216 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68217 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68218 (run-via-rtld-prefix): Do not handle %-bp tests.
68219 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68220 (all-object-suffixes): Remove .ob.
68221 (bppfx): Remove variable.
68222 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68223 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68224 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68225 [$(build-bounded) = yes] (libtype.ob): Likewise.
68226 * Makerules (elide-routines.ob): Remove variable.
68227 (do-tests-clean): Do not handle *-bp.out.
68228 (common-mostlyclean): Do not handle *-bp and *-bp.out.
68229 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68230 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68231 (tests): Do not include $(tests-bp.out).
68232 (xtests): Do not include $(xtests-bp.out).
68233 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68234 [$(build-bounded) = yes] ($(addprefix
68235 $(objpfx),$(binaries-bounded))): Remove rule.
68236 ($(objpfx)%-bp.out): Remove rule.
68237 * config.make.in (build-bounded): Remove variable.
68238 * crypt/Makefile [$(build-bounded) = yes]
68239 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68240 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68241 append to variable.
68242 [$(build-bounded) = yes] (install-lib): Likewise.
68243 [$(build-bounded) = yes] (generated): Likewise.
68244 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68245 Remove rule.
68246 * intl/Makefile [$(build-bounded) = yes]
68247 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68248 * math/Makefile [$(build-bounded) = yes]
68249 ($(tests:%=$(objpfx)%-bp): Likewise.
68250 * misc/Makefile [$(build-bounded) = yes]
68251 ($(objpfx)tst-tsearch-bp): Likewise.
68252 * nptl/Makeconfig (bounded-thread-library): Remove variable.
68253 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68254 Remove dependency.
68255 * string/Makefile (o-objects.ob): Remove variable.
68256 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68257 (CFLAGS-.ob): Remove variable.
68258 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68259 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68260 both definitions of variable.
68261 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68262 (ASFLAGS-.ob): Remove variable.
68263
68264 2013-02-14 Joseph Myers <joseph@codesourcery.com>
68265
68266 [BZ #13550]
68267 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68268 Remove __BOUNDED_POINTERS__ from condition.
68269 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68270 * string/bits/string2.h [!__NO_STRING_INLINES &&
68271 !__BOUNDED_POINTERS__]: Likewise.
68272 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68273 Likewise.
68274 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68275 Remove conditional code.
68276 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68277 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68278 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68279 condition.
68280
68281 [BZ #13550]
68282 * csu/libc-start.c: Do not include <bp-sym.h>.
68283 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68284 * elf/dl-open.c: Do not include <bp-sym.h>.
68285 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68286 * math/fegetenv.c: Do not include <bp-sym.h>.
68287 (fegetenv): Do not use BP_SYM in versioned symbols.
68288 * nptl/sysdeps/pthread/bits/libc-lockP.h
68289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68290 <bp-sym.h>.
68291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68292 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68294 (__pthread_mutex_destroy): Likewise.
68295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68296 (__pthread_mutex_lock): Likewise.
68297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68298 (__pthread_mutex_trylock): Likewise.
68299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68300 (__pthread_mutex_unlock): Likewise.
68301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68302 (__pthread_mutexattr_init): Likewise.
68303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68304 (__pthread_mutexattr_destroy): Likewise.
68305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68306 (__pthread_mutexattr_settype): Likewise.
68307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68308 (__pthread_rwlock_init): Likewise.
68309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68310 (__pthread_rwlock_destroy): Likewise.
68311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68312 (__pthread_rwlock_rdlock): Likewise.
68313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68314 (__pthread_rwlock_tryrdlock): Likewise.
68315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68316 (__pthread_rwlock_wrlock): Likewise.
68317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68318 (__pthread_rwlock_trywrlock): Likewise.
68319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68320 (__pthread_rwlock_unlock): Likewise.
68321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68322 (__pthread_key_create): Likewise.
68323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68324 (__pthread_setspecific): Likewise.
68325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68326 (__pthread_getspecific): Likewise.
68327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68328 Likewise.
68329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68330 (_pthread_cleanup_push_defer): Likewise.
68331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68332 (_pthread_cleanup_pop_restore): Likewise.
68333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68334 (pthread_setcancelstate): Likewise.
68335 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68336 <bp-sym.h>.
68337 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68338 (memchr): Do not use BP_SYM in weak_alias.
68339 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68340 (fegetenv): Do not use BP_SYM in versioned symbols.
68341 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68342 (fesetenv): Do not use BP_SYM in versioned symbols.
68343 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68344 (feupdateenv): Do not use BP_SYM in versioned symbols.
68345 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68346 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68347 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68348 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68349 (open64): Do not use BP_SYM in weak_alias.
68350 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68351 (fegetenv): Do not use BP_SYM in versioned symbols.
68352 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68353 (fesetenv): Do not use BP_SYM in versioned symbols.
68354 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68355 (feupdateenv): Do not use BP_SYM in versioned symbols.
68356 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68357 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68358 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68359 (feraiseexcept): Do not use BP_SYM in versioned symbols.
68360 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68361 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68362 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68363 <bp-sym.h>.
68364 (__libc_start_main): Do not use BP_SYM.
68365
68366 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
68367
68368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68369 redundant return line.
68370 (norm): Likewise.
68371 (denorm): Likewise.
68372 (dbl_mp): Likewise.
68373 (sub_magnitudes): Likewise.
68374 (__add): Likewise.
68375 (__sub): Likewise.
68376 (__mul): Likewise.
68377 (__inv): Likewise.
68378 (__dvd): Likewise.
68379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68380 (norm): Likewise.
68381 (denorm): Likewise.
68382 (dbl_mp): Likewise.
68383 (sub_magnitudes): Likewise.
68384 (__add): Likewise.
68385 (__sub): Likewise.
68386 (__mul): Likewise.
68387 (__inv): Likewise.
68388 (__dvd): Likewise.
68389
68390 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68391 instead of __mul.
68392 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68393 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
68394 (cc32): Likewise.
68395
68396 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
68397 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
68398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
68399 of __mul for squares.
68400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
68401 function
68402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
68403 Likewise.
68404 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
68405 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68406
68407 2013-02-13 Joseph Myers <joseph@codesourcery.com>
68408
68409 [BZ #13550]
68410 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
68411 code.
68412 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
68413 prototype or function definition. Rename ubp_* variables and
68414 parameters. Remove argv definitions conditional on
68415 [__BOUNDED_POINTERS__].
68416 * debug/backtrace.c (__backtrace): Do not use __unbounded.
68417 * elf/dl-runtime.c (_dl_fixup): Likewise.
68418 * include/set-hooks.h (RUN_HOOK): Likewise.
68419 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
68420 definition.
68421 * string/strcpy.c (strcpy): Do not use __unbounded.
68422 * sysdeps/generic/frame.h (struct layout): Likewise.
68423 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
68424 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
68425 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
68426 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
68427 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
68428 (__backtrace): Likewise.
68429 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
68430 use __ptrvalue.
68431 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
68432 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
68433 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
68434 Likewise.
68435 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
68436 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
68437 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
68438 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68439 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
68440 Do not use __unbounded.
68441 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
68442 Rename __unboundedrlimits parameter to rlimits in prototype.
68443 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
68444 Do not use __unbounded.
68445 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
68446 not use __ptrvalue.
68447 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68448 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
68449 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68450 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
68451 __ptrvalue or __unbounded.
68452 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
68453 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
68454 use __unbounded.
68455 (__new_msgctl): Do not use __ptrvalue.
68456 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
68457 __unbounded.
68458 (__libc_msgrcv): Do not use __ptrvalue.
68459 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
68460 startup_info): Do not use __unbounded.
68461 (__libc_start_main): Likewise. Rename ubp_* variables and
68462 parameters. Remove argv definitions conditional on
68463 [__BOUNDED_POINTERS__].
68464 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
68465 __ptrvalue.
68466 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
68467 use __unbounded.
68468 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
68469 or __ptrvalue.
68470 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
68471 use __unbounded.
68472 (__new_shmctl): Do not use __ptrvalue.
68473 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
68474 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
68475 Likewise.
68476 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
68477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
68478 (__libc_sigaction): Likewise.
68479 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
68480 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
68481 Likewise.
68482 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68483
68484 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
68485
68486 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
68487
68488 * string/mempcpy.c: Implement by calling memcpy.
68489
68490 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
68491
68492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
68493
68494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
68495 evaluation.
68496
68497 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
68498 values in the mantissa.
68499
68500 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
68501 minimize writes to Z.
68502 (sub_magnitudes): Simplify code a bit.
68503
68504 2013-02-12 Roland McGrath <roland@hack.frob.com>
68505
68506 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
68507 from the message. The linker prefixes all warnings with that already.
68508
68509 2013-02-12 Andreas Schwab <schwab@suse.de>
68510
68511 [BZ #15078]
68512 * posix/regexec.c (extend_buffers): Add parameter min_len.
68513 (check_matching): Pass minimum needed length.
68514 (clean_state_log_if_needed): Likewise.
68515 (get_subexp): Likewise.
68516 * posix/Makefile (tests): Add bug-regex34.
68517 (bug-regex34-ENV): Define.
68518 * posix/bug-regex34.c: New file.
68519
68520 [BZ #11561]
68521 * posix/regcomp.c (parse_bracket_exp): When looking up collating
68522 elements compare against the byte sequence of it, not its name.
68523 * posix/Makefile (tests): Add bug-regex35.
68524 (bug-regex35-ENV): Define.
68525 * posix/bug-regex35.c: New file.
68526
68527 2013-02-11 Tom de Vries <tom@codesourcery.com>
68528
68529 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
68530 comment.
68531 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
68532 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
68533 (CHECK_EOL): Add undef.
68534
68535 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
68536
68537 * bits/stdlib-bsearch.h: New file.
68538 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68539 * stdlib/stdlib.h: Likewise.
68540
68541 2013-02-11 Roland McGrath <roland@hack.frob.com>
68542
68543 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68544 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68545 declaration.
68546 * manual/search.texi (Array Search Function): Add missing const in
68547 lfind prototype.
68548 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68549 declaration to use rlim_t.
68550 (Basic Scheduling Functions): Remove erroneous const from
68551 sched_getparam prototype. Remove erroneous * from
68552 sched_get_priority_max and sched_get_priority_min prototypes.
68553 (Resource Usage): Fix summary @comment on vtimes to refer to
68554 sys/vtimes.h rather than vtimes.h.
68555 Add missing *s in vtimes prototype.
68556 (Limits on Resources): Fix ulimit prototype to return long int.
68557 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68558 prototypes to use long int rather than double.
68559 (BSD Random): Fix initstate and setstate to use char *, not void *.
68560 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68561 prototype to make second argument 'struct aiocb64 *const[]'.
68562 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68563 (Status of AIO Operations): Remove erroneous const in aio_return and
68564 aio_return64 prototypes.
68565 (Synchronizing I/O): Fix sync prototype to return void.
68566 * manual/startup.texi (Suboptions): Remove an erroneous const in
68567 getsubopt prototype.
68568 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68569 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68570 use size_t rather than int.
68571 (Scanning All Users): Likewise for getpwent_r.
68572 (Setting Groups): Add missing const to setgroups prototype.
68573 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68574 * manual/socket.texi (Host Names): Fix gethostbyaddr and
68575 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68576 'const void *' rather than 'const char *'.
68577 (Host Address Functions): Likewise for inet_ntop.
68578 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68579 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68580 ssize_t for return value.
68581 (Sending Data): Likewise for send, sendto, sendmsg.
68582 (Socket Option Functions): Add a missing const in setsockopt prototype.
68583 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68584 use wchar_t for the argument.
68585 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68586 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68587 take no arguments.
68588 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68589 double/float/long double for second argument.
68590 Fix return types of significand, significandf, significandl.
68591 * manual/filesys.texi (Setting Permissions): Use mode_t for second
68592 argument in fchmod prototype.
68593 (File Owner): Use uid_t and gid_t in fchown prototype.
68594 (File Times): Add const to utimes, futimes, and lutimes prototypes.
68595 (Making Special Files): Use mode_t and dev_t in mknod prototype.
68596 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68597 use 'const struct dirent **' as argument types to CMP function pointer
68598 argument.
68599 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68600 (File Times): Fix summary magic @comment for struct utimbuf and utime
68601 to refer to utime.h, not time.h.
68602 * manual/string.texi (Argz Functions): Add missing const in
68603 argz_extract and argz_next prototypes.
68604 (Finding Tokens in a String): Likewise for basename.
68605 (String/Array Comparison): Fix typo in wcscasecmp prototype.
68606 (Copying and Concatenation): Fix typo in wmemmove prototype.
68607 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68608 (Signal Stack): Remove erroneous const in sigstack prototype.
68609 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68610 prototype.
68611 (Simple Calendar Time): Likewise for stime.
68612 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68613 prototype.
68614 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68615 say sys/sysctl.h instead.
68616 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68617 and vsyslog prototypes.
68618
68619 2013-02-11 Tom de Vries <tom@codesourcery.com>
68620
68621 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68622 Remove.
68623
68624 2013-02-11 Roland McGrath <roland@hack.frob.com>
68625
68626 * misc/sys/mman.h: Fix typo in mremap comment.
68627
68628 2013-02-08 Roland McGrath <roland@hack.frob.com>
68629
68630 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68631 the '\0' terminator.
68632
68633 2013-02-08 Joseph Myers <joseph@codesourcery.com>
68634
68635 [BZ #13550]
68636 * debug/segfault.c: Don't include <bp-checks.h>.
68637 * sysdeps/generic/bp-checks.h: Remove file.
68638 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68639 (__GETDENTS): Don't use CHECK_N.
68640 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68641 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68642 (__getgroups): Don't use CHECK_N.
68643 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68644 (setgroups): Don't use CHECK_N.
68645 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68646 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68647 (__libc_msgrcv): Don't use CHECK_N.
68648 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68649 (__libc_msgsnd): Don't use CHECK_N.
68650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68651 <bp-checks.h>.
68652 (__libc_pread): Don't use CHECK_N.
68653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68654 include <bp-checks.h>.
68655 (__libc_pread64): Don't use CHECK_N.
68656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68657 include <bp-checks.h>.
68658 (__libc_pwrite): Don't use CHECK_N.
68659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68660 include <bp-checks.h>.
68661 (__libc_pwrite64): Don't use CHECK_N.
68662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68663 <bp-checks.h>.
68664 (__libc_pread): Don't use CHECK_N.
68665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68666 include <bp-checks.h>.
68667 (__libc_pread64): Don't use CHECK_N.
68668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68669 include <bp-checks.h>.
68670 (__libc_pwrite): Don't use CHECK_N.
68671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68672 include <bp-checks.h>.
68673 (__libc_pwrite64): Don't use CHECK_N.
68674 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68675 (do_pread): Don't use CHECK_N.
68676 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68677 (do_pread64): Don't use CHECK_N.
68678 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68679 (do_pwrite): Don't use CHECK_N.
68680 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68681 (do_pwrite64): Don't use CHECK_N.
68682 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68683 (__libc_readv): Don't use CHECK_N.
68684 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68685 (semop): Don't use CHECK_N.
68686 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68687 <bp-checks.h>.
68688 (semtimedop): Don't use CHECK_N.
68689 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68690 (__libc_pread): Don't use CHECK_N.
68691 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68692 <bp-checks.h>.
68693 (__libc_pread64): Don't use CHECK_N.
68694 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68695 <bp-checks.h>.
68696 (__libc_pwrite): Don't use CHECK_N.
68697 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68698 <bp-checks.h>.
68699 (__libc_pwrite64): Don't use CHECK_N.
68700 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68701 <bp-checks.h>.
68702 (__libc_msgrcv): Don't use CHECK_N.
68703 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68704 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
68705 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68706 (__libc_writev): Don't use CHECK_N.
68707
68708 2013-02-08 Roland McGrath <roland@hack.frob.com>
68709
68710 * string/strcpy.c: Removed unused variable.
68711
68712 * Makeconfig (+sysdep-includes): Define with := rather than =.
68713 Use an existing include/ subdir of each sysdeps dir before it.
68714
68715 2013-02-08 Carlos O'Donell <carlos@redhat.com>
68716
68717 * nscd/connection.c (register_traced_file): Comment function.
68718 [HAVE_INOTIFY] (union __inev): Define.
68719 [HAVE_INOTIFY] (inotify_check_files): New function.
68720 [HAVE_INOTIFY] (clear_db_cache): Likewise.
68721 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68722 clear_db_cache.
68723 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68724
68725 2013-02-08 Carlos O'Donell <carlos@redhat.com>
68726
68727 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68728 loaded if not already and that a failure is permanent.
68729
68730 2013-02-08 Carlos O'Donell <carlos@redhat.com>
68731
68732 [BZ #15006]
68733 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68734 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68735
68736 2013-02-08 Joseph Myers <joseph@codesourcery.com>
68737
68738 [BZ #13550]
68739 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68740 (CHECK_1_NULL_OK): Likewise.
68741 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68742 (__fxstat): Do not use CHECK_1.
68743 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68744 <bp-checks.h>.
68745 (___fxstat64): Do not use CHECK_1.
68746 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68747 <bp-checks.h>.
68748 (__fxstatat): Do not use CHECK_1.
68749 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68750 <bp-checks.h>.
68751 (__fxstatat64): Do not use CHECK_1.
68752 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68753 <bp-checks.h>.
68754 (__fxstat): Do not use CHECK_1.
68755 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68756 <bp-checks.h>.
68757 (__fxstatat): Do not use CHECK_1.
68758 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68759 <bp-checks.h>.
68760 (__getresgid): Do not use CHECK_1.
68761 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68762 <bp-checks.h>.
68763 (__getresuid): Do not use CHECK_1.
68764 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68765 <bp-checks.h>.
68766 (__lxstat): Do not use CHECK_1.
68767 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68768 <bp-checks.h>.
68769 (__old_msgctl): Do not use CHECK_1.
68770 (__new_msgctl): Likewise.
68771 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68772 <bp-checks.h>.
68773 (__new_setrlimit): Do not use CHECK_1.
68774 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68775 <bp-checks.h>.
68776 (__old_shmctl): Do not use CHECK_1.
68777 (__new_shmctl): Likewise.
68778 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68779 <bp-checks.h>.
68780 (__xstat): Do not use CHECK_1.
68781 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68782 (__lxstat): Do not use CHECK_1.
68783 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68784 <bp-checks.h>.
68785 (___lxstat64): Do not use CHECK_1.
68786 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68787 (__old_msgctl): Do not use CHECK_1.
68788 (__new_msgctl): Likewise.
68789 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68790 <bp-checks.h>.
68791 (__gettimeofday): Do not use CHECK_1.
68792 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68793 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68794 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68795 <bp-checks.h>.
68796 (__gettimeofday): Do not use CHECK_1.
68797 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68798 (__old_shmctl): Do not use CHECK_1_NULL_OK.
68799 (__new_shmctl): Do not use CHECK_1.
68800 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68801 <bp-checks.h>.
68802 (do_sigtimedwait): Do not use CHECK_1.
68803 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68804 <bp-checks.h>.
68805 (do_sigwaitinfo): Do not use CHECK_1.
68806 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68807 <bp-checks.h>.
68808 (msgctl): Do not use CHECK_1.
68809 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68810 <bp-checks.h>.
68811 (shmctl): Do not use CHECK_1.
68812 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68813 (ustat): Do not use CHECK_1.
68814 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68815 <bp-checks.h>.
68816 (__fxstat): Do not use CHECK_1.
68817 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68818 <bp-checks.h>.
68819 (__fxstatat): Do not use CHECK_1.
68820 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68821 <bp-checks.h>.
68822 (__lxstat): Do not use CHECK_1.
68823 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68824 <bp-checks.h>.
68825 (__xstat): Do not use CHECK_1.
68826 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68827 (__xstat): Do not use CHECK_1.
68828 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68829 (___xstat64): Do not use CHECK_1.
68830
68831 [BZ #13550]
68832 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68833 definitions.
68834 (CHECK_BOUNDS_HIGH): Likewise.
68835 * string/strcpy.c: Do not include <bp-checks.h>.
68836 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68837
68838 2013-02-07 Roland McGrath <roland@hack.frob.com>
68839
68840 * nscd/nscd-client.h (__nscd_drop_map_ref):
68841 Add __attribute__ ((unused)).
68842 * nis/nss-nisplus.h (niserr2nss): Likewise.
68843
68844 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68845 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68846
68847 * csu/libc-tls.c (init_static_tls, init_slotinfo):
68848 Remove inline keyword.
68849 * include/rounding-mode.h (round_away): Likewise.
68850 * libio/wfileops.c (adjust_wide_data): Likewise.
68851 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68852 (__m128i_strloadu_tolower): Likewise.
68853 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68854 (__m128i_strloadu_tolower): Likewise.
68855 * time/mktime.c (ydhms_diff): Likewise.
68856 * locale/elem-hash.h (elem_hash): Likewise.
68857 * locale/setlocale.c (setdata): Likewise.
68858 * posix/regex_internal.h (re_string_char_size_at): Likewise.
68859 (re_string_wchar_at): Likewise.
68860 (bitset_not, bitset_merge, bitset_mask): Likewise.
68861 [!(__GNUC__ > 3)] (inline): Remove macro.
68862 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68863 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68864 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68865 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68866 * string/memcmp.c (memcmp_bytes): Likewise.
68867 * locale/programs/locarchive.c (compute_hashval): Likewise.
68868 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68869 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68870 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68871 * nss/getent.c (print_rpc, print_protocols): Likewise.
68872 (print_passwd, print_group, print_aliases): Likewise.
68873 * nis/nss-nisplus.h (niserr2nss): Likewise.
68874 * nscd/connections.c (restart_p): Likewise.
68875 Change return type to bool.
68876
68877 2013-02-05 Roland McGrath <roland@hack.frob.com>
68878
68879 * Makeconfig (all-Depend-files): Add existing
68880 $(sorted-subdirs:=/Depend) files.
68881 (all-subdirs): Remove nss.
68882 * sysdeps/unix/inet/Subdirs: Add it here instead.
68883 * hesiod/Depend: New file.
68884
68885 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68886 instead of calling alloca.
68887
68888 * io/lseek.c (__lseek): Rename to __libc_lseek.
68889 Define __lseek as an alias.
68890
68891 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68892
68893 2013-02-04 Carlos O'Donell <carlos@redhat.com>
68894
68895 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68896 else clause and remove check for non-standard endianness.
68897
68898 2013-02-04 David S. Miller <davem@davemloft.net>
68899
68900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68901
68902 2013-02-04 Joseph Myers <joseph@codesourcery.com>
68903
68904 [BZ #13550]
68905 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68906 (__ubp_memchr): Remove prototype.
68907 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68908 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68909 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68910 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68911 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68912 Remove alias.
68913 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68914 (__ubp_memchr): Likewise.
68915 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68916 (__ubp_memchr): Likewise.
68917 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68918 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68919 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68920 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68921 CHECK_STRING.
68922 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68923 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68924 (__getcwd): Do not use CHECK_STRING.
68925 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68926 <bp-checks.h>.
68927 (__real_chown): Do not use CHECK_STRING.
68928 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68929 <bp-checks.h>.
68930 (fchownat): Do not use CHECK_STRING.
68931 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68932 CHECK_STRING.
68933 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68934 <bp-checks.h>.
68935 (__lchown): Do not use CHECK_STRING.
68936 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68937 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68938 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68939 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68941 include <bp-checks.h>.
68942 (truncate64): Do not use CHECK_STRING.
68943 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68944 <bp-checks.h>.
68945 (__real_chown): Do not use CHECK_STRING.
68946 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68947 <bp-checks.h>.
68948 (__lchown): Do not use CHECK_STRING.
68949 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68950 <bp-checks.h>.
68951 (__chown): Do not use CHECK_STRING.
68952 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68953 <bp-checks.h>.
68954 (truncate64): Do not use CHECK_STRING.
68955 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68956 Likewise.
68957 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68958 (__xmknod): Do not use CHECK_STRING.
68959 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68960 <bp-checks.h>.
68961 (__xmknodat): Do not use CHECK_STRING.
68962 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68963 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68964
68965 2013-02-04 Andreas Schwab <schwab@suse.de>
68966
68967 [BZ #14142]
68968 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68969 * include/netdb.h: Likewise for h_errno.
68970 * elf/tst-stackguard1.c: Include <tls.h>.
68971
68972 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
68973
68974 * elf/link.h (struct link_map): Extend the l_addr comment.
68975 * include/link.h (struct link_map): Likewise.
68976
68977 2013-02-01 Joseph Myers <joseph@codesourcery.com>
68978
68979 [BZ #13550]
68980 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68981 (BOUNDED_1): Remove macro.
68982 * debug/backtrace.c: Don't include <bp-checks.h>.
68983 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68984 (__backtrace): Likewise.
68985 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68986 <bp-checks.h>.
68987 (__backtrace): Don't use BOUNDED_1.
68988 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68989 <bp-checks.h>.
68990 (__backtrace): Don't use BOUNDED_1.
68991 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68992 (__backtrace): Don't use BOUNDED_1.
68993 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68994 (shmat): Don't use BOUNDED_N.
68995
68996 2013-01-31 Joseph Myers <joseph@codesourcery.com>
68997
68998 [BZ #13550]
68999 * sysdeps/generic/bp-start.h: Remove file.
69000 * csu/libc-start.c: Don't include <bp-start.h>.
69001 (LIBC_START_MAIN): Set up __environ directly instead of using
69002 INIT_ARGV_and_ENVIRON.
69003 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
69004 <bp-start.h>.
69005
69006 [BZ #13550]
69007 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
69008 definitions.
69009 (CHECK_FCNTL): Likewise.
69010 (CHECK_N_PAGES): Likewise.
69011
69012 [BZ #13550]
69013 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
69014 definitions.
69015 (CHECK_SIGSET_NULL_OK): Likewise.
69016 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
69017 <bp-checks.h>.
69018 (sigpending): Don't use CHECK_SIGSET.
69019 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
69020 <bp-checks.h>.
69021 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69022 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
69023 <bp-checks.h>.
69024 (do_sigsuspend): Don't use CHECK_SIGSET.
69025 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
69026 use CHECK_SIGSET.
69027 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
69028 (do_sigwait): Don't use CHECK_SIGSET.
69029 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
69030 use CHECK_SIGSET.
69031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
69032 include <bp-checks.h>.
69033 (sigpending): Don't use CHECK_SIGSET.
69034 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
69035 include <bp-checks.h>.
69036 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69037 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
69038 <bp-checks.h>.
69039 (sigpending): Don't use CHECK_SIGSET.
69040 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
69041 <bp-checks.h>.
69042 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69043
69044 [BZ #13550]
69045 * sysdeps/generic/bp-semctl.h: Remove file.
69046 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
69047 <bp-checks.h> and <bp-semctl.h>.
69048 (__old_semctl): Don't use CHECK_SEMCTL.
69049 (__new_semctl): Likewise.
69050 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
69051 and <bp-semctl.h>.
69052 (__old_semctl): Don't use CHECK_SEMCTL.
69053 (__new_semctl): Likewise.
69054 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
69055 <bp-checks.h> and <bp-semctl.h>.
69056 (__old_semctl): Don't use CHECK_SEMCTL.
69057 (__new_semctl): Likewise.
69058 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
69059 <bp-checks.h> and <bp-semctl.h>.
69060 (semctl): Don't use CHECK_SEMCTL.
69061
69062 [BZ #13550]
69063 * Makerules (elide-bp-thunks): Remove variable.
69064 (elide-routines.oS): Don't use $(elide-bp-thunks).
69065 (elide-routines.os): Likewise.
69066 (elide-routines.o): Likewise.
69067 (elide-routines.op): Likewise.
69068 (elide-routines.og): Likewise.
69069 (objects): Don't use $(bp-thunks).
69070 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
69071 include.
69072 (common-generated): Do not add s-proto-bp.d.
69073 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
69074 (int): Likewise.
69075 (typ): Likewise.
69076 Do not generate makefile rules for bounded-pointer thunks.
69077 * sysdeps/generic/bp-thunks.h: Remove file.
69078 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
69079 * sysdeps/unix/s-proto-bp.S: Likewise.
69080
69081 [BZ #15062]
69082 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
69083 parts of result separately when argument is not close to line from
69084 -i to i and one part of argument is small.
69085 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69086 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69087 * math/libm-test.inc (cacos_test): Add more tests.
69088 (casin_test): Likewise.
69089 (casinh_test): Likewise.
69090 * sysdeps/i386/fpu/libm-test-ulps: Update.
69091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69092
69093 2013-01-31 David S. Miller <davem@davemloft.net>
69094
69095 * po/de.po: Update from translation team.
69096
69097 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
69098
69099 * time/tzfile.c: Include stdint.h for SIZE_MAX.
69100
69101 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
69102
69103 * configure.in (_AC_PROG_CC_C89): New definition.
69104 * configure: Regenerate.
69105
69106 * configure.in (AC_PROG_CPP): New definition.
69107 * configure: Regenerate.
69108
69109 2013-01-23 Joseph Myers <joseph@codesourcery.com>
69110
69111 * debug/tst-backtrace.h: New file.
69112 * debug/tst-backtrace2.c: Include tst-backtrace.h.
69113 (ret): Remove variable.
69114 (x): Likewise.
69115 (FAIL): Remove macro.
69116 (NO_INLINE): Likewise.
69117 (fn1): Use match function instead of strstr.
69118 * debug/tst-backtrace3.c: Include tst-backtrace.h.
69119 (ret): Remove variable.
69120 (x): Likewise.
69121 (FAIL): Remove macro.
69122 (NO_INLINE): Likewise.
69123 (fn): Use match function instead of strstr.
69124 * debug/tst-backtrace4.c: Include tst-backtrace.h.
69125 (ret): Remove variable.
69126 (x): Likewise.
69127 (FAIL): Remove macro.
69128 (NO_INLINE): Likewise.
69129 (handle_signal): Use match function instead of strstr.
69130 * debug/tst-backtrace5.c: Include tst-backtrace.h.
69131 (ret): Remove variable.
69132 (x): Likewise.
69133 (FAIL): Remove macro.
69134 (NO_INLINE): Likewise.
69135 (handle_signal): Use match function instead of strstr.
69136
69137 2013-01-23 Roland McGrath <roland@hack.frob.com>
69138
69139 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
69140
69141 2013-01-23 David S. Miller <davem@davemloft.net>
69142
69143 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
69144 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
69145 argument of CAS if possible.
69146 * sysdeps/sparc/sparc64/bits/atomic.h
69147 (__arch_compare_and_exchange_val_32_acq): Likewise.
69148 (__arch_compare_and_exchange_val_64_acq): Likewise.
69149
69150 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
69151
69152 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
69153 * sysdeps/posix/ulimit.c: ... this.
69154 Include <limits.h>.
69155 * sysdeps/unix/bsd/ulimit.c: Remove file.
69156
69157 2013-01-23 Adam Conrad <adconrad@0c3.net>
69158
69159 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
69160 (LDFLAGS-tst-array5): Likewise.
69161
69162 2013-01-23 Joseph Myers <joseph@codesourcery.com>
69163
69164 [BZ #15036]
69165 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
69166 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
69167 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
69168 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
69169
69170 2013-01-21 David S. Miller <davem@davemloft.net>
69171
69172 * sysdeps/sparc/backtrace.c: New file.
69173 * sysdeps/sparc/sparc32/backtrace.h: New file.
69174 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
69175 * sysdeps/sparc/sparc64/backtrace.h: New file.
69176 * sysdeps/sparc/sparc64/backtrace.c: Delete.
69177 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
69178 -funwind-tables.
69179
69180 2013-01-21 Andreas Schwab <schwab@suse.de>
69181
69182 [BZ #15020]
69183 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
69184 closed its stdout.
69185
69186 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
69187
69188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
69189 "mpa2.h".
69190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69191
69192 2013-01-18 Joseph Myers <joseph@codesourcery.com>
69193 Mark Mitchell <mark@codesourcery.com>
69194 Tom de Vries <tom@codesourcery.com>
69195 Paul Pluzhnikov <ppluzhnikov@google.com>
69196
69197 * debug/tst-backtrace2.c: New file.
69198 * debug/tst-backtrace3.c: Likewise.
69199 * debug/tst-backtrace4.c: Likewise.
69200 * debug/tst-backtrace5.c: Likewise.
69201 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
69202 (CFLAGS-tst-backtrace3.c): Likewise.
69203 (CFLAGS-tst-backtrace4.c): Likewise.
69204 (CFLAGS-tst-backtrace5.c): Likewise.
69205 (LDFLAGS-tst-backtrace2): Likewise.
69206 (LDFLAGS-tst-backtrace3): Likewise.
69207 (LDFLAGS-tst-backtrace4): Likewise.
69208 (LDFLAGS-tst-backtrace5): Likewise.
69209 (tests): Add new tests tst-backtrace2, tst-backtrace3,
69210 tst-backtrace4 and tst-backtrace5.
69211
69212 2013-01-18 Anton Blanchard <anton@samba.org>
69213 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
69214
69215 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69216 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69217 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69218 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69220 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69221 "+r" and remove output regs list as redundant. Add explicit inline
69222 asm to specify register of return val to work around compiler codegen
69223 bug. Remove (int) cast on return value. Add return type parameter to
69224 use in macro so that this macro does not truncate return value for
69225 64-bit values.
69226 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69227 pass to INTERNAL_VSYSCALL_NCS.
69228 (INLINE_VSYSCALL): Add 'long int' as return type to
69229 INTERNAL_VSYSCALL_NCS macro invocation.
69230 (INTERNAL_VSYSCALL): Add 'long int' as return type to
69231 INTERNAL_VSYSCALL_NCS macro invocation.
69232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69233
69234 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
69235
69236 [BZ #14496]
69237 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69238 Fix application of SIMD FP exception mask.
69239
69240 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69241 mp_no from a power of two.
69242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69243 __mpexp_twomm1. Use __pow_mp.
69244
69245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69246 multiplication.
69247
69248 2013-01-17 David S. Miller <davem@davemloft.net>
69249
69250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69251
69252 2013-01-17 Joseph Myers <joseph@codesourcery.com>
69253
69254 [BZ #15023]
69255 * include/complex.h: Condition contents on [!_COMPLEX_H].
69256 (__kernel_casinhf): New prototype.
69257 (__kernel_casinh): Likewise.
69258 (__kernel_casinhl): Likewise.
69259 * math/Makefile (libm_calls): Add k_casinh.
69260 * math/k_casinh.c: New file.
69261 * math/k_casinhf.c: Likewise.
69262 * math/k_casinhl.c: Likewise.
69263 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69264 finite nonzero arguments.
69265 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69266 finite nonzero arguments.
69267 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69268 finite nonzero arguments.
69269 * math/s_casinh.c: Do not include <float.h>.
69270 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69271 * math/s_casinhf.c: Do not include <float.h>.
69272 (__casinhf): Move code for finite nonzero arguments to
69273 k_casinhf.c.
69274 * math/s_casinhl.c: Do not include <float.h>.
69275 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69276 redefine.
69277 (__casinhl): Move code for finite nonzero arguments to
69278 k_casinhl.c.
69279 * math/libm-test.inc (cacos_test): Add more tests.
69280 * sysdeps/i386/fpu/libm-test-ulps: Update.
69281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69282
69283 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
69284
69285 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69286 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69287 [!HAVE_MREMAP]: Remove [defined linux] case.
69288 * malloc/arena.c: Do not include <malloc-sysdep.h>.
69289
69290 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
69291
69292 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69293
69294 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
69295
69296 * elf/elf.h (R_386_SIZE32): New relocation.
69297 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69298 R_386_SIZE32.
69299 (elf_machine_rela): Likewise.
69300 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69301 R_X86_64_SIZE64 and R_X86_64_SIZE32.
69302
69303 2013-01-17 Joseph Myers <joseph@codesourcery.com>
69304
69305 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69306 (FP_FAST_FMA): Do not define.
69307 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69308 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69309 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69310 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69311 !_SOFT_FLOAT]: Likewise.
69312 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69314 value.
69315 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69316 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69317 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69318 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69319 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69320 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69321 file.
69322
69323 2013-01-16 Andreas Schwab <schwab@suse.de>
69324
69325 [BZ #14327]
69326 * include/stdlib.h (__mktemp): Add declaration.
69327 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69328 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69329
69330 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
69331
69332 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69333 definitions.
69334 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69335 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69336 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69337 definitions here.
69338 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69339 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69340 definitions.
69341 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69342 and ONE.
69343 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69344 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69345 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69346 definitions.
69347 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69348 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69349 definitions.
69350 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69351
69352 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69353
69354 2013-01-15 David S. Miller <davem@davemloft.net>
69355
69356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69357 trunc{,f} to libm-sysdep_routes.
69358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69360 file.
69361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69363 file.
69364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69365 file.
69366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69368 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69369 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69370 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69371 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69372 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69373 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69374
69375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69376 nearbyint{,f} to libm-sysdep_routes.
69377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69379 New file.
69380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69381 file.
69382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69383 New file.
69384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69385 file.
69386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69389 file.
69390 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69391 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
69392 file.
69393 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
69394 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
69395 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
69396
69397 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
69398 libc_feholdexcept and libc_fesetenv.
69399
69400 2013-01-15 Mike Frysinger <vapier@gentoo.org>
69401
69402 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
69403
69404 2013-01-14 David S. Miller <davem@davemloft.net>
69405
69406 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
69407 (SPARC_ASM_VIS2_IFUNC): Likewise.
69408 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
69409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
69410 use of 'siam' instruction.
69411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
69412 Likewise.
69413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
69414 Likewise.
69415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
69416 Likewise.
69417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
69418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
69419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
69420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
69421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
69422 file.
69423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
69424 file.
69425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
69426 file.
69427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
69428 file.
69429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
69430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
69431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
69432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
69433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
69434 new VIS2 routines.
69435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69438 Likewise.
69439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
69444 routines to libm-sysdep_routines.
69445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69446
69447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69448 fdim/fdimf to libm-sysdep_routines.
69449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
69450 file.
69451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
69452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
69453 file.
69454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
69455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
69456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
69457 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
69458 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
69459 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
69460 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
69461
69462 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69463
69464 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
69465 to optimize copies.
69466
69467 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
69468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69470
69471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
69472 local variable MPTWO.
69473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69474 Likewise.
69475
69476 2013-01-13 Mike Frysinger <vapier@gentoo.org>
69477
69478 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
69479 GLOB_NOESCAPE.
69480
69481 2013-01-13 Mike Frysinger <vapier@gentoo.org>
69482
69483 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
69484
69485 2013-01-13 Mike Frysinger <vapier@gentoo.org>
69486
69487 * manual/pattern.texi (glob_t): Document gl_flags.
69488 (glob64_t): Likewise.
69489
69490 2013-01-11 David S. Miller <davem@davemloft.net>
69491
69492 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
69493 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
69494 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
69495 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
69496 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
69497 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
69498 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
69499 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
69500 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
69501 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
69502 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
69503 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
69504 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
69505
69506 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69507 sparc V9 rather than using V8 code.
69508 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69509 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69510
69511 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69512 Move to...
69513 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
69514 Here.
69515
69516 2013-01-11 Roland McGrath <roland@hack.frob.com>
69517
69518 [BZ #14941]
69519 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
69520 not in the main loop.
69521 * configure: Regenerated.
69522
69523 2013-01-11 Joseph Myers <joseph@codesourcery.com>
69524
69525 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
69526 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
69527 to just #else.
69528 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
69529 [!__GLIBC_HAVE_LONG_LONG] case.
69530 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69531 condition to just #else.
69532 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
69533 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
69534 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
69535 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
69536 unconditional.
69537 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
69538 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69539 #elif condition to just #else.
69540 * sysdeps/unix/sysv/linux/sys/sysmacros.h
69541 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69542 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69543 #elif condition to just #else.
69544
69545 2013-01-11 Steve Ellcey <sellcey@mips.com>
69546
69547 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69548 (EF_MIPS_ARCH_64): Fix value.
69549 (EF_MIPS_ARCH_32R2): New.
69550 (EF_MIPS_ARCH_64R2): New.
69551
69552 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
69553
69554 * Makeconfig (+link-pie-before-libc): New.
69555 (+link-pie-after-libc): Likewise.
69556 (+link-pie-tests): Likewise.
69557 (+link-pie): Rewritten.
69558 (link-before-libc): Remove $(config-LDFLAGS).
69559 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69560 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69561 (config-LDFLAGS): Renamed to ...
69562 (rtld-LDFLAGS): This.
69563 (rtld-tests-LDFLAGS): New macro.
69564 (link-libc-rpath-link): Likewise.
69565 (link-libc-tests-rpath-link): Likewise.
69566 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69567 (link-libc): Prepand $(link-libc-rpath-link).
69568 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69569 (test-program-prefix): New macro.
69570 (test-via-rtld-prefix): Likewise.
69571 (test-program-cmd): Likewise.
69572 (host-test-program-cmd): Likewise.
69573 * Makefile ($(common-objpfx)testrun.sh): Replace
69574 $(run-program-prefix) with $(test-program-prefix).
69575 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69576 $(rtld-LDFLAGS).
69577 ($(common-objpfx)shlib.lds): Likewise.
69578 (build-module-helper): Likewise.
69579 ($(common-objpfx)format.lds): Likewise.
69580 * Rules (binaries-pie-tests): New.
69581 (binaries-pie-notests): Likewise.
69582 (binaries-pie): Rewritten.
69583 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69584 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69585 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69586 (make-test-out): Replace $(host-built-program-cmd) with
69587 $(host-test-program-cmd).
69588 * config.make.in (build-hardcoded-path-in-tests): New variable.
69589 * configure.in (--enable-hardcoded-path-in-tests): New configure
69590 option.
69591 (hardcoded_path_in_tests): New AC_SUBST.
69592 * configure: Regenerated.
69593 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69594 $(built-program-cmd) with $(test-program-cmd).
69595 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69596 (test_program_cmd): This.
69597 * elf/Makefile ($(objpfx)order.out): Run test with
69598 $(test-program-prefix).
69599 ($(objpfx)order2.out): Likewise.
69600 ($(objpfx)tst-initorder.out): Likewise.
69601 ($(objpfx)tst-initorder2.out): Likewise.
69602 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69603 $(test-program-cmd).
69604 ($(objpfx)tst-array1-static.out): Likewise.
69605 ($(objpfx)tst-array2.out): Likewise.
69606 ($(objpfx)tst-array3.out): Likewise.
69607 ($(objpfx)tst-array4.out): Likewise.
69608 ($(objpfx)tst-array5.out): Likewise.
69609 ($(objpfx)tst-array5-static.out): Likewise.
69610 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69611 $(test-program-cmd).
69612 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69613 $(run-program-prefix) with $(test-program-prefix).
69614 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69615 (test_program_prefix): This.
69616 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69617 $(run-program-prefix) with $(test-program-prefix).
69618 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69619 (test_program_prefix): This.
69620 * iconvdata/tst-tables.sh: Likewise.
69621 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69622 $(run-program-prefix) with $(test-program-prefix).
69623 ($(objpfx)tst-translit.out): Likewise.
69624 ($(objpfx)tst-gettext2.out): Likewise.
69625 ($(objpfx)tst-gettext4.out): Likewise.
69626 ($(objpfx)tst-gettext6.out): Likewise.
69627 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69628 (test_program_prefix): This.
69629 * intl/tst-gettext2.sh: Likewise.
69630 * intl/tst-gettext4.sh Likewise.
69631 * intl/tst-gettext6.sh: Likewise.
69632 * intl/tst-translit.sh: Likewise.
69633 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69634 with $(test-program-cmd).
69635 * libio/Makefile ($(objpfx)test-freopen.out): Replace
69636 $(run-program-prefix) with $(test-program-prefix).
69637 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69638 (test_program_prefix): This.
69639 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69640 $(run-program-prefix) with $(test-program-prefix).
69641 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69642 (test_program_prefix): This.
69643 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69644 * posix/Makefile ($(objpfx)globtest.out): Replace
69645 $(run-via-rtld-prefix) and $(test-wrapper) with
69646 $(test-program-prefix) and $(test-via-rtld-prefix).
69647 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69648 $(test-program-prefix).
69649 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69650 $(host-test-program-cmd).
69651 (tst-spawn-ARGS): Likewise.
69652 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69653 $(test-program-prefix).
69654 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69655 (test_via_rtld_prefix): This.
69656 (test_wrapper): Renamed to ...
69657 (test_program_prefix): This.
69658 (run_program_prefix): Replaced by test_program_prefix.
69659 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69660 (test_program_prefix): This.
69661 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69662 with $(host-test-program-cmd).
69663 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69664 $(run-program-prefix) with $(test-program-prefix).
69665 ($(objpfx)tst-printf.out): Likewise.
69666 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69667 $(test-program-cmd).
69668 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69669 (test_program_prefix): This.
69670 * stdio-common/tst-unbputc.sh: Likewise.
69671 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69672 $(run-program-prefix) with $(test-program-prefix).
69673 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69674 (test_program_prefix): This.
69675 * string/Makefile ($(objpfx)tst-svc.out): Replace
69676 $(built-program-cmd) with $(test-program-cmd).
69677
69678 2013-01-11 Andreas Jaeger <aj@suse.de>
69679
69680 [BZ #15003]
69681 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69682 value. Sync with Linux 3.7.
69683
69684 2013-01-10 David S. Miller <davem@davemloft.net>
69685
69686 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69689
69690 2013-01-10 Roland McGrath <roland@hack.frob.com>
69691
69692 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69693 never set.
69694 * configure: Regenerated.
69695
69696 2013-01-10 David S. Miller <davem@davemloft.net>
69697
69698 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69699 sparc V9 rather than using V8 code.
69700 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69701 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69702
69703 2013-01-10 Roland McGrath <roland@hack.frob.com>
69704
69705 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69706 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69707 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69708 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69709 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69710 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69711 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69712 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69713 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69714 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69715 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69716 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69717 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69718 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69719 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69720 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69721 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69722 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69723 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69724 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69725 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69726 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69727 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69728 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69729 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69730 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69731 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69732
69733 2013-01-10 David S. Miller <davem@davemloft.net>
69734
69735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69736
69737 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
69738
69739 * posix/Makefile (tests-static): New variable.
69740 (tests): Add $(tests-static).
69741 (tst-exec-static-ARGS): New variable.
69742 (tst-spawn-static-ARGS): Likewise.
69743 * posix/tst-exec-static.c: New file.
69744 * posix/tst-spawn-static.c: Likewise.
69745 * posix/tst-exec.c: Support run directly.
69746 * posix/tst-spawn.c: Likewise.
69747
69748 2013-01-10 Joseph Myers <joseph@codesourcery.com>
69749
69750 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69751 long.
69752 * math/bits/mathcalls.h (llrint): Likewise.
69753 (llround): Likewise.
69754 * stdlib/stdlib.h (struct drand48_data): Likewise.
69755 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69756 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69757 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69758 Likewise.
69759 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69760 Likewise.
69761 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69762 (elf_greg_t): Likewise.
69763 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69764 (__jmp_buf): Likewise.
69765 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69766 definitions.
69767 (llrint): Likewise, for all definitions.
69768 (llrintl): Likewise.
69769
69770 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69771 Remove [__GNUC__] condition.
69772 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69773 condition to just [__USE_ISOC99].
69774 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69775
69776 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
69777
69778 [BZ #14200]
69779 * sysdeps/unix/sysv/linux/x86/bits/environments.h
69780 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69781 defined.
69782 (_POSIX_V6_ILP32_OFF32): Likewise.
69783 (_XBS5_ILP32_OFF32): Likewise.
69784 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69785 (__ILP32_OFFBIG_LDFLAGS): Likewise.
69786
69787 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
69788
69789 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69790
69791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69792 doubles __mpexp_twomm1. Adjust usage.
69793 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69794 Remove.
69795
69796 2013-01-10 Andreas Schwab <schwab@suse.de>
69797
69798 [BZ #14964]
69799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69800 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69801
69802 2013-01-09 David S. Miller <davem@davemloft.net>
69803
69804 [BZ #15003]
69805 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69806 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69807 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69808 (TCP_FASTOPEN): Define.
69809 (tcp_repair_opt): New structure.
69810 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69811 enum values.
69812 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69813 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69814 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69815 (tcp_cookie_transactions): New structure.
69816
69817 2013-01-09 Anton Blanchard <anton@samba.org>
69818
69819 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69820 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69821 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69822 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69823
69824 2013-01-09 Joseph Myers <joseph@codesourcery.com>
69825
69826 * include/features.h (__USE_ANSI): Remove.
69827
69828 2013-01-09 Roland McGrath <roland@hack.frob.com>
69829
69830 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69831
69832 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69833
69834 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
69835
69836 * sysdeps/s390/fpu/libm-test-ulps: Update.
69837
69838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69839
69840 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69841 (__acr): Likewise.
69842 (__cpy): Likewise.
69843 (norm): Likewise.
69844 (denorm): Likewise.
69845 (__mp_dbl): Likewise.
69846 (__dbl_mp): Likewise.
69847 (add_magnitudes): Likewise.
69848 (sub_magnitudes): Likewise.
69849 (__add): Likewise.
69850 (__sub): Likewise.
69851 (__mul): Likewise.
69852 (__inv): Likewise.
69853 (__dvd): Likewise.
69854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69855 (__acr): Likewise.
69856 (__cpy): Likewise.
69857 (norm): Likewise.
69858 (denorm): Likewise.
69859 (__mp_dbl): Likewise.
69860 (__dbl_mp): Likewise.
69861 (add_magnitudes): Likewise.
69862 (sub_magnitudes): Likewise.
69863 (__add): Likewise.
69864 (__sub): Likewise.
69865 (__mul): Likewise.
69866 (__inv): Likewise.
69867 (__dvd): Likewise.
69868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69869 (__acr): Likewise.
69870 (__cpy): Likewise.
69871 (norm): Likewise.
69872 (denorm): Likewise.
69873 (__mp_dbl): Likewise.
69874 (__dbl_mp): Likewise.
69875 (add_magnitudes): Likewise.
69876 (sub_magnitudes): Likewise.
69877 (__add): Likewise.
69878 (__sub): Likewise.
69879 (__mul): Likewise.
69880 (__inv): Likewise.
69881 (__dvd): Likewise.
69882
69883 2013-01-08 Joseph Myers <joseph@codesourcery.com>
69884
69885 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69886 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69887 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69888 2 && __USE_EXTERN_INLINES]: Likewise.
69889
69890 2013-01-08 Andreas Jaeger <aj@suse.de>
69891
69892 [BZ #14985]
69893 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69894 Remove.
69895 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69896 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69897
69898 2013-01-07 Anton Blanchard <anton@samba.org>
69899
69900 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69901 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69902 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69903 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69904 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69905 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69906 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69907 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69910 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69911 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69912 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69914 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69917 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69918 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69919 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69920 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69921 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69923 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69924 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69925 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69926 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69927 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69929 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69930 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69932 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69933 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69934 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69935 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69936 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69938 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69941 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69942 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69943
69944 2013-01-07 Joseph Myers <joseph@codesourcery.com>
69945
69946 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69947 (__MALLOC_PMT): Likewise.
69948 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69949 [__GNUC__], only on [_LIBC].
69950 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69951 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69952 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69953 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69954 forward declaration.
69955 (realloc_hook_ini): Likewise.
69956 (memalign_hook_ini): Likewise.
69957 (__libc_memalign): Do not use __MALLOC_PMT in variable
69958 declaration.
69959 (__libc_valloc): Likewise.
69960 (__libc_pvalloc): Likewise.
69961 (__libc_calloc): Likewise.
69962 (__posix_memalign): Likewise.
69963
69964 [BZ #14996]
69965 * math/s_casinh.c: Include <float.h>.
69966 (__casinh): Do not do computation with squaring and square root
69967 for large arguments.
69968 * math/s_casinhf.c: Include <float.h>.
69969 (__casinhf): Do not do computation with squaring and square root
69970 for large arguments.
69971 * math/s_casinhl.c: Include <float.h>.
69972 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69973 (__casinhl): Do not do computation with squaring and square root
69974 for large arguments.
69975 * math/libm-test.inc (casin_test): Add more tests.
69976 (casinh_test): Likewise.
69977 * sysdeps/i386/fpu/libm-test-ulps: Update.
69978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69979
69980 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
69981
69982 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69983 (__x86_64_raw_data_cache_size): Likewise.
69984 (__x86_64_data_cache_size_half): Likewise.
69985 (__x86_64_raw_data_cache_size_half): Likewise.
69986 (__x86_64_shared_cache_size): Likewise.
69987 (__x86_64_raw_shared_cache_size): Likewise.
69988 (__x86_64_shared_cache_size_half): Likewise.
69989 (__x86_64_raw_shared_cache_size_half): Likewise.
69990 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69991 to ...
69992 (__x86_data_cache_size): This.
69993 (__x86_64_raw_data_cache_size): Renamed to ...
69994 (__x86_raw_data_cache_size): This.
69995 (__x86_64_data_cache_size_half): Renamed to ...
69996 (__x86_data_cache_size_half): This.
69997 (__x86_64_raw_data_cache_size_half): Renamed to ...
69998 (__x86_raw_data_cache_size_half): This.
69999 (__x86_64_shared_cache_size): Renamed to ...
70000 (__x86_shared_cache_size): This.
70001 (__x86_64_raw_shared_cache_size): Renamed to ...
70002 (__x86_raw_shared_cache_size): This.
70003 (__x86_64_shared_cache_size_half): Renamed to ...
70004 (__x86_shared_cache_size_half): This.
70005 (__x86_64_raw_shared_cache_size_half): Renamed to ...
70006 (__x86_raw_shared_cache_size_half): This.
70007 * sysdeps/x86_64/memcpy.S: Updated.
70008 * sysdeps/x86_64/memset.S: Likewise.
70009 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
70010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70012
70013 2013-01-04 David S. Miller <davem@davemloft.net>
70014
70015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70016
70017 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
70018
70019 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
70020 1 to avoid redefinition warning.
70021 (__USE_GNU): Don't define.
70022 (init_signaling_nan): Protoize.
70023
70024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70025
70026 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
70027
70028 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
70029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
70030 (__cpymn): Likewise.
70031 (norm): Remove commented code.
70032 (denorm): Likewise.
70033 (__mp_dbl): Likewise.
70034 (__inv): Likewise.
70035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
70036 (__cpymn): Likewise.
70037 (norm): Remove commented code.
70038 (denorm): Likewise.
70039 (__mp_dbl): Likewise.
70040 (__inv): Likewise.
70041
70042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
70043 mp_no value for 1.0 and 2.0.
70044 (norm): Use RADIXI instead of radixi.d.
70045 (denorm): Likewise.
70046 (__mul): Use 0.0 instead of zero.d.
70047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
70048 mp_no value for 1.0 and 2.0.
70049 (norm): Use RADIXI instead of radixi.d.
70050 (denorm): Likewise.
70051 (__mul): Use 0.0 instead of zero.d.
70052
70053 2013-01-04 Joseph Myers <joseph@codesourcery.com>
70054
70055 [BZ #14994]
70056 * math/s_casinh.c (__casinh): Reduce finite argument to first
70057 quadrant then set signs of results at the end.
70058 * math/s_casinhf.c (__casinhf): Likewise.
70059 * math/s_casinhl.c (__casinhl): Likewise.
70060 * math/libm-test.inc (casin_test): Add more tests.
70061 (casinh_test): Likewise.
70062 * sysdeps/i386/fpu/libm-test-ulps: Update.
70063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70064
70065 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
70066
70067 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
70068
70069 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
70070
70071 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
70072 declarations.
70073 (denorm): Likewise.
70074 (__mp_dbl): Likewise.
70075 (__inv): Likewise.
70076
70077 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
70078 and adjust the header comment.
70079
70080 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
70081 variable name from declaration.
70082
70083 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
70084
70085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70086 Initialize COMMON_CPUID_INDEX_7 element.
70087 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
70088 (CPUID_RTM): Likewise.
70089 (HAS_RTM): Likewise.
70090 (COMMON_CPUID_INDEX_7): New enum.
70091
70092 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
70093
70094 [BZ #14981]
70095 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
70096 size is zero, record memory as freed.
70097
70098 2013-01-03 Andreas Jaeger <aj@suse.de>
70099
70100 * po/ia.po: Add new Interlingua translation.
70101
70102 2012-01-03 Allan McRae <allan@archlinux.org>
70103
70104 * locale/programs/localedef.c: Fix description of '--posix' flag.
70105
70106 2013-01-02 Joseph Myers <joseph@codesourcery.com>
70107
70108 * NEWS: Update dates in second copyright notice.
70109 * README: Update copyright dates in example.
70110 * manual/libc.texinfo: Update copyright dates.
70111 * scripts/test-installation.pl: Update copyright date in --version
70112 output.
70113
70114 * hurd/ctty-input.c: Fix copyright notice formatting.
70115 * hurd/ctty-output.c: Likewise.
70116 * hurd/dtable.c: Likewise.
70117 * hurd/hurd-raise.c: Likewise.
70118 * hurd/hurdprio.c: Likewise.
70119 * hurd/msgportdemux.c: Likewise.
70120 * misc/sys/file.h: Likewise.
70121 * misc/sys/ioctl.h: Likewise.
70122 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
70123 * sysdeps/mach/hurd/chdir.c: Likewise.
70124 * sysdeps/mach/hurd/fchdir.c: Likewise.
70125 * sysdeps/mach/hurd/rename.c: Likewise.
70126 * sysdeps/mach/hurd/rmdir.c: Likewise.
70127 * sysdeps/mach/hurd/seekdir.c: Likewise.
70128 * sysdeps/mach/hurd/setsid.c: Likewise.
70129 * sysdeps/posix/wait3.c: Likewise.
70130
70131 * All files with FSF copyright notices: Update copyright dates
70132 using scripts/update-copyrights.
70133 * intl/plural.c: Regenerated.
70134 * locale/programs/charmap-kw.h: Likewise.
70135 * locale/programs/locfile-kw.h: Likewise.
70136
70137 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
70138
70139 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
70140 four values.
70141
70142 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
70143 calculation loop and add branch prediction.
70144
70145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
70146 check access beyond bounds of m1np.
70147
70148 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70149 MPTWO.
70150 (__inv): Remove local variable MPTWO to use the global
70151 constant.
70152 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
70153 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70154 variable MPTWO.
70155 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
70156 MP3HALFS static const.
70157
70158 2013-01-01 David S. Miller <davem@davemloft.net>
70159
70160 * po/ca.po: Update from translation team.
70161
70162 2013-01-01 Joseph Myers <joseph@codesourcery.com>
70163
70164 * scripts/update-copyrights: New file.
70165 * Makeconfig: Reformat copyright notice.
70166 * ctype/ctype.h: Likewise.
70167 * debug/swprintf_chk.c: Likewise.
70168 * elf/dl-cache.c: Likewise.
70169 * elf/dl-debug.c: Likewise.
70170 * elf/dl-object.c: Likewise.
70171 * grp/initgroups.c: Likewise.
70172 * hurd/Makefile: Likewise.
70173 * hurd/hurd/signal.h: Likewise.
70174 * hurd/hurdfault.c: Likewise.
70175 * hurd/hurdioctl.c: Likewise.
70176 * hurd/hurdlookup.c: Likewise.
70177 * hurd/intr-msg.c: Likewise.
70178 * iconv/gconv_open.c: Likewise.
70179 * libio/swprintf.c: Likewise.
70180 * locale/lc-ctype.c: Likewise.
70181 * locale/nl_langinfo.c: Likewise.
70182 * mach/Machrules: Likewise.
70183 * mach/Makefile: Likewise.
70184 * malloc/obstack.h: Likewise.
70185 * manual/Makefile: Likewise.
70186 * manual/tsort.awk: Likewise.
70187 * misc/bits/stab.def: Likewise.
70188 * nis/nis_print_group_entry.c: Likewise.
70189 * nis/nis_table.c: Likewise.
70190 * nis/nss_compat/compat-pwd.c: Likewise.
70191 * nis/nss_compat/compat-spwd.c: Likewise.
70192 * po/Makefile: Likewise.
70193 * posix/fnmatch.c: Likewise.
70194 * posix/regex.h: Likewise.
70195 * resolv/Makefile: Likewise.
70196 * resolv/nss_dns/dns-network.c: Likewise.
70197 * resolv/res_hconf.c: Likewise.
70198 * scripts/gen-sorted.awk: Likewise.
70199 * soft-fp/soft-fp.h: Likewise.
70200 * stdio-common/printf.h: Likewise.
70201 * stdlib/monetary.h: Likewise.
70202 * stdlib/random.c: Likewise.
70203 * stdlib/random_r.c: Likewise.
70204 * sysdeps/generic/Makefile: Likewise.
70205 * sysdeps/gnu/Makefile: Likewise.
70206 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70210 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70214 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70216 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70217 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70218 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70219 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70220 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70222 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70223 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70224 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70226 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70227 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70228 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70229 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70230 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70231 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70232 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70233 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70234 * sysdeps/mach/hurd/errnos.awk: Likewise.
70235 * sysdeps/mach/hurd/fork.c: Likewise.
70236 * sysdeps/mach/hurd/getcwd.c: Likewise.
70237 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70238 * sysdeps/mach/hurd/mmap.c: Likewise.
70239 * sysdeps/mach/hurd/utimes.c: Likewise.
70240 * sysdeps/mach/hurd/xmknod.c: Likewise.
70241 * sysdeps/posix/profil.c: Likewise.
70242 * sysdeps/posix/readdir_r.c: Likewise.
70243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
70244 * sysdeps/powerpc/bits/setjmp.h: Likewise.
70245 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70246 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70248 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70249 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70250 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70254 * sysdeps/pthread/lio_listio.c: Likewise.
70255 * sysdeps/sparc/dl-procinfo.h: Likewise.
70256 * sysdeps/unix/i386/sysdep.S: Likewise.
70257 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70258 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70259 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70260 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70262 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70263 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70264 * sysdeps/unix/sysv/linux/speed.c: Likewise.
70265 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70266 * sysdeps/wordsize-32/divdi3.c: Likewise.
70267 * time/sys/time.h: Likewise.
70268 * wcsmbs/Makefile: Likewise.
70269
70270 2013-01-01 David S. Miller <davem@davemloft.net>
70271
70272 * po/fr.po: Update from translation team.
70273
70274 * catgets/gencat.c: Update copyright year.
70275 * csu/version.c: Likewise.
70276 * debug/catchsegv.sh: Likewise.
70277 * debug/pcprofiledump.c: Likewise.
70278 * debug/xtrace.sh: Likewise.
70279 * elf/ldconfig.c: Likewise.
70280 * elf/ldd.bash.in: Likewise.
70281 * elf/pldd.c: Likewise.
70282 * elf/sotruss.ksh: Likewise.
70283 * elf/sprof.c: Likewise.
70284 * iconv/iconv_prog.c: Likewise.
70285 * iconv/iconvconfig.c: Likewise.
70286 * locale/programs/locale.c: Likewise.
70287 * locale/programs/localedef.c: Likewise.
70288 * login/programs/pt_chown.c: Likewise.
70289 * malloc/memusage.sh: Likewise.
70290 * malloc/memusagestat.c: Likewise.
70291 * malloc/mtrace.pl: Likewise.
70292 * nscd/nscd.c: Likewise.
70293 * nss/getent.c: Likewise.
70294 * nss/makedb.c: Likewise.
70295 * posix/getconf.c: Likewise.
70296
70297 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
70298
70299 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70300 numbers.
70301
70302 2012-12-30 Mike Frysinger <vapier@gentoo.org>
70303
70304 * math/bits/mathcalls.h (modf): Use __nonnull.
70305
70306 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
70307
70308 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70309 (split): Use macro CN instead of the bare value.
70310 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70311 could be used.
70312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70313 instead of the bare value.
70314 (power1): Likewise.
70315
70316 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70317
70318 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70319 __ATAN_TWOM.
70320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70321
70322 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70323 their values.
70324 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70325 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70326 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70327 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70328
70329 2012-12-28 Andreas Jaeger <aj@suse.de>
70330
70331 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
70332 values are from Linux 3.7.
70333
70334 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70335 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
70336
70337 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70338
70339 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70340 TRUE case.
70341
70342 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70343 (norm): Likewise.
70344 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70345 variables with preprocessor constants.
70346 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70347 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70348 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70349
70350 2012-12-27 Bruno Haible <bruno@clisp.org>
70351
70352 [BZ #14317]
70353 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70354 only if needed.
70355
70356 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70357
70358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70359 and use variable directly.
70360 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70361
70362 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70363 MPONE.
70364 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70366 variable MPONE.
70367 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70369 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70370 include directive. Remove local variable MPONE.
70371 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70372 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70373 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70374
70375 2012-12-25 David S. Miller <davem@davemloft.net>
70376
70377 * version.h (RELEASE): Set to "development".
70378 (VERSION): Set to "2.17.90".
70379 * NEWS: Add 2.18 section.
70380
70381 2012-12-21 David S. Miller <davem@davemloft.net>
70382
70383 * po/hr.po: Update from translation team.
70384
70385 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70386
70387 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70388
70389 2012-12-19 Steve Ellcey <sellcey@mips.com>
70390
70391 * NEWS: Mention new memcpy for MIPS.
70392
70393 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
70394
70395 * manual/contrib.texi (Contributors): Spelling correction.
70396
70397 2012-12-15 David S. Miller <davem@davemloft.net>
70398
70399 * po/ru.po: Update from translation team.
70400
70401 2012-12-13 David S. Miller <davem@davemloft.net>
70402
70403 * NEWS: Mention IFUNC testsuite enhancements.
70404
70405 * po/pl.po: Update from translation team.
70406 * po/bg.po: Likewise.
70407
70408 * manual/contrib.texi (Contributors): Update entries for Hongjiu
70409 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
70410
70411 2012-12-11 David S. Miller <davem@davemloft.net>
70412
70413 * po/sv.po: Update from translation team.
70414
70415 * po/vi.po: Update from translation team.
70416
70417 * po/cs.po: Update from translation team.
70418
70419 * po/de.po: Update from translation team.
70420 * po/eo.po: Likewise.
70421 * po/nl.po: Likewise.
70422
70423 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
70424
70425 [BZ #14246]
70426 * manual/argp.texi (Argp Helper Functions): Move node to follow
70427 Argp Parsing State.
70428
70429 [BZ #14872]
70430 * manual/conf.texi (Limits on File System Capacity): Mention if
70431 terminating null is included in the max size.
70432
70433 2012-12-10 Andreas Jaeger <aj@suse.de>
70434
70435 * po/cs.po: Update from translation team.
70436
70437 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
70438
70439 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
70440 void pointer and cast to uintptr_t.
70441 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
70442 path.
70443 * sysdeps/s390/s390-64/memcpy.S: Likewise.
70444 * sysdeps/s390/s390-64/memset.S: Likewise.
70445
70446 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
70447
70448 [BZ #14833]
70449 * menual/message.texi (Message Translation): Fix typos.
70450 (Helper programs for gettext): Likewise.
70451
70452 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
70453
70454 [BZ #14898]
70455 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
70456 Change to -1.
70457
70458 2012-12-07 David S. Miller <davem@davemloft.net>
70459
70460 * po/libc.pot: Update.
70461
70462 2012-12-07 Richard Henderson <rth@redhat.com>
70463
70464 [BZ #10114]
70465 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
70466 normal/normal case to before the switch.
70467 (_FP_DIV): Likewise.
70468
70469 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
70470 Mike Frysinger <vapier@gentoo.org>
70471
70472 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
70473 check for __NR_fadvise64_64.
70474
70475 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
70476
70477 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
70478 0, not just to plain "0" as a statement.
70479 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
70480 with cw.
70481
70482 2012-12-06 Joseph Myers <joseph@codesourcery.com>
70483
70484 * NEWS: Use sourceware.org in Bugzilla URL.
70485
70486 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
70487
70488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
70489 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70490
70491 * stdio-common/tst-put-error.c (do_test): Add newline to the
70492 padded test to ensure flush.
70493
70494 2012-12-05 Jeff Law <law@redhat.com>
70495
70496 * sunrpc/etc.rpc (fedfs_admin): Add entry.
70497
70498 2012-12-05 Joseph Myers <joseph@codesourcery.com>
70499
70500 * README: Don't refer to ports add-on as distributed separately.
70501 Mention AArch64 in list of systems supported in the ports add-on.
70502
70503 * LICENSES: Add more non-FSF copyright and license notices.
70504
70505 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
70506 ((unused)).
70507
70508 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
70509
70510 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
70511 10000 as width of padded output.
70512
70513 2012-12-04 Joseph Myers <joseph@codesourcery.com>
70514
70515 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
70516
70517 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
70518 variable LX with __attribute__ ((unused)).
70519 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
70520 Likewise.
70521 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
70522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70523 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
70524 with __attribute__ ((unused)).
70525
70526 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
70527
70528 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
70529
70530 2012-12-04 Joseph Myers <joseph@codesourcery.com>
70531
70532 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
70533 (CFLAGS-nldbl-acos.c): New variable.
70534 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
70535 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
70536 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
70537 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
70538 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70539 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70540 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70541 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70542 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70543 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70544 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70545 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70546 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70547 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70548 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70549 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70550 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70551 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70552 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70553 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70554 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70555 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70556 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70557 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70558 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70559 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70560 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70561 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70562 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70563 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70564 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70565 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70566 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70567 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70568 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70569 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70570 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70571 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70572 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70573 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70574 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70575 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70576 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70577 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70578 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70579 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70580 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70581 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70582 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70583 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70584 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70585 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70586 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70587 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70588 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70589 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70590 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70591 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70592 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70593 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70594 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70595 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70596 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70597 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70598 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70599 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70600 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70601 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70602 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70603 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70604 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70605 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70606 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70607 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70608 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70609 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70610 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70611 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70612 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70613 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70614 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70615 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70616 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70617 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70618 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70619 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70620 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70621 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70622 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70623 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70624 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70625 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70626 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70627 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70628 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70629 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70630 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70631
70632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70633 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70634
70635 [BZ #14914]
70636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70637 whole low double instead of just low 47 bits when splitting values
70638 into two parts.
70639
70640 2012-12-03 Allan McRae <allan@archlinux.org>
70641
70642 * manual/stdio.texi (Predefined Printf Handlers): Remove
70643 @hsep and @vsep usage.
70644
70645 2012-12-03 Mike Frysinger <vapier@gentoo.org>
70646
70647 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70648 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70649
70650 2012-12-03 Jeff Law <law@redhat.com>
70651
70652 * time/sys/time.h (settimeofday): Do not mark TV argument
70653 as __nonnull.
70654
70655 2012-12-01 Mike Frysinger <vapier@gentoo.org>
70656
70657 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70658 when currently writing and seek to current position when not.
70659 * libio/Makefile (tests): Remove bug-fclose1.
70660 * libio/bug-fclose1.c: Delete.
70661
70662 2012-12-01 Joseph Myers <joseph@codesourcery.com>
70663
70664 * manual/arith.texi (feenableexcept): Fix typo.
70665 (fedisableexcept): Likewise.
70666
70667 2012-11-30 Roland McGrath <roland@hack.frob.com>
70668
70669 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70670 second, differently-typed declaration, rather than a cast.
70671
70672 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
70673
70674 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70675 * include/rpc/svc.h: ... here.
70676
70677 2012-11-30 Aurelien Jarno <aurel32@debian.org>
70678
70679 [BZ #13013]
70680 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70681 depending n and resplen2 to catch cases where answer
70682 equals answerp2.
70683
70684 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
70685
70686 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70687 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70688
70689 2012-11-29 Mike Frysinger <vapier@gentoo.org>
70690
70691 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70692
70693 2012-11-29 Roland McGrath <roland@hack.frob.com>
70694
70695 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70696
70697 2012-11-28 Jeff Law <law@redhat.com>
70698
70699 [BZ #13761]
70700 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70701 dataset_temporary. Track alloca usage into alloca_used.
70702 If dataset is large allocate and release it via malloc/free.
70703
70704 2012-06-04 Florian Weimer <fweimer@redhat.com>
70705
70706 [BZ #14197]
70707 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70708
70709 2012-11-28 David S. Miller <davem@davemloft.net>
70710
70711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70712
70713 2012-11-28 Joseph Myers <joseph@codesourcery.com>
70714
70715 [BZ #14803]
70716 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70717 of pi/2 rounded to nearest to 64 bits.
70718 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70719 nearest to 64 bits.
70720 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70721 bits.
70722
70723 2012-11-28 Jeff Law <law@redhat.com>
70724 Martin Osvald <mosvald@redhat.com>
70725
70726 [BZ #14889]
70727 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70728 * sunrpc/svc.c: Include time.h.
70729 (__svc_accept_failed): New function.
70730 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70731 any reason other than EINTR, call __svc_accept_failed.
70732 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70733 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70734
70735 2012-11-28 Andreas Schwab <schwab@suse.de>
70736
70737 * scripts/abilist.awk: Also handle indirect functions in .opd
70738 section.
70739
70740 2012-11-28 Joseph Myers <joseph@codesourcery.com>
70741
70742 [BZ #13881]
70743 * sysdeps/x86/fpu/powl_helper.c: New file.
70744 * sysdeps/x86/fpu/Makefile: Likewise.
70745 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70746 (p3): New object.
70747 (__ieee754_powl): Use __powl_helper for finite arguments except
70748 integer exponents below 8.
70749 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70750 (p3): New object.
70751 (__ieee754_powl): Use __powl_helper for finite arguments except
70752 integer exponents below 8.
70753 * math/libm-test.inc (pow_test): Add more tests and enable some
70754 previously disabled tests.
70755 * sysdeps/i386/fpu/libm-test-ulps: Update.
70756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70757
70758 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70759 Carlos O'Donell <carlos_odonell@mentor.com>
70760
70761 * nss/makedb.c (is_prime): Assert that input is odd and greater
70762 than 4. Note that fact in a comment too.
70763 (next_prime): Add 4 to input.
70764
70765 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70766
70767 [BZ #11741]
70768 * libio/Makefile (tests): Add test case tst-fwrite-error.
70769 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70770 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70771 * libio/tst-fwrite-error.c: New test case.
70772
70773 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
70774
70775 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70776 before casting to void *.
70777 * include/libc-internal.h (__pointer_type): New macro.
70778 (__integer_if_pointer_type_sub): Likewise.
70779 (__integer_if_pointer_type): Likewise.
70780 (cast_to_integer): Likewise.
70781 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70782 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70783 before casting to atomic64_t.
70784 (atomic_exchange_acq): Likewise.
70785 (__arch_exchange_and_add_body): Likewise.
70786 (__arch_add_body): Likewise.
70787 (atomic_add_negative): Likewise.
70788 (atomic_add_zero): Likewise.
70789
70790 2012-11-26 Joseph Myers <joseph@codesourcery.com>
70791
70792 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70793 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70794 (add_fdes): Likewise.
70795 (linear_search_fdes): Likewise.
70796 (binary_search_unencoded_fdes): Likewise.
70797
70798 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
70799
70800 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70801
70802 2012-11-24 Adam Conrad <adconrad@0c3.net>
70803
70804 * configure.in: Autodetect C++ header directories.
70805 * configure: Regenerated.
70806
70807 2012-11-23 Mike Frysinger <vapier@gentoo.org>
70808
70809 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70810
70811 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
70812
70813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70814
70815 2012-11-22 Joseph Myers <joseph@codesourcery.com>
70816
70817 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70818 LDBL_MANT_DIG == 106]: Disable some tests.
70819 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70820 Likewise.
70821 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70822 Likewise.
70823
70824 [BZ #14871]
70825 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70826 input for small inputs. Return +/- pi/2 for large inputs.
70827 * math/libm-test.inc (atan_test): Add more tests.
70828
70829 * sysdeps/generic/unwind-dw2-fde-glibc.c
70830 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70831 __attribute__ ((unused)).
70832
70833 [BZ #14645]
70834 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70835 x * y if x and y are nonzero and z is zero.
70836
70837 [BZ #14811]
70838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70839 nonzero exponents with absolute value below 0x1p-117 to +/-
70840 0x1p-117.
70841
70842 [BZ #14869]
70843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70844 up arguments below 2**-450, not just those below 2**-500.
70845 * math/libm-test.inc (hypot_test): Add another test.
70846
70847 [BZ #14868]
70848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70849 Return a+b for ratio over 2**120, not 2**60.
70850 * math/libm-test.inc (hypot_test): Add another test.
70851
70852 * math/libm-test.inc (clog_test): Use
70853 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70854 (clog10_test): Likewise.
70855
70856 [BZ #6778]
70857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70858
70859 2012-11-22 Andreas Schwab <schwab@suse.de>
70860
70861 * sysdeps/i386/fpu/libm-test-ulps: Update.
70862
70863 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
70864
70865 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70866 printf output with newline.
70867
70868 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
70869
70870 [BZ #14865]
70871 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70872 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70873 -z nodlopen, -z initfirst and -z execstack support.
70874 * configure: Regenerated.
70875
70876 * elf/elf.h (DF_1_NODIRECT): New macro.
70877 (DF_1_IGNMULDEF): Likewise.
70878 (DF_1_NOKSYMS): Likewise.
70879 (DF_1_NOHDR): Likewise.
70880 (DF_1_EDITED): Likewise.
70881 (DF_1_NORELOC): Likewise.
70882 (DF_1_SYMINTPOSE): Likewise.
70883 (DF_1_GLOBAUDIT): Likewise.
70884 (DF_1_SINGLETON): Likewise.
70885 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70886 DT_1_SUPPORTED_MASK bits.
70887 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70888
70889 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
70890
70891 * sysdeps/unix/make-syscalls.sh: Document prefixes.
70892
70893 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
70894
70895 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70896 macro.
70897
70898 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70899 (sendmmsg): Move declarations...
70900 * socket/sys/socket.h: ... here.
70901 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70902 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70903 include it from...
70904 * socket/recvmmsg.c: ... this new file.
70905 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70906 (sendmmsg): Rename to __sendmmsg, create weak alias and make
70907 definition of __sendmmsg hidden.
70908 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70909 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70910 Move ENOSYS stub into and include it from...
70911 * socket/sendmmsg.c: ... this new file.
70912 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70913 (sysdep_routines): Move recvmmsg and sendmmsg...
70914 * socket/Makefile (routines): ... here.
70915 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70916 (GLIBC_PRIVATE): Add __sendmmsg.
70917 * include/sys/socket.h (__sendmmsg): Add declarations.
70918 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70919 sendmmsg.
70920
70921 2012-11-20 Joseph Myers <joseph@codesourcery.com>
70922
70923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70924 variable I1 with __attribute__ ((unused)).
70925 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70926
70927 2012-11-19 Joseph Myers <joseph@codesourcery.com>
70928
70929 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70930 DUMMY variables with __attribute__ ((unused)).
70931
70932 * bits/byteswap.h: Include <bits/types.h>.
70933 (__bswap_64): Use __uint64_t instead of unsigned long long int.
70934
70935 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
70936
70937 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70938 string_t. Do not manually set errno.
70939 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70940 length with __strnlen. Make sure to both set errno and return it on
70941 failure.
70942
70943 2012-11-19 David S. Miller <davem@davemloft.net>
70944
70945 With help from Joseph Myers.
70946 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70947 very large arguments properly.
70948 * math/libm-test.inc (atan_test): New tests.
70949 (atan2_test): New tests.
70950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70952
70953 2012-11-19 Joseph Myers <joseph@codesourcery.com>
70954
70955 [BZ #14856]
70956 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70957 Define to 3.
70958
70959 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70960 [POSIX] (EADDRNOTAVAIL): Likewise.
70961 [POSIX] (EAFNOSUPPORT): Likewise.
70962 [POSIX] (EALREADY): Likewise.
70963 [POSIX] (ECONNABORTED): Likewise.
70964 [POSIX] (ECONNREFUSED): Likewise.
70965 [POSIX] (ECONNRESET): Likewise.
70966 [POSIX] (EDESTADDRREQ): Likewise.
70967 [POSIX] (EDQUOT): Likewise.
70968 [POSIX] (EHOSTUNREACH): Likewise.
70969 [POSIX] (EIDRM): Likewise.
70970 [POSIX] (EISCONN): Likewise.
70971 [POSIX] (ELOOP): Likewise.
70972 [POSIX] (EMULTIHOP): Likewise.
70973 [POSIX] (ENETDOWN): Likewise.
70974 [POSIX] (ENETUNREACH): Likewise.
70975 [POSIX] (ENOBUFS): Likewise.
70976 [POSIX] (ENODATA): Likewise.
70977 [POSIX] (ENOLINK): Likewise.
70978 [POSIX] (ENOMSG): Likewise.
70979 [POSIX] (ENOPROTOOPT): Likewise.
70980 [POSIX] (ENOSR): Likewise.
70981 [POSIX] (ENOSTR): Likewise.
70982 [POSIX] (ENOTCONN): Likewise.
70983 [POSIX] (ENOTSOCK): Likewise.
70984 [POSIX] (EOPNOTSUPP): Likewise.
70985 [POSIX] (EOVERFLOW): Likewise.
70986 [POSIX] (EPROTO): Likewise.
70987 [POSIX] (EPROTONOSUPPORT): Likewise.
70988 [POSIX] (EPROTOTYPE): Likewise.
70989 [POSIX] (ESTALE): Likewise.
70990 [POSIX] (ETIME): Likewise.
70991 [POSIX] (ETXTBSY): Likewise.
70992 [POSIX] (EWOULDBLOCK): Likewise.
70993 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70994 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70995 [POSIX] (SEEK_CUR): Likewise.
70996 [POSIX] (SEEK_END): Likewise.
70997 [POSIX || UNIX98] (mode_t): Do not require.
70998 [POSIX] (off_t): Likewise.
70999 [POSIX] (pid_t): Likewise.
71000 [POSIX] (sys/stat.h): Do not allow header.
71001 [POSIX] (unistd.h): Likewise.
71002 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
71003 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
71004 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
71005 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
71006 require.
71007 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
71008 sigevent): Specify elements.
71009 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
71010 entry.
71011 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
71012 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
71013
71014 * conform/data/cpio.h-data [POSIX]: Disable whole file.
71015 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
71016 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
71017 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
71018 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
71019 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
71020 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
71021 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
71022 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
71023 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
71024 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
71025 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
71026 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
71027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
71028 Likewise.
71029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
71030 Likewise.
71031 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
71032 Likewise.
71033 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
71034 Likewise.
71035 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
71036 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
71037 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
71038 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
71039 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
71040 Specify lower bound on value.
71041 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
71042 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
71043 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
71044 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
71045 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
71046 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
71047 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
71048 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
71049 value.
71050 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
71051 as optional.
71052 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
71053 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
71054 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
71055 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
71056 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
71057 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
71058 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
71059 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
71060 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
71061 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
71062 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
71063 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
71064 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
71065 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
71066 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
71067 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
71068 entry.
71069 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
71070 optional.
71071 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
71072 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
71073 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
71074 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
71075 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
71076 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
71077 Likewise.
71078 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
71079 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
71080 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
71081 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
71082 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
71083 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
71084 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
71085 as optional.
71086 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
71087 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
71088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
71089 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
71090 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
71091 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
71092 specify as optional.
71093 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
71094 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
71095 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
71096 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
71097 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
71098 [XPG3] (NL_LANGMAX): Likewise.
71099 [POSIX || XPG3] (NL_MSGMAX): Likewise.
71100 [POSIX || XPG3] (NL_NMAX): Likewise.
71101 [POSIX || XPG3] (NL_SETMAX): Likewise.
71102 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
71103 [XPG3] (NZERO): Likewise.
71104 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
71105 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
71106 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
71107 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
71108 (REG_ERANGE): Expect.
71109 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
71110 optional-constant.
71111 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
71112 Use (void) in prototype.
71113 [POSIX] (*_t): Allow.
71114 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
71115 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
71116 (WRDE_BADVAL): Expect.
71117
71118 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
71119 expect.
71120 [XPG3 || XPG4] (O_RSYNC): Likewise.
71121 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
71122 Likewise.
71123 [XPG3 || XPG4] (pthread_sigmask): Likewise.
71124 [XPG3 || XPG4] (sigqueue): Likewise.
71125 [XPG3 || XPG4] (sigtimedwait): Likewise.
71126 [XPG3 || XPG4] (sigwaitinfo): Likewise.
71127 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
71128 [XPG3 || XPG4] (vsnprintf): Likewise.
71129 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
71130 Likewise.
71131 [XPG3 || XPG4] (blksize_t): Likewise.
71132 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
71133 Likewise.
71134 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
71135 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
71136 [XPG3 || XPG4] (struct itimerspec): Likewise.
71137 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
71138 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
71139 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
71140 [XPG3 || XPG4] (clockid_t): Likewise.
71141 [XPG3 || XPG4] (timer_t): Likewise.
71142 [XPG3 || XPG4] (clock_getres): Likewise.
71143 [XPG3 || XPG4] (clock_gettime): Likewise.
71144 [XPG3 || XPG4] (clock_settime): Likewise.
71145 [XPG3 || XPG4] (nanosleep): Likewise.
71146 [XPG3 || XPG4] (timer_create): Likewise.
71147 [XPG3 || XPG4] (timer_delete): Likewise.
71148 [XPG3 || XPG4] (timer_gettime): Likewise.
71149 [XPG3 || XPG4] (timer_getoverrun): Likewise.
71150 [XPG3 || XPG4] (timer_settime): Likewise.
71151 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
71152 [XPG3 || XPG4] (getlogin_r): Likewise.
71153 [XPG3 || XPG4] (pread): Likewise.
71154 [XPG3 || XPG4] (pthread_atfork): Likewise.
71155 [XPG3 || XPG4] (pwrite): Likewise.
71156
71157 [BZ #14835]
71158 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
71159 <bits/siginfo.h>.
71160
71161 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
71162
71163 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
71164 finalizing MALLSTREAM.
71165
71166 * sysdeps/mach/hurd/syncfs.c: New file.
71167
71168 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
71169
71170 [BZ #14719]
71171 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
71172 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
71173 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
71174 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
71175 (_nss_dns_gethostbyname4_r): Likewise.
71176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
71177 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
71178
71179 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
71180
71181 [BZ #13763]
71182 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
71183
71184 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
71185
71186 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
71187 * elf/cache.c (print_entry): Print ",AArch64" for
71188 FLAG_AARCH64_LIB64
71189
71190 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
71191 * elf/cache.c (print_entry): Print ",hard-float" for
71192 FLAG_ARM_LIBHF.
71193
71194 2012-11-18 David S. Miller <davem@davemloft.net>
71195
71196 With help from Joseph Myers.
71197 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
71198 cutoff to 2**-13.
71199 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
71200 cutoff to 2**-25.
71201 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
71202 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
71203 small.
71204 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
71205 * math/libm-test.inc (y0_test): New tests.
71206 (y1_test): New tests.
71207 * sysdeps/i386/fpu/libm-test-ulps: Update.
71208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71210
71211 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
71212
71213 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71214 64-bit targets.
71215 * configure: Regenerated.
71216
71217 2012-11-17 David S. Miller <davem@davemloft.net>
71218
71219 [BZ #14811]
71220 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71221 nonzero exponents with absolute value below 0x1p-128 to +/-
71222 0x1p-128.
71223
71224 2012-11-17 Joseph Myers <joseph@codesourcery.com>
71225
71226 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71227
71228 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71229
71230 * posix/getconf-speclist.c: New file.
71231 * posix/posix-envs.def: Likewise.
71232 * posix/confstr.c (START_ENV_GROUP): New macro.
71233 (END_ENV_GROUP): Likewise.
71234 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71235 (KNOWN_PRESENT_ENV_STRING): Likewise.
71236 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71237 (UNKNOWN_ENVIRONMENT): Likewise.
71238 (confstr): Include posix-envs.def instead of handling
71239 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71240 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71241 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71242 (END_ENV_GROUP): Likewise.
71243 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71244 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71245 (UNKNOWN_ENVIRONMENT): Likewise.
71246 (__sysconf): Include posix-envs.def instead of handling associated
71247 cases directly here.
71248 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71249 preprocessing getconf-speclist.c rather than running getconf or
71250 generating empty file.
71251
71252 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
71253
71254 * scripts/check-local-headers.sh: Ignore 'mach' headers.
71255
71256 2012-11-16 Andrej Lajovic <natrij@gmail.com>
71257
71258 [BZ #14672]
71259 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71260
71261 2012-11-16 David S. Miller <davem@davemloft.net>
71262
71263 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71264 smaller than LDBL_EPSILON/2.0L, just return xm1.
71265
71266 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
71267
71268 * elf/tst-array1.c (init): Set constructor priority to 1000.
71269 (fini): Set destructor priority to 1000.
71270 * elf/tst-array2dep.c: Likewise.
71271
71272 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71273
71274 [BZ #11741]
71275 * libio/fileops.c (_IO_new_file_write): Correctly return error.
71276 (_IO_new_file_xsputn): Also return EOF if none of the input
71277 data was written when overflow failed.
71278 * libio/iopadn.c (_IO_padn): Likewise.
71279 * libio/iowpadn.c (_IO_wpadn): Likewise.
71280 * stdio-common/tst-put-error.c: Add copyright notice.
71281 (do_test): Add case for printing padded string.
71282 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71283 _IO_padn returned error.
71284 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71285 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71286 return EOF.
71287
71288 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71289
71290 * libio/libioP.h: Add comment note that the references to C++
71291 bits are now obsolete.
71292
71293 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
71294
71295 * math/libm-test.inc (check_complex): Use asprintf.
71296
71297 2012-11-14 Joseph Myers <joseph@codesourcery.com>
71298
71299 * debug/pcprofiledump.c (print_version): Update copyright year.
71300 * malloc/memusagestat.c (print_version): Likewise.
71301
71302 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
71303
71304 [BZ #14831]
71305 * elf/Makefile (tests): Add tst-audit8.
71306 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71307 ($(objpfx)tst-audit8.out): New target.
71308 (tst-audit8-ENV): New variable.
71309 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71310 audit if l_reloc_result is NULL.
71311 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71312 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71313 * elf/tst-audit8.c: New file.
71314
71315 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
71316
71317 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71318 * misc/Makefile (CFLAGS-select.c): Define.
71319 * posix/Makefile (CFLAGS-pause.c): Define.
71320
71321 2012-11-13 David S. Miller <davem@davemloft.net>
71322
71323 * crypt/Makefile: Move test targets after toplevel Rules
71324 inclusion. Grab any necessary sysdep routines when linking.
71325 * crypt/md5.c (md5_process_block): Remove define, we will always
71326 name it __md5_process_block.
71327 (md5_finish_ctx): Update md5_process_block call.
71328 (md5_stream): Likewise.
71329 (md5_process_bytes): Likewise.
71330 (md5_process_block): Rename to __md5_process_block and move to ...
71331 * crypt/md5-block.c: ... here.
71332 * crypt/sha256.c (sha256_process_block): Move to ...
71333 * crypt/sha256-block.c: ... here.
71334 * crypt/sha512.c (sha512_process_block): Move to ...
71335 * crypt/sha512-block.c: ... here.
71336 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71337 path.
71338 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71339 * sysdeps/sparc/sparc64/multiarch/Makefile
71340 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71341 crypt subdir.
71342 (localedef-aux): Add md5 crypto assembler when in locale subdir.
71343 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71344 multiarch changes.
71345 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71346 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71347 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71348 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71349 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71350 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71351 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71352 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71353 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71354 file.
71355 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71356 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71357 file.
71358 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71359
71360 2012-11-13 Joseph Myers <joseph@codesourcery.com>
71361
71362 * timezone/tzselect.ksh: Update from tzcode git revision
71363 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71364 * timezone/zdump.c: Likewise.
71365 * timezone/zic.c: Likewise.
71366 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71367 in TZVERSION setting, not $(PKGVERSION).
71368 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
71369 REPORT_BUGS_TO settings.
71370
71371 [BZ #14838]
71372 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71373 macro.
71374
71375 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
71376
71377 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71378 detection to immediately after _FP_ROUND().
71379 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71380 bits are 0.
71381
71382 2012-11-11 David S. Miller <davem@davemloft.net>
71383
71384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71385 inttypes.h
71386 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71387 __close rather than their public counterparts.
71388
71389 2012-11-10 Joseph Myers <joseph@codesourcery.com>
71390
71391 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
71392 file.
71393 [UNIX98] (sem_timedwait): Do not expect.
71394 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
71395 [XPG4 || UNIX98] (sockatmark): Do not expect.
71396 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
71397 (clock_getcpuclockid): Do not expect.
71398 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
71399 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
71400 Do not expect.
71401 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
71402 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
71403 [UNIX98] (vwscanf): Likewise.
71404 [UNIX98] (vswscanf): Likewise.
71405
71406 2012-11-09 Joseph Myers <joseph@codesourcery.com>
71407
71408 * timezone/version.h: Remove file.
71409 * timezone/README: Do not refer to version.h.
71410 * timezone/Makefile ($(objpfx)zic.o): New dependency on
71411 $(objpfx)version.h.
71412 ($(objpfx)zdump.o): Likewise.
71413 ($(objpfx)version.h): New target.
71414
71415 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
71416 2012i.
71417 * timezone/README: Don't mention modification to tzselect.ksh.
71418 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
71419 work on unmodified tzselect.ksh. Substitute version numbers in
71420 tzselect.ksh.
71421
71422 * Makefile (format-me): Remove.
71423 (INSTALL): Adjust indentation. Use commands directly instead of
71424 using $(format-me).
71425
71426 * aclocal.m4 (ACX_PKGVERSION): New macro.
71427 (ACX_BUGURL): Likewise.
71428 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
71429 (PKGVERSION): New AC_DEFINE_UNQUOTED.
71430 (REPORT_BUGS_TO): Likewise.
71431 * configure: Regenerated.
71432 * config.h.in (PKGVERSION): New macro.
71433 (REPORT_BUGS_TO): Likewise.
71434 * config.make.in (PKGVERSION): New variable.
71435 (PKGVERSION_TEXI): Likewise.
71436 (REPORT_BUGS_TO): Likewise.
71437 (REPORT_BUGS_TEXI): Likewise.
71438 * Makefile (format-me): Use -I$(common-objpfx)manual.
71439 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
71440 ($(common-objpfx)manual/%): New target.
71441 (manual/%): Remove target.
71442 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
71443 (print_version): Use PKGVERSION.
71444 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
71445 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
71446 and REPORT_BUGS_TO.
71447 ($(objpfx)xtrace): Likewise.
71448 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
71449 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
71450 (print_version): Use PKGVERSION.
71451 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
71452 (do_version): Use PKGVERSION.
71453 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
71454 REPORT_BUGS_TO.
71455 (common-ldd-rewrite): Likewise.
71456 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
71457 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
71458 (print_version): Use PKGVERSION.
71459 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
71460 * elf/pldd.c (argp_program_bug_address): Remove variable.
71461 (more_help): New function.
71462 (argp): Use more_help.
71463 (print_version): Use PKGVERSION.
71464 * elf/sln.c (main): Use PKGVERSION.
71465 (usage): Use REPORT_BUGS_TO.
71466 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
71467 (top level): Use PKGVERSION.
71468 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
71469 (print_version): Use PKGVERSION.
71470 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
71471 (print_version): Use PKGVERSION.
71472 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
71473 (print_version): Use PKGVERSION.
71474 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
71475 (print_version): Use PKGVERSION.
71476 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
71477 (print_version): Use PKGVERSION.
71478 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
71479 (print_version): Use PKGVERSION.
71480 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
71481 and BUGURL.
71482 ($(objpfx)memusage): Likewise.
71483 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
71484 (do_version): Use PKGVERSION.
71485 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
71486 (print_version): Use PKGVERSION.
71487 * malloc/mtrace.pl ($PACKAGE): Remove variable.
71488 ($PKGVERSION): New variable.
71489 ($REPORT_BUGS_TO): Likewise.
71490 (usage): Use $REPORT_BUGS_TO.
71491 (top level): Use $PKGVERSION.
71492 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
71493 ($(objpfx)pkgvers.texi): New rule.
71494 ($(objpfx)stamp-pkgvers): Likewise.
71495 * manual/install.texi: Include pkgvers.texi.
71496 (--with-pkgversion): Document new configure option.
71497 (--with-bugurl): Likewise.
71498 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
71499 than necessarily for this particular distribution. Use
71500 REPORT_BUGS_TO for where to report bugs.
71501 * INSTALL: Regenerated.
71502 * manual/libc.texinfo: Include pkgvers.texi.
71503 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
71504 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
71505 (print_version): Use PKGVERSION.
71506 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
71507 (print_version): Use PKGVERSION.
71508 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
71509 (print_version): Use PKGVERSION.
71510 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
71511 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
71512 macro.
71513 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
71514 (print_version): Use PKGVERSION.
71515 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
71516 (print_version): Use PKGVERSION.
71517 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
71518 and PKGVERSION.
71519
71520 * timezone/checktab.awk: Update from tzcode 2012i.
71521 * timezone/ialloc.c: Likewise.
71522 * timezone/private.h: Likewise.
71523 * timezone/scheck.c: Likewise.
71524 * timezone/tzfile.h: Likewise.
71525 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
71526 (TZVERSION): Hardcode tzcode version number.
71527 * timezone/zdump.c: Update from tzcode 2012i.
71528 * timezone/zic.c: Likewise.
71529 * timezone/version.h: New file.
71530 * timezone/README: Describe version.h. Update upstream location.
71531
71532 [BZ #14824]
71533 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
71534 (mktemp): Enable declaration.
71535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
71536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
71537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
71538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71539 Likewise.
71540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71541 Likewise.
71542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71543 Likewise.
71544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71545 Likewise.
71546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71547 Likewise.
71548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71549 Likewise.
71550
71551 [BZ #14821]
71552 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71553 offset in buffer as u_int32_t not u_long. Consistently use memcpy
71554 for copies of such integer values.
71555 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71556 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71557
71558 2012-11-09 Andreas Jaeger <aj@suse.de>
71559
71560 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71561 definitions and declarations that are provided by
71562 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71563
71564 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71565
71566 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71567 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71568 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71569 definition.
71570
71571 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
71572
71573 * elf/elf.h: Update comment before AArch64 relocations.
71574
71575 2012-11-07 David S. Miller <davem@davemloft.net>
71576
71577 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71578 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71579 (__start_context): Declare.
71580 (__makecontext_ret): Delete.
71581 (__makecontext): Hook up __start_context instead of
71582 __makecontext_ret.
71583 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71584 (sysdep_routines): Add __start_context when in stdlib.
71585
71586 2012-11-07 Joseph Myers <joseph@codesourcery.com>
71587
71588 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71589 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71590 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
71591 hardcoded "nm".
71592 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
71593 (READELF): New variable. Use it instead of hardcoded "readelf".
71594
71595 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
71596
71597 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71598 * sysdeps/x86/Makefile: Here.
71599 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71600 * sysdeps/x86/tst-xmmymm.sh: This.
71601
71602 2012-11-07 Joseph Myers <joseph@codesourcery.com>
71603
71604 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71605 expectations.
71606 [UNIX98] (pthread_barrier_t): Do not expect.
71607 [UNIX98] (pthread_barrierattr_t): Likewise.
71608 [UNIX98] (pthread_spinlock_t): Likewise.
71609 [UNIX98] (pthread_barrier_destroy): Likewise.
71610 [UNIX98] (pthread_barrier_init): Likewise.
71611 [UNIX98] (pthread_barrier_wait): Likewise.
71612 [UNIX98] (pthread_barrierattr_destroy): Likewise.
71613 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71614 [UNIX98] (pthread_barrierattr_init): Likewise.
71615 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71616 [UNIX98] (pthread_getcpuclockid): Likewise.
71617 [UNIX98] (pthread_mutex_timedlock): Likewise.
71618 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71619 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71620 [UNIX98] (pthread_sigmask): Likewise.
71621 [UNIX98] (pthread_spin_destroy): Likewise.
71622 [UNIX98] (pthread_spin_init): Likewise.
71623 [UNIX98] (pthread_spin_lock): Likewise.
71624 [UNIX98] (pthread_spin_trylock): Likewise.
71625 [UNIX98] (pthread_spin_unlock): Likewise.
71626 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71627 Do not expect.
71628 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71629 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71630 [XPG3 || XPG4] (pthread_cond_t): Likewise.
71631 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71632 [XPG3 || XPG4] (pthread_key_t): Likewise.
71633 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71634 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71635 [XPG3 || XPG4] (pthread_once_t): Likewise.
71636 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71637 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71638 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71639 [XPG3 || XPG4] (pthread_t): Likewise.
71640
71641 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71642 not expect.
71643 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71644
71645 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71646 Change function return type to int.
71647
71648 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71649 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71650 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71651 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71652 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71653 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71654 [!POSIX] (posix_madvise): Likewise.
71655 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71656 && !UNIX98].
71657 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71658 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71659 (mode_t): Likewise.
71660 (posix_mem_offset): Likewise.
71661 (posix_typed_mem_get_info): Likewise.
71662 (posix_typed_mem_open): Likewise.
71663
71664 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71665 Change condition to [XOPEN2K8].
71666
71667 * conform/conformtest.pl: Preprocess allow-header data with -x c
71668 instead of from stdin.
71669 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71670 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71671 [C99-based standards] (cerfc): Likewise.
71672 [C99-based standards] (cexp2): Likewise.
71673 [C99-based standards] (cexpm1): Likewise.
71674 [C99-based standards] (clog10): Likewise.
71675 [C99-based standards] (clog1p): Likewise.
71676 [C99-based standards] (clog2): Likewise.
71677 [C99-based standards] (clgamma): Likewise.
71678 [C99-based standards] (ctgamma): Likewise.
71679 [C99-based standards] (cerff): Likewise.
71680 [C99-based standards] (cerfcf): Likewise.
71681 [C99-based standards] (cexp2f): Likewise.
71682 [C99-based standards] (cexpm1f): Likewise.
71683 [C99-based standards] (clog10f): Likewise.
71684 [C99-based standards] (clog1pf): Likewise.
71685 [C99-based standards] (clog2f): Likewise.
71686 [C99-based standards] (clgammaf): Likewise.
71687 [C99-based standards] (ctgammaf): Likewise.
71688 [C99-based standards] (cerfl): Likewise.
71689 [C99-based standards] (cerfcl): Likewise.
71690 [C99-based standards] (cexp2l): Likewise.
71691 [C99-based standards] (cexpm1l): Likewise.
71692 [C99-based standards] (clog10l): Likewise.
71693 [C99-based standards] (clog1pl): Likewise.
71694 [C99-based standards] (clog2l): Likewise.
71695 [C99-based standards] (clgammal): Likewise.
71696 [C99-based standards] (ctgammal): Likewise.
71697 * conform/data/inttypes.h-data [C99-based standards]: Include
71698 stdint.h-data. Remove all expectations for stdint.h contents.
71699 [C99-based standards] (PRI*): Do not allow.
71700 [C99-based standards] (SCN*): Likewise.
71701 [C99-based standards] (*_t): Likewise.
71702 [C99-based-standards] (PRId8): Expect macro.
71703 [C99-based-standards] (PRIi8): Likewise.
71704 [C99-based-standards] (PRIo8): Likewise.
71705 [C99-based-standards] (PRIu8): Likewise.
71706 [C99-based-standards] (PRIx8): Likewise.
71707 [C99-based-standards] (PRIX8): Likewise.
71708 [C99-based-standards] (SCNd8): Likewise.
71709 [C99-based-standards] (SCNi8): Likewise.
71710 [C99-based-standards] (SCNo8): Likewise.
71711 [C99-based-standards] (SCNu8): Likewise.
71712 [C99-based-standards] (SCNx8): Likewise.
71713 [C99-based-standards] (PRIdLEAST8): Likewise.
71714 [C99-based-standards] (PRIiLEAST8): Likewise.
71715 [C99-based-standards] (PRIoLEAST8): Likewise.
71716 [C99-based-standards] (PRIuLEAST8): Likewise.
71717 [C99-based-standards] (PRIxLEAST8): Likewise.
71718 [C99-based-standards] (PRIXLEAST8): Likewise.
71719 [C99-based-standards] (SCNdLEAST8): Likewise.
71720 [C99-based-standards] (SCNiLEAST8): Likewise.
71721 [C99-based-standards] (SCNoLEAST8): Likewise.
71722 [C99-based-standards] (SCNuLEAST8): Likewise.
71723 [C99-based-standards] (SCNxLEAST8): Likewise.
71724 [C99-based-standards] (PRIdFAST8): Likewise.
71725 [C99-based-standards] (PRIiFAST8): Likewise.
71726 [C99-based-standards] (PRIoFAST8): Likewise.
71727 [C99-based-standards] (PRIuFAST8): Likewise.
71728 [C99-based-standards] (PRIxFAST8): Likewise.
71729 [C99-based-standards] (PRIXFAST8): Likewise.
71730 [C99-based-standards] (SCNdFAST8): Likewise.
71731 [C99-based-standards] (SCNiFAST8): Likewise.
71732 [C99-based-standards] (SCNoFAST8): Likewise.
71733 [C99-based-standards] (SCNuFAST8): Likewise.
71734 [C99-based-standards] (SCNxFAST8): Likewise.
71735 [C99-based-standards] (PRId16): Likewise.
71736 [C99-based-standards] (PRIi16): Likewise.
71737 [C99-based-standards] (PRIo16): Likewise.
71738 [C99-based-standards] (PRIu16): Likewise.
71739 [C99-based-standards] (PRIx16): Likewise.
71740 [C99-based-standards] (PRIX16): Likewise.
71741 [C99-based-standards] (SCNd16): Likewise.
71742 [C99-based-standards] (SCNi16): Likewise.
71743 [C99-based-standards] (SCNo16): Likewise.
71744 [C99-based-standards] (SCNu16): Likewise.
71745 [C99-based-standards] (SCNx16): Likewise.
71746 [C99-based-standards] (PRIdLEAST16): Likewise.
71747 [C99-based-standards] (PRIiLEAST16): Likewise.
71748 [C99-based-standards] (PRIoLEAST16): Likewise.
71749 [C99-based-standards] (PRIuLEAST16): Likewise.
71750 [C99-based-standards] (PRIxLEAST16): Likewise.
71751 [C99-based-standards] (PRIXLEAST16): Likewise.
71752 [C99-based-standards] (SCNdLEAST16): Likewise.
71753 [C99-based-standards] (SCNiLEAST16): Likewise.
71754 [C99-based-standards] (SCNoLEAST16): Likewise.
71755 [C99-based-standards] (SCNuLEAST16): Likewise.
71756 [C99-based-standards] (SCNxLEAST16): Likewise.
71757 [C99-based-standards] (PRIdFAST16): Likewise.
71758 [C99-based-standards] (PRIiFAST16): Likewise.
71759 [C99-based-standards] (PRIoFAST16): Likewise.
71760 [C99-based-standards] (PRIuFAST16): Likewise.
71761 [C99-based-standards] (PRIxFAST16): Likewise.
71762 [C99-based-standards] (PRIXFAST16): Likewise.
71763 [C99-based-standards] (SCNdFAST16): Likewise.
71764 [C99-based-standards] (SCNiFAST16): Likewise.
71765 [C99-based-standards] (SCNoFAST16): Likewise.
71766 [C99-based-standards] (SCNuFAST16): Likewise.
71767 [C99-based-standards] (SCNxFAST16): Likewise.
71768 [C99-based-standards] (PRId32): Likewise.
71769 [C99-based-standards] (PRIi32): Likewise.
71770 [C99-based-standards] (PRIo32): Likewise.
71771 [C99-based-standards] (PRIu32): Likewise.
71772 [C99-based-standards] (PRIx32): Likewise.
71773 [C99-based-standards] (PRIX32): Likewise.
71774 [C99-based-standards] (SCNd32): Likewise.
71775 [C99-based-standards] (SCNi32): Likewise.
71776 [C99-based-standards] (SCNo32): Likewise.
71777 [C99-based-standards] (SCNu32): Likewise.
71778 [C99-based-standards] (SCNx32): Likewise.
71779 [C99-based-standards] (PRIdLEAST32): Likewise.
71780 [C99-based-standards] (PRIiLEAST32): Likewise.
71781 [C99-based-standards] (PRIoLEAST32): Likewise.
71782 [C99-based-standards] (PRIuLEAST32): Likewise.
71783 [C99-based-standards] (PRIxLEAST32): Likewise.
71784 [C99-based-standards] (PRIXLEAST32): Likewise.
71785 [C99-based-standards] (SCNdLEAST32): Likewise.
71786 [C99-based-standards] (SCNiLEAST32): Likewise.
71787 [C99-based-standards] (SCNoLEAST32): Likewise.
71788 [C99-based-standards] (SCNuLEAST32): Likewise.
71789 [C99-based-standards] (SCNxLEAST32): Likewise.
71790 [C99-based-standards] (PRIdFAST32): Likewise.
71791 [C99-based-standards] (PRIiFAST32): Likewise.
71792 [C99-based-standards] (PRIoFAST32): Likewise.
71793 [C99-based-standards] (PRIuFAST32): Likewise.
71794 [C99-based-standards] (PRIxFAST32): Likewise.
71795 [C99-based-standards] (PRIXFAST32): Likewise.
71796 [C99-based-standards] (SCNdFAST32): Likewise.
71797 [C99-based-standards] (SCNiFAST32): Likewise.
71798 [C99-based-standards] (SCNoFAST32): Likewise.
71799 [C99-based-standards] (SCNuFAST32): Likewise.
71800 [C99-based-standards] (SCNxFAST32): Likewise.
71801 [C99-based-standards] (PRId64): Likewise.
71802 [C99-based-standards] (PRIi64): Likewise.
71803 [C99-based-standards] (PRIo64): Likewise.
71804 [C99-based-standards] (PRIu64): Likewise.
71805 [C99-based-standards] (PRIx64): Likewise.
71806 [C99-based-standards] (PRIX64): Likewise.
71807 [C99-based-standards] (SCNd64): Likewise.
71808 [C99-based-standards] (SCNi64): Likewise.
71809 [C99-based-standards] (SCNo64): Likewise.
71810 [C99-based-standards] (SCNu64): Likewise.
71811 [C99-based-standards] (SCNx64): Likewise.
71812 [C99-based-standards] (PRIdLEAST64): Likewise.
71813 [C99-based-standards] (PRIiLEAST64): Likewise.
71814 [C99-based-standards] (PRIoLEAST64): Likewise.
71815 [C99-based-standards] (PRIuLEAST64): Likewise.
71816 [C99-based-standards] (PRIxLEAST64): Likewise.
71817 [C99-based-standards] (PRIXLEAST64): Likewise.
71818 [C99-based-standards] (SCNdLEAST64): Likewise.
71819 [C99-based-standards] (SCNiLEAST64): Likewise.
71820 [C99-based-standards] (SCNoLEAST64): Likewise.
71821 [C99-based-standards] (SCNuLEAST64): Likewise.
71822 [C99-based-standards] (SCNxLEAST64): Likewise.
71823 [C99-based-standards] (PRIdFAST64): Likewise.
71824 [C99-based-standards] (PRIiFAST64): Likewise.
71825 [C99-based-standards] (PRIoFAST64): Likewise.
71826 [C99-based-standards] (PRIuFAST64): Likewise.
71827 [C99-based-standards] (PRIxFAST64): Likewise.
71828 [C99-based-standards] (PRIXFAST64): Likewise.
71829 [C99-based-standards] (SCNdFAST64): Likewise.
71830 [C99-based-standards] (SCNiFAST64): Likewise.
71831 [C99-based-standards] (SCNoFAST64): Likewise.
71832 [C99-based-standards] (SCNuFAST64): Likewise.
71833 [C99-based-standards] (SCNxFAST64): Likewise.
71834 [C99-based-standards] (PRIdMAX): Likewise.
71835 [C99-based-standards] (PRIiMAX): Likewise.
71836 [C99-based-standards] (PRIoMAX): Likewise.
71837 [C99-based-standards] (PRIuMAX): Likewise.
71838 [C99-based-standards] (PRIxMAX): Likewise.
71839 [C99-based-standards] (PRIXMAX): Likewise.
71840 [C99-based-standards] (SCNdMAX): Likewise.
71841 [C99-based-standards] (SCNiMAX): Likewise.
71842 [C99-based-standards] (SCNoMAX): Likewise.
71843 [C99-based-standards] (SCNuMAX): Likewise.
71844 [C99-based-standards] (SCNxMAX): Likewise.
71845 [C99-based-standards] (PRIdPTR): Likewise.
71846 [C99-based-standards] (PRIiPTR): Likewise.
71847 [C99-based-standards] (PRIoPTR): Likewise.
71848 [C99-based-standards] (PRIuPTR): Likewise.
71849 [C99-based-standards] (PRIxPTR): Likewise.
71850 [C99-based-standards] (PRIXPTR): Likewise.
71851 [C99-based-standards] (SCNdPTR): Likewise.
71852 [C99-based-standards] (SCNiPTR): Likewise.
71853 [C99-based-standards] (SCNoPTR): Likewise.
71854 [C99-based-standards] (SCNuPTR): Likewise.
71855 [C99-based-standards] (SCNxPTR): Likewise.
71856 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71857 allow.
71858 * conform/data/stdint.h-data: Update comments to clarify
71859 requirements.
71860 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
71861 type.
71862 [C99-based standards] (INT8_MAX): Likewise.
71863 [C99-based standards] (INT16_MIN): Likewise.
71864 [C99-based standards] (INT16_MAX): Likewise.
71865 [C99-based standards] (INT32_MIN): Likewise.
71866 [C99-based standards] (INT32_MAX): Likewise.
71867 [C99-based standards] (INT64_MIN): Likewise.
71868 [C99-based standards] (INT64_MAX): Likewise.
71869 [C99-based standards] (UINT8_MAX): Likewise.
71870 [C99-based standards] (UINT16_MAX): Likewise.
71871 [C99-based standards] (UINT32_MAX): Likewise.
71872 [C99-based standards] (UINT64_MAX): Likewise.
71873 [C99-based standards] (INT_LEAST8_MIN): Likewise.
71874 [C99-based standards] (INT_LEAST8_MAX): Likewise.
71875 [C99-based standards] (INT_LEAST16_MIN): Likewise.
71876 [C99-based standards] (INT_LEAST16_MAX): Likewise.
71877 [C99-based standards] (INT_LEAST32_MIN): Likewise.
71878 [C99-based standards] (INT_LEAST32_MAX): Likewise.
71879 [C99-based standards] (INT_LEAST64_MIN): Likewise.
71880 [C99-based standards] (INT_LEAST64_MAX): Likewise.
71881 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71882 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71883 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71884 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71885 [C99-based standards] (INT_FAST8_MIN): Likewise.
71886 [C99-based standards] (INT_FAST8_MAX): Likewise.
71887 [C99-based standards] (INT_FAST16_MIN): Likewise.
71888 [C99-based standards] (INT_FAST16_MAX): Likewise.
71889 [C99-based standards] (INT_FAST32_MIN): Likewise.
71890 [C99-based standards] (INT_FAST32_MAX): Likewise.
71891 [C99-based standards] (INT_FAST64_MIN): Likewise.
71892 [C99-based standards] (INT_FAST64_MAX): Likewise.
71893 [C99-based standards] (UINT_FAST8_MAX): Likewise.
71894 [C99-based standards] (UINT_FAST16_MAX): Likewise.
71895 [C99-based standards] (UINT_FAST32_MAX): Likewise.
71896 [C99-based standards] (UINT_FAST64_MAX): Likewise.
71897 [C99-based standards] (INTPTR_MIN): Likewise.
71898 [C99-based standards] (INTPTR_MAX): Likewise.
71899 [C99-based standards] (UINTPTR_MAX): Likewise.
71900 [C99-based standards] (INTMAX_MIN): Likewise.
71901 [C99-based standards] (INTMAX_MAX): Likewise.
71902 [C99-based standards] (UINTMAX_MAX): Likewise.
71903 [C99-based standards] (PTRDIFF_MIN): Likewise.
71904 [C99-based standards] (PTRDIFF_MAX): Likewise.
71905 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71906 [C99-based standards] (SIZE_MAX): Likewise.
71907 [C99-based standards] (WCHAR_MAX): Likewise.
71908 [C99-based standards] (WINT_MAX): Likewise.
71909 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
71910 constraint on value.
71911 [C99-based standards] (WCHAR_MIN): Likewise.
71912 [C99-based standards] (WINT_MIN): Likewise.
71913 [C99-based standards] (*_t): Allow.
71914 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71915 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71916 Include math.h-data and complex.h-data. Remove all expectations
71917 of math.h and complex.h contents.
71918 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71919 at end of line.
71920 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71921 (struct tm): Expect tag.
71922 [C99-based-standards] (wcstof): Expect function.
71923 [C99-based-standards] (wcstold): Likewise.
71924 [C99-based-standards] (wcstoll): Likewise.
71925 [C99-based-standards] (wcstoull): Likewise.
71926 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71927 macro-int-constant. Specify type.
71928 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
71929 constraint on value.
71930 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71931 Specify type.
71932 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71933 Specify value.
71934 [ISO C standards]: Do not allow headers.
71935 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71936 wcs[abcdefghijklmnopqrstuvwxyz]*.
71937 [ISO C standards] (*_t): Do not allow.
71938 * conform/data/wctype.h-data [C99-based standards] (iswblank):
71939 Expect function.
71940 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71941 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71942 Specify type.
71943 [ISO C standards]: Do not allow headers.
71944 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71945 is[abcdefghijklmnopqrstuvwxyz]*.
71946 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71947 to[abcdefghijklmnopqrstuvwxyz]*.
71948 [ISO C standards] (*_t): Do not allow.
71949 * conform/data/stdalign.h-data: New file.
71950 * conform/data/stdbool.h-data: Likewise.
71951 * conform/data/stdnoreturn.h-data: Likewise.
71952
71953 2012-11-07 Roland McGrath <roland@hack.frob.com>
71954
71955 [BZ #14815]
71956 * manual/filesys.texi (Directory Entries): Typo fix.
71957 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71958
71959 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
71960
71961 * elf/elf.h (EM_AARCH64): New macro.
71962 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71963 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71964 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71965 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71966 (R_AARCH64_TLSDESC): Likewise.
71967 (NT_ARM_TLS): Likewise.
71968 (NT_ARM_HW_BREAK): Likewise.
71969 (NT_ARM_HW_WATCH): Likewise.
71970
71971 2012-11-07 Joseph Myers <joseph@codesourcery.com>
71972
71973 [BZ #14811]
71974 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71975 (__ieee754_powl): Saturate nonzero exponents with absolute value
71976 below 0x1p-79 to +/- 0x1p-79.
71977 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71978 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71979 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71980 nonzero exponents with absolute value below 0x1p-32 to +/-
71981 0x1p-32.
71982 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71983 (__ieee754_powl): Saturate nonzero exponents with absolute value
71984 below 0x1p-79 to +/- 0x1p-79.
71985 * math/libm-test.inc (pow_test): Add more tests.
71986
71987 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71988
71989 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71990 _dl_s390_cap_flags with kernel. Increase string length.
71991 (_dl_s390_platforms): Add z196 and zEC12.
71992
71993 2012-11-07 Joseph Myers <joseph@codesourcery.com>
71994
71995 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71996 Change XOPEN21K to XOPEN2K.
71997
71998 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
71999
72000 * string/memmove.c: Use memcpy when possible.
72001
72002 2012-11-06 Andreas Jaeger <aj@suse.de>
72003
72004 * po/eo.po: Update from translation team.
72005
72006 2012-11-06 Joseph Myers <joseph@codesourcery.com>
72007
72008 [BZ #14793]
72009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
72010 exponent and small x and y exponents, scale x or y up. Increase
72011 by 2 the exponent used in scaling up.
72012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72014 * math/libm-test.inc (fma_test): Add more tests.
72015 (fma_test_towardzero): Likewise.
72016 (fma_test_downward): Likewise.
72017 (fma_test_upward): Likewise.
72018
72019 2012-11-05 Joseph Myers <joseph@codesourcery.com>
72020
72021 [BZ #14805]
72022 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
72023 fenv_t *.
72024
72025 [BZ #14801]
72026 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
72027 namespace for names of struct fields.
72028 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
72029 fenv_t fields.
72030 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
72031 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
72032
72033 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
72034
72035 [BZ #3665]
72036 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
72037
72038 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
72039
72040 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
72041 PTR_DEMANGLE.
72042
72043 [BZ #5246]
72044 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
72045 PTR_DEMANGLE.
72046
72047 2012-11-04 Joseph Myers <joseph@codesourcery.com>
72048
72049 [BZ #14797]
72050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
72051 definitely overflow as x * y not x * y + z.
72052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72053 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72054 * math/libm-test.inc (fma_test): Add more tests.
72055 (fma_test_towardzero): Likewise.
72056 (fma_test_downward): Likewise.
72057 (fma_test_upward): Likewise.
72058
72059 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
72060
72061 [BZ #157]
72062
72063 * include/stub-tag.h: Remove file.
72064 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
72065 '#include' of it.
72066 * manual/maint.texi (Porting): Don't reference it.
72067 * Makerules ($(objpfx)stubs): Likewise.
72068 * dirent/closedir.c: Don't include <stub-tag.h>.
72069 * dirent/dirfd.c: Likewise.
72070 * dirent/fdopendir.c: Likewise.
72071 * dirent/getdents.c: Likewise.
72072 * dirent/getdents64.c: Likewise.
72073 * dirent/opendir.c: Likewise.
72074 * dirent/readdir.c: Likewise.
72075 * dirent/readdir64.c: Likewise.
72076 * dirent/readdir64_r.c: Likewise.
72077 * dirent/readdir_r.c: Likewise.
72078 * dirent/rewinddir.c: Likewise.
72079 * dirent/seekdir.c: Likewise.
72080 * dirent/telldir.c: Likewise.
72081 * gmon/profil.c: Likewise.
72082 * grp/setgroups.c: Likewise.
72083 * inet/if_index.c: Likewise.
72084 * io/access.c: Likewise.
72085 * io/chdir.c: Likewise.
72086 * io/chmod.c: Likewise.
72087 * io/chown.c: Likewise.
72088 * io/close.c: Likewise.
72089 * io/dup.c: Likewise.
72090 * io/dup2.c: Likewise.
72091 * io/dup3.c: Likewise.
72092 * io/euidaccess.c: Likewise.
72093 * io/faccessat.c: Likewise.
72094 * io/fchdir.c: Likewise.
72095 * io/fchmod.c: Likewise.
72096 * io/fchmodat.c: Likewise.
72097 * io/fchown.c: Likewise.
72098 * io/fchownat.c: Likewise.
72099 * io/fcntl.c: Likewise.
72100 * io/flock.c: Likewise.
72101 * io/fstatfs.c: Likewise.
72102 * io/fstatfs64.c: Likewise.
72103 * io/fstatvfs.c: Likewise.
72104 * io/fstatvfs64.c: Likewise.
72105 * io/futimens.c: Likewise.
72106 * io/fxstat.c: Likewise.
72107 * io/fxstat64.c: Likewise.
72108 * io/fxstatat.c: Likewise.
72109 * io/fxstatat64.c: Likewise.
72110 * io/getcwd.c: Likewise.
72111 * io/isatty.c: Likewise.
72112 * io/lchmod.c: Likewise.
72113 * io/lchown.c: Likewise.
72114 * io/link.c: Likewise.
72115 * io/linkat.c: Likewise.
72116 * io/lseek.c: Likewise.
72117 * io/lseek64.c: Likewise.
72118 * io/lxstat64.c: Likewise.
72119 * io/mkdir.c: Likewise.
72120 * io/mkdirat.c: Likewise.
72121 * io/mkfifo.c: Likewise.
72122 * io/mkfifoat.c: Likewise.
72123 * io/open.c: Likewise.
72124 * io/open64.c: Likewise.
72125 * io/openat.c: Likewise.
72126 * io/openat64.c: Likewise.
72127 * io/pipe.c: Likewise.
72128 * io/pipe2.c: Likewise.
72129 * io/poll.c: Likewise.
72130 * io/posix_fadvise.c: Likewise.
72131 * io/posix_fadvise64.c: Likewise.
72132 * io/posix_fallocate.c: Likewise.
72133 * io/posix_fallocate64.c: Likewise.
72134 * io/read.c: Likewise.
72135 * io/readlink.c: Likewise.
72136 * io/readlinkat.c: Likewise.
72137 * io/rmdir.c: Likewise.
72138 * io/sendfile.c: Likewise.
72139 * io/sendfile64.c: Likewise.
72140 * io/statfs.c: Likewise.
72141 * io/statfs64.c: Likewise.
72142 * io/statvfs.c: Likewise.
72143 * io/statvfs64.c: Likewise.
72144 * io/symlink.c: Likewise.
72145 * io/symlinkat.c: Likewise.
72146 * io/ttyname.c: Likewise.
72147 * io/ttyname_r.c: Likewise.
72148 * io/umask.c: Likewise.
72149 * io/unlink.c: Likewise.
72150 * io/unlinkat.c: Likewise.
72151 * io/utime.c: Likewise.
72152 * io/utimensat.c: Likewise.
72153 * io/write.c: Likewise.
72154 * io/xmknod.c: Likewise.
72155 * io/xmknodat.c: Likewise.
72156 * io/xstat.c: Likewise.
72157 * io/xstat64.c: Likewise.
72158 * login/getpt.c: Likewise.
72159 * login/grantpt.c: Likewise.
72160 * login/unlockpt.c: Likewise.
72161 * math/e_acoshl.c: Likewise.
72162 * math/e_acosl.c: Likewise.
72163 * math/e_asinl.c: Likewise.
72164 * math/e_atan2l.c: Likewise.
72165 * math/e_atanhl.c: Likewise.
72166 * math/e_coshl.c: Likewise.
72167 * math/e_expl.c: Likewise.
72168 * math/e_fmodl.c: Likewise.
72169 * math/e_gammal_r.c: Likewise.
72170 * math/e_hypotl.c: Likewise.
72171 * math/e_j0l.c: Likewise.
72172 * math/e_j1l.c: Likewise.
72173 * math/e_jnl.c: Likewise.
72174 * math/e_lgammal_r.c: Likewise.
72175 * math/e_log10l.c: Likewise.
72176 * math/e_log2l.c: Likewise.
72177 * math/e_logl.c: Likewise.
72178 * math/e_powl.c: Likewise.
72179 * math/e_rem_pio2l.c: Likewise.
72180 * math/e_sinhl.c: Likewise.
72181 * math/e_sqrtl.c: Likewise.
72182 * math/fclrexcpt.c: Likewise.
72183 * math/fedisblxcpt.c: Likewise.
72184 * math/feenablxcpt.c: Likewise.
72185 * math/fegetenv.c: Likewise.
72186 * math/fegetexcept.c: Likewise.
72187 * math/fegetround.c: Likewise.
72188 * math/feholdexcpt.c: Likewise.
72189 * math/fesetenv.c: Likewise.
72190 * math/fesetround.c: Likewise.
72191 * math/feupdateenv.c: Likewise.
72192 * math/fgetexcptflg.c: Likewise.
72193 * math/fraiseexcpt.c: Likewise.
72194 * math/fsetexcptflg.c: Likewise.
72195 * math/ftestexcept.c: Likewise.
72196 * math/k_cosl.c: Likewise.
72197 * math/k_rem_pio2l.c: Likewise.
72198 * math/k_sinl.c: Likewise.
72199 * math/k_tanl.c: Likewise.
72200 * math/s_asinhl.c: Likewise.
72201 * math/s_atanl.c: Likewise.
72202 * math/s_cbrtl.c: Likewise.
72203 * math/s_erfl.c: Likewise.
72204 * math/s_expm1l.c: Likewise.
72205 * math/s_log1pl.c: Likewise.
72206 * math/s_tanhl.c: Likewise.
72207 * misc/acct.c: Likewise.
72208 * misc/brk.c: Likewise.
72209 * misc/chflags.c: Likewise.
72210 * misc/chroot.c: Likewise.
72211 * misc/fchflags.c: Likewise.
72212 * misc/fgetxattr.c: Likewise.
72213 * misc/flistxattr.c: Likewise.
72214 * misc/fremovexattr.c: Likewise.
72215 * misc/fsetxattr.c: Likewise.
72216 * misc/fsync.c: Likewise.
72217 * misc/ftruncate.c: Likewise.
72218 * misc/futimes.c: Likewise.
72219 * misc/futimesat.c: Likewise.
72220 * misc/getdomain.c: Likewise.
72221 * misc/getdtsz.c: Likewise.
72222 * misc/gethostid.c: Likewise.
72223 * misc/gethostname.c: Likewise.
72224 * misc/getloadavg.c: Likewise.
72225 * misc/getpagesize.c: Likewise.
72226 * misc/getsysstats.c: Likewise.
72227 * misc/getxattr.c: Likewise.
72228 * misc/gtty.c: Likewise.
72229 * misc/ioctl.c: Likewise.
72230 * misc/lgetxattr.c: Likewise.
72231 * misc/listxattr.c: Likewise.
72232 * misc/llistxattr.c: Likewise.
72233 * misc/lremovexattr.c: Likewise.
72234 * misc/lsetxattr.c: Likewise.
72235 * misc/lutimes.c: Likewise.
72236 * misc/madvise.c: Likewise.
72237 * misc/mincore.c: Likewise.
72238 * misc/mlock.c: Likewise.
72239 * misc/mlockall.c: Likewise.
72240 * misc/mmap.c: Likewise.
72241 * misc/mprotect.c: Likewise.
72242 * misc/msync.c: Likewise.
72243 * misc/munlock.c: Likewise.
72244 * misc/munlockall.c: Likewise.
72245 * misc/munmap.c: Likewise.
72246 * misc/preadv.c: Likewise.
72247 * misc/preadv64.c: Likewise.
72248 * misc/ptrace.c: Likewise.
72249 * misc/pwritev.c: Likewise.
72250 * misc/pwritev64.c: Likewise.
72251 * misc/readv.c: Likewise.
72252 * misc/reboot.c: Likewise.
72253 * misc/remap_file_pages.c: Likewise.
72254 * misc/removexattr.c: Likewise.
72255 * misc/revoke.c: Likewise.
72256 * misc/select.c: Likewise.
72257 * misc/setdomain.c: Likewise.
72258 * misc/setegid.c: Likewise.
72259 * misc/seteuid.c: Likewise.
72260 * misc/sethostid.c: Likewise.
72261 * misc/sethostname.c: Likewise.
72262 * misc/setregid.c: Likewise.
72263 * misc/setreuid.c: Likewise.
72264 * misc/setxattr.c: Likewise.
72265 * misc/sstk.c: Likewise.
72266 * misc/stty.c: Likewise.
72267 * misc/swapoff.c: Likewise.
72268 * misc/swapon.c: Likewise.
72269 * misc/sync.c: Likewise.
72270 * misc/syncfs.c: Likewise.
72271 * misc/syscall.c: Likewise.
72272 * misc/truncate.c: Likewise.
72273 * misc/ualarm.c: Likewise.
72274 * misc/usleep.c: Likewise.
72275 * misc/ustat.c: Likewise.
72276 * misc/utimes.c: Likewise.
72277 * misc/vhangup.c: Likewise.
72278 * misc/writev.c: Likewise.
72279 * posix/_exit.c: Likewise.
72280 * posix/alarm.c: Likewise.
72281 * posix/execve.c: Likewise.
72282 * posix/fexecve.c: Likewise.
72283 * posix/fork.c: Likewise.
72284 * posix/fpathconf.c: Likewise.
72285 * posix/getaddrinfo.c: Likewise.
72286 * posix/getegid.c: Likewise.
72287 * posix/geteuid.c: Likewise.
72288 * posix/getgid.c: Likewise.
72289 * posix/getgroups.c: Likewise.
72290 * posix/getlogin.c: Likewise.
72291 * posix/getlogin_r.c: Likewise.
72292 * posix/getpgid.c: Likewise.
72293 * posix/getpid.c: Likewise.
72294 * posix/getppid.c: Likewise.
72295 * posix/getresgid.c: Likewise.
72296 * posix/getresuid.c: Likewise.
72297 * posix/getsid.c: Likewise.
72298 * posix/getuid.c: Likewise.
72299 * posix/glob64.c: Likewise.
72300 * posix/nanosleep.c: Likewise.
72301 * posix/pathconf.c: Likewise.
72302 * posix/pause.c: Likewise.
72303 * posix/posix_madvise.c: Likewise.
72304 * posix/pread.c: Likewise.
72305 * posix/pread64.c: Likewise.
72306 * posix/pwrite.c: Likewise.
72307 * posix/pwrite64.c: Likewise.
72308 * posix/sched_getaffinity.c: Likewise.
72309 * posix/sched_getp.c: Likewise.
72310 * posix/sched_gets.c: Likewise.
72311 * posix/sched_primax.c: Likewise.
72312 * posix/sched_primin.c: Likewise.
72313 * posix/sched_rr_gi.c: Likewise.
72314 * posix/sched_setaffinity.c: Likewise.
72315 * posix/sched_setp.c: Likewise.
72316 * posix/sched_sets.c: Likewise.
72317 * posix/sched_yield.c: Likewise.
72318 * posix/setgid.c: Likewise.
72319 * posix/setlogin.c: Likewise.
72320 * posix/setpgid.c: Likewise.
72321 * posix/setresgid.c: Likewise.
72322 * posix/setresuid.c: Likewise.
72323 * posix/setsid.c: Likewise.
72324 * posix/setuid.c: Likewise.
72325 * posix/sleep.c: Likewise.
72326 * posix/spawni.c: Likewise.
72327 * posix/sysconf.c: Likewise.
72328 * posix/times.c: Likewise.
72329 * posix/wait.c: Likewise.
72330 * posix/wait3.c: Likewise.
72331 * posix/wait4.c: Likewise.
72332 * posix/waitpid.c: Likewise.
72333 * resolv/gai_sigqueue.c: Likewise.
72334 * resource/getpriority.c: Likewise.
72335 * resource/getrlimit.c: Likewise.
72336 * resource/getrusage.c: Likewise.
72337 * resource/nice.c: Likewise.
72338 * resource/setpriority.c: Likewise.
72339 * resource/setrlimit.c: Likewise.
72340 * resource/ulimit.c: Likewise.
72341 * rt/aio_cancel.c: Likewise.
72342 * rt/aio_fsync.c: Likewise.
72343 * rt/aio_read.c: Likewise.
72344 * rt/aio_sigqueue.c: Likewise.
72345 * rt/aio_suspend.c: Likewise.
72346 * rt/aio_write.c: Likewise.
72347 * rt/clock_getres.c: Likewise.
72348 * rt/clock_gettime.c: Likewise.
72349 * rt/clock_nanosleep.c: Likewise.
72350 * rt/clock_settime.c: Likewise.
72351 * rt/lio_listio.c: Likewise.
72352 * rt/mq_close.c: Likewise.
72353 * rt/mq_getattr.c: Likewise.
72354 * rt/mq_notify.c: Likewise.
72355 * rt/mq_open.c: Likewise.
72356 * rt/mq_receive.c: Likewise.
72357 * rt/mq_send.c: Likewise.
72358 * rt/mq_setattr.c: Likewise.
72359 * rt/mq_timedreceive.c: Likewise.
72360 * rt/mq_timedsend.c: Likewise.
72361 * rt/mq_unlink.c: Likewise.
72362 * rt/shm_open.c: Likewise.
72363 * rt/shm_unlink.c: Likewise.
72364 * rt/timer_create.c: Likewise.
72365 * rt/timer_delete.c: Likewise.
72366 * rt/timer_getoverr.c: Likewise.
72367 * rt/timer_gettime.c: Likewise.
72368 * rt/timer_settime.c: Likewise.
72369 * setjmp/__longjmp.c: Likewise.
72370 * setjmp/setjmp.c: Likewise.
72371 * signal/kill.c: Likewise.
72372 * signal/killpg.c: Likewise.
72373 * signal/raise.c: Likewise.
72374 * signal/sigaction.c: Likewise.
72375 * signal/sigaltstack.c: Likewise.
72376 * signal/sigblock.c: Likewise.
72377 * signal/sigignore.c: Likewise.
72378 * signal/sigintr.c: Likewise.
72379 * signal/signal.c: Likewise.
72380 * signal/sigpause.c: Likewise.
72381 * signal/sigpending.c: Likewise.
72382 * signal/sigqueue.c: Likewise.
72383 * signal/sigreturn.c: Likewise.
72384 * signal/sigset.c: Likewise.
72385 * signal/sigsetmask.c: Likewise.
72386 * signal/sigstack.c: Likewise.
72387 * signal/sigsuspend.c: Likewise.
72388 * signal/sigtimedwait.c: Likewise.
72389 * signal/sigvec.c: Likewise.
72390 * signal/sigwait.c: Likewise.
72391 * signal/sigwaitinfo.c: Likewise.
72392 * signal/sysv_signal.c: Likewise.
72393 * socket/accept.c: Likewise.
72394 * socket/accept4.c: Likewise.
72395 * socket/bind.c: Likewise.
72396 * socket/connect.c: Likewise.
72397 * socket/getpeername.c: Likewise.
72398 * socket/getsockname.c: Likewise.
72399 * socket/getsockopt.c: Likewise.
72400 * socket/isfdtype.c: Likewise.
72401 * socket/listen.c: Likewise.
72402 * socket/recv.c: Likewise.
72403 * socket/recvfrom.c: Likewise.
72404 * socket/recvmsg.c: Likewise.
72405 * socket/send.c: Likewise.
72406 * socket/sendmsg.c: Likewise.
72407 * socket/sendto.c: Likewise.
72408 * socket/setsockopt.c: Likewise.
72409 * socket/shutdown.c: Likewise.
72410 * socket/sockatmark.c: Likewise.
72411 * socket/socket.c: Likewise.
72412 * socket/socketpair.c: Likewise.
72413 * stdio-common/ctermid.c: Likewise.
72414 * stdio-common/cuserid.c: Likewise.
72415 * stdio-common/remove.c: Likewise.
72416 * stdio-common/rename.c: Likewise.
72417 * stdio-common/renameat.c: Likewise.
72418 * stdio-common/tempname.c: Likewise.
72419 * stdlib/getcontext.c: Likewise.
72420 * stdlib/makecontext.c: Likewise.
72421 * stdlib/setcontext.c: Likewise.
72422 * stdlib/swapcontext.c: Likewise.
72423 * stdlib/system.c: Likewise.
72424 * streams/fattach.c: Likewise.
72425 * streams/fdetach.c: Likewise.
72426 * streams/getmsg.c: Likewise.
72427 * streams/getpmsg.c: Likewise.
72428 * streams/putmsg.c: Likewise.
72429 * streams/putpmsg.c: Likewise.
72430 * sysdeps/unix/bsd/getpt.c: Likewise.
72431 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
72432 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
72433 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
72434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72435 Likewise.
72436 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
72437 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72438 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
72439 * sysvipc/msgctl.c: Likewise.
72440 * sysvipc/msgget.c: Likewise.
72441 * sysvipc/msgrcv.c: Likewise.
72442 * sysvipc/msgsnd.c: Likewise.
72443 * sysvipc/semctl.c: Likewise.
72444 * sysvipc/semget.c: Likewise.
72445 * sysvipc/semop.c: Likewise.
72446 * sysvipc/semtimedop.c: Likewise.
72447 * sysvipc/shmat.c: Likewise.
72448 * sysvipc/shmctl.c: Likewise.
72449 * sysvipc/shmdt.c: Likewise.
72450 * sysvipc/shmget.c: Likewise.
72451 * termios/tcdrain.c: Likewise.
72452 * termios/tcflow.c: Likewise.
72453 * termios/tcflush.c: Likewise.
72454 * termios/tcgetattr.c: Likewise.
72455 * termios/tcgetpgrp.c: Likewise.
72456 * termios/tcsendbrk.c: Likewise.
72457 * termios/tcsetattr.c: Likewise.
72458 * termios/tcsetpgrp.c: Likewise.
72459 * time/adjtime.c: Likewise.
72460 * time/clock.c: Likewise.
72461 * time/getitimer.c: Likewise.
72462 * time/gettimeofday.c: Likewise.
72463 * time/setitimer.c: Likewise.
72464 * time/settimeofday.c: Likewise.
72465 * time/stime.c: Likewise.
72466 * time/time.c: Likewise.
72467
72468 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72469
72470 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
72471 /usr/old/bin.
72472
72473 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
72474 instead of spaces.
72475 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
72476
72477 2012-11-03 Joseph Myers <joseph@codesourcery.com>
72478
72479 [BZ #14796]
72480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
72481 FE_TONEAREST before applying Dekker multiplication and Knuth
72482 addition. Clear inexact exceptions and check for exact zero
72483 results afterwards.
72484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72487 * math/libm-test.inc (fma_test): Add more tests.
72488 (fma_test_towardzero): Likewise.
72489 (fma_test_downward): Likewise.
72490 (fma_test_upward): Likewise.
72491 * sysdeps/generic/math_private.h (default_libc_fesetround): New
72492 function.
72493 (libc_fesetround): New macro.
72494 (libc_fesetroundf): Likewise.
72495 (libc_fesetroundl): Likewise.
72496 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
72497 function.
72498 (libc_fesetround_387): Likewise.
72499 (libc_fesetroundf): New macro.
72500 (libc_fesetround): Likewise.
72501 (libc_fesetroundl): Likewise.
72502 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
72503 function.
72504 (libc_fesetroundf): New macro.
72505 (libc_fesetround): Likewise.
72506 (libc_fesetroundl): Likewise.
72507 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
72508 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
72509 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
72510 libm_hidden_ver.
72511 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
72512 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
72513 libm_hidden_def.
72514 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
72515 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
72516 libm_hidden_ver.
72517 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
72518 libm_hidden_def.
72519
72520 [BZ #3439]
72521 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
72522 integer constant usable in #if and use that to give value to enum
72523 constant.
72524 (FE_DIVBYZERO): Likewise.
72525 (FE_UNDERFLOW): Likewise.
72526 (FE_OVERFLOW): Likewise.
72527 (FE_INVALID): Likewise.
72528 (FE_INVALID_SNAN): Likewise.
72529 (FE_INVALID_ISI): Likewise.
72530 (FE_INVALID_IDI): Likewise.
72531 (FE_INVALID_ZDZ): Likewise.
72532 (FE_INVALID_IMZ): Likewise.
72533 (FE_INVALID_COMPARE): Likewise.
72534 (FE_INVALID_SOFTWARE): Likewise.
72535 (FE_INVALID_SQRT): Likewise.
72536 (FE_INVALID_INTEGER_CONVERSION): Likewise.
72537 (FE_TONEAREST): Likewise.
72538 (FE_TOWARDZERO): Likewise.
72539 (FE_UPWARD): Likewise.
72540 (FE_DOWNWARD): Likewise.
72541 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72542 (FE_DIVBYZERO): Likewise.
72543 (FE_OVERFLOW): Likewise.
72544 (FE_UNDERFLOW): Likewise.
72545 (FE_INEXACT): Likewise.
72546 (FE_TONEAREST): Likewise.
72547 (FE_DOWNWARD): Likewise.
72548 (FE_UPWARD): Likewise.
72549 (FE_TOWARDZERO): Likewise.
72550 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72551 (FE_UNDERFLOW): Likewise.
72552 (FE_OVERFLOW): Likewise.
72553 (FE_DIVBYZERO): Likewise.
72554 (FE_INVALID): Likewise.
72555 (FE_TONEAREST): Likewise.
72556 (FE_TOWARDZERO): Likewise.
72557 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72558 (FE_OVERFLOW): Likewise.
72559 (FE_UNDERFLOW): Likewise.
72560 (FE_DIVBYZERO): Likewise.
72561 (FE_INEXACT): Likewise.
72562 (FE_TONEAREST): Likewise.
72563 (FE_TOWARDZERO): Likewise.
72564 (FE_UPWARD): Likewise.
72565 (FE_DOWNWARD): Likewise.
72566 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72567 (FE_DIVBYZERO): Likewise.
72568 (FE_OVERFLOW): Likewise.
72569 (FE_UNDERFLOW): Likewise.
72570 (FE_INEXACT): Likewise.
72571 (FE_TONEAREST): Likewise.
72572 (FE_DOWNWARD): Likewise.
72573 (FE_UPWARD): Likewise.
72574 (FE_TOWARDZERO): Likewise.
72575
72576 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
72577
72578 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72579
72580 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
72581
72582 * scripts/cross-test-ssh.sh (command): Use newlines to separate
72583 commands. Quote $PWD.
72584 (blacklist_exports): Don't use remove_newlines. Replace "declare
72585 -x" by "export".
72586 (remove_newlines): Remove.
72587
72588 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
72589
72590 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72591 * stdlib/stdlib.h (atof): Moved to ...
72592 * include/bits/stdlib-float.h: Here. New file.
72593 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72594 * stdlib/bits/stdlib-float.h: New file.
72595 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72596 -mno-sse -mno-mmx.
72597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72598 <xmmintrin.h>.
72599
72600 2012-11-02 Joseph Myers <joseph@codesourcery.com>
72601
72602 * conform/conformtest.pl (@headers): Add fenv.h.
72603 * conform/data/fenv.h-data: New file.
72604 * include/fenv.h [_ISOMAC]: Disable all contents of file except
72605 include of <math/fenv.h>.
72606
72607 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72608 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72609 && !UNIX98]. Enables tests for XOPEN2K8.
72610 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72611 POSIX2008]: Likewise.
72612
72613 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72614 (struct rusage): Do not expect type or its members.
72615
72616 [BZ #3439]
72617 * math/math.h (FP_NAN): Define macro to integer constant usable in
72618 #if and use that to give value to enum constant.
72619 (FP_INFINITE): Likewise.
72620 (FP_ZERO): Likewise.
72621 (FP_SUBNORMAL): Likewise.
72622 (FP_NORMAL): Likewise.
72623
72624 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
72625
72626 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72627 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72628 arguments.
72629
72630 2012-11-02 Roland McGrath <roland@hack.frob.com>
72631
72632 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72633 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72634 autoconf-time if not.
72635 * configure.in: Remove AC_PREREQ.
72636
72637 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72638
72639 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72640 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72641 of the internal implementation.
72642
72643 2012-11-02 Joseph Myers <joseph@codesourcery.com>
72644
72645 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72646 except include of <misc/sys/syslog.h>.
72647
72648 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
72649
72650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72651 function returns with a NULL context exit with zero.
72652
72653 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72654
72655 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72656
72657 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
72658
72659 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72660 (run_program_cmd): This.
72661 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72662 (tst_langinfo): New variable. Use it.
72663
72664 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
72665
72666 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72667 floating point opcodes.
72668
72669 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
72670
72671 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72672 variable.
72673
72674 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72675
72676 * sysdeps/mach/hurd/powerpc: Remove directory.
72677 * sysdeps/mach/powerpc: Likewise.
72678
72679 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
72680
72681 * scripts/check-local-headers.sh: Ignore c++ headers.
72682
72683 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
72684
72685 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72686 __libc_cleanup_region_start argument.
72687
72688 2012-11-01 Joseph Myers <joseph@codesourcery.com>
72689
72690 [BZ #14784]
72691 [BZ #14785]
72692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72693 x * y using scaling, not as x * y + z.
72694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72696 * math/libm-test.inc (fma_test): Add more tests.
72697 (fma_test_towardzero): Likewise.
72698 (fma_test_downward): Likewise.
72699 (fma_test_upward): Likewise.
72700
72701 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
72702
72703 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72704
72705 2012-10-31 Joseph Myers <joseph@codesourcery.com>
72706
72707 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72708 New variable.
72709
72710 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
72711
72712 * rt/tst-shm.c (worker): Correct checking for mmap failure.
72713
72714 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
72715
72716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72717 Fix sort order.
72718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72719 Likewise.
72720
72721 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72722
72723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72724 Fix the order of the list for glibc 2.17.
72725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72726 Likewise.
72727
72728 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
72729
72730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72731
72732 2012-10-31 Joseph Myers <joseph@codesourcery.com>
72733
72734 [BZ #14610]
72735 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72736 for low part of x being zero before using __atanl (y).
72737 * math/libm-test.inc (atan2_test): Add another test.
72738
72739 * manual/install.texi (Configuring and compiling): Document
72740 general use of test-wrapper and test-wrapper-env.
72741 * INSTALL: Regenerated.
72742
72743 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72744 (__fma): Do not extract and scale down low bits on after-rounding
72745 systems when result rounded to normal precision would have normal
72746 exponent.
72747 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72748 (__fmal): Do not extract and scale down low bits on after-rounding
72749 systems when result rounded to normal precision would have normal
72750 exponent.
72751 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72752 (__fmal): Do not extract and scale down low bits on after-rounding
72753 systems when result rounded to normal precision would have normal
72754 exponent.
72755 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72756 macro.
72757 (fma_test): Add more tests.
72758 (fma_test_towardzero): Likewise.
72759 (fma_test_downward): Likewise.
72760 (fma_test_upward): Likewise.
72761
72762 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
72763
72764 * sysdeps/i386/tininess.h: Renamed to ...
72765 * sysdeps/x86/tininess.h: This.
72766 * sysdeps/x86_64/tininess.h: Removed.
72767
72768 2012-10-30 Joseph Myers <joseph@codesourcery.com>
72769
72770 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72771 input. Use $(build-program-cmd).
72772 ($(objpfx)tst-array1-static.out): Likewise.
72773 ($(objpfx)tst-array2.out): Likewise.
72774 ($(objpfx)tst-array3.out): Likewise.
72775 ($(objpfx)tst-array4.out): Likewise.
72776 ($(objpfx)tst-array5.out): Likewise.
72777 ($(objpfx)tst-array5-static.out): Likewise.
72778
72779 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
72780
72781 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72782 if defined.
72783
72784 * nss/nsswitch.h (nss_interface_function): Provide new
72785 macro for use with NSS functions.
72786 * grp/initgroups.c: Use new macro.
72787 * nss/getXXbyYY.c: Likewise.
72788 * nss/getXXbyYY_r.c: Likewise.
72789 * nss/getXXent.c: Likewise.
72790 * nss/getXXent_r.c: Likewise.
72791 * sysdeps/posix/getaddrinfo.c: Likewise.
72792
72793 2012-10-30 Andreas Jaeger <aj@suse.de>
72794
72795 * po/ru.po: Update Russion translation from translation project.
72796
72797 2012-10-30 Joseph Myers <joseph@codesourcery.com>
72798
72799 [BZ #14152]
72800 [BZ #14783]
72801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72802 result and shift together with sticky bit instead of replicating
72803 round-to-nearest rounding.
72804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72806 * math/libm-test.inc (fma_test): Add more tests. Do not permit
72807 missing underflow exceptions.
72808 (fma_test_towardzero): Add more tests.
72809 (fma_test_downward): Likewise.
72810 (fma_test_upward): Likewise.
72811
72812 [BZ #14047]
72813 * sysdeps/generic/tininess.h: New file.
72814 * sysdeps/i386/tininess.h: Likewise.
72815 * sysdeps/sh/tininess.h: Likewise.
72816 * sysdeps/x86_64/tininess.h: Likewise.
72817 * stdlib/tst-strtod-underflow.c: Likewise.
72818 * stdlib/tst-tininess.c: Likewise.
72819 * stdlib/strtod_l.c: Include <tininess.h>.
72820 (round_and_return): Do not set errno for exact underflow cases.
72821 Force an underflow exception when setting errno for underflow.
72822 Determine underflow based on rounding to normal precision if
72823 TININESS_AFTER_ROUNDING.
72824 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72825 ERANGE for exact underflow cases.
72826 * stdlib/Makefile (tests): Add tst-tininess and
72827 tst-strtod-underflow.
72828 ($(objpfx)tst-tininess): Use $(link-libm).
72829 ($(objpfx)tst-strtod-underflow): Likewise.
72830
72831 2012-10-30 Andreas Jaeger <aj@suse.de>
72832
72833 [BZ #14767]
72834 * elf/Makefile (tests): Remove conditional for have-initfini-array
72835 since this is now always required and the variable does not exist
72836 anymore.
72837 (tests-static): Likewise.
72838 (modules-names): Likewise.
72839
72840 * po/eo.po: Add Esperanto translation from translation project.
72841
72842 * elf/tst-array1.c (fini_array): Make writeable so that it can be
72843 merged with constructor/destructor.
72844 (init_array): Likewise.
72845 * elf/tst-array2dep.c (fini_array): Likewise.
72846 (init_array): Likewise.
72847
72848 2012-10-29 Mike Frysinger <vapier@gentoo.org>
72849
72850 * manual/message.texi: Delete @cartouche tags.
72851
72852 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
72853
72854 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72855 EOPNOTSUPP.
72856 * sysdeps/mach/hurd/fsync.c: Likewise.
72857
72858 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72859 [_POSIX_REALTIME_SIGNALS]: Change condition to
72860 [_POSIX_REALTIME_SIGNALS > 0].
72861
72862 2012-10-27 Andreas Jaeger <aj@suse.de>
72863
72864 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72865 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72867 [__WORDSIZE != 64]: Likewise.
72868
72869 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
72870
72871 * iconvdata/tst-table.sh: Remove ${SHELL}.
72872 * iconvdata/tst-tables.sh: Likewise.
72873
72874 2012-10-25 David S. Miller <davem@davemloft.net>
72875
72876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72877 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72878 of strtoull.
72879
72880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72881 ifunc-impl-list.c
72882 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72883 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72884 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72885 file.
72886
72887 2012-10-25 Roland McGrath <roland@hack.frob.com>
72888
72889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72890 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72891 __getdirentries.
72892
72893 2012-10-25 Joseph Myers <joseph@codesourcery.com>
72894 Jim Blandy <jimb@codesourcery.com>
72895
72896 * scripts/cross-test-ssh.sh: New file.
72897 * manual/install.texi (Configuring and compiling): Document use of
72898 cross-test-ssh.sh.
72899 * INSTALL: Regenerated.
72900
72901 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
72902
72903 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72904 EOPNOTSUPP.
72905
72906 2012-10-25 Joseph Myers <joseph@codesourcery.com>
72907
72908 * Makeconfig (run-program-prefix): Fix comment.
72909
72910 2012-10-24 Joseph Myers <joseph@codesourcery.com>
72911 Jim Blandy <jimb@codesourcery.com>
72912
72913 * Makeconfig (test-wrapper): New variable,
72914 (test-wrapper-env): Likewise.
72915 [$(cross-compiling) = yes && $(test-wrapper) != ""]
72916 (run-built-tests): Define to yes.
72917 (run-program-prefix): Use $(test-wrapper).
72918 (built-program-cmd): Likewise.
72919 * Rules (make-test-out): Use $(test-wrapper-env) and
72920 $(host-built-program-cmd).
72921 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72922 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72923 tst-pathopt.sh.
72924 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72925 $(test-wrapper-env) to tst-rtld-load-self.sh.
72926 ($(objpfx)order2.out): Use $(test-wrapper).
72927 ($(objpfx)tst-initorder.out): Likewise.
72928 ($(objpfx)tst-initorder2.out): Likewise.
72929 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72930 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72931 (test_wrapper_env): New variable. Use it to run ld.so.
72932 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72933 Use it to run ld.so.
72934 (test_wrapper_env): Likewise.
72935 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72936 $(test-wrapper) to run-iconv-test.sh.
72937 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72938 (ICONV): Use $test_wrapper.
72939 * posix/Makefile ($(objpfx)globtest.out): Pass
72940 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72941 globtest.sh, not $(run-program-prefix).
72942 * posix/globtest.sh (run_via_rtld_prefix): New variable.
72943 (test_wrapper): Likewise.
72944 (test_wrapper_env): Likewise. Use it to run globtest with HOME
72945 set together with run_via_rtld_prefix.
72946 (run_program_prefix): Define in terms of test_wrapper and
72947 run_via_rtld_prefix.
72948
72949 2012-10-24 Roland McGrath <roland@hack.frob.com>
72950
72951 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72952 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72953 Targets removed.
72954
72955 [BZ #14743]
72956 * include/time.h: Remove librt_hidden_proto (clock_gettime).
72957 Declare __clock_getres, __clock_gettime, __clock_settime,
72958 __clock_nanosleep, and __clock_getcpuclockid.
72959 * rt/clock_gettime.c: Define __clock_gettime as an alias.
72960 Remove librt_hidden_def (clock_gettime).
72961 * sysdeps/unix/clock_gettime.c: Likewise.
72962 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72964 * rt/clock_getres.c: Define __clock_getres as an alias.
72965 * sysdeps/posix/clock_getres.c: Likewise.
72966 * rt/clock_settime.c: Define __clock_settime as an alias.
72967 * sysdeps/unix/clock_settime.c: Likewise.
72968 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72969 * sysdeps/unix/clock_nanosleep.c: Likewise.
72970 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72971 * rt/clock-compat.c: New file.
72972 * rt/Makefile (librt-routines): Add clock-compat and move
72973 $(clock-routines) to ...
72974 (routines): ... here, new variable.
72975 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72976 Don't add get_clockfreq here.
72977 * rt/Versions (libc: GLIBC_2.17): New version set.
72978 Add clock_* symbols here.
72979 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
72980 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72981 (GLIBC_2.17): Add clock_* symbols.
72982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72986 Likewise.
72987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72988 Likewise.
72989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72993 * NEWS: Mention the move.
72994
72995 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72996 Use __open, __read, __close rather than their public counterparts.
72997 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72998 (__get_clockfreq_via_cpuinfo): Likewise.
72999 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
73000 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
73001
73002 * config.h.in (HAVE_IFUNC): New #undef.
73003 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
73004 was successful.
73005 * configure: Regenerated.
73006
73007 2012-10-24 Mike Frysinger <vapier@gentoo.org>
73008
73009 * configure.in: Move READELF check to start of file.
73010 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
73011 libc_cv_asm_gnu_indirect_function in the process.
73012 * configure: Regenerated.
73013
73014 2012-10-24 Mike Frysinger <vapier@gentoo.org>
73015
73016 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
73017 send the output to /dev/null.
73018 (libc_cv_cc_with_libunwind): Likewise.
73019 (libc_cv_as_noexecstack): Likewise.
73020 * configure: Regenerate.
73021
73022 2012-10-24 Joseph Myers <joseph@codesourcery.com>
73023
73024 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
73025
73026 * posix/globtest.sh (TMPDIR): Do not set.
73027 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
73028 (testout): Likewise.
73029
73030 2012-10-24 Andreas Jaeger <aj@suse.de>
73031
73032 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
73033 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
73034 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
73035 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
73036 posix_fadvise64, posix_fallocate64.
73037
73038 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
73039 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
73040 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
73041 Likewise.
73042 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
73043 Likewise.
73044 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
73045
73046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
73047 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
73048 <bits/fcntl-linux.h>.
73049 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
73050
73051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
73052 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
73053 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
73054 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
73055 [__WORDSIZE != 64]: Likewise.
73056
73057 2012-10-23 Joseph Myers <joseph@codesourcery.com>
73058
73059 * Makeconfig (run-built-tests): New variable.
73060 * Rules [$(cross-compiling) = yes]: Change condition to
73061 [$(run-built-tests) = no].
73062 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
73063 to [$(run-built-tests) = yes].
73064 * elf/Makefile [$(cross-compiling) = no]: Likewise.
73065 * grp/Makefile [$(cross-compiling) = no]: Likewise.
73066 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
73067 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
73068 * intl/Makefile [$(cross-compiling) = no]: Likewise.
73069 * io/Makefile [$(cross-compiling) = no]: Likewise.
73070 * libio/Makefile [$(cross-compiling) = no]: Likewise.
73071 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
73072 * misc/Makefile [$(cross-compiling) = no]: Likewise.
73073 * posix/Makefile [$(cross-compiling) = no]: Likewise.
73074 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
73075 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
73076 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
73077 * string/Makefile [$(cross-compiling) = no]: Likewise.
73078
73079 * posix/Makefile ($(objpfx)globtest.out): Pass
73080 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
73081 $(rtld-installed-name).
73082 * posix/globtest.sh (elf_objpfx): Remove variable.
73083 (rtld_installed_name): Likewise.
73084 (library_path): Likewise.
73085 (run_program_prefix): New variable. Use for running globtest
73086 binary.
73087
73088 2012-10-23 Jim Blandy <jimb@codesourcery.com>
73089 Joseph Myers <joseph@codesourcery.com>
73090
73091 * Makeconfig (host-built-program-cmd): New variable.
73092 * elf/Makefile (tst-stackguard1-ARGS): Use
73093 $(host-built-program-cmd).
73094 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
73095 (tst-spawn-ARGS): Likewise.
73096 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
73097
73098 2012-10-23 Joseph Myers <joseph@codesourcery.com>
73099 Jim Blandy <jimb@codesourcery.com>
73100
73101 * Makeconfig (run-via-rtld-prefix): New variable.
73102 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
73103 (built-program-cmd): Likewise.
73104
73105 2012-10-22 Andreas Jaeger <aj@suse.de>
73106
73107 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73108 __O_RSYNC if it exists, otherwise to O_SYNC.
73109
73110 2012-10-22 Jim Blandy <jimb@codesourcery.com>
73111 Joseph Myers <joseph@codesourcery.com>
73112
73113 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
73114 /dev/null.
73115 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
73116 from /dev/null
73117 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
73118 /dev/null.
73119
73120 2012-10-22 Andreas Jaeger <aj@suse.de>
73121
73122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
73123 Define always.
73124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
73125
73126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73127 bits/fcntl-linux.h.
73128
73129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
73130 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
73131
73132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
73133 to __O_LARGEFILE.
73134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
73135 to __O_LARGEFILE.
73136
73137 2012-10-21 Jim Blandy <jimb@codesourcery.com>
73138 Joseph Myers <joseph@codesourcery.com>
73139
73140 * config.make.in (NM): New variable.
73141
73142 2012-10-21 Andreas Jaeger <aj@suse.de>
73143
73144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
73145 definitions and declarations that are provided by
73146 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73147
73148 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
73149
73150 [BZ #14683]
73151 * elf/Makefile (tests-static): Add tst-leaks1-static.
73152 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
73153 ($(objpfx)tst-leaks1-static): New rule.
73154 ($(objpfx)tst-leaks1-static-mem): Likewise.
73155 (tst-leaks1-static-ENV): New macro.
73156 * elf/dl-open.c (dl_open_worker): Check the main application
73157 only if SHARED is defined.
73158 * elf/tst-leaks1-static.c: New file.
73159
73160 2012-10-20 Andreas Jaeger <aj@suse.de>
73161
73162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
73163 generic values for Linux.
73164 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
73165 and declarations that are provided by <bits/fcntl-linux.h> and
73166 include <bits/fcntl-linux.h>.
73167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73169
73170 2012-10-20 Roland McGrath <roland@hack.frob.com>
73171
73172 * io/fcntl.h: Move include of <bits/types.h> to the top and
73173 include it unconditionally.
73174
73175 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
73176
73177 * wcsmbs/Makefile (tests-ifunc): New variable.
73178 (tests): Add $(tests-ifunc).
73179 * wcsmbs/test-wcschr-ifunc.c: New file.
73180 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
73181 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73182 * wcsmbs/test-wcslen-ifunc.c: Likewise.
73183 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
73184 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
73185
73186 * string/Makefile (tests-ifunc): New variable.
73187 (tests): Add $(tests-ifunc).
73188 * string/test-memccpy.c (TEST_NAME): New macro.
73189 * string/test-memchr.c (TEST_NAME): Likewise.
73190 * string/test-memcmp.c (TEST_NAME): Likewise.
73191 * string/test-memcpy.c (TEST_NAME): Likewise.
73192 * string/test-memmem.c (TEST_NAME): Likewise.
73193 * string/test-memmove.c (TEST_NAME): Likewise.
73194 * string/test-memset.c (TEST_NAME): Likewise.
73195 * string/test-rawmemchr.c (TEST_NAME): Likewise.
73196 * string/test-stpcpy.c (TEST_NAME): Likewise.
73197 * string/test-stpncpy.c (TEST_NAME): Likewise.
73198 * string/test-strcasecmp.c (TEST_NAME): Likewise.
73199 * string/test-strcasestr.c (TEST_NAME): Likewise.
73200 * string/test-strcat.c (TEST_NAME): Likewise.
73201 * string/test-strchr.c (TEST_NAME): Likewise.
73202 * string/test-strcmp.c(TEST_NAME): Likewise.
73203 * string/test-strcpy.c (TEST_NAME): Likewise.
73204 * string/test-strcspn.c (TEST_NAME): Likewise.
73205 * string/test-strlen.c (TEST_NAME): Likewise.
73206 * string/test-strncasecmp.c (TEST_NAME): Likewise.
73207 * string/test-strncmp.c (TEST_NAME): Likewise.
73208 * string/test-strncpy.c (TEST_NAME): Likewise.
73209 * string/test-strnlen.c (TEST_NAME): Likewise.
73210 * string/test-strpbrk.c (TEST_NAME): Likewise.
73211 * string/test-strrchr.c (TEST_NAME): Likewise.
73212 * string/test-strspn.c (TEST_NAME): Likewise.
73213 * string/test-strstr.c (TEST_NAME): Likewise.
73214 * string/test-bcopy-ifunc.c: New file.
73215 * string/test-bzero-ifunc.c: Likewise.
73216 * string/test-memccpy-ifunc.c: Likewise.
73217 * string/test-memchr-ifunc.c: Likewise.
73218 * string/test-memcmp-ifunc.c: Likewise.
73219 * string/test-memcpy-ifunc.c: Likewise.
73220 * string/test-memmem-ifunc.c: Likewise.
73221 * string/test-memmove-ifunc.c: Likewise.
73222 * string/test-mempcpy-ifunc.c: Likewise.
73223 * string/test-memset-ifunc.c: Likewise.
73224 * string/test-rawmemchr-ifunc.c: Likewise.
73225 * string/test-stpcpy-ifunc.c: Likewise.
73226 * string/test-stpncpy-ifunc.c: Likewise.
73227 * string/test-strcasecmp-ifunc.c: Likewise.
73228 * string/test-strcasestr-ifunc.c: Likewise.
73229 * string/test-strcat-ifunc.c: Likewise.
73230 * string/test-strchr-ifunc.c: Likewise.
73231 * string/test-strchrnul-ifunc.c: Likewise.
73232 * string/test-strcmp-ifunc.c: Likewise.
73233 * string/test-strcpy-ifunc.c: Likewise.
73234 * string/test-strcspn-ifunc.c: Likewise.
73235 * string/test-strlen-ifunc.c: Likewise.
73236 * string/test-strncasecmp-ifunc.c: Likewise.
73237 * string/test-strncat-ifunc.c: Likewise.
73238 * string/test-strncmp-ifunc.c: Likewise.
73239 * string/test-strncpy-ifunc.c: Likewise.
73240 * string/test-strnlen-ifunc.c: Likewise.
73241 * string/test-strpbrk-ifunc.c: Likewise.
73242 * string/test-strrchr-ifunc.c: Likewise.
73243 * string/test-strspn-ifunc.c: Likewise.
73244 * string/test-strstr-ifunc.c: Likewise.
73245
73246 * debug/Makefile (tests-ifunc): New variable.
73247 (tests): Add $(tests-ifunc).
73248 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73249 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73250 * debug/test-stpcpy_chk-ifunc.c: New file.
73251 * debug/test-strcpy_chk-ifunc.c: Likewise.
73252
73253 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
73254
73255 [BZ #13601]
73256 * elf/dl-load.c (open_verify): Retry read if the entire ELF
73257 header is not read in.
73258
73259 2012-10-19 Joseph Myers <joseph@codesourcery.com>
73260
73261 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
73262 script to $(SHELL) as $<. Pass $(common-objpfx) to script
73263 directly. Pass built executable to script as
73264 $(built-program-cmd).
73265 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
73266 $testprogram without using LD_LIBRARY_PATH and $ldso.
73267
73268 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73269 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73270 $(rtld-installed-name).
73271 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73272 (rtld_installed_name): Likewise.
73273 (library_path): Likewise.
73274 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
73275 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73276 $(run-program-prefix) to tst-tables.sh.
73277 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
73278 it to run tst-table-from and tst-table-to.
73279 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73280 Pass it to tst-table.sh.
73281 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73282 $(run-program-prefix) to tst-gettext.sh.
73283 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73284 tst-translit.sh.
73285 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73286 tst-gettext2.sh.
73287 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
73288 to run tst-gettext.
73289 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
73290 to run tst-gettext2.
73291 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
73292 to run tst-translit.
73293 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73294 $(run-program-prefix) to tst-mtrace.sh.
73295 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
73296 to run tst-mtrace.
73297 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73298 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73299 $(rtld-installed-name).
73300 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73301 (rtld_installed_name): Likewise.
73302 (run_program_prefix): New variable. Use it to run wordexp-test.
73303
73304 * Makeconfig (ARCH): Remove all definitions.
73305 (machine): Likewise.
73306 [ARCH]: Remove conditional code.
73307 [!objdir]: Give error.
73308 [!objdir] (objpfx): Remove.
73309 [!objdir] (common-objpfx): Likewise.
73310 [!objdir] (common-objdir): Likewise.
73311 * configure.in (config_makefile): Remove. Hardcode Makefile in
73312 AC_CONFIG_FILES call.
73313 * configure: Regenerated.
73314
73315 [BZ #13888]
73316 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73317 or TMPDIR.
73318 (testout): Likewise.
73319
73320 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73321 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73322 $(rtld-installed-name).
73323 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73324 (rtld_installed_name): Likewise.
73325 (runit): Remove function.
73326 (run_getconf): New variable, Use it for running getconf binary.
73327
73328 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
73329
73330 [BZ #14716]
73331 * string/test-memmem.c (check_result): New function.
73332 (do_one_test): Use it.
73333 (check1): New function.
73334 (test_main): Use it.
73335
73336 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
73337
73338 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73339
73340 2012-10-18 Joseph Myers <joseph@codesourcery.com>
73341
73342 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73343 (_G_LSEEK64): Likewise.
73344 (_G_MMAP64): Likewise.
73345 (_G_FSTAT64): Likewise.
73346 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73347 (_G_LSEEK64): Likewise.
73348 (_G_MMAP64): Likewise.
73349 (_G_FSTAT64): Likewise.
73350 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73351 unconditional. Call __mmap64 directly.
73352 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73353 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
73354 __lseek64 directly.
73355 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73356 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
73357 __mmap64 directly.
73358 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73359 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
73360 __lseek64 directly.
73361 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73362 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
73363 __lseek64 directly.
73364 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73365 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
73366 __lseek64 directly.
73367 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73368 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
73369 __fxstat64 directly.
73370 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73371 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73372 unconditional.
73373 (freopen64) [!_G_OPEN64]: Remove conditional code.
73374 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73375 unconditional.
73376 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73377 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73378 unconditional.
73379 (ftello64) [!_G_LSEEK64]: Remove conditional code.
73380 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73381 unconditional.
73382 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73383 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73384 unconditional.
73385 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73386 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73387 unconditional.
73388 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73389 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73390 unconditional.
73391 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73392 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
73393 unconditional.
73394 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73395
73396 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
73397
73398 [BZ #12140]
73399 * manual/memory.texi (Malloc Tunable Parameters): Add note
73400 about free list pointers overwriting some perturb bytes.
73401 Wording suggested by Roland McGrath.
73402
73403 2012-10-17 Joseph Myers <joseph@codesourcery.com>
73404
73405 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
73406 (lgamma_test): Likewise.
73407 (tgamma_test): Likewise.
73408
73409 2012-10-16 Florian Weimer <fweimer@redhat.com>
73410
73411 [BZ #14700]
73412 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
73413 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
73414
73415 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
73416
73417 * NEWS: Mention BZ #14716.
73418 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
73419 when removing AVAILABLE1_USES_J macro.
73420
73421 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
73422
73423 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
73424 (__bswap_64): __uint64_t for unsigned 64-bit int.
73425
73426 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
73427
73428 * include/string.h (memmem): Declare libc hidden alias.
73429 * string/memmem.c (memmem): Define libc hidden alias.
73430 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
73431 __read, __close instead of open, read, close.
73432
73433 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
73434
73435 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
73436 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
73437 global and hidden.
73438 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
73439 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
73440 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
73441 Likewise.
73442 (__rawmemchr_sse2): Likewise.
73443 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
73444 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
73445 (__strchr_sse2): Likewise.
73446 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
73447 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
73448 (__strcasecmp_sse2): Likewise.
73449 (__strncasecmp_sse2): Likewise.
73450 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
73451 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
73452 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
73453 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
73454 (__strrchr_sse2): Likewise.
73455 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
73456 ifunc-impl-list.c.
73457 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
73458 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
73459 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
73460 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73461 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
73462 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
73463 * sysdeps/x86_64/multiarch/memset.S: Likewise.
73464 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
73465 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
73466 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
73467 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
73468 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
73469 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
73470 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
73471 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
73472 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
73473 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
73474 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
73475 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
73476 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
73477 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
73478 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
73479 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
73480 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
73481 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
73482 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73483 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
73484 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73485 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
73486 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
73487
73488 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
73489 global and hidden.
73490 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
73491 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
73492 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
73493 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
73494 Likewise.
73495 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
73496 Likewise.
73497 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
73498 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
73499 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
73500 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
73501 ifunc-impl-list.c.
73502 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73503 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73504 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73505 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73506 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73507 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73508 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73509 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73510 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73511 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73512 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73513 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73514 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73515 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
73516 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
73517 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73518 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
73519 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
73520 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73521 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73522 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73523 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73524 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73525 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73527 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
73528 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
73529 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
73530 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
73531 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73532 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
73533 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73534 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73535 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
73536 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73537 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73538 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73539 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73540 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73541 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73542 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73543
73544 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73545 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73546 * include/ifunc-impl-list.h: New file.
73547 * misc/ifunc-impl-list.c: Likewise.
73548 * misc/Makefile (routines): Add ifunc-impl-list.
73549 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73550 * string/test-string.h: Include <ifunc-impl-list.h>.
73551 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73552 TEST_NAME]: New variables.
73553 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73554 are defined.
73555 (test_init): Call __libc_ifunc_impl_list to initialize
73556 func_list if TEST_IFUNC and TEST_NAME are defined.
73557
73558 * string/Makefile (strop-tests): Add bcopy and bzero.
73559 * string/test-bcopy.c: New file.
73560 * string/test-bzero.c: Likewise.
73561 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73562 defined.
73563 * string/test-memset.c: Support bzero test if TEST_BZERO is
73564 defined.
73565 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73566 __libc_memmove.
73567 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73568 __libc_memset.
73569 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73570 of memset.
73571
73572 2012-10-10 Joseph Myers <joseph@codesourcery.com>
73573
73574 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73575 * configure: Regenerated.
73576
73577 * Makeconfig (+link-static-before-libc): Don't include
73578 $(link-static-libc).
73579
73580 * libio/libio.h (_IO_pos_t): Remove.
73581
73582 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
73583
73584 * NEWS: Add note about FIPS mode. Wording suggested by Roland
73585 McGrath.
73586
73587 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
73588
73589 * crypt/crypt-entry.c: Include fips-private.h.
73590 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73591 * crypt/md5c-test.c (main): Tolerate disabled MD5.
73592 * sysdeps/unix/sysv/linux/fips-private.h: New file.
73593 * sysdeps/generic/fips-private.h: New file, dummy fallback.
73594
73595 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
73596
73597 * crypt/crypt-private.h: Include stdbool.h.
73598 (_ufc_setup_salt_r): Return bool.
73599 * crypt/crypt-entry.c: Include errno.h.
73600 (__crypt_r): Return NULL with EINVAL for bad salt.
73601 * crypt/crypt_util.c (bad_for_salt): New.
73602 (_ufc_setup_salt_r): Check that salt is long enough and within
73603 the specified alphabet.
73604 * crypt/badsalttest.c: New file.
73605 * crypt/Makefile (tests): Add it.
73606 ($(objpfx)badsalttest): New.
73607
73608 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
73609
73610 * NEWS: Add entry for BZ #14602.
73611
73612 2012-10-09 Joseph Myers <joseph@codesourcery.com>
73613
73614 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73615 type-generic.
73616 * math/libm-test.inc: Update comment listing what functions and
73617 macros are tested.
73618 (isgreater_test): New function.
73619 (isgreaterequal_test): Likewise.
73620 (isless_test): Likewise.
73621 (islessequal_test): Likewise.
73622 (islessgreater_test): Likewise.
73623 (isunordered_test): Likewise.
73624 (main): Call the new functions.
73625
73626 2012-10-09 Roland McGrath <roland@hack.frob.com>
73627
73628 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73629 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73630 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73631 * sysdeps/i386/configure: Regenerated.
73632 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73633 * sysdeps/mach/configure: Regenerated.
73634 * sysdeps/mach/hurd/configure: Regenerated.
73635 * sysdeps/powerpc/configure: Regenerated.
73636 * sysdeps/powerpc/powerpc32/configure: Regenerated.
73637 * sysdeps/powerpc/powerpc64/configure: Regenerated.
73638 * sysdeps/s390/s390-32/configure: Regenerated.
73639 * sysdeps/s390/s390-64/configure: Regenerated.
73640 * sysdeps/sh/configure: Regenerated.
73641 * sysdeps/sparc/configure: Regenerated.
73642 * sysdeps/unix/sysv/linux/configure: Regenerated.
73643 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73644 * sysdeps/x86_64/configure: Regenerated.
73645
73646 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73647 defined. Don't check if MAP is NULL.
73648
73649 2012-10-09 Joseph Myers <joseph@codesourcery.com>
73650
73651 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73652 (_G_stat64): Likewise.
73653 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73654 (_G_stat64): Likewise.
73655 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73656 instead of struct _G_stat64.
73657 * libio/fileops.c (mmap_remap_check): Likewise.
73658 (decide_maybe_mmap): Likewise.
73659 (_IO_new_file_seekoff): Likewise.
73660 (_IO_file_stat): Likewise.
73661 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73662 _G_off64_t.
73663 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73664 instead of struct _G_stat64.
73665 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73666
73667 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
73668
73669 [BZ #14602]
73670 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73671 Replace with ...
73672 (CHECK_EOL): New macro.
73673 (two_way_short_needle): Check beginning of haystack for EOL. Use
73674 CHECK_EOL.
73675 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73676 Replace with CHECK_EOL.
73677 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73678 Replace with CHECK_EOL.
73679
73680 2012-10-08 Joseph Myers <joseph@codesourcery.com>
73681
73682 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73683 type-generic.
73684 * math/libm-test.inc: Update comment listing what functions and
73685 macros are tested.
73686 (finite_test): New function.
73687 (isinf_test): Likewise.
73688 (isnan_test): Likewise.
73689 (fpclassify_test): Test subnormal input.
73690 (isfinite_test): Likewise.
73691 (isnormal_test): Likewise.
73692 (main): Call the new functions.
73693
73694 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
73695
73696 [BZ #14660]
73697 * Makerules (%.dynsym): Force C locale when running
73698 $(OBJDUMP) --dynamic-syms.
73699
73700 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
73701
73702 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73703 <stdint.h>.
73704
73705 2012-10-06 David S. Miller <davem@davemloft.net>
73706
73707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73708 upper 32-bits of the length value in %o2 since we use branch-on-register
73709 tests which consider the entire 64-bit register.
73710
73711 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
73712
73713 * string/test-strstr.c (check2): Add a test for page boundary.
73714
73715 2012-10-05 David S. Miller <davem@davemloft.net>
73716
73717 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73718 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73719 file.
73720 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73721 sysdep_routines.
73722 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73723 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73724 and bzero when HWCAP_SPARC_CRYPTO is present.
73725
73726 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
73727
73728 [BZ #14602]
73729 * string/test-strstr.c (check2): New function.
73730 (test_main): Call check2.
73731
73732 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73733 and bug-strchr1.
73734 * string/bug-strcasestr1.c (do_test): Moved to ...
73735 * string/test-strcasestr.c (check1): Here. New function.
73736 (do_one_test): Break out result checking code into ...
73737 (check_result): This. New function.
73738 (do_one_test): Call check_result.
73739 (test_main): Call check1.
73740 * string/bug-strchr1.c (do_test): Moved to ...
73741 * string/test-strchr.c (check1): Here. New function.
73742 (do_one_test): Break out result checking code into ...
73743 (check_result): This. New function.
73744 (do_one_test): Call check_result.
73745 (test_main): Call check1.
73746 * string/bug-strstr1.c (main): Moved to ...
73747 * string/test-strstr.c (check1): Here. New function.
73748 (do_one_test): Break out result checking code into ...
73749 (check_result): This. New function.
73750 (do_one_test): Call check_result.
73751 (test_main): Call check1.
73752 * string/bug-strcasestr1.c: Removed.
73753 * string/bug-strchr1.c: Likewise.
73754 * string/bug-strstr1.c: Likewise.
73755
73756 * elf/Makefile (dl-routines): Add hwcaps.
73757 * elf/dl-support.c (_dl_important_hwcaps): Removed.
73758 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73759 (_dl_important_hwcaps): Moved to ...
73760 * elf/dl-hwcaps.c: Here. New file.
73761 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73762
73763 [BZ #14557]
73764 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73765 if IS_IN_rtld isn't defined.
73766
73767 * elf/dl-support.c (_dl_sysinfo_map): New.
73768 Include "get-dynamic-info.h" and "setup-vdso.h".
73769 (_dl_non_dynamic_init): Call setup_vdso.
73770 * elf/dynamic-link.h: Don't include <assert.h>.
73771 (elf_get_dynamic_info): Moved to ...
73772 * elf/get-dynamic-info.h: Here. New file.
73773 * elf/dynamic-link.h: Include "get-dynamic-info.h".
73774 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73775 * elf/setup-vdso.h: Here. New file.
73776 * elf/rtld.c: Include "setup-vdso.h".
73777 (dl_main): Call setup_vdso.
73778
73779 2012-10-05 Joseph Myers <joseph@codesourcery.com>
73780
73781 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73782 creal in comment listing functions tested. List finite, isinf,
73783 isnan, isless, islessequal, isgreater, isgreaterequal,
73784 islessgreater, isunordered, lgamma_r and pow10 as functions and
73785 macros not tested. Mention which functions not tested are aliases
73786 for other functions. Fix typo. Note that signs of NaNs are not
73787 tested.
73788
73789 * scripts/config.guess: Update from config.git.
73790 * scripts/config.sub: Likewise.
73791
73792 2012-10-04 Roland McGrath <roland@hack.frob.com>
73793
73794 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73795 * misc/madvise.c (madvise): Renamed to __madvise.
73796 Make madvise a weak alias.
73797 * include/sys/mman.h: Declare __madvise.
73798 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73799 * sysdeps/unix/syscalls.list
73800 (madvise): Make __madvise the strong name, and madvise a weak alias.
73801 * sysdeps/unix/sysv/linux/syscalls.list
73802 (madvise, mmap): Remove redundant entries.
73803 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73804 * malloc/malloc.c (mtrim): Likewise.
73805 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73806
73807 2012-10-03 Roland McGrath <roland@hack.frob.com>
73808
73809 * sysdeps/mach/hurd/dl-cache.c: File removed.
73810 * config.h.in (USE_LDCONFIG): New #undef.
73811 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73812 * configure: Regenerated.
73813 * elf/Makefile (dl-routines): Add dl-cache only under
73814 [$(use-ldconfig) = yes].
73815 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73816 cache on [USE_LDCONFIG].
73817 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73818 [USE_LDCONFIG].
73819 * elf/rtld.c (dl_main): Likewise.
73820
73821 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
73822
73823 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73824 _SC_LEVEL4_CACHE_LINESIZE.
73825
73826 2012-10-03 Roland McGrath <roland@hack.frob.com>
73827
73828 * sysdeps/unix/bsd/confstr.h: File removed.
73829
73830 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
73831
73832 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73833 sys/sdt-config.h.
73834
73835 2012-10-02 Roland McGrath <roland@hack.frob.com>
73836
73837 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73838 Make 'mapoff' field ElfW(Off) rather than off_t.
73839
73840 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
73841
73842 * nscd/Makefile: Remove nscd-cflags and all its users.
73843 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73844 (CFLAGS-nonlib): Add compiler flags for nscd modules.
73845
73846 [BZ #10631]
73847 * malloc.c (malloc_printerr): Clarify error message.
73848
73849 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
73850
73851 [BZ #14648]
73852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73853 Set bit_FMA_Usable if FMA is supported.
73854 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73855 macro.
73856 (bit_FMA4_Usable): Updated.
73857 (index_FMA_Usable): New macro.
73858 (CPUID_FMA): Likewise.
73859 (HAS_FMA): Defined with bit_FMA_Usable.
73860
73861 2012-10-01 Roland McGrath <roland@hack.frob.com>
73862
73863 * bits/types.h (__swblk_t): Type removed.
73864 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73865 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73867 (__SWBLK_T_TYPE): Likewise.
73868 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73869 (__SWBLK_T_TYPE): Likewise.
73870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73871 (__SWBLK_T_TYPE): Likewise.
73872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73873 (__SWBLK_T_TYPE): Likewise.
73874
73875 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
73876 Honza Horak <hhorak@redhat.com>
73877
73878 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73879 (xdr_mapname): Use YPMAXMAP as maxsize.
73880 (xdr_peername): Use YPMAXPEER as maxsize.
73881 (xdr_keydat): Use YPAXRECORD as maxsize.
73882 (xdr_valdat): Use YPMAXRECORD as maxsize.
73883
73884 2012-10-01 Roland McGrath <roland@hack.frob.com>
73885
73886 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73887
73888 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73889 * csu/init-first.c: ... here.
73890 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73891 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73892 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73893 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73894 * sysdeps/i386/init-first.c: File removed.
73895 * sysdeps/sh/init-first.c: File removed.
73896
73897 2012-10-01 Joseph Myers <joseph@codesourcery.com>
73898
73899 [BZ #14645]
73900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73901 if x * y might underflow to zero and z is zero.
73902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73904 * math/libm-test.inc (min_subnorm_value): New variable.
73905 (fma_test): Add more tests.
73906 (fma_test_towardzero): Likewise.
73907 (fma_test_downward): Likewise.
73908 (fma_test_upward): Likewise.
73909 (initialize): Set min_subnorm_value.
73910
73911 2012-09-29 Joseph Myers <joseph@codesourcery.com>
73912
73913 [BZ #14638]
73914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73915 0 + 0.
73916 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73917 mode for addition resulting in exact zero.
73918 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73920 exact 0 + 0.
73921 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73923 * math/libm-test.inc (fma_test): Add more tests.
73924 (fma_test_towardzero): New function.
73925 (fma_test_downward): Likewise.
73926 (fma_test_upward): Likewise.
73927 (main): Call the new functions.
73928
73929 2012-09-28 David S. Miller <davem@davemloft.net>
73930
73931 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73932
73933 2012-09-28 Roland McGrath <roland@hack.frob.com>
73934
73935 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73936 instead of SIGALRM.
73937
73938 * sysdeps/gnu/_G_config.h: Moved to ...
73939 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73940 * sysdeps/mach/hurd/_G_config.h: Moved to ...
73941 * sysdeps/generic/_G_config.h: ... here.
73942
73943 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
73944
73945 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73946
73947 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73948 Conditionalize target on [libnss_test1.so-version].
73949
73950 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73951
73952 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73953 (elfobjdir): Move out of conditionals.
73954
73955 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73956 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73957 (__nss_lookup_function): Conditionalize label remove_from_tree on
73958 [!DO_STATIC_NSS || SHARED], matching its only use.
73959
73960 2012-09-28 David S. Miller <davem@davemloft.net>
73961
73962 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73963 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73964 file.
73965 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73966 sysdep_routines.
73967 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73969 when HWCAP_SPARC_CRYPTO is present.
73970
73971 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
73972
73973 * io/tst-mknodat.c: Create a FIFO instead of a socket.
73974
73975 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
73976
73977 [BZ #6530]
73978 * stdio-common/vfprintf.c (process_string_arg): Revert
73979 2000-07-22 change.
73980
73981 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
73982
73983 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73984 for testcase.
73985 * stdio-common/tst-sprintf.c: Include <locale.h>
73986 (main): Test sprintf's handling of incomplete multibyte
73987 characters.
73988
73989 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
73990
73991 * elf/dl-runtime.c (VERSYMIDX): Removed.
73992 * elf/dl-version.c (VERSYMIDX): Likewise.
73993 * elf/do-rel.h (VERSYMIDX): Likewise.
73994 (VALIDX): Likewise.
73995 * elf/dynamic-link.h (VERSYMIDX): Likewise.
73996 * elf/rtld.c (VALIDX): Likewise.
73997 (ADDRIDX): Likewise.
73998 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73999 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
74000 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
74001 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
74002 (VALIDX): Likewise.
74003 (ADDRIDX): Likewise.
74004
74005 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
74006
74007 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
74008
74009 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
74010
74011 [BZ #11438]
74012 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
74013 to global scope.
74014 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
74015 addresses are in the same scope as 192.0.2/24.
74016 * posix/gai.conf: Document new scope table defaults.
74017
74018 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74019
74020 [BZ #5298]
74021 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
74022 for ftell. Compute offsets from write pointers instead.
74023 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74024
74025 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74026
74027 [BZ #14543]
74028 * libio/Makefile (tests): New test case tst-fseek.
74029 * libio/tst-fseek.c: New test case to verify that fseek/ftell
74030 combination works in wide mode.
74031 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
74032 state when the external buffer state changes.
74033
74034 2012-09-27 David S. Miller <davem@davemloft.net>
74035
74036 [BZ #14376]
74037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
74038 pass reloc->r_addend in as the 'high' argument to
74039 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
74040
74041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74042
74043 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
74044
74045 * rt/tst-aio2.c: Include <pthread.h>.
74046 * rt/tst-aio3.c: Likewise.
74047
74048 2012-09-27 Steve Ellcey <sellcey@mips.com>
74049
74050 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
74051
74052 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
74053
74054 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
74055 contents on [SHARED].
74056
74057 2012-09-26 Marek Polacek <polacek@redhat.com>
74058
74059 [BZ #14530]
74060 [BZ #13741]
74061 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
74062 for C++ and GCC <4.3 as well as for non GCC compilers.
74063
74064 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
74065
74066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74067
74068 2012-09-25 Roland McGrath <roland@hack.frob.com>
74069
74070 * Makefile.in (all, install): Declare with .PHONY.
74071 Reported by Michael Hope <michael.hope@linaro.org>.
74072
74073 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74074
74075 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
74076 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
74077 system header.
74078 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
74079 Likewise.
74080 (sydep_routines): Add the new and the internal functions.
74081 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
74082 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
74083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
74084 (GLIBC_2.17): Add the new function.
74085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74086 (GLIBC_2.17): Likewise.
74087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
74088 (GLIBC_2.17): Likewise.
74089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
74090 (GLIBC_2.17): Likewise.
74091 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
74092
74093 2012-09-25 Alan Modra <amodra@gmail.com>
74094
74095 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
74096 Add release barrier before setting once_control to say
74097 initialisation is done. Add hints on lwarx. Use macro in
74098 place of isync.
74099 (clear_once_control): Add release barrier.
74100
74101 2012-09-25 Joseph Myers <joseph@codesourcery.com>
74102
74103 [BZ #13629]
74104 * math/s_clog.c (__clog): Handle more values close to |z| = 1
74105 specially.
74106 * math/s_clog10.c (__clog10): Likewise.
74107 * math/s_clog10f.c (__clog10f): Likewise.
74108 * math/s_clog10l.c (__clog10l): Likewise.
74109 * math/s_clogf.c (__clogf): Likewise.
74110 * math/s_clogl.c (__clogl): Likewise.
74111 * math/Makefile (libm-calls): Add x2y2m1.
74112 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
74113 (__x2y2m1): Likewise.
74114 (__x2y2m1l): Likewise.
74115 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
74116 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
74117 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
74118 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
74119 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
74120 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
74121 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
74122 * sysdeps/i386/fpu/libm-test-ulps: Update.
74123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74124
74125 [BZ #14621]
74126 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
74127 int as type of variable DEPTH.
74128 (glob): Use size_t instead of int as type of variables NEWCOUNT
74129 and OLD_PATHC.
74130
74131 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74132
74133 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74134 Add s_sincosf-sse2.
74135 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
74136 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
74137 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
74138 macros for using routine as __sincosf_ia32.
74139 Use macro for function declaration and weak_alias.
74140 * sysdeps/i386/fpu/libm-test-ulps: Update.
74141
74142 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
74143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74144
74145 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
74146 subnormal argument.
74147 * math/s_cexpf.c (__cexpf): Likewise.
74148 * math/s_csinf.c (__csinf): Likewise.
74149 * math/s_csinhf.c (__csinhf): Likewise.
74150 * math/s_ctanf.c (__ctanf): Likewise.
74151 * math/s_ctanhf.c (__ctanhf): Likewise.
74152 * math/s_ccosh.c (__ccoshf): Likewise.
74153 * math/s_cexp.c (__cexpl): Likewise.
74154 * math/s_csin.c (__csin): Likewise.
74155 * math/s_csinh.c (__csinh): Likewise.
74156 * math/s_ctan.c (__ctan): Likewise.
74157 * math/s_ctanh.c (ctanh): Likewise.
74158 * math/s_ccoshl.c (__ccoshl): Likewise.
74159 * math/s_cexpl.c (__cexpl): Likewise.
74160 * math/s_csinl.c (__csinl): Likewise.
74161 * math/s_csinhl.c (__csinhl): Likewise.
74162 * math/s_ctanl.c (__ctanl): Likewise.
74163 * math/s_ctanhl.c (__ctanhl): Likewise.
74164
74165 2012-09-25 Joseph Myers <joseph@codesourcery.com>
74166
74167 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
74168 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
74169 (_IO_off_t): Define to __off_t, not _G_off_t.
74170 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
74171 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
74172 (_IO_wint_t): Define to wint_t, not _G_wint_t.
74173 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74174 type of __dummy and __dummy2 fields.
74175 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
74176 (_G_ssize_t): Likewise.
74177 (_G_off_t): Likewise.
74178 (_G_pid_t): Likewise.
74179 (_G_uid_t): Likewise.
74180 (_G_wchar_t): Likewise.
74181 (_G_wint_t): Likewise.
74182 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
74183 (_G_ssize_t): Likewise.
74184 (_G_off_t): Likewise.
74185 (_G_pid_t): Likewise.
74186 (_G_uid_t): Likewise.
74187 (_G_wchar_t): Likewise.
74188 (_G_wint_t): Likewise.
74189 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
74190 (_G_ssize_t): Likewise.
74191 (_G_off_t): Likewise.
74192 (_G_pid_t): Likewise.
74193 (_G_uid_t): Likewise.
74194 (_G_wchar_t): Likewise.
74195 (_G_wint_t): Likewise.
74196
74197 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
74198
74199 * malloc/arena.c: Include malloc-sysdep.h.
74200 (shrink_heap): Use check_may_shrink_heap to decide if madvise
74201 is sufficient to shrink the heap or an unmap is needed.
74202 * sysdeps/generic/malloc-sysdep.h: New file. Define
74203 new function check_may_shrink_heap.
74204 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
74205 new function check_may_shrink_heap.
74206
74207 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
74208
74209 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
74210 comments.
74211
74212 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
74213
74214 * catgets/test-gencat.sh: Add "set -e".
74215 * elf/tst-pathopt.sh: Likewise.
74216 * grp/tst_fgetgrent.sh: Likewise.
74217 * iconvdata/run-iconv-test.sh: Likewise.
74218 * intl/tst-gettext.sh: Likewise.
74219 * intl/tst-gettext2.sh: Likewise.
74220 * intl/tst-gettext4.sh: Likewise.
74221 * intl/tst-gettext6.sh: Likewise.
74222 * intl/tst-translit.sh: Likewise.
74223 * io/ftwtest-sh: Likewise.
74224 * libio/test-freopen.sh: Likewise.
74225 * malloc/tst-mtrace.sh: Likewise.
74226 * posix/globtest.sh: Likewise.
74227 * posix/tst-getconf.sh: Likewise.
74228 * posix/wordexp-tst.sh: Likewise.
74229 * stdio-common/tst-printf.sh: Likewise.
74230 * stdio-common/tst-unbputc.sh: Likewise.
74231 * stdlib/tst-fmtmsg.sh: Likewise.
74232 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74233 * catgets/Makefile: Do not specify -e option when running
74234 testsuite shell scripts.
74235 * elf/Makefile: Likewise.
74236 * grp/Makefile: Likewise.
74237 * iconvdata/Makefile: Likewise.
74238 * intl/Makefile: Likewise.
74239 * io/Makefile: Likewise.
74240 * libio/Makefile: Likewise.
74241 * malloc/Makefile: Likewise.
74242 * posix/Makefile: Likewise.
74243 * stdio-common/Makefile: Likewise.
74244 * stdlib/Makefile: Likewise.
74245 * sysdeps/x86_64/Makefile: Likewise.
74246
74247 * io/ftwtest-sh: Add copyright header.
74248 * posix/globtest.sh: Likewise.
74249 * posix/tst-getconf.sh: Likewise.
74250 * posix/wordexp-tst.sh: Likewise.
74251 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74252
74253 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
74254
74255 [BZ #13679]
74256 * Makeconfig (+link): Defined as $(+link-static) if
74257 $(build-shared) isn't yes.
74258 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74259 isn't yes.
74260 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74261
74262 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74263
74264 [BZ #14562]
74265 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74266 new chunk size with MALLOC_ALIGN_MASK.
74267
74268 2012-09-24 Joseph Myers <joseph@codesourcery.com>
74269
74270 [BZ #5044]
74271 * stdio-common/printf_fphex.c: Include <stdbool.h> and
74272 <rounding-mode.h>.
74273 (__printf_fphex): Determine rounding using get_rounding_mode and
74274 round_away.
74275 * stdio-common/tst-printf-round.c (struct hex_test): New
74276 structure.
74277 (hex_tests): New variable.
74278 (test_hex_in_one_mode): New function.
74279 (do_test): Also run tests for hex float output.
74280
74281 2012-09-21 Joseph Myers <joseph@codesourcery.com>
74282
74283 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74284 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74285 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74286 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74287 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74288 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74289 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74290 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74291
74292 2012-09-20 Joseph Myers <joseph@codesourcery.com>
74293
74294 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74295 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74296 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74297 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74298
74299 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
74300
74301 [BZ #14579]
74302 * elf/rtld.c (dl_main): Limit the check for self loading to normal
74303 mode only.
74304 * elf/tst-rtld-load-self.sh: New test.
74305 * elf/Makefile: Run it.
74306
74307 2012-09-18 Joseph Myers <joseph@codesourcery.com>
74308
74309 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74310 (tst-writev-ENV): Remove.
74311 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74312
74313 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
74314
74315 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74316
74317 2012-09-17 Joseph Myers <joseph@codesourcery.com>
74318
74319 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74320 unconditional.
74321 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74322 Likewise.
74323 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74324 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74325 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74326 Likewise.
74327
74328 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
74329
74330 [BZ #14587]
74331 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74332 * config.make.in (have-cpp-asm-debuginfo): Removed.
74333 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74334 * configure: Regenerated.
74335
74336 2012-09-14 Joseph Myers <joseph@codesourcery.com>
74337
74338 [BZ #5044]
74339 * stdio-common/printf_fp.c: Include <stdbool.h> and
74340 <rounding-mode.h>.
74341 (___printf_fp): Determine rounding using get_rounding_mode and
74342 round_away.
74343 * stdio-common/tst-printf-round.c: New file.
74344 * stdio-common/Makefile (tests): Add tst-printf-round.
74345 (link-libm): New variable.
74346 ($(objpfx)tst-printf-round): Depend in $(link-libm).
74347
74348 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
74349
74350 [BZ #14576]
74351 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74352 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74353 Likewise.
74354 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74355 Likewise.
74356
74357 2012-09-13 Joseph Myers <joseph@codesourcery.com>
74358
74359 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74360 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74361 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74362 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74363
74364 2012-09-12 Joseph Myers <joseph@codesourcery.com>
74365
74366 [BZ #14518]
74367 * include/rounding-mode.h: New file.
74368 * sysdeps/generic/get-rounding-mode.h: Likewise.
74369 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74370 * stdlib/strtod_l.c: Include <rounding-mode.h>.
74371 (MAX_VALUE): New macro.
74372 (MIN_VALUE): Likewise.
74373 (overflow_value): New function.
74374 (underflow_value): Likewise.
74375 (round_and_return): Use overflow_value and underflow_value to
74376 determine return values in overflow and underflow cases. Use
74377 round_away to determine rounding depending on rounding mode.
74378 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74379 determine return values in overflow and underflow cases.
74380 * stdlib/tst-strtod-round.c: Include <fenv.h>.
74381 (struct test_results): New structure.
74382 (struct test): Use struct test_results to store expected results
74383 for all rounding modes.
74384 (TEST): Include expected results for all rounding modes.
74385 (test_in_one_mode): New function.
74386 (do_test): Use test_in_one_mode to compute and check results.
74387 Check results for all rounding modes.
74388 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74389 $(link-libm).
74390
74391 2012-12-09 Allan McRae <allan@archlinux.org>
74392
74393 * sysdeps/i386/fpu/libm-test-ulps: Update
74394
74395 2012-09-11 Joseph Myers <joseph@codesourcery.com>
74396
74397 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
74398 (_G_int32_t): Likewise.
74399 (_G_uint16_t): Likewise.
74400 (_G_uint32_t): Likewise.
74401 (_G_HAVE_BOOL): Likewise.
74402 (_G_HAVE_ATEXIT): Likewise.
74403 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74404 (_G_HAVE_IO_FILE_OPEN): Likewise.
74405 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
74406 (_G_int32_t): Likewise.
74407 (_G_uint16_t): Likewise.
74408 (_G_uint32_t): Likewise.
74409 (_G_HAVE_BOOL): Likewise.
74410 (_G_HAVE_ATEXIT): Likewise.
74411 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74412 (_G_HAVE_IO_FILE_OPEN): Likewise.
74413 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
74414 (_G_int32_t): Likewise.
74415 (_G_uint16_t): Likewise.
74416 (_G_uint32_t): Likewise.
74417 (_G_HAVE_BOOL): Likewise.
74418 (_G_HAVE_ATEXIT): Likewise.
74419 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74420 (_G_HAVE_IO_FILE_OPEN): Likewise.
74421
74422 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
74423
74424 * csu/libc-tls.c: Update copyright years.
74425
74426 2012-09-10 Joseph Myers <joseph@codesourcery.com>
74427
74428 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
74429 [!_G_USING_THUNKS]: Remove conditional code.
74430 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
74431 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
74432
74433 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
74434 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
74435 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74436 (_G_VTABLE_LABEL_PREFIX): Likewise.
74437 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74438 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74440 (_G_VTABLE_LABEL_PREFIX): Likewise.
74441 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74442 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74443 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74444 (_G_VTABLE_LABEL_PREFIX): Likewise.
74445 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74446
74447 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
74448
74449 * libio/Makefile: Include ../Makeconfig before tests.
74450 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
74451 only if $(build-shared) is yes.
74452
74453 * iconv/gconv_db.c: Update copyright years.
74454
74455 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74456
74457 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
74458 unwind info if defined PIC. Fix special cases description.
74459 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
74460
74461 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
74462 DP_HI_MASK entry.
74463 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
74464
74465 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
74466
74467 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
74468
74469 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
74470 is NULL.
74471
74472 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
74473 (LDLIBS-tst-chk4): This.
74474 (LDFLAGS-tst-chk5): Renamed to ...
74475 (LDLIBS-tst-chk5): This.
74476 (LDFLAGS-tst-chk6): Renamed to ...
74477 (LDLIBS-tst-chk6): This.
74478 (LDFLAGS-tst-lfschk4): Renamed to ...
74479 (LDLIBS-tst-lfschk4): This.
74480 (LDFLAGS-tst-lfschk5): Renamed to ...
74481 (LDLIBS-tst-lfschk5): This.
74482 (LDFLAGS-tst-lfschk6): Renamed to ...
74483 (LDLIBS-tst-lfschk6): This.
74484
74485 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
74486 on $(common-objpfx)soversions.mk.
74487
74488 2012-09-07 Joseph Myers <joseph@codesourcery.com>
74489
74490 [BZ #10014]
74491 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
74492 example host name.
74493
74494 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
74495
74496 * malloc/arena.c (arena_get_retry): New function that gets
74497 another arena for the caller to try its request on.
74498 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
74499 current arena cannot fulfill the request.
74500 (__libc_memalign): Likewise.
74501 (__libc_memalign): Likewise.
74502 (__libc_pvalloc): Likewise.
74503 (__libc_calloc): Likewise.
74504
74505 2012-09-05 John Tobey <john.tobey@gmail.com>
74506
74507 [BZ #13542]
74508 * manual/arith.texi (Operations on Complex): Fix description
74509 of carg branch cut.
74510
74511 2012-09-06 Joseph Myers <joseph@codesourcery.com>
74512
74513 [BZ #10014]
74514 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
74515 host name.
74516
74517 [BZ #10038]
74518 * manual/memory.texi (Memory): Make order of menu items match
74519 order of sections.
74520
74521 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
74522
74523 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
74524 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
74525 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
74526
74527 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
74528
74529 * csu/libc-tls.c (static_dtv): Renamed to ...
74530 (_dl_static_dtv): This. Make it global.
74531 (_dl_initial_dtv): Removed.
74532 (__libc_setup_tls): Updated.
74533 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
74534 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
74535 DL_INITIAL_DTV.
74536
74537 2012-09-06 Petr Machata <pmachata@redhat.com>
74538
74539 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74540 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74541 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74542 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74543
74544 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
74545
74546 [BZ #14545]
74547 * csu/libc-tls.c (_dl_initial_dtv): New variable.
74548 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74549 freeing dtv[-1].
74550
74551 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
74552
74553 [BZ #14544]
74554 * Makeconfig (link-static-before-libc): Replace $(+prector)
74555 with $(+prectorT).
74556 (link-static-after-libc): Replace $(+postctor) with
74557 $(+postctorT).
74558 (link-bounded): Replace $(+prector)/$(+postctor) with
74559 $(+prectorT)/$(+postctorT).
74560 (+prectorT): New macro.
74561 (+postctorT): Likewise.
74562
74563 2012-09-06 Joseph Myers <joseph@codesourcery.com>
74564
74565 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74566 (round_str): Handle values above the maximum for IBM long double
74567 as inexact.
74568 * stdlib/tst-strtod-round.c (tests): Regenerated.
74569
74570 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74571
74572 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74573 assembler flag.
74574 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74575 zarch_nohighgprs around the zarch optimized routines.
74576 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74577 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74578 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74579 for zarch.
74580
74581 2012-09-05 David S. Miller <davem@davemloft.net>
74582
74583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74584
74585 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74586 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74587 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74588 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74589 entries.
74590
74591 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
74592
74593 * malloc/arena.c: Fold copyright years.
74594 * malloc/mcheck.c, malloc/memusage.c: Likewise.
74595
74596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
74597
74598 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74599
74600 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
74601
74602 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
74603
74604 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
74605
74606 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74607 change internal state upon failure.
74608
74609 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
74610
74611 * malloc/mcheck.c (mcheck_check_all): Fix typo.
74612 * malloc/memusage.c (mmap): Likewise.
74613 (mmap64, mremap): Likewise. Adjust name in comment.
74614
74615 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
74616
74617 * libio/fileops.c: Fix typos in comments.
74618 * libio/oldfileops.c: Likewise.
74619 * libio/wfileops.c: Likewise.
74620
74621 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
74622
74623 [BZ #1349]
74624 * malloc/Makefile (tests): Add tst-malloc-usable test case.
74625 (tst-malloc-usable-ENV): Set environment for test case.
74626 * malloc/hooks.c (malloc_check_get_size): New function to get
74627 requested size.
74628 * malloc/malloc.c (musable): Use malloc_check_get_size.
74629 * malloc/tst-malloc-usable.c: New test case.
74630
74631 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
74632
74633 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74634
74635 2012-09-05 Allan McRae <allan@archlinux.org>
74636
74637 [BZ #13966]
74638 * configure.in (CXX_SYSINCLUDES): Use compiler output to
74639 determine header location.
74640 * configure: Regenerated.
74641
74642 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
74643
74644 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74645 float format.
74646 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74647 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74648 format.
74649 (test): Regenerate.
74650
74651 2012-09-04 David S. Miller <davem@davemloft.net>
74652
74653 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74654 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74655 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74656
74657 2012-09-04 Florian Weimer <fweimer@redhat.com>
74658
74659 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74660 failures.
74661
74662 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74663
74664 2012-09-04 Joseph Myers <joseph@codesourcery.com>
74665
74666 [BZ #9914]
74667 * libio/iogetdelim.c: Include <limits.h>.
74668 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74669 + len + 1 would overflow.
74670
74671 2012-09-03 Andreas Jaeger <aj@suse.de>
74672
74673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74674 * sysdeps/i386/fpu/libm-test-ulps: Update.
74675
74676 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74677
74678 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74679 Add s_sinf-sse2, s_conf-sse2.
74680
74681 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74682 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74683 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74684 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74685
74686 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74687 for using routine as __sinf_ia32.
74688 Use macro for function declaration and weak_alias.
74689 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74690 for using routine as __cosf_ia32.
74691 Use macro for function declaration and weak_alias.
74692
74693 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74694 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74695
74696 * sysdeps/x86_64/fpu/s_sinf.S: New file.
74697 * sysdeps/x86_64/fpu/s_cosf.S: New file.
74698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74699
74700 * math/libm-test.inc (cos_test): Add more test cases.
74701 (sin_test): Likewise.
74702 (sincos_test): Likewise.
74703
74704 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74705
74706 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74707 (IFUNC_RESOLVE): Make pointers to the specialized implementations
74708 hidden.
74709 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74710
74711 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
74712
74713 [BZ #14538]
74714 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74715 first element of the GOT.
74716 (elf_machine_load_address): Return the difference between
74717 the runtime address of _DYNAMIC and elf_machine_dynamic ().
74718
74719 2012-09-01 Allan McRae <allan@archlinux.org>
74720
74721 [BZ #13412]
74722 * configure.in (AWK): Require gawk version 3.0 or later.
74723 * configure: Regenerated.
74724
74725 2012-09-01 Joseph Myers <joseph@codesourcery.com>
74726
74727 * sysdeps/unix/sysv/linux/kernel-features.h
74728 (__ASSUME_POSIX_CPU_TIMERS): Remove.
74729 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74730 [__NR_clock_getres]: Make code unconditional.
74731 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74732 (clock_getcpuclockid): Remove code left unreachable by removal of
74733 conditionals.
74734 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74735 code unconditional.
74736 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74737 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74738 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74739 Make code unconditional.
74740 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74741 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74742 * sysdeps/unix/sysv/linux/clock_settime.c
74743 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74744 conditional code.
74745 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74746 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74747
74748 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
74749
74750 [BZ #14476]
74751 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74752 scripts/test-installation.pl.
74753
74754 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74755 and $ld_so_version if it is set.
74756
74757 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
74758
74759 [BZ #14516]
74760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74761 failure if reading from procfs failed.
74762 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74763
74764 2012-08-27 Joseph Myers <joseph@codesourcery.com>
74765
74766 * sysdeps/unix/sysv/linux/kernel-features.h
74767 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74768 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74769 Remove conditional code.
74770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74771 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74772 Remove conditional code.
74773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74774 * sysdeps/unix/sysv/linux/i386/fxstat.c
74775 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74777 * sysdeps/unix/sysv/linux/i386/fxstatat.c
74778 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74780 * sysdeps/unix/sysv/linux/i386/lxstat.c
74781 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74783 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74784 Remove conditional code.
74785 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74786 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74787 Remove conditional code.
74788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74789 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74790 <kernel-features.h>.
74791 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74792 Remove.
74793 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74794 Remove conditional code.
74795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74796 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74797 Remove conditional.
74798
74799 2012-08-27 Mike Frysinger <vapier@gentoo.org>
74800
74801 [BZ #5400]
74802 * NEWS: Add fixed bug number.
74803
74804 2012-08-27 Joseph Myers <joseph@codesourcery.com>
74805
74806 [BZ #14519]
74807 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74808 underflowing exponent in case of negative sign.
74809 * stdlib/tst-strtod-round-data: Add more tests.
74810 * stdlib/tst-strtod-round.c (tests): Regenerated.
74811
74812 [BZ #3479]
74813 * stdlib/strtod_l.c (NDIG): Remove.
74814 (HEXNDIG): Likewise.
74815 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74816 smallest representable value.
74817 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74818 lie within an exact representation of 1/2 ulp of the result.
74819 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74820 unconditionally.
74821 (TENS_P9_IDX): Define unconditionally.
74822 (TENS_P9_SIZE): Likewise.
74823 (TENS_P10_IDX): Likewise.
74824 (TENS_P10_SIZE): Likewise.
74825 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74826 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74827 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74828 entries for 10^2^13 and 10^2^14.
74829 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74830 (TENS_P13_IDX): Define.
74831 (TENS_P13_SIZE): Likewise.
74832 (TENS_P14_IDX): Likewise.
74833 (TENS_P14_SIZE): Likewise.
74834 (_fpioconst_pow10): Change array size to
74835 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
74836 unconditional.
74837 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74838 1024]: Add entries for 10^2^13 and 10^2^14.
74839 [LAST_POW10 > _LAST_POW10]: Remove #error.
74840 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74841 (_fpioconst_pow10): Change array size to
74842 FPIOCONST_POW10_ARRAY_SIZE.
74843 * stdlib/gen-fpioconst.c: New file.
74844 * stdlib/gen-tst-strtod-round.c: Likewise.
74845 * stdlib/tst-strtod-round-data: Likewise.
74846 * stdlib/tst-strtod-round.c: Likewise.
74847 * stdlib/Makefile (tests): Add tst-strtod-round.
74848
74849 [BZ #14459]
74850 * stdlib/strtod_l.c: Include <stdint.h>.
74851 (NDEBUG): Do not define.
74852 (round_and_return): Change EXPONENT parameter to type intmax_t.
74853 Rearrange calculations to avoid internal overflow possibilities.
74854 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74855 Rearrange calculations to avoid internal overflow possibilities.
74856 Assert that number fits inside MPNSIZE limbs.
74857 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74858 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
74859 calculations and add assertions to avoid internal overflow
74860 possibilities. Add casts to avoid signed/unsigned operations.
74861 * stdlib/tst-strtod-overflow.c: New file.
74862 * stdlib/Makefile (tests): Add tst-strtod-overflow.
74863
74864 2012-08-25 Marek Polacek <polacek@redhat.com>
74865
74866 * time/time.h: Fix some typos in comments.
74867
74868 2012-08-23 Roland McGrath <roland@hack.frob.com>
74869
74870 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74871 * posix/tst-rfc3484-2.c: Likewise.
74872 * posix/tst-rfc3484-3.c: Likewise.
74873
74874 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
74875
74876 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74877 (EF_ARM_ABI_FLOAT_HARD): Likewise.
74878
74879 2012-08-23 Joseph Myers <joseph@codesourcery.com>
74880
74881 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74882 #include of fxstatat64.c.
74883
74884 2012-08-22 Roland McGrath <roland@hack.frob.com>
74885
74886 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74887 * shadow/getspent_r.c: Likewise.
74888 * shadow/getspnam.c: Likewise.
74889 * shadow/getspnam_r.c: Likewise.
74890 * gshadow/getsgent.c: Likewise.
74891 * gshadow/getsgent_r.c: Likewise.
74892 * gshadow/getsgnam.c: Likewise.
74893 * gshadow/getsgnam_r.c: Likewise.
74894 * inet/getnetbyad.c: Likewise.
74895 * inet/getnetbyad_r.c: Likewise.
74896 * inet/getnetbynm.c: Likewise.
74897 * inet/getnetbynm_r.c: Likewise.
74898 * inet/getnetent.c: Likewise.
74899 * inet/getnetent_r.c: Likewise.
74900 * inet/getproto.c: Likewise.
74901 * inet/getproto_r.c: Likewise.
74902 * inet/getprtent.c: Likewise.
74903 * inet/getprtent_r.c: Likewise.
74904 * inet/getprtname.c: Likewise.
74905 * inet/getprtname_r.c: Likewise.
74906 * inet/getrpcbyname.c: Likewise.
74907 * inet/getrpcbyname_r.c: Likewise.
74908 * inet/getrpcbynumber.c: Likewise.
74909 * inet/getrpcbynumber_r.c: Likewise.
74910 * inet/getrpcent.c: Likewise.
74911 * inet/getrpcent_r.c: Likewise.
74912 * inet/getaliasent.c: Likewise.
74913 * inet/getaliasent_r.c: Likewise.
74914 * inet/getaliasname.c: Likewise.
74915 * inet/getaliasname_r.c: Likewise.
74916 * nscd/getgrgid_r.c: Likewise.
74917 * nscd/getgrnam_r.c: Likewise.
74918 * nscd/gethstbyad_r.c: Likewise.
74919 * nscd/gethstbynm3_r.c: Likewise.
74920 * nscd/getpwnam_r.c: Likewise.
74921 * nscd/getpwuid_r.c: Likewise.
74922 * nscd/getsrvbynm_r.c: Likewise.
74923 * nscd/getsrvbypt_r.c: Likewise.
74924 * nscd/gai.c: Likewise.
74925
74926 * configure.in (build_nscd): New substituted variable, set
74927 by --disable-build-nscd and defaults to $use_nscd.
74928 * configure: Regenerated.
74929 * config.make.in (build-nscd): New substituted variable.
74930 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74931 Change conditional to require [$(build-nscd) = yes] as well.
74932 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74933
74934 [BZ #13696]
74935 * configure.in (use_nscd): New substituted variable, set by
74936 --disable-nscd. If enabled, define USE_NSCD.
74937 * configure: Regenerated.
74938 * config.h.in: Add USE_NSCD.
74939 * config.make.in (use-nscd): New substituted variable.
74940 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74941 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74942 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74943 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74944 (CFLAGS-getgrnam_r.c): Likewise.
74945 (CFLAGS-initgroups.c): Likewise.
74946 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74947 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74948 Variables removed.
74949 * inet/getnetgrent_r.c
74950 (nscd_setnetgrent): New function, broken out of ...
74951 (setnetgrent): ... here. Call it.
74952 (innetgr): Conditionalize nscd bits on [USE_NSCD].
74953 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74954 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74955 * nscd/Makefile (routines, aux): Move definitions after include of
74956 Makeconfig. Conditionalize on [$(use-nscd) != no].
74957 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74958 Conditionalize on [USE_NSCD].
74959 (is_nscd, nscd_init_cb): Likewise.
74960 (nss_load_library): Conditionalize init callback on [USE_NSCD].
74961 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74962 * nss/nss_db/db-init.c: Likewise.
74963 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74964 [USE_NSCD].
74965 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74966 (make_request): Use it.
74967 (cache_valid_p): New function.
74968 (__check_pf): Use it.
74969 * NEWS: Add item for --disable-nscd.
74970
74971 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
74972
74973 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74974 to support sed >= 4.2.1-20-ga9bf076.
74975 * configure: Regenerated.
74976
74977 2012-08-22 Roland McGrath <roland@hack.frob.com>
74978
74979 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74980 Conditionalize whole body on [IREL].
74981
74982 2012-08-22 Jeff Law <law@redhat.com>
74983
74984 [BZ #14505]
74985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74986 if the family is PF_UNSPEC.
74987
74988 2012-08-22 Mike Frysinger <vapier@gentoo.org>
74989
74990 * Makerules (lib-version): Rename from V.
74991 (install-lib-nosubdir): Change V to lib-version.
74992
74993 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
74994
74995 [BZ #14252]
74996 * powerpc32/power6/wcschr.c: New file.
74997 * powerpc32/power6/wcscpy.c: New file.
74998 * powerpc32/power6/wcsrchr.c: New file.
74999 * powerpc64/power6/wcschr.c: New file.
75000 * powerpc64/power6/wcscpy.c: New file.
75001 * powerpc64/power6/wcsrchr.c: New file.
75002
75003 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
75004
75005 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
75006 (two_way_short_needle): Use it.
75007 * string/strstr.c (AVAILABLE1_USES_J): Define.
75008 * string/strcasestr.c: Likewise.
75009
75010 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
75011 array references.
75012 * string/strcasestr.c (TOLOWER): Make side-effect safe.
75013
75014 [BZ #11607]
75015 * NEWS: Add an entry.
75016 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
75017 define their defaults.
75018 (two_way_short_needle): Detect end-of-string on-the-fly.
75019 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
75020 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
75021 * string/bug-strcasestr1.c: New test.
75022 * string/Makefile: Run it.
75023
75024 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
75025
75026 [BZ #11607]
75027 * string/str-two-way.h (two_way_short_needle): Optimize matching of
75028 the first character.
75029
75030 2012-08-21 Roland McGrath <roland@hack.frob.com>
75031
75032 * csu/elf-init.c (__libc_csu_irel): Function removed.
75033 * csu/libc-start.c (apply_irel): New function.
75034 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
75035
75036 2012-08-21 Joseph Myers <joseph@codesourcery.com>
75037
75038 * sysdeps/unix/sysv/linux/kernel-features.h
75039 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
75040 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
75041 <kernel-features.h>.
75042 [__NR_fadvise64_64]: Make code unconditional.
75043 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
75044 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75045 !__NR_fadvise64_64)]: Likewise.
75046 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75047 !__NR_fadvise64_64))]: Likewise.
75048 [__NR_fadvise64]: Make code unconditional.
75049 [!__NR_fadvise64]: Remove conditional code.
75050 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
75051 <kernel-features.h>.
75052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75053 unconditional.
75054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75055 conditional code.
75056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
75057 not include <kernel-features.h>.
75058 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75059 unconditional.
75060 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75061 conditional code.
75062 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
75063 include <kernel-features.h>.
75064 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75065 unconditional.
75066 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75067 conditional code.
75068
75069 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
75070
75071 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
75072 slight instruction rearrangements per scrollpipe analysis.
75073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
75074
75075 2012-08-20 Roland McGrath <roland@hack.frob.com>
75076
75077 * manual/syslog.texi (syslog; vsyslog, closelog):
75078 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
75079 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
75080
75081 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
75082 DSOCAPS to match condition on defining it.
75083
75084 2012-08-20 Joseph Myers <joseph@codesourcery.com>
75085
75086 * sysdeps/unix/sysv/linux/kernel-features.h
75087 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
75088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
75089 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75090 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
75092 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75093 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
75095 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75096 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75097
75098 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
75099 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
75100
75101 * sysdeps/unix/sysv/linux/kernel-features.h
75102 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
75103 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
75104 unconditional.
75105 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75106 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
75107 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75108 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75109 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
75110 Make code unconditional.
75111 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75112 (__mmap64) [!__NR_mmap2]: Likewise.
75113 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
75114 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75115 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75116 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
75117 [__NR_mmap2]: Make code unconditional.
75118 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75119 (__mmap64) [!__NR_mmap2]: Likewise.
75120
75121 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75122
75123 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
75124
75125 2012-08-18 Andreas Jaeger <aj@suse.de>
75126
75127 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
75128
75129 2012-08-18 Mike Frysinger <vapier@gentoo.org>
75130
75131 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
75132 * include/unistd.h (__have_sock_cloexec): Likewise.
75133 (__have_pipe2): Likewise.
75134 (__have_dup3): Likewise.
75135
75136 2012-08-18 Mike Frysinger <vapier@gentoo.org>
75137
75138 [BZ #9685]
75139 * include/unistd.h (__have_pipe2): Change define into an extern int.
75140 (__have_dup3): Likewise.
75141 * socket/have_sock_cloexec.c: Include fcntl.h.
75142 (__have_pipe2): New variable.
75143 (__have_dup3): Likewise.
75144
75145 2012-08-17 Mike Frysinger <vapier@gentoo.org>
75146
75147 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
75148
75149 2012-08-17 Marek Polacek <polacek@redhat.com>
75150
75151 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
75152 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
75153
75154 2012-08-17 Roland McGrath <roland@hack.frob.com>
75155
75156 * configure.in: Add AC_SUBST for sysheaders.
75157 * configure: Regenerated.
75158 * config.make.in (sysheaders): New substituted variable.
75159
75160 * sysdeps/unix/mkfifo.c: Moved ...
75161 * sysdeps/posix/mkfifo.c: ... here.
75162 * sysdeps/unix/mkfifoat.c: Moved ...
75163 * sysdeps/posix/mkfifoat.c: ... here.
75164
75165 * sysdeps/unix/utime.c: Moved ...
75166 * sysdeps/posix/utime.c: ... here.
75167
75168 * sysdeps/unix/time.c: Moved ...
75169 * sysdeps/posix/time.c: ... here.
75170 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
75171 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75172
75173 * sysdeps/unix/nice.c: Moved ...
75174 * sysdeps/posix/nice.c: ... here.
75175
75176 * sysdeps/unix/alarm.c: Moved ...
75177 * sysdeps/posix/alarm.c: ... here.
75178
75179 * intl/Makefile ($(codeset_mo)): Depend on the input file.
75180
75181 2012-08-17 Jeff Law <law@redhat.com>
75182
75183 * intl/Makefile (codeset_mo): New variable.
75184 ($(codeset_mo)): New target.
75185 (tst-codeset.out): Depend on that. Remove explicit rule.
75186 (tst-gettext3.out, tst-gettext5.out): Likewise.
75187 (LOCPATH-ENV, tst-codeset-ENV): New variables.
75188 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
75189 * intl/tst-codeset.sh: Remove.
75190 * intl/tst-gettext3.sh: Likewise.
75191 * intl/tst-gettext5.sh: Likewise.
75192
75193 2012-08-17 Roland McGrath <roland@hack.frob.com>
75194
75195 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
75196 * sysdeps/unix/syscalls.list: ... here.
75197
75198 * sysdeps/posix/getaddrinfo.c
75199 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
75200 (gaiconf_init, gaiconf_reload): Use them.
75201 [!_STATBUF_ST_NSEC]
75202 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
75203 Define using time_t rather than struct timespec.
75204
75205 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
75206 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
75207 Macros removed.
75208 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75209 [!NO_THREADS].
75210 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75211 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75212 Likewise.
75213
75214 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75215 __libc_cleanup_push argument.
75216
75217 * bits/param.h: New file.
75218 * misc/sys/param.h: New file.
75219 * include/sys/param.h: New file.
75220 * misc/Makefile (headers): Add bits/param.h.
75221 * sysdeps/generic/sys/param.h: File removed.
75222 * sysdeps/unix/sysv/linux/bits/param.h: New file.
75223 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75224 * sysdeps/mach/hurd/bits/param.h: New file.
75225 * sysdeps/mach/hurd/sys/param.h: File removed.
75226
75227 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75228 last change.
75229
75230 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75231 [_IO_MTSAFE_IO].
75232 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75233 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75234 New macros.
75235
75236 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75237 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75238 rather than -D_IO_MTSAFE_IO conditionally.
75239 * stdio-common/Makefile (CPPFLAGS): Likewise.
75240 * wcsmbs/Makefile (CPPFLAGS): Likewise.
75241 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75242 Use $(libio-mtsafe).
75243 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75244 of -D_IO_MTSAFE_IO.
75245 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75246 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75247 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75248 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75249 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75250 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75251 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75252 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75253 (CFLAGS-fread_u_chk.c): Likewise.
75254 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75255 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75256 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75257 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75258 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75259 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75260 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75261 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75262 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75263
75264 * libio/Makefile: Test [$(libc-reentrant) = yes]
75265 instead of [$(filter %REENTRANT, $(defines)) nonempty].
75266
75267 * Makeconfig
75268 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75269 * sysdeps/pthread/configure: File removed.
75270 * sysdeps/pthread/Makeconfig: New file.
75271 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75272 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75273
75274 2012-08-16 Gary Benson <gbenson@redhat.com>
75275
75276 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75277 unmapping the first object in a namespace.
75278
75279 2012-08-16 Roland McGrath <roland@hack.frob.com>
75280
75281 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75282 (__internal_setnetgrent): ... this. Add internal_function to
75283 definition. Add libc_hidden_def.
75284 (setnetgrent): Update caller.
75285 (internal_endnetgrent): Renamed to ...
75286 (__internal_endnetgrent): ... this. Add internal_function to
75287 definition. Add libc_hidden_def.
75288 (endnetgrent): Update caller.
75289 (internal_getnetgrent_r): Renamed to ...
75290 (__internal_getnetgrent_r): ... this. Add internal_function to
75291 definition. Add libc_hidden_def.
75292 (__getnetgrent_r): Update caller.
75293 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
75294
75295 2012-08-16 Joseph Myers <joseph@codesourcery.com>
75296
75297 * stdlib/longlong.h: Update from GCC.
75298
75299 2012-08-16 Roland McGrath <roland@hack.frob.com>
75300
75301 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75302 on _QL, which is set by umul_ppmm but never used.
75303 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75304 variables, which are set by GMP macros but never used.
75305 * stdio-common/_itowa.c (_itowa): Likewise.
75306 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75307 * stdlib/mod_1.c (mpn_mod_1): Likewise.
75308
75309 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
75310
75311 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75312 struct La_sh_regs is not constant.
75313 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75314 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75315 and struct La_sparc64_regs are not constant.
75316
75317 2012-08-16 Joseph Myers <joseph@codesourcery.com>
75318
75319 * sysdeps/unix/sysv/linux/kernel-features.h
75320 (__ASSUME_POSIX_TIMERS): Remove.
75321 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75323 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75324 Make code unconditional.
75325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75326 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75327 Make code unconditional.
75328 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75329 * sysdeps/unix/sysv/linux/clock_nanosleep.c
75330 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75331 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75332 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75333 Make code unconditional.
75334 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75335 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75336 (__libc_missing_posix_timers): Remove.
75337
75338 2012-08-15 Roland McGrath <roland@hack.frob.com>
75339
75340 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75341 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75342
75343 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75344
75345 * elf/dl-sym.c: Include <stdlib.h>.
75346
75347 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75348 constants, which avoids warnings in 32-bit builds.
75349
75350 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75351 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75352
75353 * misc/lseek.c: File moved to ...
75354 * io/lseek.c: ... here.
75355
75356 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75357
75358 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75359 shifting LEN more than 31 bits at once.
75360
75361 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75362
75363 [BZ #14195]
75364 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75365 segmentation fault for a case of two empty input strings.
75366 * string/test-strncasecmp.c (check1): Renamed to...
75367 (bz12205): ...this.
75368 (bz14195): Add new testcase for two empty input strings and N > 0.
75369 (test_main): Call new testcase, adapt for renamed function.
75370
75371 2012-08-15 Andreas Jaeger <aj@suse.de>
75372
75373 [BZ #14090]
75374 * crypt/md5test2.c: New test, based on test supplied by Serge
75375 Belyshev <belyshev@depni.sinp.msu.ru>.
75376 * crypt/Makefile (xtests): Add md5test-giant..
75377 * crypt/Makefile ($(objpfx)md5test-giant): Add.
75378
75379 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
75380
75381 [BZ #14090]
75382 * crypt/md5.c (md5_process_block): Don't assume the buffer
75383 length is less than 2**32.
75384 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75385 length is less than 2**64.
75386
75387 2012-08-15 Roland McGrath <roland@hack.frob.com>
75388
75389 * string/str-two-way.h: Include <sys/param.h>.
75390 (MAX): Macro removed.
75391
75392 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
75393 Move #define and #undef of memmove to just before and after
75394 including <string.h>.
75395
75396 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
75397 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
75398 and after including <string.h>. Move declarations of
75399 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
75400 to before #include "string/memmove.c".
75401
75402 * include/dirent.h: Declare __getdirentries.
75403
75404 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
75405 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
75406
75407 2012-08-14 Mike Frysinger <vapier@gentoo.org>
75408
75409 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
75410 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
75411 * sysdeps/i386/configure: Regenerated.
75412 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
75413 STABS_CURRENT_FILE, and STABS_FUN.
75414 (END): Remove call to STABS_FUN_END.
75415 (STABS_CURRENT_FILE1): Delete.
75416 (STABS_CURRENT_FILE): Likewise.
75417 (STABS_FUN): Likewise.
75418 (STABS_FUN_END): Likewise.
75419 (STABS_FUN2): Likewise.
75420 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
75421 * sysdeps/x86_64/configure: Regenerated.
75422
75423 2012-08-14 Roland McGrath <roland@hack.frob.com>
75424
75425 * elf/dl-open.c: Include <atomic.h>.
75426 * elf/dl-lookup.c: Likewise.
75427
75428 2012-08-14 Joseph Myers <joseph@codesourcery.com>
75429
75430 * sysdeps/unix/sysv/linux/kernel-features.h
75431 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
75432 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
75433 unconditionally.
75434 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
75435 unconditionally.
75436 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
75437 condition on __ASSUME_CLONE_THREAD_FLAGS.
75438
75439 2012-08-14 Andreas Jaeger <aj@suse.de>
75440
75441 * sysdeps/i386/fpu/libm-test-ulps: Update.
75442
75443 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
75444
75445 * include/atomic.h (atomic_exchange_and_add): Split into ...
75446 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
75447 New atomic macros.
75448
75449 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
75450
75451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75452
75453 2012-08-13 Jeff Law <law@redhat.com>
75454
75455 * manual/stdio.texi (snprintf): Clarify handling of the trailing
75456 null byte in the output string.
75457
75458 2012-08-10 Joseph Myers <joseph@codesourcery.com>
75459
75460 * sysdeps/unix/sysv/linux/kernel-features.h
75461 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
75462 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
75463 (__ASSUME_ARG_MAX_STACK_BASED): Define.
75464 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
75465 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
75466 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
75467 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
75468
75469 2012-08-09 Jeff Law <law@redhat.com>
75470
75471 [BZ #13939]
75472 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
75473 When avoid_arena is set, don't retry in the that arena. Pick the
75474 next one, whatever it might be.
75475 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
75476 (arena_lock): Pass in new parameter to arena_get2.
75477 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
75478 arena_get2.
75479 (__libc_malloc): Unify retrying after main arena failure with
75480 __libc_memalign version.
75481 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
75482
75483 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
75484
75485 [BZ #14166]
75486 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
75487 to __redirect_strstr.
75488 (__strstr_sse42): Use typeof __redirect_strstr.
75489 (__strstr_ia32): Likewise.
75490 (__libc_strstr): New prototype.
75491 (strstr): Renamed to ...
75492 (__libc_strstr): This.
75493 (strstr): New strong alias of __libc_strstr.
75494 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75495 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
75496 __redirect_time.
75497 Include <time.h>.
75498 (__libc_time): New prototype.
75499 (time_ifunc): Replace time with __libc_time.
75500 (time): New strong alias and hidden definition of __libc_time.
75501 (__GI_time): Remove strong alias.
75502 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
75503 Include <stddef.h>.
75504 (memmove): Redefined to __redirect_memmove.
75505 (__memmove_sse2): Use typeof __redirect_memmove.
75506 (__memmove_ssse3): Likewise.
75507 (__memmove_ssse3_back): Likewise.
75508 (__libc_memmove): New prototype.
75509 (memmove): Renamed to ...
75510 (__libc_memmove): This.
75511 (memmove): New strong alias of __libc_memmove.
75512
75513 2012-08-08 Mark Salter <msalter@redhat.com>
75514
75515 * elf/elf.h
75516 (R_MN10300_TLS_GD): Define.
75517 (R_MN10300_TLS_LD): Likewise.
75518 (R_MN10300_TLS_LDO): Likewise.
75519 (R_MN10300_TLS_GOTIE): Likewise.
75520 (R_MN10300_TLS_IE): Likewise.
75521 (R_MN10300_TLS_LE): Likewise.
75522 (R_MN10300_TLS_DTPMOD): Likewise.
75523 (R_MN10300_TLS_DTPOFF): Likewise.
75524 (R_MN10300_TLS_TPOFF): Likewise.
75525 (R_MN10300_SYM_DIFF): Likewise.
75526 (R_MN10300_ALIGN): Likewise.
75527 (R_MN10300_NUM): Update.
75528
75529 2012-08-08 Joseph Myers <joseph@codesourcery.com>
75530
75531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75532 Remove.
75533
75534 2012-08-08 Roland McGrath <roland@hack.frob.com>
75535
75536 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
75537
75538 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75539 sysdeps/unix -> sysdeps/posix move.
75540 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75541
75542 2012-08-07 Allan McRae <allan@archlinux.org>
75543
75544 [BZ #14303]
75545 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75546 (SUNOS_CPP): Likewise.
75547 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75548 not found.
75549 (open_input): Call CPP using execvp.
75550
75551 2012-08-07 Joseph Myers <joseph@codesourcery.com>
75552
75553 * sysdeps/unix/sysv/linux/kernel-features.h
75554 (__ASSUME_PROT_GROWSUPDOWN): Remove.
75555 (__ASSUME_NO_CLONE_DETACHED): Likewise.
75556 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75557 (__ASSUME_WAITID_SYSCALL): Likewise.
75558 * sysdeps/unix/sysv/linux/dl-execstack.c
75559 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75560 code unconditional.
75561 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75562 conditional code.
75563 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75564 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75565 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75566 code.
75567 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75568 unconditional.
75569 [__ASSUME_WAITID_SYSCALL]: Likewise.
75570 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75571
75572 2012-08-07 Roland McGrath <roland@hack.frob.com>
75573
75574 * sysdeps/unix/closedir.c: Renamed to ...
75575 * sysdeps/posix/closedir.c: ... here.
75576 * sysdeps/unix/dirfd.c: Renamed to ...
75577 * sysdeps/posix/dirfd.c: ... here.
75578 * sysdeps/unix/dirstream.h: Renamed to ...
75579 * sysdeps/posix/dirstream.h: ... here.
75580 * sysdeps/unix/fdopendir.c: Renamed to ...
75581 * sysdeps/posix/fdopendir.c: ... here.
75582 * sysdeps/unix/opendir.c: Renamed to ...
75583 * sysdeps/posix/opendir.c: ... here.
75584 * sysdeps/unix/readdir.c: Renamed to ...
75585 * sysdeps/posix/readdir.c: ... here.
75586 * sysdeps/unix/readdir_r.c: Renamed to ...
75587 * sysdeps/posix/readdir_r.c: ... here.
75588 * sysdeps/unix/rewinddir.c: Renamed to ...
75589 * sysdeps/posix/rewinddir.c: ... here.
75590 * sysdeps/unix/seekdir.c: Renamed to ...
75591 * sysdeps/posix/seekdir.c: ... here.
75592 * sysdeps/unix/telldir.c: Renamed to ...
75593 * sysdeps/posix/telldir.c: ... here.
75594 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75595 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75596 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75597 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75598
75599 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75600 * bits/fcntl.h: ... here.
75601
75602 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75603 not 0.
75604 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75605 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75606 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75607 (struct flock): Move l_start, l_len to the beginning.
75608 Use __pid_t for l_pid.
75609 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75610 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75611 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75612 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75613 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75614 [__USE_LARGEFILE64] (struct flock64): New type.
75615 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75616
75617 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75618 * bits/dirent.h: ... here.
75619
75620 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75621 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75622
75623 2012-08-07 Joseph Myers <joseph@codesourcery.com>
75624
75625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75626 Change from 2.6.0 to 2.6.16.
75627 * sysdeps/unix/sysv/linux/configure: Regenerated.
75628 * sysdeps/unix/sysv/linux/kernel-features.h
75629 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75630 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75631 version.
75632 (__ASSUME_UTIMES): Likewise.
75633 (__ASSUME_CLONE_STOPPED): Remove.
75634 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75635 architectures, not kernel version.
75636 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75637 (__ASSUME_NO_CLONE_DETACHED): Likewise.
75638 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75639 (__ASSUME_WAITID_SYSCALL): Likewise.
75640 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75641 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75642 * README: State 2.6.16 as minimum Linux kernel version. Do not
75643 refer to older versions.
75644
75645 2012-08-06 Roland McGrath <roland@hack.frob.com>
75646
75647 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75648 Define alphasort64 as an alias.
75649 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75650 Define versionsort64 as an alias.
75651 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75652 Define scandir64 as an alias.
75653 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75654 Define scandirat64 as an alias.
75655 * dirent/alphasort64.c (alphasort64):
75656 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75657 * dirent/versionsort64.c: Likewise.
75658 * dirent/scandir64.c: Likewise.
75659 * dirent/scandirat64.c: Likewise.
75660 * sysdeps/wordsize-64/alphasort.c: File removed.
75661 * sysdeps/wordsize-64/alphasort64.c: File removed.
75662 * sysdeps/wordsize-64/scandir.c: File removed.
75663 * sysdeps/wordsize-64/scandir64.c: File removed.
75664 * sysdeps/wordsize-64/scandirat.c: File removed.
75665 * sysdeps/wordsize-64/scandirat64.c: File removed.
75666 * sysdeps/wordsize-64/versionsort.c: File removed.
75667 * sysdeps/wordsize-64/versionsort64.c: File removed.
75668 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75669 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75671 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75673 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75674 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75676
75677 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75679 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75681 [defined __arch64__ || defined __sparcv9]
75682 (__INO_T_MATCHES_INO64_T): New macro.
75683 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75684 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75685 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75686 * sysdeps/unix/sysv/linux/bits/dirent.h
75687 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75688 (_DIRENT_MATCHES_DIRENT64): New macro.
75689
75690 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75691 Define lockf64 as an alias.
75692 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75693 Define fseeko64 as an alias.
75694 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75695 Define ftello64 as an alias.
75696 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75697 Define _IO_fgetpos64 and fgetpos64 as aliases.
75698 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75699 Define _IO_fsetpos64 and fsetpos64 as aliases.
75700 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75701 Conditionalize body on this.
75702 * libio/fseeko64.c: Likewise.
75703 * libio/ftello64.c: Likewise.
75704 * libio/iofgetpos64.c: Likewise.
75705 * libio/iofsetpos64.c: Likewise.
75706 * sysdeps/wordsize-64/lockf.c: File removed.
75707 * sysdeps/wordsize-64/lockf64.c: File removed.
75708 * sysdeps/wordsize-64/fseeko.c: File removed.
75709 * sysdeps/wordsize-64/fseeko64.c: File removed.
75710 * sysdeps/wordsize-64/ftello.c: File removed.
75711 * sysdeps/wordsize-64/ftello64.c: File removed.
75712 * sysdeps/wordsize-64/iofgetpos.c: File removed.
75713 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75714 * sysdeps/wordsize-64/iofsetpos.c: File removed.
75715 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75716 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75717 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75718 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75719 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75720 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75721 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75722 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75726
75727 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75729 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75731 [defined __arch64__ || defined __sparcv9]
75732 (__OFF_T_MATCHES_OFF64_T): New macro.
75733 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75734 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75736 (__OFF_T_MATCHES_OFF64_T): New macro.
75737
75738 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
75739
75740 * stdlib/secure-getenv.c (__secure_getenv): Replace
75741 GLIBC_2_16 with GLIBC_2_17.
75742
75743 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
75744
75745 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75746 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75747
75748 2012-08-03 David S. Miller <davem@davemloft.net>
75749
75750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75751
75752 2012-08-03 Joseph Myers <joseph@codesourcery.com>
75753
75754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75755 Remove.
75756 (__ASSUME_CORRECT_SI_PID): Likewise.
75757 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75758 (__ASSUME_TMPFS_NAME): Likewise.
75759 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75760 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75761 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75762 (HAVE_AUX_SECURE): Make definition unconditional.
75763 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75764 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75765
75766 2012-08-03 Roland McGrath <roland@hack.frob.com>
75767
75768 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75769 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75770 * sysdeps/mach/hurd/eloop-threshold.h: New file.
75771 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75772 __eloop_threshold instead of SYMLOOP_MAX.
75773
75774 * sysdeps/generic/eloop-threshold.h: New file.
75775 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75776 of MAXSYMLINKS.
75777 * elf/chroot_canon.c (chroot_canon): Likewise.
75778
75779 2012-08-03 Joseph Myers <joseph@codesourcery.com>
75780
75781 [BZ #13717]
75782 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75783 Change to 2.6.0 everywhere.
75784 * sysdeps/unix/sysv/linux/configure: Regenerated.
75785 * sysdeps/unix/sysv/linux/kernel-features.h
75786 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75787 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75788 kernel versions.
75789 (__ASSUME_POSIX_TIMERS): Define unconditionally.
75790 (__ASSUME_FUTEX_REQUEUE): Remove.
75791 (__ASSUME_STATFS64): Define unconditionally.
75792 (__ASSUME_AT_SECURE): Likewise.
75793 (__ASSUME_CORRECT_SI_PID): Likewise.
75794 (__ASSUME_TGKILL): Define without depending on kernel version for
75795 i386.
75796 (__ASSUME_UTIMES): Likewise.
75797 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75798 kernel version.
75799 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75800 (__ASSUME_TMPFS_NAME): Likewise.
75801 * README: Update reference to Linux kernel versions.
75802
75803 2012-08-02 Marek Polacek <polacek@redhat.com>
75804
75805 [BZ #14150]
75806 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
75807 libc_cv_asm_type_prefix with %.
75808 * configure: Regenerated.
75809 * include/libc-symbols.h: Remove comment about
75810 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75811 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75812 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75813 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75814 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75815 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75816 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75817 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75818 * elf/tst-unique2mod1.c: Likewise.
75819 * elf/tst-unique1mod2.c: Likewise.
75820 * elf/tst-unique1mod1.c: Likewise.
75821 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75822 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75823 Replace ASM_TYPE_DIRECTIVE with .type.
75824 * sysdeps/s390/s390-64/sysdep.h: Likewise.
75825 * sysdeps/i386/sysdep.h: Likewise.
75826 * sysdeps/x86_64/sysdep.h: Likewise.
75827 * sysdeps/sh/sysdep.h: Likewise.
75828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75829 Do not define ASM_TYPE_DIRECTIVE.
75830 * sysdeps/powerpc/sysdep.h: Likewise.
75831 * sysdeps/powerpc/powerpc32/sysdep.h:
75832 Replace ASM_TYPE_DIRECTIVE with .type.
75833 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75834 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75835 * sysdeps/i386/fpu/e_powf.S: Likewise.
75836 * sysdeps/i386/fpu/e_expl.S: Likewise.
75837 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75838 * sysdeps/i386/fpu/e_acosh.S: Likewise.
75839 * sysdeps/i386/fpu/e_pow.S: Likewise.
75840 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75841 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75842 * sysdeps/i386/fpu/s_expm1.S: Likewise.
75843 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75844 * sysdeps/i386/fpu/e_log2.S: Likewise.
75845 * sysdeps/i386/fpu/e_log2l.S: Likewise.
75846 * sysdeps/i386/fpu/e_scalb.S: Likewise.
75847 * sysdeps/i386/fpu/e_powl.S: Likewise.
75848 * sysdeps/i386/fpu/e_log10f.S: Likewise.
75849 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75850 * sysdeps/i386/fpu/e_logl.S: Likewise.
75851 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75852 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75853 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
75855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75856 * sysdeps/i386/fpu/e_log.S: Likewise.
75857 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75858 * sysdeps/i386/fpu/e_logf.S: Likewise.
75859 * sysdeps/i386/fpu/e_log10l.S: Likewise.
75860 * sysdeps/i386/fpu/e_atanh.S: Likewise.
75861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75862 * sysdeps/i386/fpu/e_log10.S: Likewise.
75863 * sysdeps/i386/fpu/s_frexp.S: Likewise.
75864 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75865 * sysdeps/i386/fpu/s_asinh.S: Likewise.
75866 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75867 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75868 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75870 * sysdeps/i386/i686/strtok.S: Likewise.
75871 * sysdeps/i386/i386-mcount.S: Likewise.
75872 * sysdeps/i386/strtok.S: Likewise.
75873 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75877 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75878 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75879 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75880 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75881 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75882 * sysdeps/x86_64/_mcount.S: Likewise.
75883 * sysdeps/x86_64/strtok.S: Likewise.
75884 * sysdeps/sh/_mcount.S: Likewise.
75885
75886 2012-08-01 Roland McGrath <roland@hack.frob.com>
75887
75888 * libio/iofopen.c: Include <fcntl.h>.
75889 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75890 (_IO_fopen64, fopen64): Define as aliases.
75891 * libio/iofopen64.c: Include <fcntl.h>.
75892 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75893 Conditionalize body on this.
75894 * sysdeps/wordsize-64/iofopen.c: File removed.
75895 * sysdeps/wordsize-64/iofopen64.c: File removed.
75896
75897 2012-08-01 Marek Polacek <polacek@redhat.com>
75898
75899 * libc/Makeconfig: Use elf in place of binfmt-subdir.
75900 Use dlfcn directly instead of a variable.
75901 (binfmt-subdir): Do not define.
75902 (dlfcn): Likewise.
75903
75904 2012-08-01 Joseph Myers <joseph@codesourcery.com>
75905
75906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75907 Remove all definitions.
75908 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75909 <kernel-features.h>.
75910 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75911 (miss_F_GETOWN_EX): Remove all definitions.
75912 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75913 macro definition.
75914 [!__ASSUME_FCNTL64]: Remove conditional code.
75915 [__ASSUME_FCNTL64]: Make code unconditional.
75916 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75917 <kernel-features.h>.
75918 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75919 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75920 (lockf64) [__NR_fcntl64]: Make code unconditional.
75921 (lockf64) [__ASSUME_FCNTL64]: Likewise.
75922
75923 * sysdeps/unix/sysv/linux/kernel-features.h
75924 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75925 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75926 Make code unconditional.
75927 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75928 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75930 [__NR_vfork]: Make code unconditional.
75931 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75932 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75934 [__NR_vfork]: Make code unconditional.
75935 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75936 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75937
75938 2012-08-01 Roland McGrath <roland@hack.frob.com>
75939
75940 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75941 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75942
75943 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75944 Define mkstemp64 as an alias.
75945 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75946 Define mkstemps64 as an alias.
75947 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75948 Define mkostemp64 as an alias.
75949 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75950 Define mkostemps64 as an alias.
75951 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75952 Conditionalize body on this.
75953 * misc/mkostemp64.c: Likewise.
75954 * misc/mkostemps64.c: Likewise.
75955 * misc/mkstemps64.c: Likewise.
75956 * sysdeps/wordsize-64/mkstemp64.c: File removed.
75957 * sysdeps/wordsize-64/mkostemp64.c: File removed.
75958 * sysdeps/wordsize-64/mkostemp.c: File removed.
75959 * sysdeps/wordsize-64/mkstemp.c: File removed.
75960 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75961 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75962 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75963 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75964
75965 [BZ #14138]
75966 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75967 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75968 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75969 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75970
75971 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75972 compat_symbol macros from <shlib-compat.h> rather than the underlying
75973 default_symbol_version and symbol_version macros, so that DEFAULT
75974 lines in shlib-versions are respected.
75975 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75976
75977 2012-08-01 Florian Weimer <fweimer@redhat.com>
75978
75979 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75980 Declare with warn_unused_result.
75981 (setgid, setregid, setegid, setresgid): Likewise.
75982 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75983 Likewise.
75984 * WUR-REPORT: Remove set*id functions.
75985
75986 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
75987
75988 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75989
75990 2012-07-31 Roland McGrath <roland@hack.frob.com>
75991
75992 [BZ #10191]
75993 * include/sys/socket.h (__libc_accept, __libc_accept4):
75994 Add attribute_hidden.
75995 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75996
75997 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75998 use of PTR_MANGLE.
75999 * inet/getnetgrent_r.c (setup): Likewise.
76000
76001 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
76002
76003 2012-07-31 David S. Miller <davem@davemloft.net>
76004
76005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76006
76007 2012-07-31 Joseph Myers <joseph@codesourcery.com>
76008
76009 [BZ #13629]
76010 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
76011 value between 1.0 and 2.0 and smaller part has absolute value less
76012 than 1.0.
76013 * math/s_clog10.c (__clog10): Likewise.
76014 * math/s_clog10f.c (__clog10f): Likewise.
76015 * math/s_clog10l.c (__clog10l): Likewise.
76016 * math/s_clogf.c (__clogf): Likewise.
76017 * math/s_clogl.c (__clogl): Likewise.
76018 * math/libm-test.inc (clog_test): Add more tests.
76019 (clog10_test): Likewise.
76020 * sysdeps/i386/fpu/libm-test-ulps: Update.
76021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76022
76023 2012-07-31 Florian Weimer <fweimer@redhat.com>
76024
76025 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
76026 Exit with zero in case no suitable GID is found, and write a
76027 message to standard error.
76028
76029 2012-07-30 Roland McGrath <roland@hack.frob.com>
76030
76031 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
76032 rather than to 1.
76033 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
76034 (MAXPATHLEN): Removed.
76035 (NOGROUP, NODEV): New macros.
76036 (setbit, clrbit, isset, isclr): New macros.
76037 (howmany, roundup, powerof2): New macros.
76038 (DEV_BSIZE): New macro.
76039
76040 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
76041 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
76042
76043 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
76044 definition on [!__NO_LONG_DOUBLE_MATH].
76045
76046 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
76047 PTR_MANGLE and PTR_DEMANGLE.
76048
76049 * socket/accept4.c (accept4): Rename to __libc_accept4.
76050 Define accept4 as a weak alias.
76051
76052 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
76053 on [_DIRENT_HAVE_D_TYPE].
76054 * io/ftw.c (ftw_dir): Likewise.
76055
76056 * io/xmknod.c (__xmknod): Don't check PATH for being null.
76057
76058 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
76059
76060 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
76061 Use the BSD numbers rather than the arbitrary ones we had.
76062 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
76063 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
76064 (SIGXCPU, SIGXFSZ): New macros.
76065 (_NSIG): Now 32.
76066
76067 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
76068 initializer on [_LIBC_REENTRANT].
76069
76070 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
76071 definitions inside [_POSIX_MAPPED_FILES].
76072
76073 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
76074
76075 * dirent/opendir.c: Include <fcntl.h>.
76076
76077 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
76078 (__libc_getspecific): Likewise.
76079 (__libc_key_create): Likewise.
76080
76081 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
76082 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
76083 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
76084 (tmpfile64): Define as alias.
76085 * sysdeps/wordsize-64/tmpfile.c: File removed.
76086 * sysdeps/wordsize-64/tmpfile64.c: File removed.
76087 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
76088 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
76089
76090 * stdio-common/vfscanf.c: Include <stdbool.h>.
76091 * nss/makedb.c: Likewise.
76092 * stdio-common/_i18n_number.h: Likewise.
76093 * argp/argp-help.c: Likewise.
76094 * posix/wordexp.c: Likewise.
76095 * sysdeps/posix/spawni.c: Likewise.
76096 * nss/nss_files/files-initgroups.c: Likewise.
76097 * stdio-common/reg-modifier.c: Include <stdlib.h>.
76098 * nss/nss_files/files-initgroups.c: Likewise.
76099 * nss/nss_db/db-netgrp.c: Likewise.
76100 * nss/nss_db/db-initgroups.c: Likewise.
76101 * io/fchmodat.c: Include <sys/stat.h>.
76102
76103 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
76104 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
76105
76106 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
76107 [HAVE_MMAP].
76108
76109 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
76110 Add multiple inclusion protection.
76111
76112 2012-07-27 David S. Miller <davem@davemloft.net>
76113
76114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76115
76116 2012-07-27 Gary Benson <gbenson@redhat.com>
76117
76118 [BZ #14298]
76119 * elf/rtld.c: Include <stap-probe.h>.
76120 (dl_main): Added static probes "init_start" and "init_complete".
76121 * elf/dl-load.c: Include <stap-probe.h>.
76122 (lose): Take new parameter "nsid".
76123 Added static probe "map_failed".
76124 (_dl_map_object_from_fd): Pass namespace id to lose.
76125 Added static probe "map_start".
76126 (open_verify): Pass namespace id to lose.
76127 * elf/dl-open.c: Include <stap-probe.h>.
76128 (dl_open_worker) Added static probes "map_complete", "reloc_start"
76129 and "reloc_complete".
76130 * elf/dl-close.c: Include <stap-probe.h>.
76131 (_dl_close_worker): Added static probes "unmap_start" and
76132 "unmap_complete".
76133 * elf/rtld-debugger-interface.txt: New file documenting the above.
76134
76135 2012-07-26 Roland McGrath <roland@hack.frob.com>
76136
76137 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
76138 rather than a string variable.
76139 * sunrpc/rpc_main.c (h_output): Likewise.
76140 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
76141
76142 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
76143
76144 * inet/check_native.c: New file.
76145
76146 2012-07-26 Joseph Myers <joseph@codesourcery.com>
76147
76148 [BZ #13629]
76149 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
76150 if larger part has absolute value 1.0.
76151 * math/s_clog10.c (__clog10): Likewise.
76152 * math/s_clog10f.c (__clog10f): Likewise.
76153 * math/s_clog10l.c (__clog10l): Likewise.
76154 * math/s_clogf.c (__clogf): Likewise.
76155 * math/s_clogl.c (__clogl): Likewise.
76156 * math/libm-test.inc (clog_test): Add more tests.
76157 (clog10_test): Likewise.
76158 * sysdeps/i386/fpu/libm-test-ulps: Update.
76159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76160
76161 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
76162 (pltexit): Likewise.
76163 (La_regs): Likewise.
76164 (La_retval): Likewise.
76165 (int_retval): Likewise.
76166 Update #error for removed macros to refer only to definitions in
76167 tst-audit.h.
76168 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
76169 macro.
76170 (pltexit): Likewise.
76171 (La_regs): Likewise.
76172 (La_retval): Likewise.
76173 (int_retval): Likewise.
76174 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
76175 macro.
76176 (pltexit): Likewise.
76177 (La_regs): Likewise.
76178 (La_retval): Likewise.
76179 (int_retval): Likewise.
76180 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
76181 macro.
76182 (pltexit): Likewise.
76183 (La_regs): Likewise.
76184 (La_retval): Likewise.
76185 (int_retval): Likewise.
76186 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
76187 macro.
76188 (pltexit): Likewise.
76189 (La_regs): Likewise.
76190 (La_retval): Likewise.
76191 (int_retval): Likewise.
76192 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
76193 macro.
76194 (pltexit): Likewise.
76195 (La_regs): Likewise.
76196 (La_retval): Likewise.
76197 (int_retval): Likewise.
76198 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
76199 macro.
76200 (pltexit): Likewise.
76201 (La_regs): Likewise.
76202 (La_retval): Likewise.
76203 (int_retval): Likewise.
76204 * sysdeps/generic/tst-audit.h: Update comment to refer only to
76205 macro definitions in tst-audit.h.
76206 * sysdeps/i386/tst-audit.h: New file.
76207 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
76208 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
76209 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
76210 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76211 * sysdeps/sh/tst-audit.h: Likewise.
76212 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76213 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76214 * sysdeps/x86_64/tst-audit.h: Likewise.
76215
76216 2012-07-26 Andreas Jaeger <aj@suse.de>
76217
76218 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76219 ptrace.
76220
76221 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76222 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76223 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76224 PTRACE_O_MASK.
76225 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76226 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76227 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76228
76229 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76230 value.
76231
76232 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76233 _sigsys.
76234 (si_call_addr, si_syscall, si_arch): Define new macro.
76235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76236 _sigsys.
76237 (si_call_addr, si_syscall, si_arch): Define new marcro.
76238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76239 _sigsys.
76240 (si_call_addr, si_syscall, si_arch): Define new macro.
76241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76242 _sigsys.
76243 (si_call_addr, si_syscall, si_arch): Define new macro.
76244
76245 2012-07-25 Joseph Myers <joseph@codesourcery.com>
76246
76247 [BZ #13717]
76248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76249 Change to 2.4.21 where previously 2.4.1.
76250 * sysdeps/unix/sysv/linux/configure: Regenerated.
76251 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76252 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76253 Linux kernel version.
76254 (__ASSUME_STD_AUXV): Remove.
76255 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76256 kernel version.
76257 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76258 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76259 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76260 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76261 (__ASSUME_NETLINK_SUPPORT): Likewise.
76262 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76263 (__no_netlink_support): Remove conditional definition.
76264 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76265 Remove.
76266 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76267 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76268 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76269 (if_nameindex_ioctl): Remove.
76270 (if_nameindex_netlink): Do not handle __no_netlink_support.
76271 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76272 code.
76273 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76274 Remove conditional code.
76275 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76276 code.
76277 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76278 unconditional.
76279 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76280 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76281 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76282 Remove.
76283 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76284 [!__ASSUME_STD_AUXV]: Remove conditional code.
76285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76286 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76287 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76290 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76291 code.
76292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76294 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76295 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76296 conditional code.
76297 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76299 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76300 code.
76301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76302 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76303 conditional code.
76304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76305 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76306 code unconditional.
76307 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76308 conditional code.
76309 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76310 unconditional.
76311 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76312 conditional code.
76313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76314 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76315 unconditional.
76316 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76317 conditional code.
76318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76319 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76320 code unconditional.
76321 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76322 conditional code.
76323 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76324 unconditional.
76325 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76326 conditional code.
76327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76328 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76329 code unconditional.
76330 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76331 conditional code.
76332 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76333 unconditional.
76334 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76335 conditional code.
76336
76337 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
76338
76339 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76340 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76341 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76342 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76343 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76344 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76345 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76346 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76347 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76348 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76349 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76350 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76351 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76352 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76353 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76354 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76355 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76356 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76357 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76359 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76360 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76362
76363 2012-07-25 Florian Weimer <fweimer@redhat.com>
76364
76365 * Versions.def: Add GLIBC_2.17.
76366 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76367 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76368 Introduce __libc_secure_getenv.
76369 * stdlib/Versions (2.17): Add secure_getenv
76370 (GLIBC_PRIVATE): Add __libc_secure_getenv.
76371 * stdlib/secure-getenv.c: Rename __secure_getenv to
76372 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
76373 symbol __secure_getenv for GLIBC_2.0.
76374 * stdlib/tst-secure-getenv.c: New.
76375 * stdlib/Makefile (tests): Add testcase.
76376 * manual/startup.texi (Environment Access): Document
76377 secure_getenv.
76378 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76379 __libc_secure_getenv.
76380 * inet/ruserpass.c (ruserpass): Likewise.
76381 * malloc/mtrace.c (mtrace): Likewise.
76382 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76383 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76384 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76385 * sysdeps/posix/tempname.c: Likewise. Evaluate
76386 HAVE_SECURE_GETENV.
76387 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76388 __secure_getenv to __libc_secure_getenv.
76389 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76391 Likewise.
76392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76393 Likewise.
76394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76401
76402 2012-07-25 Joseph Myers <joseph@codesourcery.com>
76403
76404 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
76405 (struct La_i86_retval): Likewise.
76406 (struct La_x86_64_regs): Likewise.
76407 (struct La_x86_64_retval): Likewise.
76408 (struct La_x32_regs): Likewise.
76409 (struct La_x32_retval): Likewise.
76410 (struct La_ppc32_regs): Likewise.
76411 (struct La_ppc32_retval): Likewise.
76412 (struct La_ppc64_regs): Likewise.
76413 (struct La_ppc64_retval): Likewise.
76414 (struct La_sh_regs): Likewise.
76415 (struct La_sh_retval): Likewise.
76416 (struct La_s390_32_regs): Likewise.
76417 (struct La_s390_32_retval): Likewise.
76418 (struct La_s390_64_regs): Likewise.
76419 (struct La_s390_64_retval): Likewise.
76420 (struct La_sparc32_regs): Likewise.
76421 (struct La_sparc32_retval): Likewise.
76422 (struct La_sparc64_regs): Likewise.
76423 (struct La_sparc64_retval): Likewise.
76424 (struct audit_ifaces): Remove architecture-specific pltenter and
76425 pltexit members.
76426 * sysdeps/i386/ldsodefs.h: New file.
76427 * sysdeps/powerpc/ldsodefs.h: Likewise.
76428 * sysdeps/s390/ldsodefs.h: Likewise.
76429 * sysdeps/sh/ldsodefs.h: Likewise.
76430 * sysdeps/sparc/ldsodefs.h: Likewise.
76431 * sysdeps/x86_64/ldsodefs.h: Likewise.
76432
76433 2012-07-25 Marek Polacek <polacek@redhat.com>
76434
76435 [BZ #6808]
76436 * math/libm-test.inc (yn_test): Add another test.
76437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
76438 to ERANGE when the result is +-Inf.
76439 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
76440 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
76441 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
76442 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
76443
76444 2012-07-24 Joseph Myers <joseph@codesourcery.com>
76445
76446 * conform/data/time.h-data (NULL): Use macro-constant. Require
76447 equal to 0.
76448 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
76449 clock_t.
76450 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
76451
76452 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
76453
76454 * configure.in <sysdeps resolving>: Correct printing
76455 Implies_before.
76456 * configure: Regenerate.
76457
76458 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
76459
76460 * math/w_ilogb.c: Include <limits.h>.
76461 * math/w_ilogbl.c: Likewise.
76462
76463 2012-07-20 Joseph Myers <joseph@codesourcery.com>
76464
76465 * manual/lang.texi (__va_copy): Document primarily as ISO C99
76466 va_copy. Document allowing for unavailable va_copy only as
76467 pre-C99 compatibility.
76468 * manual/string.texi (Copying and Concatenation): Use va_copy
76469 instead of __va_copy in concat example.
76470
76471 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
76472
76473 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
76474 (__sendto): Use create_address_port. Initialize APORT and deallocate
76475 it if not null.
76476
76477 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
76478 with O_NOLINK passed to __file_name_lookup.
76479
76480 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
76481 with O_NOLINK passed to __file_name_lookup.
76482
76483 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
76484 negative N or less than NGIDS.
76485
76486 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
76487 type to string_t. Set ERANGE as errno and return it if NAME is not big
76488 enough. Use memcpy instead of strncpy.
76489
76490 2012-07-20 Joseph Myers <joseph@codesourcery.com>
76491
76492 * elf/Makefile (check-data): Remove.
76493 (localplt.data): New vpath directive.
76494 ($(objpfx)check-localplt.out): Use localplt.data from vpath
76495 instead of $(check-data).
76496 * scripts/data/localplt-generic.data: Move to ...
76497 * sysdeps/generic/localplt.data: ... here.
76498 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
76499 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
76500 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
76501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
76502 ... here.
76503 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
76504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
76505 ... here.
76506 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
76507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
76508 ... here.
76509 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
76510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
76511 ... here.
76512 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
76513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
76514 ... here.
76515 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
76516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
76517 ... here.
76518
76519 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76520
76521 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
76522 PPC32 and PPC64 files.
76523 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
76524 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
76525
76526 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76527
76528 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
76529 __makecontext_ret to ...
76530 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
76531 ... here and call exit if uc_link is NULL. New file.
76532 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
76533 __makecontext_ret.S.
76534 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
76535 __makecontext_ret to ...
76536 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
76537 ... here and call exit if uc_link is NULL. New file.
76538 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76539 __makecontext_ret.S.
76540
76541 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76542
76543 * elf/elf.h (R_390_IRELATIVE): New definition.
76544 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76545 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
76546 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76547 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76548 (elf_machine_lazy_rel): Likewise.
76549 * sysdeps/s390/dl-irel.h: New file.
76550 * sysdeps/s390/s390-64/memcpy.S: New asm code.
76551 * sysdeps/s390/s390-64/memset.S: New asm code.
76552 * sysdeps/s390/s390-64/memcmp.S: New asm code.
76553 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76554 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76555 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76556 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76557 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76559 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76560 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76561 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76562 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76563 * sysdeps/s390/s390-32/memcpy.S: New asm code.
76564 * sysdeps/s390/s390-32/memset.S: New asm code.
76565 * sysdeps/s390/s390-32/memcmp.S: New asm code.
76566
76567 2012-07-17 Marek Polacek <polacek@redhat.com>
76568
76569 [BZ #14349]
76570 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76571 * sysdeps/s390/s390-64/configure.in: Likewise.
76572 * sysdeps/sparc/configure.in: Likewise.
76573 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76574 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76575 * sysdeps/i386/configure.in: Likewise.
76576 * sysdeps/x86_64/configure.in: Likewise.
76577 * sysdeps/sh/configure.in: Likewise.
76578 * sysdeps/s390/s390-32/configure: Regenerated.
76579 * sysdeps/s390/s390-64/configure: Likewise.
76580 * sysdeps/x86_64/configure: Likewise.
76581 * sysdeps/sh/configure: Likewise.
76582 * sysdeps/powerpc/powerpc64/configure: Likewise.
76583 * sysdeps/powerpc/powerpc32/configure: Likewise.
76584 * sysdeps/sparc/configure: Likewise.
76585 * sysdeps/i386/configure: Likewise.
76586
76587 * elf/dl-open.c: Comment fixes.
76588
76589 2012-07-17 Joseph Myers <joseph@codesourcery.com>
76590
76591 * Makefile [CXX] (check-data): Remove.
76592 [CXX] (c++-types.data): New vpath directive.
76593 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76594 vpath. Do not allow for C++ type data being missing.
76595 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76596 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76597 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76598 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76599 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76600 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76601 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76603 ... here.
76604 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76606 ... here.
76607 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76609 ... here.
76610 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76612 ... here.
76613 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76615 ... here.
76616 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76618 ... here.
76619 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76621 ... here.
76622 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76624
76625 * elf/tls-macros.h (TLS_LE): Move architecture-specific
76626 definitions to architecture-specific files.
76627 (TLS_IE): Likewise.
76628 (TLS_LD): Likewise.
76629 (TLS_GD): Likewise.
76630 * sysdeps/i386/tls-macros.h: New file.
76631 * sysdeps/powerpc/tls-macros.h: Likewise.
76632 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76633 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76634 * sysdeps/sh/tls-macros.h: Likewise.
76635 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76636 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76637 * sysdeps/x86_64/tls-macros.h: Likewise.
76638
76639 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
76640
76641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76642 zero value for regular exit case.
76643
76644 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76645 (__start_context): Preserve zero value for regular exit case.
76646
76647 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
76648 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76649
76650 * manual/setjmp.texi (setcontext): Clarify normal process
76651 termination when uc_link is the null pointer.
76652 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76653 exit call.
76654
76655 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
76656
76657 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76658 preprocessor. Test for each exception mask separately.
76659
76660 2012-07-16 Andreas Jaeger <aj@suse.de>
76661
76662 * po/ru.po: Update from translation team.
76663
76664 2012-07-15 Joseph Myers <joseph@codesourcery.com>
76665
76666 * conform/data/string.h-data (NULL): Use macro-constant. Require
76667 equal to 0.
76668 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76669 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76670 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76671 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
76673
76674 2012-07-13 Andreas Jaeger <aj@suse.de>
76675
76676 * po/fr.po: Update from translation team.
76677
76678 2012-07-12 Marek Polacek <polacek@redhat.com>
76679
76680 [BZ #14173]
76681 * math/libm-test.inc (yn_test): Add test for BZ #14173.
76682 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76683 loop condition.
76684
76685 2012-07-12 Joseph Myers <joseph@codesourcery.com>
76686
76687 [BZ #13717]
76688 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76689 Change to 2.4.1 where previously 2.4.0.
76690 * sysdeps/unix/sysv/linux/configure: Regenerated.
76691 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76692 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76693 version.
76694 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76695 (__ASSUME_AT_CLKTCK): Remove.
76696 (__ASSUME_AT_PAGESIZE): Likewise.
76697 (__ASSUME_AT_XID): Likewise.
76698 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76699 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76700 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76701 unconditionally.
76702 (HAVE_AUX_PAGESIZE): Likewise.
76703 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76704 [__ASSUME_AT_CLKTCK]: Make code unconditional.
76705 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76706
76707 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
76708
76709 [BZ #14307]
76710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76711 the temporary buffer used to invoke __gethostbyname2_r,
76712 __gethostbyaddr_r and gethostbyname4_r to make room for struct
76713 host_data / struct gaih_addrtuple.
76714 * resolv/nss_dns/dns-host.c (global scope): Move definition of
76715 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76716 header file nss/nsswitch.h.
76717 * nss/nsswitch.h (global scope): Add definition of implementation
76718 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76719 resolv/nss_dns/dns-host.c).
76720
76721 2012-07-11 Andreas Jaeger <aj@suse.de>
76722
76723 * po/fr.po: Update from translation team.
76724
76725 * po/sv.po: Update from translation team
76726 * po/fr.po: Another update from translation team.
76727
76728 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76729
76730 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76731 for subnormals or multiply small sinh result by itself.
76732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76734
76735 2012-07-11 David S. Miller <davem@davemloft.net>
76736
76737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76738
76739 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
76740
76741 [BZ #14347]
76742 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76743 (INTERNAL_MARK): Shift it here.
76744
76745 2012-07-10 Marek Polacek <polacek@redhat.com>
76746
76747 [BZ #14151]
76748 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
76749 libc_cv_asm_global_directive with .globl.
76750 * configure: Regenerated.
76751 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76752 with .globl.
76753 * sysdeps/i386/configure: Regenerated.
76754 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76755 with .globl.
76756 * sysdeps/x86_64/configure: Regenerated.
76757 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76758 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76759 * elf/tst-unique2mod2.c: Likewise.
76760 * elf/tst-unique2mod1.c: Likewise.
76761 * elf/tst-unique1mod2.c: Likewise.
76762 * elf/tst-unique1mod1.c: Likewise.
76763 * sysdeps/s390/s390-32/sysdep.h: Likewise.
76764 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76765 * sysdeps/s390/s390-64/sysdep.h: Likewise.
76766 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76767 * sysdeps/mach/sysdep.h: Likewise.
76768 * sysdeps/i386/sysdep.h: Likewise.
76769 * sysdeps/i386/i386-mcount.S: Likewise.
76770 * sysdeps/x86_64/_mcount.S: Likewise.
76771 * sysdeps/x86_64/sysdep.h: Likewise.
76772 * sysdeps/sh/_mcount.S: Likewise.
76773 * sysdeps/sh/sysdep.h: Likewise.
76774 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76775 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76776 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76777 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76778 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76779 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76780 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76781 * locale/localeinfo.h: Likewise.
76782 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76783 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76784
76785 2012-07-09 Roland McGrath <roland@hack.frob.com>
76786
76787 [BZ #14336]
76788 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76789 system".
76790 * manual/message.texi (The Uniforum approach): Likewise.
76791 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76792 (glibc iconv Implementation): Likewise.
76793
76794 2012-07-09 Joseph Myers <joseph@codesourcery.com>
76795
76796 [BZ #14337]
76797 * math/s_clog.c (__clog): Avoid scaling a value down where that
76798 could result in underflow.
76799 * math/s_clog10.c (__clog10): Likewise.
76800 * math/s_clog10f.c (__clog10f): Likewise.
76801 * math/s_clog10l.c (__clog10l): Likewise.
76802 * math/s_clogf.c (__clogf): Likewise.
76803 * math/s_clogl.c (__clogl): Likewise.
76804 * math/libm-test.inc (clog_test): Add more tests.
76805 (clog10_test): Likewise.
76806 * sysdeps/i386/fpu/libm-test-ulps: Update.
76807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76808
76809 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
76810
76811 [BZ #14283]
76812 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76813 by 7 not 8 to examine high bit of fractional part.
76814
76815 [BZ #14042]
76816 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76817 for call to __mcount_internal.
76818 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76819 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76820 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76821
76822 2012-07-06 Joseph Myers <joseph@codesourcery.com>
76823
76824 [BZ #14154]
76825 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76826 approximation for values within 0x1p-13f of an odd multiple of
76827 pi/4.
76828 * math/libm-test.inc (tan_test): Do not allow spurious underflow
76829 exception. Add more tests.
76830 * sysdeps/i386/fpu/libm-test-ulps: Update.
76831
76832 [BZ #6778]
76833 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76834 inputs and return -1 for them. Do not check for +Inf in case not
76835 reachable for +Inf.
76836 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76837 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76839 and return -1 for them. Do not check for +Inf in case not
76840 reachable for +Inf.
76841 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76842 define.
76843 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76844 and return -1 for them. Do not check for +Inf in case not
76845 reachable for +Inf.
76846 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
76847 spurious underflow.
76848 * sysdeps/i386/fpu/libm-test-ulps: Update.
76849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76850
76851 2012-07-06 Mike Frysinger <vapier@gentoo.org>
76852
76853 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76854
76855 2012-07-05 Joseph Myers <joseph@codesourcery.com>
76856
76857 [BZ #14157]
76858 [BZ #14331]
76859 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76860 could result in spurious underflow. Scale down values above
76861 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76862 * math/s_csqrtf.c (__csqrtf): Likewise.
76863 * math/s_csqrtl.c (__csqrtl): Likewise.
76864 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
76865 spurious underflow.
76866 * sysdeps/i386/fpu/libm-test-ulps: Update.
76867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76868
76869 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
76870
76871 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76872 xopen-msg.sed.
76873 * catgets/xopen-msg.awk: New file.
76874 * catgets/xopen-msg.sed: Removed.
76875
76876 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76877 po2text.sed.
76878 * intl/po2test.awk: New file.
76879 * intl/po2test.sed: Removed.
76880
76881 2012-07-04 Joseph Myers <joseph@codesourcery.com>
76882
76883 [BZ #14328]
76884 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76885 or multiply small sinh result by itself.
76886 * math/s_ctanf.c (__ctanf): Likewise.
76887 * math/s_ctanh.c (__ctanh): Likewise.
76888 * math/s_ctanhf.c (__ctanhf): Likewise.
76889 * math/s_ctanhl.c (__ctanhl): Likewise.
76890 * math/s_ctanl.c (__ctanl): Likewise.
76891 * math/libm-test.inc (ctan_test_tonearest): New function.
76892 (ctan_test_towardzero): Likewise.
76893 (ctan_test_downward): Likewise.
76894 (ctan_test_upward): Likewise.
76895 (ctanh_test_tonearest): Likewise.
76896 (ctanh_test_towardzero): Likewise.
76897 (ctanh_test_downward): Likewise.
76898 (ctanh_test_upward): Likewise.
76899 (main): Call these new functions.
76900 * sysdeps/i386/fpu/libm-test-ulps: Update.
76901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76902
76903 2012-07-03 Mike Frysinger <vapier@gentoo.org>
76904
76905 * .gitignore: Delete /ports entry.
76906
76907 2012-07-03 Andreas Jaeger <aj@suse.de>
76908
76909 * po/bg.po: Update from translation team.
76910 * po/cs.po: Likewise.
76911 * po/de.po: Likewise.
76912 * po/hr.po: Likewise.
76913 * po/nl.pl: Likewise.
76914 * po/pl.po: Likewise.
76915 * po/vi.po: Likewise.
76916
76917 2012-07-03 Joseph Myers <joseph@codesourcery.com>
76918
76919 * Makeconfig [!+link] (+link-before-libc): New variable.
76920 [!+link] (+link-after-libc): Likewise.
76921 [!+link] (+link-tests): Likewise.
76922 [!+link] (+link): Define in terms of $(+link-before-libc) and
76923 $(+link-after-libc).
76924 [!+link-static] (+link-static-before-libc): New variable.
76925 [!+link-static] (+link-static-after-libc): Likewise.
76926 [!+link-static] (+link-static-tests): Likewise.
76927 [!+link-static] (+link-static): Define in terms of
76928 $(+link-static-before-libc) and $(+link-static-after-libc).
76929 [build-shared] (link-libc-before-gnulib): New variable.
76930 [build-shared] (link-libc-tests): Likewise.
76931 [build-shared] (link-libc): Define in terms of
76932 $(link-libc-before-gnulib).
76933 [!build-shared] (link-libc-tests): New variable.
76934 (link-libc-static-tests): New variable.
76935 [!gnulib] (gnulib-arch): New variable.
76936 [!gnulib] (gnulib-tests): Likewise.
76937 [!gnulib] (static-gnulib-arch): Likewise.
76938 [!gnulib] (static-gnulib-tests): Likewise.
76939 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
76940 Define with "=" instead of ":=".
76941 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
76942 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
76943 * Rules (binaries-all-notests): New variable.
76944 (binaries-all-tests): Likewise.
76945 (binaries-static-notests): Likewise.
76946 (binaries-static-tests): Likewise.
76947 (binaries-all): Define using $(binaries-all-notests) and
76948 $(binaries-all-tests).
76949 (binaries-static): Define using $(binaries-static-notests) and
76950 $(binaries-static-tests).
76951 (binaries-shared-tests): New variable.
76952 (binaries-shared-notests): Likewise.
76953 (binaries-shared): Remove variable.
76954 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76955 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76956 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76957 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76958 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76959 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76960 * elf/Makefile (sln-modules): New variable.
76961 (extra-objs): Add $(sln-modules:=.o).
76962 (ldconfig-modules): Add static-stubs.
76963 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76964 * elf/static-stubs.c: New file.
76965
76966 [BZ #14283]
76967 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76968 by 7 not 8 to examine high bit of fractional part. Use volatile
76969 variables when splitting into final array of floats if
76970 __FLT_EVAL_METHOD__ != 0.
76971 * math/libm-test.inc (cos_test): Add another test.
76972 (sin_test): Likewise.
76973 * sysdeps/i386/fpu/libm-test-ulps: Update.
76974
76975 [BZ #14273]
76976 * math/libm-test.inc (cosh_test): Add more tests.
76977
76978 * version.h (RELEASE): Set to "development".
76979 (VERSION): Set to "2.16.90".
76980
76981 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
76982
76983 * NEWS: Update copyright. Remove last-updated date.
76984 Mention math library bug fixes and timezone data changes.
76985 * README: Mention GNU/Hurd, x32, and HPPA support status.
76986
76987 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
76988
76989 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76990
76991 2012-06-27 Andreas Jaeger <aj@suse.de>
76992
76993 * manual/contrib.texi (Contributors): Add Samuel Thibault.
76994
76995 2012-06-25 Andreas Jaeger <aj@suse.de>
76996
76997 * sysdeps/s390/fpu/libm-test-ulps: Update.
76998
76999 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
77000 Thomas Schwinge <thomas@codesourcery.com>
77001
77002 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
77003 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
77004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
77005 fanotify_mark.
77006
77007 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
77008
77009 * sysdeps/mach/start.c: Remove file.
77010 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
77011 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
77012 * sysdeps/sh/init-first.c: Likewise.
77013
77014 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
77015 registers for frame unwinding purposes, add CFI directives.
77016 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77017 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
77018 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
77019 Likewise.
77020
77021 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
77022 __fortify_fail returning.
77023 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77024
77025 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
77026 sysdeps/sh/____longjmp_chk.S.
77027 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
77028 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
77029 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
77030 (gen-as-const-headers): Append sigaltstack-offsets.sym.
77031
77032 * sysdeps/sh/abort-instr.h: New file.
77033 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
77034 process in case exit returns.
77035
77036 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
77037 initialize the GOT register before use.
77038
77039 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
77040 calculation of ARGC > 4.
77041
77042 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
77043 meaningful names to some local labels.
77044
77045 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
77046 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77047
77048 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
77049 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
77050 (__arch_compare_and_exchange_val_16_acq): Likewise.
77051 (__arch_compare_and_exchange_val_32_acq): Likewise.
77052 (atomic_exchange_and_add): Fix gUSA sequence.
77053 (atomic_add): Likewise.
77054 (atomic_add_negative): Likewise.
77055 (atomic_add_zero): Likewise.
77056 (atomic_bit_test_set): Likewise.
77057
77058 2012-06-22 Andreas Schwab <schwab@redhat.com>
77059
77060 [BZ #13579]
77061 * include/link.h (struct link_map): Add l_free_initfini.
77062 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
77063 l_initfini.
77064 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
77065 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
77066 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
77067 set.
77068
77069 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
77070
77071 * configure.in: Use AC_LANG_SOURCE.
77072 * configure: Regenerate.
77073
77074 2012-06-22 Roland McGrath <roland@hack.frob.com>
77075
77076 * configure.in (libc_cv_localstatedir): New substituted variable.
77077 * configure: Regenerated.
77078 * config.make.in (localstatedir): New variable, substituted from
77079 libc_cv_localstatedir.
77080 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
77081 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
77082 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
77083 * sysdeps/gnu/configure: Regenerated.
77084
77085 2012-06-21 Jeff Law <law@redhat.com>
77086
77087 [BZ #14277]
77088 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
77089 free. Simplify list management for _LIBC case.
77090
77091 2012-06-21 Joseph Myers <joseph@codesourcery.com>
77092
77093 [BZ #14273]
77094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
77095 Clear sign bit of 64-bit integer value before comparing against
77096 overflow value.
77097
77098 * sysdeps/mach/configure: Regenerated.
77099
77100 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
77101
77102 [BZ #14278]
77103 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
77104
77105 2012-06-21 Jeff Law <law@redhat.com>
77106
77107 [BZ #13882]
77108 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
77109 uint16_t for elements in the "seen" array to avoid char overflows.
77110 * elf/dl-fini.c (_dl_sort_fini): Likewise.
77111 * elf/dl-open.c (dl_open_worker): Likewise.
77112
77113 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
77114
77115 * scripts/list-sources.sh: Scan PORTS for translations.
77116 * po/libc.pot: Regenerated.
77117
77118 2012-06-21 Andreas Jaeger <aj@suse.de>
77119
77120 [BZ #12194]
77121 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
77122 warning.
77123 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
77124 * bits/byteswap-16.h (__bswap_16): Likewise.
77125 * bits/byteswap.h (__bswap_constant_16): Likewise.
77126
77127 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
77128
77129 [BZ #14117]
77130 * sysdeps/i386/fpu_control.h: Removed.
77131 * sysdeps/x86_64/fpu_control.h: Moved to ...
77132 * sysdeps/x86/fpu_control.h: Here.
77133
77134 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
77135 (_FPU_SETCW): Likewise.
77136
77137 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
77138
77139 [BZ #14117]
77140 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
77141 * sysdeps/x86/fpu/bits/mathinline.h: This.
77142 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
77143
77144 [BZ #14050]
77145 [BZ #14117]
77146 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
77147 functions if __x86_64__ is defined.
77148
77149 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
77150
77151 * string/endian.h: Add !__ASSEMBLER__ condition for including
77152 conversion interfaces.
77153
77154 2012-06-15 Joseph Myers <joseph@codesourcery.com>
77155
77156 [BZ #14241]
77157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
77158 of ABS(x) in calculating zero to negative powers other than odd
77159 integers.
77160 * math/libm-test.inc (pow_test): Add more tests.
77161
77162 2012-06-15 Andreas Jaeger <aj@suse.de>
77163
77164 * manual/contrib.texi (Contributors): Update entry of Liubov
77165 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
77166 Machado Filho.
77167
77168 2012-06-15 Cyril Hrubis <metan@ucw.cz>
77169
77170 * string/string.h: Add __wur to GNU version of strerror_r.
77171
77172 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
77173
77174 [BZ #14229]
77175 * string/Makefile (tests): Add tst-strtok_r.
77176 * string/tst-strtok_r.c: New file.
77177 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
77178 RAX_LP/RDX_LP on SAVE_PTR.
77179
77180 2012-06-14 Roland McGrath <roland@hack.frob.com>
77181
77182 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
77183
77184 2012-06-14 Joseph Myers <joseph@codesourcery.com>
77185
77186 * libm_test.inc (csqrt_test): Allow more spurious underflow
77187 exceptions.
77188 (j0_test): Likewise.
77189 (j1_test): Likewise.
77190 (y0_test): Likewise.
77191 (y1_test): Likewise.
77192
77193 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
77194
77195 * po/Makefile (libc.pot): Use UTF-8 charset.
77196
77197 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
77198
77199 [BZ #14210]
77200 Suppress sign-conversion warning from FD_SET.
77201 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
77202 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77203 not unsigned long int.
77204 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
77205
77206 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
77207
77208 [BZ #14050]
77209 [BZ #14117]
77210 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77211 __extern_always_inline instead of __extern_inline.
77212 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77213 (__signbit): Likewise.
77214 (__signbitl): Support C++ namespace.
77215 (lrintf): New inline function.
77216 (lrint): Likewise.
77217 (llrintf): Likewise.
77218 (llrint): Likewise.
77219 (fmaxf): Likewise.
77220 (fmax): Likewise.
77221 (fminf): Likewise.
77222 (fmin): Likewise.
77223 (rint): Likewise.
77224 (rintf): Likewise.
77225 (ceil): Likewise.
77226 (ceilf): Likewise.
77227 (floor): Likewise.
77228 (floorf): Likewise.
77229 (nearbyint): Likewise.
77230 (nearbyintf): Likewise.
77231
77232 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
77233
77234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77235 non-default versions.
77236
77237 2012-06-11 Roland McGrath <roland@hack.frob.com>
77238
77239 [BZ #14218]
77240 * manual/argp.texi (Argp): Reword argp_parse description slightly.
77241
77242 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
77243
77244 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77245 (FE_UPWARD, FE_DOWNWARD): Don't define.
77246 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77247 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77248
77249 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77250 reading it.
77251 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77252 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77253
77254 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77255
77256 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77258 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77259 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77260
77261 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
77262
77263 [BZ #14117]
77264 * sysdeps/i386/fpu/bits/fenv.h: Removed.
77265 * sysdeps/i386/fpu/Implies: New file.
77266 * sysdeps/x86_64/fpu/Implies: Likewise.
77267 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77268 * sysdeps/x86/fpu/bits/fenv.h: This.
77269
77270 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77271 __SSE_MATH__.
77272
77273 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
77274
77275 [BZ #14134]
77276 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77277 character 0xffff that matches the last element of the
77278 conversion table.
77279
77280 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77281
77282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77283 fmodl commit.
77284
77285 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77286
77287 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77288 values higher than 25.6283.
77289
77290 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77291
77292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77293 subnormal exponent extraction and add some __builtin_expect.
77294 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77295 Fix for subnormal mantissa calculation.
77296
77297 2012-06-04 Mike Frysinger <vapier@gentoo.org>
77298
77299 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77300 cpu2 is -1 and errno is not ENOSYS.
77301
77302 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
77303
77304 [BZ #14117]
77305 * sysdeps/i386/i486/bits/string.h: Renamed to ...
77306 * sysdeps/x86/bits/string.h: This.
77307 * sysdeps/x86_64/bits/string.h: Removed.
77308
77309 * sysdeps/i386/i486/bits/string.h: Define inline functions only
77310 if not compiling for x86-64, but compiling for >= i486.
77311
77312 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77313 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77314
77315 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77316 New macro from Linux kernel 3.4.0.
77317 (FP_XSTATE_MAGIC2): Likewise.
77318 (FP_XSTATE_MAGIC2_SIZE): Likewise.
77319 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77320 (struct _fpx_sw_bytes): New struct.
77321 (struct _xsave_hdr): Likewise.
77322 (struct _ymmh_state): Likewise.
77323 (struct _xstate): Likewise.
77324
77325 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77326 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77327 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77328 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77329 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77330 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77331
77332 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77333 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77334 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77335 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77336 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77337 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77338
77339 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77340
77341 [BZ #13743]
77342 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77343 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77344 (sysdep_headers): Include sys/platform/ppc.h.
77345 * sysdeps/powerpc/test-gettimebase.c: Test for
77346 __ppc_get_timebase() to catch future ISA opcode/insn changes.
77347 * manual/Makefile (appendices): Include platform.texi.
77348 * manual/contrib.texi (Contributors): Update @node pointers.
77349 * manual/maint.texi (Maintenance): Likewise.
77350 (Platform): New node.
77351 * manual/platform.texi: New file. Document the new features.
77352
77353 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
77354 Jakub Jelinek <jakub@redhat.com>
77355
77356 [BZ #14188]
77357 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77358 where __builtin_expect is unavailable.
77359
77360 2012-06-03 David S. Miller <davem@davemloft.net>
77361
77362 * stdlib/longlong.h: Updated from GCC.
77363
77364 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
77365
77366 [BZ #14042]
77367 * sysdeps/powerpc/powerpc32/mcount.c: New file.
77368 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77369 __mcount_internal.
77370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77371 (GLIBC_2.16): Likewise.
77372
77373 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
77374
77375 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77376
77377 2012-06-01 Joseph Myers <joseph@codesourcery.com>
77378
77379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77380 (default-abi): New variable.
77381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77382 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77383 variable.
77384 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77385 Likewise.
77386 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77387 Likewise.
77388 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77389 Likewise.
77390
77391 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
77392 definition. Document in comment.
77393
77394 2012-06-01 David S. Miller <davem@davemloft.net>
77395
77396 * stdlib/longlong.h: Updated from GCC.
77397
77398 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
77399
77400 [BZ #14117]
77401 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
77402 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
77403 sys/debugreg.h sys/io.h here.
77404 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77405 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
77406 sys/io.h.
77407 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
77408 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
77409 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
77410 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
77411 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
77412 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
77413
77414 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
77415 Define only if __x86_64__ is defined.
77416
77417 2012-06-01 Joseph Myers <joseph@codesourcery.com>
77418
77419 [BZ #14048]
77420 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
77421 Use int64_t for variable i.
77422 * math/libm-test.inc (fmod_test): Add more tests.
77423
77424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
77425 z computation is not scheduled after fetestexcept.
77426 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
77427 Use math_force_eval instead of asm to ensure calculation scheduled
77428 before exception test.
77429 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
77430 Ensure a1 + u.d computation is not scheduled after fetestexcept.
77431
77432 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
77433
77434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
77435 computation is not scheduled after fetestexcept.
77436
77437 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
77438
77439 [BZ #14117]
77440 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
77441 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
77442
77443 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77444
77445 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
77446 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77447
77448 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
77449
77450 [BZ #14117]
77451 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
77452 <bits/wordsize.h>.
77453 (__WCHAR_MIN): Support __WORDSIZE == 64.
77454 (__WCHAR_MAX): Likewise.
77455
77456 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
77457 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
77458
77459 [BZ #14183]
77460 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
77461 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
77462
77463 [BZ #14117]
77464 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
77465 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
77466
77467 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
77468 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
77469
77470 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
77471 Defined to 1 if __x86_64__ isn't defined.
77472 (_STAT_VER_LINUX_OLD): New.
77473 (st_atime): Remove duplicate.
77474 (st_mtime): Likewise.
77475 (st_ctime): Likewise.
77476
77477 2012-05-31 David S. Miller <davem@davemloft.net>
77478
77479 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
77480 entries.
77481
77482 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
77483
77484 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
77485 gen-libm-test.pl.
77486
77487 [BZ #14132]
77488 * elf/dl-reloc.c: Include <_itoa.h>.
77489 (_dl_reloc_bad_type): Remove use of INTUSE.
77490 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
77491 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
77492 * stdio-common/psiginfo.c (psiginfo): Likewise.
77493 * stdio-common/psignal.c (psignal): Likewise.
77494 * string/strsignal.c (strsignal): Likewise.
77495 * include/signal.h (_sys_siglist): Declare hidden proto.
77496 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
77497 INTVARDEF with libc_hidden_data_def.
77498 * stdio-common/itoa-udigits.c: Likewise.
77499 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
77500 (_itoa_lower_digits_internal): Remove declaration.
77501 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
77502 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
77503 (_sys_sigabbrev_internal): Remove aliases.
77504 (_sys_siglist): Define hidden alias.
77505
77506 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
77507
77508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77509 bits/sysctl.h.
77510
77511 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
77512
77513 [BZ #14117]
77514 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
77515 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
77516
77517 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
77518 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
77519 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
77520 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
77521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
77522 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
77523
77524 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
77525 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
77526 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
77527
77528 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
77529 with __addr.
77530 (insw): Likewise.
77531 (insl): Likewise.
77532 (outsb): Likewise.
77533 (outsw): Likewise.
77534 (outsl): Likewise.
77535
77536 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
77537 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
77538 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77539
77540 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77541 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77543 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77544 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77545 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77546
77547 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77548 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77549
77550 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77551 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77552
77553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77555 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77556
77557 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77558 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77559 to ...
77560 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77561
77562 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77563 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77564 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77565
77566 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77567 for x86-64.
77568 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77569
77570 2012-05-31 Joseph Myers <joseph@codesourcery.com>
77571
77572 * math/math.h (M_El): Use two more decimal places.
77573 (M_LOG2El): Likewise.
77574 (M_LOG10El): Likewise.
77575 (M_LN2l): Likewise.
77576 (M_LN10l): Likewise.
77577 (M_PIl): Likewise.
77578 (M_PI_2l): Likewise.
77579 (M_PI_4l): Likewise.
77580 (M_1_PIl): Likewise.
77581 (M_2_PIl): Likewise.
77582 (M_2_SQRTPIl): Likewise.
77583 (M_SQRT2l): Likewise.
77584 (M_SQRT1_2l): Likewise.
77585
77586 2012-05-31 David S. Miller <davem@davemloft.net>
77587
77588 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77589 values between float registers.
77590 * sysdeps/sparc/sparc64/memset.S: Likewise.
77591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77592
77593 2012-05-31 Mike Frysinger <vapier@gentoo.org>
77594
77595 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77596 -D_FORTIFY_SOURCE=1.
77597 (CPPFLAGS-tst-longjmp_chk.c): Define.
77598 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77599 (CPPFLAGS-tst-longjmp_chk2.c): Define.
77600 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77601 CFLAGS-tst-wchar-h.c.
77602
77603 2012-05-31 Marek Polacek <polacek@redhat.com>
77604
77605 [BZ #14132]
77606 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77607 __endmntent_internal): Remove declaration.
77608 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77609 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77610 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77611
77612 2012-05-30 David S. Miller <davem@davemloft.net>
77613
77614 * sysdeps/sparc/sparc32/soft-fp/q_util.c
77615 (___Q_simulate_exceptions): Use real FP ops rather than writing
77616 into the %fsr.
77617 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77618 Likewise.
77619
77620 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
77621
77622 [BZ #14117]
77623 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77624 * sysdeps/x86/bits/xtitypes.h: This.
77625
77626 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77627 * sysdeps/x86/bits/wordsize.h: This.
77628
77629 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77630 * sysdeps/x86/bits/huge_vall.h: This.
77631
77632 * sysdeps/i386/bits/select.h: Removed.
77633 * sysdeps/x86_64/bits/select.h: Renamed to ...
77634 * sysdeps/x86/bits/select.h: This.
77635
77636 * sysdeps/i386/bits/setjmp.h: Removed.
77637 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77638 * sysdeps/x86/bits/setjmp.h: This.
77639
77640 * sysdeps/i386/bits/mathdef.h: Removed.
77641 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77642 * sysdeps/x86/bits/mathdef.h: This.
77643
77644 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
77645
77646 [BZ #14132]
77647 * include/sys/socket.h (__connect_internal)
77648 (__libc_sa_len_internal): Remove declaration.
77649 (__connect, __libc_sa_len): Declare hidden_proto.
77650 (SA_LEN): Remove use of INTUSE.
77651 * socket/connect.c: Add libc_hidden_def.
77652 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77653 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77654 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77655 alias.
77656 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77657 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77658 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77659 of adding _internal alias.
77660
77661 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
77662
77663 [BZ #14117]
77664 * sysdeps/i386/bits/link.h: Removed.
77665 * sysdeps/i386/bits/linkmap.h: Likewise.
77666 * sysdeps/x86_64/bits/link.h: Renamed to ...
77667 * sysdeps/x86/bits/link.h: This.
77668 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77669 * sysdeps/x86/bits/linkmap.h: This.
77670
77671 * sysdeps/i386/bits/endian.h: Removed.
77672 * sysdeps/x86_64/bits/endian.h: Renamed to ...
77673 * sysdeps/x86/bits/endian.h: This.
77674
77675 * sysdeps/i386/bits/byteswap.h: Removed.
77676 * sysdeps/i386/bits/byteswap-16.h: Likewise.
77677 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77678 * sysdeps/x86/bits/byteswap.h: This.
77679 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77680 * sysdeps/x86/bits/byteswap-16.h: This.
77681 * sysdeps/i386/Implies: Add x86.
77682 * sysdeps/x86_64/Implies: Likewise.
77683
77684 2012-05-30 David S. Miller <davem@davemloft.net>
77685
77686 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77687 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77688 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77689 (FP_TRAPPING_EXCEPTIONS): Define.
77690 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77691 (FP_TRAPPING_EXCEPTIONS): Define.
77692 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77693 subnormals only when inexact has been signalled or underflow
77694 exceptions are enabled.
77695 (_FP_PACK_CANONICAL): Likewise.
77696
77697 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
77698
77699 [BZ #14183]
77700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77701 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77702
77703 2012-05-30 Richard Henderson <rth@twiddle.net>
77704
77705 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77706 with #ifndef NOT_IN_libc.
77707
77708 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
77709 marked to avoid plt entry.
77710
77711 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
77712
77713 [BZ #14112]
77714 * Makeconfig (default-abi): New macro.
77715 (abi-includes): Likewise.
77716 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
77717 $(abi-$(default-abi)-lib-soname) for soname if defined.
77718 ($(common-objpfx)gnu/lib-names.stmp): Generate from
77719 abi-variants.
77720 * Makefile (installed-stubs): Likewise.
77721 * include/stubs-biarch.h: Removed.
77722 * scripts/lib-names.awk: Only handle one library at a time.
77723 * scripts/soversions.awk: Remove WORDSIZE support.
77724 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77725 entries.
77726 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77727 Removed.
77728 (syscall-list-default-condition): Likewise.
77729 (syscall-list-default-condition): Likewise.
77730 (syscall-list-includes): Likewise.
77731 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77732 syscall-list-* with abi-*. Handle undefined abi-variants.
77733 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77734 * sysdeps/unix/sysv/linux/i386/Implies: New file.
77735 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77736 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77737 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77738 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77739 Removed.
77740 (syscall-list-32-options): Likewise.
77741 (syscall-list-32-condition): Likewise.
77742 (syscall-list-64-options): Likewise.
77743 (syscall-list-64-condition): Likewise.
77744 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77745 macro.
77746 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77747 Renamed to ...
77748 (abi-*): This.
77749 (abi-64-ld-soname): New macro.
77750 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77751 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77752 Renamed to ...
77753 (abi-*): This.
77754 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77755 * sysdeps/x86_64/x32/shlib-versions: Likewise.
77756
77757 2012-05-30 Joseph Myers <joseph@codesourcery.com>
77758
77759 * sysdeps/unix/sysv/linux/kernel-features.h
77760 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77761 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77762 include <kernel-features.h>.
77763 [!__NR_ftruncate64]: Remove conditional code.
77764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77765 [__NR_ftruncate64]: Make code unconditional.
77766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77767 * sysdeps/unix/sysv/linux/truncate64.c: Do not
77768 include <kernel-features.h>.
77769 [!__NR_ftruncate64]: Remove conditional code.
77770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77771 [__NR_ftruncate64]: Make code unconditional.
77772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77774 include <kernel-features.h>.
77775 [!__NR_ftruncate64]: Remove conditional code.
77776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77777 [__NR_ftruncate64]: Make code unconditional.
77778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77780 include <kernel-features.h>.
77781 [!__NR_ftruncate64]: Remove conditional code.
77782 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77783 [__NR_ftruncate64]: Make code unconditional.
77784 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77785
77786 * configure.in (libc_cv_fpie): Weaken to a compile test using
77787 LIBC_TRY_CC_OPTION.
77788 * configure: Regenerated.
77789
77790 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77791
77792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77796 Refreshed.
77797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77803 Refreshed.
77804
77805 2012-05-27 David S. Miller <davem@davemloft.net>
77806
77807 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77808 (___Q_zero): New.
77809 (__Q_simulate_exceptions): Return void. Change to simulate
77810 exceptions by writing into the %fsr.
77811 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77812 (__Qp_handle_exceptions): Likewise.
77813 (numbers): Delete.
77814 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77815 __Qp_handle_exceptions.
77816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77817 __Qp_handle_exceptions.
77818 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77819 as unused and give dummy FP_RND_NEAREST initializer.
77820 (FP_INHIBIT_RESULTS): Define.
77821 (___Q_simulate_exceptions): Update declaration.
77822 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77823 formatting.
77824 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77825 as unused and give dummy FP_RND_NEAREST initializer.
77826 (__Qp_handle_exceptions): Update declaration.
77827 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77828 formatting.
77829
77830 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
77831
77832 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77833 the temporary FPU control word.
77834 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77835 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77837 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77838 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77839 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77840 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77841 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77842 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77843 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77844 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77845
77846 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77847
77848 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77849 fields.
77850
77851 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
77852
77853 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77854 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77855 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77856 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77857 Likewise.
77858 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77859 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77860 Likewise.
77861
77862 2012-05-27 Ulrich Drepper <drepper@gmail.com>
77863
77864 * po/h.po: Update from translation team.
77865
77866 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
77867
77868 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77869
77870 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77871 handling of denormals.
77872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77873 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77874 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77875 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77879 Likewise.
77880
77881 2012-05-26 Marek Polacek <polacek@redhat.com>
77882
77883 [BZ #14152]
77884 * math/libm-test.inc (fma_test): Don't always expect underflow
77885 exception.
77886
77887 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
77888
77889 [BZ #12416]
77890 * elf/tst-execstack.c: Include stackinfo.h.
77891 (do_test): Adjust test case to ensure that pthread_getattr_np
77892 behaviour remains the same after marking stack executable.
77893
77894 2012-05-25 Joseph Myers <joseph@codesourcery.com>
77895
77896 * sysdeps/unix/sysv/linux/kernel-features.h
77897 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77898 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77899 kernel-features.h.
77900 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77901 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77902 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77903 kernel-features.h.
77904 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77905 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77906
77907 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
77908
77909 * configure.in: Define the default includes to being none.
77910 * configure: Regenerated.
77911
77912 2012-05-25 Roland McGrath <roland@hack.frob.com>
77913
77914 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77915 * sysdeps/x86_64/setjmp.S: Likewise.
77916 * sysdeps/i386/bsd-setjmp.S: Likewise.
77917 * sysdeps/i386/bsd-_setjmp.S: Likewise.
77918 * sysdeps/i386/setjmp.S: Likewise.
77919 * sysdeps/i386/__longjmp.S: Likewise.
77920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77921 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77922
77923 * include/stap-probe.h: New file.
77924 * configure.in: Handle --enable-systemtap.
77925 * configure: Regenerated.
77926 * config.h.in (USE_STAP_PROBE): New #undef.
77927 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77928 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77929 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77930
77931 2012-05-25 Joseph Myers <joseph@codesourcery.com>
77932
77933 [BZ #13717]
77934 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77935 to 2.4.0 where earlier.
77936 * sysdeps/unix/sysv/linux/configure: Regenerated.
77937 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77938 <kernel-features.h>.
77939 [__ASSUME_32BITUIDS]: Make code unconditional.
77940 [!__ASSUME_32BITUIDS]: Remove conditional code.
77941 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77942 <kernel-features.h>.
77943 [__ASSUME_32BITUIDS]: Make code unconditional.
77944 [!__ASSUME_32BITUIDS]: Remove conditional code.
77945 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77946 [__ASSUME_32BITUIDS]: Make code unconditional.
77947 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77948 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77949 <kernel-features.h>.
77950 [__ASSUME_32BITUIDS]: Make code unconditional.
77951 [!__ASSUME_32BITUIDS]: Remove conditional code.
77952 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77953 <kernel-features.h>.
77954 [__ASSUME_32BITUIDS]: Make code unconditional.
77955 [!__ASSUME_32BITUIDS]: Remove conditional code.
77956 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77957 <kernel-features.h>.
77958 [__ASSUME_32BITUIDS]: Make code unconditional.
77959 [!__ASSUME_32BITUIDS]: Remove conditional code.
77960 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77961 <kernel-features.h>.
77962 [__ASSUME_32BITUIDS]: Make code unconditional.
77963 [!__ASSUME_32BITUIDS]: Remove conditional code.
77964 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77965 <kernel-features.h>.
77966 [__ASSUME_32BITUIDS]: Make code unconditional.
77967 [!__ASSUME_32BITUIDS]: Remove conditional code.
77968 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77969 <kernel-features.h>.
77970 [__ASSUME_32BITUIDS]: Make code unconditional.
77971 [!__ASSUME_32BITUIDS]: Remove conditional code.
77972 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77973 <kernel-features.h>.
77974 [__ASSUME_32BITUIDS]: Make code unconditional.
77975 [!__ASSUME_32BITUIDS]: Remove conditional code.
77976 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77977 <kernel-features.h>.
77978 [__ASSUME_32BITUIDS]: Make code unconditional.
77979 [!__ASSUME_32BITUIDS]: Remove conditional code.
77980 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77981 <kernel-features.h>.
77982 [__ASSUME_32BITUIDS]: Make code unconditional.
77983 [!__ASSUME_32BITUIDS]: Remove conditional code.
77984 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77985 <kernel-features.h>.
77986 [__ASSUME_32BITUIDS]: Make code unconditional.
77987 [!__ASSUME_32BITUIDS]: Remove conditional code.
77988 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77989 <kernel-features.h>.
77990 [__NR_setresgid] (__setresgid): Do not declare.
77991 [__ASSUME_32BITUIDS]: Make code unconditional.
77992 [!__ASSUME_32BITUIDS]: Remove conditional code.
77993 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77994 <kernel-features.h>.
77995 [__NR_setresuid] (__setresuid): Do not declare.
77996 [__ASSUME_32BITUIDS]: Make code unconditional.
77997 [!__ASSUME_32BITUIDS]: Remove conditional code.
77998 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77999 <kernel-features.h>.
78000 [__ASSUME_32BITUIDS]: Make code unconditional.
78001 [!__ASSUME_32BITUIDS]: Remove conditional code.
78002 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
78003 <kernel-features.h>.
78004 [__ASSUME_32BITUIDS]: Make code unconditional.
78005 [!__ASSUME_32BITUIDS]: Remove conditional code.
78006 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
78007 <kernel-features.h>.
78008 [__ASSUME_32BITUIDS]: Make code unconditional.
78009 [!__ASSUME_32BITUIDS]: Remove conditional code.
78010 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
78011 <kernel-features.h>.
78012 [__ASSUME_32BITUIDS]: Make code unconditional.
78013 [!__ASSUME_32BITUIDS]: Remove conditional code.
78014 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
78015 <kernel-features.h>.
78016 [__ASSUME_32BITUIDS]: Make code unconditional.
78017 [!__ASSUME_32BITUIDS]: Remove conditional code.
78018 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
78019 <kernel-features.h>.
78020 [__ASSUME_32BITUIDS]: Make code unconditional.
78021 [!__ASSUME_32BITUIDS]: Remove conditional code.
78022 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
78023 <kernel-features.h>.
78024 [__ASSUME_32BITUIDS]: Make code unconditional.
78025 [!__ASSUME_32BITUIDS]: Remove conditional code.
78026 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
78027 <kernel-features.h>.
78028 [__ASSUME_32BITUIDS]: Make code unconditional.
78029 [!__ASSUME_32BITUIDS]: Remove conditional code.
78030 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
78031 <kernel-features.h>.
78032 [__ASSUME_32BITUIDS]: Make code unconditional.
78033 [!__ASSUME_32BITUIDS]: Remove conditional code.
78034 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
78035 <kernel-features.h>.
78036 [__ASSUME_32BITUIDS]: Make code unconditional.
78037 [!__ASSUME_32BITUIDS]: Remove conditional code.
78038 * sysdeps/unix/sysv/linux/kernel-features.h
78039 (__ASSUME_SETRESUID_SYSCALL): Remove.
78040 (__ASSUME_SETRESGID_SYSCALL): Likewise.
78041 (__ASSUME_32BITUIDS): Likewise.
78042 (__ASSUME_LDT_WORKS): Likewise.
78043 (__ASSUME_O_DIRECTORY): Likewise.
78044 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
78045 architecture but not kernel version.
78046 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
78047 (__ASSUME_MMAP2_SYSCALL): Likewise.
78048 (__ASSUME_STAT64_SYSCALL): Likewise.
78049 (__ASSUME_IPC64): Likewise.
78050 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
78051 <kernel-features.h>.
78052 [__ASSUME_32BITUIDS]: Make code unconditional.
78053 [!__ASSUME_32BITUIDS]: Remove conditional code.
78054 * sysdeps/unix/sysv/linux/opendir.c: Do not include
78055 <kernel-features.h>.
78056 [__ASSUME_O_DIRECTORY]: Make code unconditional.
78057 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
78058 132096]: Remove conditional code.
78059 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
78060 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
78061 <kernel-features.h>.
78062 [__ASSUME_32BITUIDS]: Make code unconditional.
78063 [!__ASSUME_32BITUIDS]: Remove conditional code.
78064 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
78065 <kernel-features.h>.
78066 [__ASSUME_32BITUIDS]: Make code unconditional.
78067 [!__ASSUME_32BITUIDS]: Remove conditional code.
78068 * sysdeps/unix/sysv/linux/setegid.c: Do not include
78069 <kernel-features.h>.
78070 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
78071 unconditional.
78072 (__setresgid): Do not declare.
78073 [__ASSUME_32BITUIDS]: Make code unconditional.
78074 [!__ASSUME_32BITUIDS]: Remove conditional code.
78075 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
78076 <kernel-features.h>.
78077 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
78078 unconditional.
78079 (__setresuid): Do not declare.
78080 [__ASSUME_32BITUIDS]: Make code unconditional.
78081 [!__ASSUME_32BITUIDS]: Remove conditional code.
78082 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
78083 <kernel-features.h>.
78084 [__ASSUME_32BITUIDS]: Make code unconditional.
78085 [!__ASSUME_32BITUIDS]: Remove conditional code.
78086 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
78087 <kernel-features.h>.
78088 [__ASSUME_32BITUIDS]: Make code unconditional.
78089 [!__ASSUME_32BITUIDS]: Remove conditional code.
78090
78091 2012-05-25 Richard Henderson <rth@twiddle.net>
78092
78093 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
78094 dl_hwcap to ifunc resolver.
78095 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
78096 elf_ifunc_invoke.
78097 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
78098 dl_hwcap to ifunc resolver.
78099 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
78100
78101 2012-05-24 Joseph Myers <joseph@codesourcery.com>
78102
78103 [BZ #14153]
78104 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
78105 for |x| <= 2**-26, not 2**-57.
78106 * math/libm-test.inc (acos_test): Do not allow spurious underflow
78107 exception.
78108
78109 2012-05-24 Jeff Law <law@redhat.com>
78110
78111 * stdio-common/Makefile (tests): Add bug25.
78112 * stdio-common/bug25.c: New test.
78113
78114 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
78115
78116 [BZ #13576]
78117 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
78118 multiple of MALLOC_ALIGNMENT in size.
78119 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
78120
78121 2012-05-24 Joseph Myers <joseph@codesourcery.com>
78122
78123 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
78124 Require >= 256.
78125 (FILENAME_MAX): Use macro-int-constant.
78126 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
78127 (_IOFBF): Use macro-int-constant.
78128 (_IOLBF): Likewise.
78129 (_IONBF): Likewise.
78130 (SEEK_CUR): Likewise.
78131 (SEEK_END): Likewise.
78132 (SEEK_SET): Likewise.
78133 (TMP_MAX): Likewise.
78134 (EOF): Use macro-int-constant. Require < 0.
78135 (NULL): Use macro-constant. Require == 0.
78136 (stdin): Require type to be FILE *.
78137 (stdout): Likewise.
78138 (stderr): Likewise.
78139 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
78140 macro-int-constant.
78141 (EXIT_SUCCESS): Likewise.
78142 (NULL): Use macro-constant. Require == 0.
78143 (RAND_MAX): Use macro-int-constant.
78144 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
78145 [C99-based standards] (strtof): Require function.
78146 [C99-based standards] (strtold): Likewise.
78147 [C99-based standards] (strtoll): Likewise.
78148 [C99-based standards] (strtoull): Likewise.
78149 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78150 [ISO || ISO99 || ISO11] (limits.h): Likewise.
78151 [ISO || ISO99 || ISO11] (math.h): Likewise.
78152 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
78153 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
78155
78156 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
78157
78158 [BZ #14132]
78159 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
78160 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
78161 * intl/dgettext.c (DCGETTEXT): Likewise.
78162 * intl/gettext.c (DCGETTEXT): Likewise.
78163 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
78164 * posix/regex_internal.h (gettext): Likewise.
78165 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
78166 Remove declaration.
78167 * include/argz.h (__argz_count_internal)
78168 (__argz_stringify_internal): Remove declaration.
78169 (__argz_count, __argz_stringify): Declare hidden proto.
78170 * intl/dcgettext.c: Remove use of INTDEF.
78171 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
78172 * string/argz-stringify.c: Likewise.
78173 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78174 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78175 Declare hidden proto.
78176 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78177 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78178 Declare hidden proto.
78179 * include/stdio.h (__asprintf_internal): Don't declare.
78180 (__asprintf): Don't define as macro. Declare hidden proto.
78181 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
78182 (__fsetlocking): Declare hidden proto.
78183 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
78184 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
78185 hidden proto.
78186 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
78187 (_IO_setlinebuf): Remove use of INTUSE.
78188 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
78189 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
78190 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78191 Remove declaration.
78192 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
78193 (_IO_do_flush): Remove use of INTUSE.
78194 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
78195 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
78196 (_IO_adjust_column, _IO_least_wmarker)
78197 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
78198 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
78199 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
78200 (_IO_default_doallocate, _IO_wdefault_doallocate)
78201 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
78202 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
78203 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
78204 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
78205 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
78206 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
78207 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
78208 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
78209 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
78210 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78211 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78212 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78213 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78214 proto.
78215 (_IO_flush_all_internal, _IO_adjust_column_internal)
78216 (_IO_default_uflow_internal, _IO_default_finish_internal)
78217 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78218 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78219 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78220 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78221 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78222 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78223 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78224 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78225 (_IO_file_close_internal, _IO_file_close_it_internal)
78226 (_IO_file_underflow_internal, _IO_file_overflow_internal)
78227 (_IO_file_init_internal, _IO_file_attach_internal)
78228 (_IO_file_fopen_internal, _IO_file_read_internal)
78229 (_IO_file_sync_internal, _IO_file_seek_internal)
78230 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78231 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78232 (_IO_str_underflow_internal, _IO_str_overflow_internal)
78233 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78234 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78235 (_IO_list_all_internal, _IO_link_in_internal)
78236 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78237 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78238 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78239 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78240 (_IO_do_write_internal, _IO_padn_internal)
78241 (_IO_getline_info_internal, _IO_getline_internal)
78242 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78243 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78244 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78245 (_IO_vfscanf_internal, _IO_vfprintf_internal)
78246 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78247 (_IO_init_internal, _IO_un_link_internal): Don't declare.
78248 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78249 with libc_hidden_ver, remove use of INTUSE.
78250 * libio/genops.c: Likewise.
78251 * libio/freopen.c: Likewise.
78252 * libio/freopen64.c: Likewise.
78253 * libio/iofclose.c: Likewise.
78254 * libio/iofdopen.c: Likewise.
78255 * libio/iofflush.c: Likewise.
78256 * libio/iofflush_u.c: Likewise.
78257 * libio/iofgets.c: Likewise.
78258 * libio/iofgets_u.c: Likewise.
78259 * libio/iofopen.c: Likewise.
78260 * libio/iofopncook.c: Likewise.
78261 * libio/iofread.c: Likewise.
78262 * libio/iofread_u.c: Likewise.
78263 * libio/ioftell.c: Likewise.
78264 * libio/iofwrite.c: Likewise.
78265 * libio/iogetline.c: Likewise.
78266 * libio/iogets.c: Likewise.
78267 * libio/iogetwline.c: Likewise.
78268 * libio/iopadn.c: Likewise.
78269 * libio/iopopen.c: Likewise.
78270 * libio/ioseekoff.c: Likewise.
78271 * libio/ioseekpos.c: Likewise.
78272 * libio/iosetbuffer.c: Likewise.
78273 * libio/iosetvbuf.c: Likewise.
78274 * libio/ioungetc.c: Likewise.
78275 * libio/ioungetwc.c: Likewise.
78276 * libio/iovdprintf.c: Likewise.
78277 * libio/iovsprintf.c: Likewise.
78278 * libio/iovsscanf.c: Likewise.
78279 * libio/memstream.c: Likewise.
78280 * libio/obprintf.c: Likewise.
78281 * libio/oldfileops.c: Likewise.
78282 * libio/oldiofclose.c: Likewise.
78283 * libio/oldiofdopen.c: Likewise.
78284 * libio/oldiofopen.c: Likewise.
78285 * libio/oldiopopen.c: Likewise.
78286 * libio/oldstdfiles.c: Likewise.
78287 * libio/putc.c: Likewise.
78288 * libio/setbuf.c: Likewise.
78289 * libio/setlinebuf.c: Likewise.
78290 * libio/stdfiles.c: Likewise.
78291 * libio/strops.c: Likewise.
78292 * libio/vasprintf.c: Likewise.
78293 * libio/vscanf.c: Likewise.
78294 * libio/vsnprintf.c: Likewise.
78295 * libio/vswprintf.c: Likewise.
78296 * libio/wfiledoalloc.c: Likewise.
78297 * libio/wfileops.c: Likewise.
78298 * libio/wgenops.c: Likewise.
78299 * libio/wmemstream.c: Likewise.
78300 * libio/wstrops.c: Likewise.
78301 * libio/__fpurge.c: Likewise.
78302 * libio/__fsetlocking.c: Likewise.
78303 * assert/assert.c: Likewise.
78304 * debug/fgets_chk.c: Likewise.
78305 * debug/fgets_u_chk.c: Likewise.
78306 * debug/fread_chk.c: Likewise.
78307 * debug/fread_u_chk.c: Likewise.
78308 * debug/gets_chk.c: Likewise.
78309 * debug/obprintf_chk.c: Likewise.
78310 * debug/vasprintf_chk.c: Likewise.
78311 * debug/vdprintf_chk.c: Likewise.
78312 * debug/vsnprintf_chk.c: Likewise.
78313 * debug/vsprintf_chk.c: Likewise.
78314 * malloc/mtrace.c: Likewise.
78315 * misc/error.c: Likewise.
78316 * misc/syslog.c: Likewise.
78317 * stdio-common/asprintf.c: Likewise.
78318 * stdio-common/fxprintf.c: Likewise.
78319 * stdio-common/getw.c: Likewise.
78320 * stdio-common/isoc99_fscanf.c: Likewise.
78321 * stdio-common/isoc99_scanf.c: Likewise.
78322 * stdio-common/isoc99_vfscanf.c: Likewise.
78323 * stdio-common/isoc99_vscanf.c: Likewise.
78324 * stdio-common/isoc99_vsscanf.c: Likewise.
78325 * stdio-common/printf-prs.c: Likewise.
78326 * stdio-common/printf_fp.c: Likewise.
78327 * stdio-common/printf_fphex.c: Likewise.
78328 * stdio-common/printf_size.c: Likewise.
78329 * stdio-common/putw.c: Likewise.
78330 * stdio-common/scanf.c: Likewise.
78331 * stdio-common/sprintf.c: Likewise.
78332 * stdio-common/tmpfile.c: Likewise.
78333 * stdio-common/vfprintf.c: Likewise.
78334 * stdio-common/vfscanf.c: Likewise.
78335 * stdlib/strfmon_l.c: Likewise.
78336 * sunrpc/openchild.c: Likewise.
78337 * sunrpc/xdr_stdio.c: Likewise.
78338 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78339 * sysdeps/mach/hurd/tmpfile.c: Likewise.
78340
78341 2012-05-24 Roland McGrath <roland@hack.frob.com>
78342
78343 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78344
78345 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78346 in the third column, to generate for the shared library an IFUNC
78347 that uses _dl_vdso_vsym.
78348 * Makerules (COMPILE.c, compile-stdin.c): New variables.
78349 * Makeconfig (object-suffixes-noshared): New variable.
78350
78351 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78352 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78353 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78354 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78355
78356 [BZ #14132]
78357 * include/sys/time.h (__gettimeofday): Remove macro.
78358 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78359 * time/gettimeofday.c (__gettimeofday): Remove #undef.
78360 Remove INTDEF.
78361 (__gettimeofday): Add libc_hidden_def.
78362 (gettimeofday): Add libc_hidden_weak.
78363 * sysdeps/mach/gettimeofday.c: Likewise.
78364 * sysdeps/posix/gettimeofday.c: Likewise.
78365 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78366 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78368 (__gettimeofday_internal): Remove strong_alias.
78369 (__gettimeofday): Add libc_hidden_def.
78370 (gettimeofday): Add libc_hidden_weak.
78371 * sysdeps/unix/syscalls.list (gettimeofday):
78372 Remove __gettimeofday_internal alias.
78373
78374 2012-05-24 Daniel Jacobowitz <drow@false.org>
78375 H.J. Lu <hongjiu.lu@intel.com>
78376
78377 [BZ #12495]
78378 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78379 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78380 (largebin_index_32_big): New.
78381 (largebin_index): Use it for 16-byte alignment.
78382 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
78383 correction with front_misalign.
78384
78385 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
78386
78387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78389 Likewise.
78390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78391 Likewise.
78392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
78393 Likewise.
78394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
78395 Likewise.
78396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
78397 Likewise.
78398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
78399 Likewise.
78400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
78401 Likewise.
78402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
78403 Likewise.
78404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
78405 Likewise.
78406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
78407 Likewise.
78408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
78409 Likewise.
78410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
78411 Likewise.
78412
78413 * scripts/data/c++-types-x32-linux-gnu.data: New file.
78414 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
78415
78416 2012-05-24 Joseph Myers <joseph@codesourcery.com>
78417
78418 [BZ #10846]
78419 [BZ #14036]
78420 * math/libm-test.inc (exp_test): Add test from bug 14036.
78421 (pow_test): Add test from bug 10846.
78422
78423 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
78424 and other flags.
78425 (special_function): Do not include flags in test name.
78426 (parse_args): Likewise.
78427 * sysdeps/i386/fpu/libm-test-ulps: Update.
78428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78429 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
78430 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
78431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78432
78433 * math/gen-libm-test.pl (%beautify): Add entries for underflow
78434 exceptions.
78435 * math/libm-test.inc ("Philosophy"): Update comment about
78436 exception testing.
78437 (UNDERFLOW_EXCEPTION): New macro.
78438 (UNDERFLOW_EXCEPTION_OK): Likewise.
78439 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
78440 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
78441 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
78442 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
78443 (INVALID_EXCEPTION_OK): Update value.
78444 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78445 (OVERFLOW_EXCEPTION_OK): Likewise.
78446 (IGNORE_ZERO_INF_SIGN): Likewise.
78447 (test_exceptions): Handle underflow exceptions.
78448 (acos_test): Update for underflow exception expectations.
78449 (cexp_test): Likewise.
78450 (clog_test): Likewise.
78451 (clog10_test): Likewise.
78452 (csqrt_test): Likewise.
78453 (ctan_test): Likewise.
78454 (ctanh_test): Likewise.
78455 (exp_test): Likewise.
78456 (exp10_test): Likewise.
78457 (exp2_test): Likewise.
78458 (expm1_test): Likewise.
78459 (fma_test): Likewise.
78460 (j0_test): Likewise.
78461 (jn_test): Likewise.
78462 (nexttoward_test): Likewise.
78463 (pow_test): Likewise.
78464 (scalbn_test): Likewise.
78465 (scalbln_test): Likewise.
78466 (tan_test): Likewise.
78467 (y1_test): Likewise.
78468 * sysdeps/i386/fpu/libm-test-ulps: Update.
78469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78470
78471 2012-05-23 David S. Miller <davem@davemloft.net>
78472
78473 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78474 (__libc_sigaction): Remove unused local variables.
78475
78476 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
78477
78478 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
78479
78480 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
78481
78482 mktime: avoid signed integer overflow
78483 * time/mktime.c (__mktime_internal): Do not mishandle the case
78484 where diff == INT_MIN.
78485
78486 mktime: simplify computation of average
78487 * time/mktime.c (ranged_convert): Use new time_t_avg function
78488 instead of rolling our own (probably-slower) code.
78489
78490 mktime: do not assume signed right shift propagates sign bit
78491 * time/mktime.c (isdst_differ): New static function.
78492 (__mktime_internal): No need to normalize tm_isdst now.
78493 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
78494 tm_isdst values.
78495
78496 mktime: merge another wrapv change from gnulib
78497 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
78498 from some compilers.
78499
78500 mktime: remove incorrect attempt at unusual arithmetics
78501 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
78502 The code didn't really work on such machines anyway.
78503 (TYPE_MINIMUM): Assume two's complement.
78504 (twos_complement_arithmetic): Verify that long_int and time_t
78505 are two's complement (or unsigned, in the latter case).
78506
78507 mktime: check signed shifts on long_int and time_t, too
78508 * time/mktime.c (SHR): Check that shifts work as desired
78509 on the types long_int and time_t too, as SHR is used on
78510 such types.
78511
78512 mktime: do not assume 'long' is wide enough
78513 * time/mktime.c (verify): Move decl up.
78514 (long_int): New type.
78515 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
78516 to remove assumption in the code that 'long' is wide enough to
78517 store year values. This assumption is not true on x32 and on
78518 some non-glibc platforms.
78519
78520 mktime: merge wrapv change from gnulib
78521 * time/mktime.c (WRAPV): New macro.
78522 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
78523 (guess_time_tm, __mktime_internal): Do not assume that signed
78524 integer overflow wraps around; modern compilers generate code
78525 where this assumption is no longer valid.
78526
78527 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
78528
78529 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78530 Replace "jmp L(pseudo_end)" with "ret".
78531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
78532 Likewise.
78533
78534 2012-05-23 Andreas Jaeger <aj@suse.de>
78535
78536 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
78537 * sysdeps/unix/sysv/linux/poll.c: Remove file.
78538
78539 2012-05-23 Andreas Jaeger <aj@suse.de>
78540 Maximilian Attems <max@stro.at>
78541
78542 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78543 New macros.
78544
78545 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
78546
78547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78548 code so that pseudo_end is just ret and the stack pointer is
78549 correct also for static library in error case.
78550
78551 2012-05-23 Joseph Myers <joseph@codesourcery.com>
78552
78553 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78554 move to syscalls.list.
78555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78559
78560 * manual/install.texi (Running make install): Do not mention Linux
78561 kernel version for which pt_chown is not needed.
78562 (Linux): Do not mention problems with nscd with 2.0 kernels.
78563 * INSTALL: Regenerated.
78564
78565 2012-05-23 Andreas Jaeger <aj@suse.de>
78566
78567 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78568 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78569 macro.
78570 * sysdeps/unix/sysv/linux/s390/bits/mman.h
78571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78572 * sysdeps/unix/sysv/linux/sh/bits/mman.h
78573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78574 * sysdeps/unix/sysv/linux/i386/bits/mman.h
78575 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78577 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78578 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78579 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78580 * sysdeps/unix/sysv/linux/bits/in.h
78581 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78582
78583 2012-05-22 Roland McGrath <roland@hack.frob.com>
78584
78585 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78586 (PREPARE_VERSION): Just use assert instead, it will be elided
78587 under [NDEBUG] anyway.
78588
78589 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
78590
78591 * sysdeps/unix/sysv/linux/Makefile: Include
78592 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78593 (sysdep_routines): Remove sysctl.
78594 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78595 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78596 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78597 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78598 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78599
78600 2012-05-22 Andreas Jaeger <aj@suse.de>
78601
78602 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78603 that pseudo_end is just ret and the stack pointer is correct also
78604 for static library in error case.
78605
78606 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
78607
78608 [BZ #14122]
78609 * nss/nsswitch.c (defconfig_entries): New variable.
78610 (__nss_database_lookup): Don't leak defconfig entries.
78611 (nss_parse_service_list): Don't leak on error paths.
78612 (free_database_entries): New function.
78613 (free_defconfig): New function.
78614 (free_mem): Move common code to free_database_entries.
78615
78616 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
78617
78618 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78619 Add arch_prctl.
78620 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78621
78622 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78623 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78625 New macro.
78626 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78627 (INTERNAL_SYSCALL_TYPES): Likewise.
78628 (LOAD_ARGS_TYPES_[1-6]): Likewise.
78629 (LOAD_REGS_TYPES_[1-6]): Likewise.
78630 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78631 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78632
78633 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78634
78635 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78636 copysignl for GLIBC_2_0.
78637 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78638 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78640 logbl for GLIBC_2_0.
78641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78642 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78643
78644 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
78645
78646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78647 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
78648
78649 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78650 Use "neg %eax".
78651
78652 * time/mktime.c: Update copyright years.
78653
78654 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
78655
78656 mktime: merge comment-quoting-style change from gnulib
78657 * time/mktime.c: Quote 'like this' in comments.
78658 The GNU coding standards suggest that we no longer quote `like this',
78659 as "`" and "'" are typically rendered asymmetrically nowadays.
78660 The typical gnulib style is to quote 'like this' when quoting
78661 code, and "like this" when quoting English.
78662
78663 * time/mktime.c (compile-command): Add "-I.".
78664
78665 mktime: merge mktime-internal.h change from gnulib
78666 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78667
78668 mktime: merge time_r change from gnulib
78669 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78670
78671 mktime: merge DEBUG change from gnulib
78672 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78673 case system <time.h> has a #define.
78674
78675 mktime: merge <sys/types.h> change from gnulib
78676 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78677 since <time.t> is now guaranteed to define time_t.
78678
78679 mktime: merge HAVE_CONFIG_H change from gnulib
78680 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78681
78682 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
78683
78684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78685 Use "neg %eax".
78686
78687 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78688 __rlim_t cast.
78689 (struct rusage): Use anonymous union to pad each field to
78690 __syscall_slong_t.
78691
78692 2012-05-21 David S. Miller <davem@davemloft.net>
78693
78694 * Makefules (o-iterator): Remove .s cases.
78695 (compile-command.s): Delete.
78696 (COMPILE.s): Delete.
78697 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78698
78699 2012-05-21 Joseph Myers <joseph@codesourcery.com>
78700
78701 * configure.in (libc_cv_predef_stack_protector): Only consider
78702 "foobar" and "__stack_chk_fail" lines in libc_undefs.
78703 * configure: Regenerated.
78704
78705 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
78706
78707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78708 New macro. Use R*LP on int and pointer.
78709 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78710 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78711 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78712 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78713
78714 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78715 [__WORDSIZE_TIME64_COMPAT32] instead of
78716 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78717 (struct utmp): Likewise.
78718 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78719 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78720 Renamed to ...
78721 (__WORDSIZE_TIME64_COMPAT32): This.
78722 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78723 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78724 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78725 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78726 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78727 (__WORDSIZE_TIME64_COMPAT32): New macro.
78728
78729 2012-05-21 Andreas Jaeger <aj@suse.de>
78730
78731 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78732 only if [SHARED]. Add prototype for __wcschr_ia32.
78733
78734 2012-05-21 Roland McGrath <roland@hack.frob.com>
78735
78736 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78737 of %rbp unmolested in the jmp_buf while mangling the low bits.
78738 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78739 unmolested high bits of %rbp while demangling the low bits.
78740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78741
78742 2012-05-21 Andreas Jaeger <aj@suse.de>
78743
78744 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78745 * sunrpc/svc_simple.c: Use it for registerrpc.
78746 * sunrpc/xcrypt.c: Use it for passwd2des.
78747
78748 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78749
78750 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
78751
78752 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78753 Don't define if [__SYSCALL_WORDSIZE != 32].
78754 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78755 New macro.
78756
78757 2012-05-21 Bruno Haible <bruno@clisp.org>
78758 Andreas Jaeger <aj@suse.de>
78759
78760 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78761 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78762 inptr and inend for must_buffer_ch.
78763 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78764 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78765 * stdio-common/Makefile (tests): Remove bug15.
78766 (bug15-ENV): Remove macro.
78767 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78768 anymore.
78769
78770 2012-05-19 Andreas Jaeger <aj@suse.de>
78771 Roland McGrath <roland@hack.frob.com>
78772
78773 * manual/contrib.texi: Completely rewritten. It contains now an
78774 alphabetical list of contributors and their contributions.
78775
78776 2012-05-21 Richard Henderson <rth@twiddle.net>
78777
78778 * misc/getauxval.c (__getauxval): Use unsigned long int.
78779 * misc/sys/auxv.h: Include <sys/cdefs.h>.
78780 (getauxval): Use unsigned long int.
78781
78782 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
78783
78784 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78785
78786 2012-05-21 Roland McGrath <roland@hack.frob.com>
78787
78788 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78789 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78790 __alignof__ (long double).
78791
78792 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78793
78794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78795
78796 2012-05-20 Richard Henderson <rth@twiddle.net>
78797
78798 * misc/getauxval.c: New file.
78799 * misc/sys/auxv.h: New file.
78800 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78801 (routines): Add getauxval.
78802 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78804 * elf/dl-sysdep.c (_dl_auxv): Remove.
78805 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78806 * elf/dl-support.c (_dl_auxv): New variable.
78807 (_dl_aux_init): Initialize it.
78808 * manual/startup.texi (Auxiliary Vector): New node.
78809 * sysdeps/generic/bits/hwcap.h: New file.
78810 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78811 * sysdeps/powerpc/sysdep.h: ... here. Include it.
78812 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78813 * sysdeps/sparc/sysdep.h: ... here. Include it.
78814 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78815 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78817 Update.
78818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78826
78827 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78828
78829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78830
78831 2012-05-19 David S. Miller <davem@davemloft.net>
78832
78833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78834
78835 2012-05-19 Joseph Myers <joseph@codesourcery.com>
78836
78837 [BZ #14123]
78838 * math/s_ccosh.c: Include <float.h>
78839 (__ccosh): Avoid internal overflow calculating sinh and cosh
78840 values before multiplying by sin and cos values.
78841 * math/s_ccoshf.c: Likewise.
78842 * math/s_ccoshl.c: Likewise.
78843 * math/s_csin.c: Likewise.
78844 * math/s_csinf.c: Likewise.
78845 * math/s_csinl.c: Likewise.
78846 * math/s_csinh.c: Likewise.
78847 * math/s_csinhf.c: Likewise.
78848 * math/s_csinhl.c: Likewise.
78849 * math/libm-test.inc (ccos_test): Add more tests.
78850 (ccosh_test): Likewise.
78851 (csin_test): Likewise.
78852 (csinh_test): Likewise.
78853 * sysdeps/i386/fpu/libm-test-ulps: Update.
78854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78855
78856 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
78857
78858 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78859 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78860
78861 * sysdeps/x86_64/x32/_itoa.h: Add comment.
78862
78863 2012-05-19 Joseph Myers <joseph@codesourcery.com>
78864
78865 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78866 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78867 * sysdeps/powerpc/soft-fp/Versions: Likewise.
78868 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78869 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78870 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78871 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78872 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78873 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78874 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78875 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78876 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78877 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78878 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78879 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78880 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78881 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78882 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78883 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78884 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78885 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78886 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78887 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78888 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78889 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78890 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78891 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78892 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78893 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78894 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78895 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78896
78897 2012-05-18 Andreas Jaeger <aj@suse.de>
78898
78899 * csu/.gitignore: Delete.
78900
78901 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
78902
78903 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78904 (timex): Use __syscall_slong_t.
78905
78906 2012-05-18 Andreas Jaeger <aj@suse.de>
78907 Carlos O'Donell <carlos_odonell@mentor.com>
78908
78909 * manual/install.texi (Configuring and compiling): Update
78910 description about files modified in the source directory.
78911 * INSTALL: Regenerated.
78912
78913 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
78914
78915 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78916 value. Use "or" to set return value to -1.
78917 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78918 negate return value.
78919
78920 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78921
78922 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78923 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78924 failure if the compiler has Graphite support disabled.
78925 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78926 Likewise.
78927 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78928 (CFLAGS-memmove.c): Likewise.
78929 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78930 Likewise.
78931
78932 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
78933
78934 * sysdeps/x86_64/x32/_itoa.h: New file.
78935
78936 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78937 getdents system call only if kernel and user dirents have the
78938 same d_ino and d_off.
78939
78940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78941 LLONG_MAX != LONG_MAX.
78942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
78943 (_fitoa_word): Likewise.
78944
78945 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78946 years.
78947 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78948 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78949 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78950
78951 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78952 include <bits/wordsize.h>. Check __x86_64__ instead of
78953 __WORDSIZE.
78954 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78955 if __x86_64__ is defined. Use anonymous union on fpstate.
78956
78957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78958 anonymous union.
78959
78960 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
78961
78962 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78963 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78964 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78965 Refer to _rtld_local_ro instead of _rtld_global_ro.
78966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78967 Likewise.
78968 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78969 Likewise.
78970 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78971 Likewise.
78972 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78973 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78974 of _rtld_global, and rtld_progname instead of _dl_argv[0].
78975
78976 [BZ #10882]
78977 * sysdeps/powerpc/powerpc32/dl-machine.c
78978 (__elf_machine_runtime_setup) [PROF]: Don't reference
78979 _dl_prof_resolve.
78980
78981 2012-05-18 Andreas Jaeger <aj@suse.de>
78982
78983 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78984 function only available for GCCs before 3.4 since GCC 3.4
78985 introduced a builtin.
78986 (lrint): Likewise.
78987 (llrintf): Likewise.
78988 (llrint): Likewise.
78989 (fmaxf): Likewise.
78990 (fmax): Likewise.
78991 (fminf): Likewise.
78992 (fmin): Likewise.
78993 (rint): Likewise.
78994 (rintf): Likewise.
78995 (nearbyint): Likewise.
78996 (nearbyintf): Likewise.
78997 (ceil): Likewise.
78998 (ceilf): Likewise.
78999 (floor): Likewise.
79000 (floorf): Likewise.
79001
79002 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
79003
79004 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
79005 on both fields and cast pointer to __syscall_ulong_t.
79006
79007 * bits/types.h (__fsword_t): New type.
79008 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
79009 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
79010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79011 (__FSWORD_T_TYPE): Likewise.
79012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79013 (__FSWORD_T_TYPE): Likewise.
79014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79015 (__FSWORD_T_TYPE): Likewise.
79016 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
79017 (__FSWORD_T_TYPE): Likewise.
79018 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
79019 __SWORD_TYPE with __fsword_t.
79020 (statfs64): Likewise.
79021
79022 2012-05-17 David S. Miller <davem@davemloft.net>
79023
79024 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
79025
79026 2012-05-17 Andreas Jaeger <aj@suse.de>
79027
79028 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
79029 warning.
79030
79031 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
79032
79033 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
79034
79035 2012-05-17 Andreas Jaeger <aj@suse.de>
79036
79037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
79038 when it is used.
79039
79040 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
79041
79042 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
79043
79044 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
79045
79046 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
79047 * sysdeps/x86_64/tst-mallocalign1.c: New file.
79048
79049 2012-05-17 Andreas Jaeger <aj@suse.de>
79050 Carlos O'Donell <carlos_odonell@mentor.com>
79051
79052 [BZ #14059]
79053 * sysdeps/x86_64/multiarch/init-arch.h
79054 (bit_YMM_Usable): Rename to...
79055 (bit_AVX_Usable): ... this.
79056 (bit_FMA4_Usable): New macro.
79057 (bit_XMM_state): New macro.
79058 (bit_YMM_state): New macro.
79059 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
79060 [__ASSEMBLER__] (index_AVX_Usable): ... this.
79061 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
79062 (CPUID_OSXSAVE): New macro.
79063 (CPUID_AVX): New macro.
79064 (CPUID_FMA4): New macro.
79065 (index_YMM_Usable): Rename to...
79066 (index_AVX_Usable): ... this.
79067 (HAS_AVX): Use HAS_ARCH_FEATURE.
79068 (HAS_FMA4): Likewise.
79069 (HAS_YMM_USABLE): Remove.
79070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79071 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
79072 are present.
79073 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
79074 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
79075 * sysdeps/x86_64/multiarch/Makefile: Likewise.
79076 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
79077 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
79078
79079 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
79080
79081 * math/libm-test.c: Support platforms without multiple rounding modes.
79082 * math/bug-nextafter.c: Support platforms without FP exceptions.
79083 * math/bug-nexttoward.c: Likewise.
79084 * math/test-fenv.c: Likewise.
79085 * math/test-misc.c: Likewise.
79086 * stdlib/bug-getcontext.c: Likewise.
79087
79088 2012-05-17 Andreas Jaeger <aj@suse.de>
79089
79090 * manual/examples/search.c (critter_cmp): Change signature to
79091 avoid warnings.
79092 * manual/string.texi (Collation Functions): Likewise.
79093
79094 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
79095
79096 * bits/types.h: Fold copyright years.
79097 * bits/typesizes.h: Likewise.
79098 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
79099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
79100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
79101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
79102 * time/time.h: Likewise.
79103
79104 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
79105
79106 [BZ #208]
79107 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
79108 in instead of returning them. Return void.
79109 (__libc_mallinfo): Accumulate over all arenas.
79110 (__malloc_stats): Adjust for change in int_mallinfo interface.
79111
79112 2012-05-16 Roland McGrath <roland@hack.frob.com>
79113
79114 [BZ #10375]
79115 * configure.in (NM): Add AC_CHECK_TOOL for it.
79116 (libc_extra_cflags): New substituted variable.
79117 Check for -fstack-protector being used implicitly.
79118 * configure: Regenerated.
79119 * config.make.in (config-extra-cflags): New variable,
79120 gets @libc_extra_cflags@.
79121 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
79122
79123 [BZ #10375]
79124 * configure.in: Check for _FORTIFY_SOURCE being predefined.
79125 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
79126 * configure: Regenerated.
79127 * config.make.in (CPPUNDEFS): New substituted variable.
79128 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
79129 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
79130 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
79131
79132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
79133
79134 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
79135 (mq_attr): Use __syscall_slong_t.
79136
79137 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
79138
79139 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
79140 Check __x86_64__ instead of __WORDSIZE.
79141 (_STAT_VER_LINUX): Likewise.
79142 (stat): Check __x86_64__ instead of __WORDSIZE. Use
79143 __syscall_ulong_t and __syscall_slong_t.
79144 (stat64): Likewise.
79145
79146 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
79147
79148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
79149
79150 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
79151
79152 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
79153
79154 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
79155
79156 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
79157 __syscall_ulong_t.
79158
79159 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
79160 include <bits/wordsize.h>. Check __x86_64__ instead of
79161 __WORDSIZE.
79162 (greg_t): Use "__extension__ long long int" if __x86_64__ is
79163 defined.
79164 (mcontext_t): Replace "unsigned long" with "unsigned long long".
79165
79166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
79167 include <bits/wordsize.h>. Check __x86_64__ instead of
79168 __WORDSIZE.
79169 (user_regs_struct): Use "__extension__ unsigned long long"
79170 instead of "unsigned long" if __x86_64__ is defined.
79171 (user): Likewise. Pad after pointer field if __ILP32__ is
79172 defined.
79173
79174 2012-05-16 Joseph Myers <joseph@codesourcery.com>
79175
79176 * configure.in (makeinfo): Require version 4.5 or later. Allow
79177 versions 5 to 9.
79178 * configure: Regenerated.
79179 * manual/install.texi (texinfo): Increase version requirement to
79180 4.5 or later.
79181 * INSTALL: Regenerated.
79182
79183 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
79184
79185 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
79186
79187 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
79188
79189 * sysdeps/x86_64/x32/ffs.c: New file.
79190
79191 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
79192 __syscall_ulong_t.
79193 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
79194 defined. Use __syscall_ulong_t.
79195 (shminfo): Use __syscall_ulong_t.
79196 (shm_info): Likewise.
79197
79198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79199 __syscall_ulong_t.
79200
79201 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
79202 <bits/wordsize.h>.
79203 (msgqnum_t): Use __syscall_ulong_t.
79204 (msglen_t): Likewise.
79205 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
79206 __syscall_ulong_t.
79207
79208 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
79209 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
79210
79211 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79212
79213 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79214 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79215
79216 * sysvipc/sys/msg.h (msgbuf): Replace long int with
79217 __syscall_slong_t.
79218
79219 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79220 include <bits/wordsize.h>. Check __x86_64__ instead of
79221 __WORDSIZE.
79222
79223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79224 "unsigned long long int" if __x86_64__ is defined.
79225 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79226
79227 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79228 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
79229 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79230
79231 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79232 <stdint.h>.
79233 (GET_PC): Cast to uintptr_t first.
79234 (GET_FRAME): Likewise.
79235 (GET_STACK): Likewise.
79236
79237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79243 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79244 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79245 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79248 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79252 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79254 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79262 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79264 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79266
79267 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
79268
79269 * Makerules (+depfiles): Also collect depfiles from .oS in
79270 $(extra-objs).
79271 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79272 .oS, $(libnldbl-routines)).
79273
79274 * Makerules (native-compile-mkdep-flags): Define.
79275 * sunrpc/Makefile (extra-objs): Add $(addprefix
79276 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79277 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79278 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
79279 calling $(make-target-directory).
79280
79281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79282
79283 * bits/types.h (__snseconds_t): Removed.
79284 * time/time.h (struct timespec): Replace __snseconds_t with
79285 __syscall_slong_t.
79286 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79287 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79288 Likewise.
79289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79290 (__SNSECONDS_T_TYPE): Likewise.
79291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79292 (__SNSECONDS_T_TYPE): Likewise.
79293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79294 (__SNSECONDS_T_TYPE): Likewise.
79295
79296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79297
79298 * sysdeps/mach/hurd/bits/typesizes.h
79299 (__SYSCALL_SLONG_TYPE): New macro.
79300 (__SYSCALL_ULONG_TYPE): Likewise.
79301
79302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79303
79304 * bits/types.h (__syscall_slong_t): New type.
79305 (__syscall_ulong_t): Likewise.
79306
79307 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79308 (__SYSCALL_ULONG_TYPE): Likewise.
79309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79310 (__SYSCALL_SLONG_TYPE): Likewise.
79311 (__SYSCALL_ULONG_TYPE): Likewise.
79312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79313 (__SYSCALL_SLONG_TYPE): Likewise.
79314 (__SYSCALL_ULONG_TYPE): Likewise.
79315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79316 (__SYSCALL_SLONG_TYPE): Likewise.
79317 (__SYSCALL_ULONG_TYPE): Likewise.
79318
79319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79320
79321 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79322 Add sigaltstack-offsets.sym.
79323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79324 <sigaltstack-offsets.h>.
79325 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
79326 longjmp_msg pointer.
79327 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
79328 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79329 signal stack.
79330 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79331
79332 2012-05-15 Joseph Myers <joseph@codesourcery.com>
79333
79334 * elf/stackguard-macros.h: Remove file.
79335 * sysdeps/generic/stackguard-macros.h: New file.
79336 * sysdeps/i386/stackguard-macros.h: Likewise.
79337 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79338 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79339 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79340 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79341 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79342 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79343 * sysdeps/x86_64/stackguard-macros.h: Likewise.
79344 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79345 <elf/stackguard-macros.h>.
79346
79347 [BZ #14109]
79348 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79349 __aligned__ in attribute.
79350 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79351 (gregset_t): Likewise.
79352
79353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79354
79355 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79356 * sysdeps/x86_64/64/Implies-after: Here. New file.
79357 * sysdeps/x86_64/x32/Implies-after: New file.
79358
79359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79360
79361 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79362 and access return value for _dl_profile_fixup. Use R10_LP to
79363 load frame size.
79364
79365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79366
79367 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79368
79369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79370
79371 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79372 * sysdeps/x86_64/x32/sysdep.h: New file.
79373
79374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79375
79376 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79377 * sysdeps/x86_64/setjmp.S: Likewise.
79378
79379 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79380
79381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79382 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79383 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79384 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79385 remove unused global constant.
79386
79387 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
79388
79389 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79390 include of <not-cancel.h>.
79391
79392 2012-05-15 Roland McGrath <roland@hack.frob.com>
79393
79394 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
79395
79396 2012-05-15 Jeff Law <law@redhat.com>
79397 Andreas Jaeger <aj@suse.de>
79398
79399 [BZ #13594]
79400 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
79401 out from...
79402 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
79403 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
79404 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
79405 code changing __hst_map_handle.map.
79406
79407 2012-05-15 Roland McGrath <roland@hack.frob.com>
79408
79409 * configure.in (sysnames): Look for Implies-before and Implies-after
79410 files.
79411 * configure: Regenerated.
79412
79413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79414
79415 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
79416 8-byte data alignment with LP_SIZE alignment.
79417
79418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79419
79420 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
79421 into R10_LP.
79422
79423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79424
79425 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
79426
79427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79428
79429 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
79430 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
79431 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
79432 Likewise.
79433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79434
79435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79436
79437 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
79438 (stackinfo_sub_sp): Likewise.
79439
79440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79441
79442 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
79443 RAX_LP.
79444
79445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79446
79447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
79448 into R*_LP.
79449
79450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79451
79452 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
79453 sizes into R*_LP.
79454
79455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79456
79457 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
79458
79459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79460
79461 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
79462 into R11_LP and load __x86_64_shared_cache_size_half into
79463 R8_LP.
79464
79465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
79466
79467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
79468 R8_LP.
79469
79470 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79471
79472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
79473 logb for POWER7.
79474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
79475 logbf for POWER7.
79476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
79477 logbl for POWER7.
79478 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
79479 powerpc32/power7/fpu/s_logb.c via #include.
79480 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
79481 powerpc32/power7/fpu/s_logbf.c via #include.
79482 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
79483 powerpc32/power7/fpu/s_logbl.c via #include.
79484
79485 2012-05-15 Joseph Myers <joseph@codesourcery.com>
79486
79487 * README.libm: Remove file.
79488
79489 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79490
79491 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
79492 count for x32. Use R*_LP and omit operand-size suffix.
79493
79494 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79495
79496 * shlib-versions: Move x86_64-.*-linux.* entries to ...
79497 * sysdeps/x86_64/64/shlib-versions: Here. New file.
79498 * sysdeps/x86_64/x32/shlib-versions: New file.
79499
79500 2012-05-14 Roland McGrath <roland@hack.frob.com>
79501
79502 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
79503 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
79504 Use _dl_fatal_printf instead.
79505
79506 2012-05-14 Joseph Myers <joseph@codesourcery.com>
79507
79508 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
79509 set if not set by the user. Do not allow for being unset.
79510 * sysdeps/unix/sysv/linux/configure: Regenerated.
79511
79512 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79513
79514 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
79515 the `q' suffix from lea and replace .quad with ASM_ADDR.
79516
79517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79518
79519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
79520 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
79521 instead of $17.
79522 (PTR_DEMANGLE): Likewise.
79523
79524 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79525
79526 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
79527 (LP_OP): Likewise.
79528 (ASM_ADDR): Likewise.
79529 (RAX_LP): Likewise.
79530 (RBP_LP): Likewise.
79531 (RBX_LP): Likewise.
79532 (RCX_LP): Likewise.
79533 (RDI_LP): Likewise.
79534 (RSI_LP): Likewise.
79535 (RSP_LP): Likewise.
79536 (R8_LP): Likewise.
79537 (R9_LP): Likewise.
79538 (R10_LP): Likewise.
79539 (R10_LP): Likewise.
79540 (R11_LP): Likewise.
79541 (R12_LP): Likewise.
79542 (R13_LP): Likewise.
79543 (R14_LP): Likewise.
79544 (R15_LP): Likewise.
79545
79546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79547
79548 * sysdeps/x86_64/x32/dl-machine.h: New file.
79549
79550 2012-05-14 Andreas Jaeger <aj@suse.de>
79551
79552 * manual/Makefile (subdir): Remove export of subdir.
79553 (all): Remove target.
79554 (.PHONY): Remove all from list.
79555 (mkinstalldirs): Remove.
79556 (.PHONY): Remove installdirs from list.
79557 ($(inst_infodir)/libc.info): Use make-target-directory.
79558 (installdirs): Remove.
79559 (subdir_%): Remove.
79560 (glibc-targets): Remove.
79561 (lib): Remove.
79562 (stubs): Remove.
79563 ($(objpfx)stubs ../po/manual.pot): Remove.
79564 ($(objpfx)stamp%): Remove.
79565 (make-target-directory): Remove.
79566 (subdir_install): Remove.
79567 (routines): Remove.
79568 (aux): Remove.
79569 (sources): Remove.
79570 (objects): Remove.
79571 (headers): Remove.
79572
79573 [BZ #13750]
79574 * manual/.gitignore: Remove, it's not needed anymore.
79575 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79576 all files in it.
79577 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79578 directory.
79579 (texis): Renamed to $(objpfx)texis.
79580 (texis-path): New, contains path to generated files.
79581 (chapters.%): Use texis-path for complete path, add extra argument
79582 libc-texinfo.sh.
79583 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79584 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79585 (summary,texi, stamp-summary): Use complete path of
79586 files. Generate files in build dir.
79587 (dir-add.texi): Build in build dir.
79588 (libm-err.texi,stamp-libm-err): Likewise.
79589 (version.texi, stamp-version): Likewise.
79590 (.%c.texi): Likewise.
79591 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79592 (mostlyclean): Remove target.
79593 (realclean): Remove target.
79594 (generated): Add new variable with contents from mostlyclean and
79595 realclean, remove entries duplicated in common-mostlyclean, add
79596 stamp-libm-err and stamp-version.
79597 (generated-dirs): Add libc directory.
79598 ($(inst_infodir)/libc.info): Install files from build dir.
79599
79600 * manual/install.texi (Configuring and compiling): Adjust since
79601 the info files are not part of the tar ball anymore.
79602
79603 2012-05-14 Andreas Jaeger <aj@suse.de>
79604
79605 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79606 variable.
79607
79608 2012-05-14 Joseph Myers <joseph@codesourcery.com>
79609
79610 [BZ #13717]
79611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79612 to 2.2.0 where earlier.
79613 * sysdeps/unix/sysv/linux/configure: Regenerated.
79614 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79615 Remove conditional code.
79616 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79617 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79618 Remove conditional code.
79619 [!__NR_lchown]: Likewise.
79620 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79621 [__NR_lchown]: Likewise.
79622 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79623 comment referencing __ASSUME_LCHOWN_SYSCALL.
79624 * sysdeps/unix/sysv/linux/i386/sigaction.c
79625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79627 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79628 Remove conditional code.
79629 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79630 (__protocol_available): Remove #if 0 code.
79631 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79632 conditional code.
79633 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79634 * sysdeps/unix/sysv/linux/kernel-features.h
79635 (__ASSUME_GETCWD_SYSCALL): Don't define.
79636 (__ASSUME_REALTIME_SIGNALS): Likewise.
79637 (__ASSUME_PREAD_SYSCALL): Likewise.
79638 (__ASSUME_PWRITE_SYSCALL): Likewise.
79639 (__ASSUME_POLL_SYSCALL): Likewise.
79640 (__ASSUME_LCHOWN_SYSCALL): Likewise.
79641 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79642 non-SPARC.
79643 (__ASSUME_SIOCGIFNAME): Don't define.
79644 (__ASSUME_MSG_NOSIGNAL): Likewise.
79645 (__ASSUME_SENDFILE): Define unconditionally.
79646 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79647 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79648 conditional code.
79649 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79650 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79651 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79652 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79653 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79654 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79655 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79660 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79666 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79669 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79672 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79678 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79680 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79681 Remove conditional code.
79682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79683 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79684 Remove conditional code.
79685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79686 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79687 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79688 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79689 Remove conditional code.
79690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79691 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79692 Remove conditional code.
79693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79694 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79695 Remove conditional code.
79696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79697 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79698 Remove conditional code.
79699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79700 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79701 Remove conditional code.
79702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79703 * sysdeps/unix/sysv/linux/sh/pwrite64.c
79704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79706 * sysdeps/unix/sysv/linux/sigaction.c
79707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79709 * sysdeps/unix/sysv/linux/sigpending.c
79710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79712 * sysdeps/unix/sysv/linux/sigprocmask.c
79713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79715 * sysdeps/unix/sysv/linux/sigsuspend.c
79716 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79717 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79719 (__libc_missing_rt_sigs): Remove.
79720 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79721 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79722 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79723 Remove conditional code.
79724 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79725 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79726 return 1.
79727 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79728 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79729 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79730 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79731
79732 2012-05-14 Andreas Jaeger <aj@suse.de>
79733
79734 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79735 it's not used in glibc.
79736 (__coshm1): Likewise.
79737 (__acosh1p): Likewise.
79738 (__sgn): Likewise.
79739
79740 * manual/string.texi (Copying and Concatenation): Add missing
79741 variable in concat example.
79742 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79743
79744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79745
79746 [BZ #14103]
79747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79748 __builtin_clzl with __builtin_clzll.
79749
79750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
79751
79752 [BZ #14104]
79753 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79754 libc_freeres_ptr.
79755
79756 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79757
79758 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79759 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79760 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79761 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79762
79763 2012-05-14 Mike Frysinger <vapier@gentoo.org>
79764
79765 * NEWS: Update ia64 info.
79766
79767 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
79768
79769 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79770 used as bcopy.
79771
79772 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
79773
79774 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79775 * sysdeps/unix/syscalls.list (dup3): Likewise.
79776 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79777 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79778
79779 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
79780
79781 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79782 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79783
79784 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
79785
79786 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79787 thread pointer.
79788 (TLS_IE): Use mov/add instead of movq/addq to load thread
79789 pointer.
79790 (TLS_GD_PREFIX): New.
79791 (TLS_GD): Use it.
79792
79793 2012-05-11 David S. Miller <davem@davemloft.net>
79794
79795 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79796 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79797 (_FPU_SETCW): Likewise.
79798
79799 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
79800
79801 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79802 is 32-byte aligned.
79803
79804 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
79805
79806 [BZ #11837]
79807 * iconvdata/gb18030.c: Update tables.
79808 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
79809 characters specially.
79810 (BODY for TO_LOOP): Add encoding of missing ranges.
79811
79812 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
79813
79814 [BZ #13673]
79815 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79816 * sysdeps/mach/hurd/dup3.c: Likewise.
79817 * sysdeps/mach/hurd/readlinkat.c: Likewise.
79818 * sysdeps/powerpc/memmove.c:: Likewise.
79819
79820 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
79821
79822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79823 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79824
79825 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
79826
79827 * elf/elf.h (R_X86_64_RELATIVE64): New.
79828 (R_X86_64_NUM): Updated.
79829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79830 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
79831 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79832 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79833 tst-quad1pie tst-quad2pie
79834 (modules-names): Add tst-quadmod1 tst-quadmod2.
79835 ($(objpfx)tst-quad1): New dependency.
79836 ($(objpfx)tst-quad2): Likewise.
79837 ($(objpfx)tst-quad1pie): Likewise.
79838 ($(objpfx)tst-quad2pie): Likewise.
79839 * sysdeps/x86_64/tst-quad1.c: New file.
79840 * sysdeps/x86_64/tst-quad1pie.c: New file.
79841 * sysdeps/x86_64/tst-quad2.c: Likewise.
79842 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79843 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79844 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79845 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79846 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79847
79848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79849
79850 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79851 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79852 * streams/stropts.h (t_scalar_t): Define type.
79853
79854 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79855 (_PATH_PRESERVE): Set to "/var/lib".
79856 (_PATH_RWHODIR): Set to "/var/spool/rwho".
79857
79858 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79859 instead of int.
79860
79861 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79862 if __dir_mkfile succeeded.
79863
79864 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79865 checking for _hurd_dtablesize. Unlock it right after having
79866 finished _hurd_dtable allocation.
79867
79868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79869
79870 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79871 * sysdeps/mach/hurd/configure: Regenerated.
79872 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79873 special-casing to...
79874 * sysdeps/gnu/configure.in: ... this new file.
79875 * sysdeps/unix/sysv/linux/configure: Regenerated.
79876 * sysdeps/gnu/configure: New generated file.
79877
79878 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79879 for Linux: use nsec instead of usec, as well as:
79880 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79881 members of type struct timespec.
79882 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79883 New macros.
79884 (struct stat64): Likewise.
79885 (_STATBUF_ST_NSEC): New macro.
79886 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79887
79888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79889 __strtoul_internal rather than strtoul.
79890
79891 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
79892
79893 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79894 and reject them.
79895
79896 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79897
79898 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79899 which preserves existing values.
79900 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79901
79902 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
79903
79904 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79905 TIMEOUT values. Return EINVAL for NFDS values either negative or
79906 greater than FD_SETSIZE.
79907
79908 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79909
79910 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79911 allocated, call __vm_protect to finish enabling the existing space, and
79912 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79913 allocate the remainder.
79914
79915 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
79916
79917 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79918 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
79919
79920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79921
79922 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79923 sysdeps/mach/hurd/readlink.c.
79924
79925 * posix/tst-sysconf.c (posix_options): Only use
79926 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79927 _POSIX_SYNCHRONIZED_IO when they are defined
79928 * sysdeps/mach/hurd/bits/posix_opt.h:
79929 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79930 (_XOPEN_REALTIME): Undefine macro.
79931 (_XOPEN_REALTIME_THREADS): Undefine macro.
79932 (_XOPEN_SHM): Undefine macro.
79933 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79934 macro to -1.
79935 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79936 macro to -1.
79937 (_POSIX_ASYNC_IO): Undefine macro.
79938 (_POSIX_PRIORITIZED_IO): Undefine macro.
79939 (_POSIX_SPIN_LOCKS): Define macro to -1.
79940
79941 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79942 SA_NODEFER, SA_RESETHAND.
79943 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79944 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79945 F_DUPFD_CLOEXEC.
79946
79947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79948
79949 * elf/Makefile (pldd-modules): Define unconditionally.
79950
79951 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79952
79953 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79954
79955 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79956
79957 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79958 Return ENOENT when name is empty.
79959 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79960
79961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79962
79963 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79964
79965 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79966
79967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79968
79969 Fix mlock in all cases except non-readable pages.
79970 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79971 instead of VM_PROT_ALL as parameter to __vm_wire function.
79972
79973 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79974 (__mkdir): When path is `/', just fail with EEXIST.
79975 * sysdeps/mach/hurd/mkdirat.c: Likewise.
79976
79977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79978
79979 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79980 <sys/uio.h> (for writev).
79981 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79982 and <sys/param.h> (for MIN).
79983
79984 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
79985
79986 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79987 REQUESTED_TIME. Properly set the remaining time and return EINTR
79988 if interrupted.
79989
79990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79991
79992 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79993 Depend on against $(link-rpcuserlibs).
79994
79995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79996
79997 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79998 (__libc_stack_end): Do not use attribute_relro.
79999 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
80000 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
80001 to libthread-provided value.
80002 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
80003 attribute_relro.
80004
80005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80006
80007 [BZ #3748]
80008 * bits/libc-lock.h (__libc_once_get): New macro.
80009 * sysdeps/mach/bits/libc-lock.h: Likewise.
80010 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
80011 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
80012 instead of using implementation details.
80013
80014 * libio/fileops.c: Unconditionally include <kernel-features.h>.
80015 * libio/freopen.c: Likewise.
80016 * libio/freopen64.c: Likewise.
80017 * misc/syslog.c: Likewise.
80018 * nscd/connections.c: Likewise.
80019 * nscd/netgroupcache.c: Likewise.
80020 * sysdeps/posix/getcwd.c: Likewise.
80021
80022 2012-05-10 Roland McGrath <roland@hack.frob.com>
80023
80024 * math/w_ilogbf.c: Add #include <limits.h>.
80025
80026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80027
80028 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
80029 path instead of returning without unlocking.
80030
80031 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
80032 immediate-write ioctls.
80033 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
80034
80035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80036
80037 * sysdeps/mach/hurd/i386/init-first.c (init): Use
80038 __builtin_frame_address instead of making assumptions about the
80039 location of the return address relative to DATA. Force early load of
80040 the return address.
80041 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
80042 __builtin_frame_address.
80043
80044 dup3 for GNU Hurd.
80045 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
80046 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
80047 implement dup3 and do some further code clean-ups.
80048 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
80049 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
80050
80051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80052
80053 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
80054
80055 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
80056 HURD_CRITICAL_END around holding _hurd_dtable_lock.
80057 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
80058 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
80059 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
80060 d->port.lock.
80061
80062 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
80063 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
80064 when handler == SIG_ERR, not when handler != SIG_ERR.
80065
80066 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80067
80068 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
80069 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
80070 definitions.
80071
80072 accept4 for GNU Hurd.
80073 * include/sys/socket.h (__libc_accept4): New prototype.
80074 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
80075 to implement __libc_accept4.
80076 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
80077 __libc_accept4.
80078 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
80079
80080 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
80081 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
80082 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
80083 signal-defines.sym.
80084
80085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80086
80087 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
80088
80089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80090
80091 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
80092 assertion on O_CLOEXEC flag.
80093 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
80094 * hurd/intern-fd.c: Likewise.
80095 * hurd/port2fd.c: Likewise.
80096
80097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80098
80099 [BZ #3906]
80100 * bits/in.h (IPV6_PKTINFO): Define new macro.
80101 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
80102
80103 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80104
80105 [BZ #13954]
80106 [BZ #13955]
80107 [BZ #13956]
80108 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
80109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80110 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
80111 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80113 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80114 * math/libm-test.inc (logb_test) : Additional logb tests.
80115
80116 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
80117 Andreas Jaeger <aj@suse.de>
80118
80119 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
80120 * configure: Regenerated.
80121 * config.h.in (LINK_OBSOLETE_RPC): New macro.
80122 * config.make.in (link-obsolete-rpc): New substituted variable.
80123 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
80124 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
80125 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80126 (shared-only-routines): Don't set it under [link-obsolete-rpc],
80127 so that libc.a contains the symbols.
80128 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80129 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
80130 * sunrpc/auth_none.c: Likewise.
80131 * sunrpc/auth_unix.c: Likewise.
80132 * sunrpc/authdes_prot.c: Likewise.
80133 * sunrpc/authuxprot.c: Likewise.
80134 * sunrpc/clnt_gen.c: Likewise.
80135 * sunrpc/clnt_perr.c: Likewise.
80136 * sunrpc/clnt_raw.c: Likewise.
80137 * sunrpc/clnt_simp.c: Likewise.
80138 * sunrpc/clnt_tcp.c: Likewise.
80139 * sunrpc/clnt_udp.c: Likewise.
80140 * sunrpc/clnt_unix.c: Likewise.
80141 * sunrpc/des_crypt.c: Likewise.
80142 * sunrpc/des_soft.c: Likewise.
80143 * sunrpc/get_myaddr.c: Likewise.
80144 * sunrpc/key_call.c: Likewise.
80145 * sunrpc/key_prot.c: Likewise.
80146 * sunrpc/netname.c: Likewise.
80147 * sunrpc/pm_getmaps.c: Likewise.
80148 * sunrpc/pm_getport.c: Likewise.
80149 * sunrpc/pmap_clnt.c: Likewise.
80150 * sunrpc/pmap_prot.c: Likewise.
80151 * sunrpc/pmap_prot2.c: Likewise.
80152 * sunrpc/pmap_rmt.c: Likewise.
80153 * sunrpc/publickey.c: Likewise.
80154 * sunrpc/rpc_cmsg.c: Likewise.
80155 * sunrpc/rpc_common.c: Likewise.
80156 * sunrpc/rpc_dtable.c: Likewise.
80157 * sunrpc/rpc_prot.c: Likewise.
80158 * sunrpc/rpc_thread.c: Likewise.
80159 * sunrpc/rtime.c: Likewise.
80160 * sunrpc/svc.c: Likewise.
80161 * sunrpc/svc_auth.c: Likewise.
80162 * sunrpc/svc_raw.c: Likewise.
80163 * sunrpc/svc_run.c: Likewise.
80164 * sunrpc/svc_tcp.c: Likewise.
80165 * sunrpc/svc_udp.c: Likewise.
80166 * sunrpc/svc_unix.c: Likewise.
80167 * sunrpc/svcauth_des.c: Likewise.
80168 * sunrpc/xcrypt.c: Likewise.
80169 * sunrpc/xdr.c: Likewise.
80170 * sunrpc/xdr_array.c: Likewise.
80171 * sunrpc/xdr_float.c: Likewise.
80172 * sunrpc/xdr_intXX_t.c: Likewise.
80173 * sunrpc/xdr_mem.c: Likewise.
80174 * sunrpc/xdr_rec.c: Likewise.
80175 * sunrpc/xdr_ref.c: Likewise.
80176 * sunrpc/xdr_sizeof.c: Likewise.
80177 * sunrpc/xdr_stdio.c: Likewise.
80178
80179 2012-05-10 Roland McGrath <roland@hack.frob.com>
80180
80181 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80182 change. Update copyright years.
80183
80184 2012-05-10 Joseph Myers <joseph@codesourcery.com>
80185
80186 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
80187
80188 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
80189 Joseph Myers <joseph@codesourcery.com>
80190 Paul Pluzhnikov <ppluzhnikov@google.com>
80191
80192 [BZ #14012]
80193 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
80194 requiring rpcgen.
80195 [cross-compiling] (extra-libs): Likewise.
80196 [cross-compiling] (extra-libs-others): Likewise.
80197 [cross-compiling] (librpcsvc-routines): Likewise.
80198 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
80199 [cross-compiling] (omit-deps): Likewise.
80200 (sunrpc-CPPFLAGS): New variable.
80201 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
80202 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
80203 (cross-rpcgen-objs): New variable.
80204 (extra-objs): Append $(cross-rpcgen-objs).
80205 ($(cross-rpcgen-objs)): New rule.
80206 ($(objpfx)cross-rpcgen): Likewise.
80207 (rpcgen-cmd): Define to use $(built-program-file). Expand
80208 comment.
80209 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
80210 ($(objpfx)x%.stmp): Likewise.
80211 * sunrpc/proto.h [IS_IN_build] (_): Define.
80212 [IS_IN_build] (_libc_intl_domainname): Likewise.
80213
80214 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
80215
80216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80217 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80218 and R_X86_64_TPOFF64.
80219
80220 2012-05-10 Joseph Myers <joseph@codesourcery.com>
80221
80222 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80223 sysdeps/unix/sysv/syscalls.list.
80224 (stime): Likewise.
80225 (utime): Likewise.
80226 * sysdeps/unix/sysv/syscalls.list: Remove file.
80227
80228 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
80229
80230 [BZ #3440]
80231 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80232 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80233 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80234 (__LC_IDENTIFICATION): Make these macros useful in #if
80235 expressions, as required by C99.
80236
80237 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
80238
80239 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80240 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
80241 after this.
80242
80243 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
80244
80245 * stdlib/longlong.h: Updated from GCC.
80246
80247 2012-05-09 Andreas Jaeger <aj@suse.de>
80248
80249 * nscd/nscd.c (run_modes): Make named enum, reorder so that
80250 default is first entry.
80251 (run_mode): Set type.
80252 (main): Remove informal message about syslog.
80253 (options): Fix typo.
80254
80255 [BZ #14053]
80256 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80257 to asm.
80258 (lrint): Likewise.
80259 (llrintf): Likewise.
80260 (llrint): Likewise.
80261 (rint): Likewise.
80262 (rintf): Likewise.
80263 (nearbyint): Likewise.
80264 (nearbyintf): Likewise.
80265
80266 2012-05-09 Andreas Jaeger <aj@suse.de>
80267 Pedro Alves <palves@redhat.com>
80268
80269 * nscd/nscd.c (run_mode): Use enum.
80270 (main): Cleanup coding style issue.
80271
80272 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
80273 Andreas Jaeger <aj@suse.de>
80274
80275 * nscd/nscd.c (go_background): Replaced with...
80276 (run_mode): ... this.
80277 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80278 (options): Add -F --foreground.
80279 (main): Implement it.
80280 (parse_opt): Parse it.
80281
80282 2012-05-09 Andreas Jaeger <aj@suse.de>
80283
80284 [BZ #14083]
80285 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80286 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80287 -Wconversion warning.
80288 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80289 Likewise.
80290
80291 2012-05-09 Joseph Myers <joseph@codesourcery.com>
80292
80293 * conform/data/locale.h-data (NULL): Use macro-constant. Require
80294 == 0.
80295 (LC_ALL): Use macro-int-constant.
80296 (LC_COLLATE): Likewise.
80297 (LC_CTYPE): Likewise.
80298 (LC_MESSAGES): Likewise.
80299 (LC_MONETARY): Likewise.
80300 (LC_NUMERIC): Likewise.
80301 (LC_TIME): Likewise.
80302 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80303 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80305 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80306 Specify type.
80307 [C99-based standards] (float_t): Expect type.
80308 [C99-based standards] (double_t): Expect type.
80309 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
80310 type.
80311 [C99-based standards] (HUGE_VALL): Likewise.
80312 [C99-based standards] (INFINITY): Likewise.
80313 [C99-based standards] (NAN): Likewise.
80314 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80315 [C99-based standards] (FP_NAN): Likewise.
80316 [C99-based standards] (FP_NORMAL): Likewise.
80317 [C99-based standards] (FP_SUBNORMAL): Likewise.
80318 [C99-based standards] (FP_ZERO): Likewise.
80319 [C99-based standards] (FP_FAST_FMA): Use
80320 optional-macro-int-constant. Specify type. Require == 1.
80321 [C99-based standards] (FP_FAST_FMAF): Likewise.
80322 [C99-based standards] (FP_FAST_FMAL): Likewise.
80323 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80324 [C99-based standards] (FP_ILOGBNAN): Likewise.
80325 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80326 Specify type.
80327 [C99-based standards] (MATH_ERREXCEPT): Likewise.
80328 [C99-based standards] (math_errhandling): Specify type.
80329 [ISO99 || ISO11] (signgam): Do not allow.
80330 [non-C99-based standards] (copysignf): Do not allow.
80331 [non-C99-based standards] (exp2f): Likewise.
80332 [non-C99-based standards] (log2f): Likewise.
80333 [non-C99-based standards] (modff): Allow.
80334 [non-C99-based standards] (erff): Do not allow.
80335 [non-C99-based standards] (erfcf): Likewise.
80336 [non-C99-based standards] (gammaf): Likewise.
80337 [non-C99-based standards] (hypotf): Likewise.
80338 [non-C99-based standards] (j0f): Likewise.
80339 [non-C99-based standards] (j1f): Likewise.
80340 [non-C99-based standards] (jnf): Likewise.
80341 [non-C99-based standards] (lgammaf): Likewise.
80342 [non-C99-based standards] (tgammaf): Likewise.
80343 [non-C99-based standards] (y0f): Likewise.
80344 [non-C99-based standards] (y1f): Likewise.
80345 [non-C99-based standards] (ynf): Likewise.
80346 [non-C99-based standards] (isnanf): Likewise.
80347 [non-C99-based standards] (acoshf): Likewise.
80348 [non-C99-based standards] (asinhf): Likewise.
80349 [non-C99-based standards] (atanhf): Likewise.
80350 [non-C99-based standards] (cbrtf): Likewise.
80351 [non-C99-based standards] (expm1f): Likewise.
80352 [non-C99-based standards] (ilogbf): Likewise.
80353 [non-C99-based standards] (log1pf): Likewise.
80354 [non-C99-based standards] (logbf): Likewise.
80355 [non-C99-based standards] (nextafterf): Likewise.
80356 [non-C99-based standards] (remainderf): Likewise.
80357 [non-C99-based standards] (rintf): Likewise.
80358 [non-C99-based standards] (scalbf): Likewise.
80359 [non-C99-based standards] (copysignl): Likewise.
80360 [non-C99-based standards] (exp2l): Likewise.
80361 [non-C99-based standards] (log2l): Likewise.
80362 [non-C99-based standards] (modfl): Allow.
80363 [non-C99-based standards] (erfl): Do not allow.
80364 [non-C99-based standards] (erfcl): Likewise.
80365 [non-C99-based standards] (gammal): Likewise.
80366 [non-C99-based standards] (hypotl): Likewise.
80367 [non-C99-based standards] (j0l): Likewise.
80368 [non-C99-based standards] (j1l): Likewise.
80369 [non-C99-based standards] (jnl): Likewise.
80370 [non-C99-based standards] (lgammal): Likewise.
80371 [non-C99-based standards] (tgammal): Likewise.
80372 [non-C99-based standards] (y0l): Likewise.
80373 [non-C99-based standards] (y1l): Likewise.
80374 [non-C99-based standards] (ynl): Likewise.
80375 [non-C99-based standards] (isnanl): Likewise.
80376 [non-C99-based standards] (acoshl): Likewise.
80377 [non-C99-based standards] (asinhl): Likewise.
80378 [non-C99-based standards] (atanhl): Likewise.
80379 [non-C99-based standards] (cbrtl): Likewise.
80380 [non-C99-based standards] (expm1l): Likewise.
80381 [non-C99-based standards] (ilogbl): Likewise.
80382 [non-C99-based standards] (log1pl): Likewise.
80383 [non-C99-based standards] (logbl): Likewise.
80384 [non-C99-based standards] (nextafterl): Likewise.
80385 [non-C99-based standards] (remainderl): Likewise.
80386 [non-C99-based standards] (rintl): Likewise.
80387 [non-C99-based standards] (scalbl): Likewise.
80388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80389 [non-C99-based standards] (FP_*): Do not allow.
80390 [C99-based standards] (FP_*): Change to
80391 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80392 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80393 allow.
80394 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
80395 (SIG_ERR): Likewise.
80396 [X/Open-based standards] (SIG_HOLD): Likewise.
80397 (SIG_IGN): Likewise.
80398 (SIGABRT): Use macro-int-constant. Specify type. Require
80399 positive value.
80400 (SIGFPE): Likewise.
80401 (SIGILL): Likewise.
80402 (SIGINT): Likewise.
80403 (SIGSEGV): Likewise.
80404 (SIGTER): Likewise.
80405 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
80406 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
80407 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
80408 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
80409 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
80410 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
80411 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
80412 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
80413 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
80414 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
80415 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
80416 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
80417 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
80418 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
80419 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
80420 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
80421 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
80422 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
80423 [X/Open-based standards] (SIGTRAP): Likewise.
80424 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
80425 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
80426 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
80427 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
80428 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80429 allow.
80430
80431 2012-05-08 Ian Wienand <ianw@vmware.com>
80432
80433 [BZ #14080]
80434 * time/tzset.c (__tzset_parse_tz): Update default rules for
80435 daylight time changes in the Energy Policy Act of 2005.
80436
80437 2012-05-09 Andreas Jaeger <aj@suse.de>
80438
80439 [BZ #13983]
80440 * elf/ldconfig.c (parse_conf): Change string to make clear that
80441 ldconfig only issued a warning if ld.so.conf does not exist.
80442
80443 2012-05-08 David S. Miller <davem@davemloft.net>
80444
80445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
80446 movxtod instead of popping the value on the stack.
80447
80448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80449
80450 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
80451
80452 * config.h.in: Add HAVE_ARM_PCS_VFP.
80453
80454 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
80455
80456 [BZ #13979]
80457 * include/features.h: Warn if user requests __FORTIFY_SOURCE
80458 checking but the checks are disabled for any reason.
80459
80460 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
80461
80462 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
80463 and ELF64_R_TYPE with ELFW(R_TYPE).
80464
80465 2012-05-08 Joseph Myers <joseph@codesourcery.com>
80466
80467 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
80468 (ulimit): Likewise.
80469
80470 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
80471 (settimeofday): Likewise.
80472
80473 2012-05-08 Mike Frysinger <vapier@gentoo.org>
80474
80475 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
80476 a struct th_u2 inside the union, and move tu_block/tu_code into
80477 a new th_u3 union of tu_block/tu_code inside of that. Move
80478 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
80479 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
80480 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
80481 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
80482 (th_stuff): Change to th_u1.tu_stuff.
80483 (th_data): Define.
80484 (th_msg): Change to th_u1.th_u2.tu_data.
80485
80486 2012-05-07 David S. Miller <davem@davemloft.net>
80487
80488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80489
80490 [BZ #14074]
80491 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
80492 (SETUP_PIC_REG): Use it.
80493 (SETUP_PIC_REG_LEAF): Use it.
80494
80495 2012-05-07 Joseph Myers <joseph@codesourcery.com>
80496
80497 [BZ #13885]
80498 [BZ #13923]
80499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80500 USE_AS_EXPM1L.
80501 (EXPL_FINITE): Likewise.
80502 (FLDLOG): Likewise.
80503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80504 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80505 e_expl.S.
80506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80507 USE_AS_EXPM1L.
80508 (EXPL_FINITE): Likewise.
80509 (FLDLOG): Likewise.
80510 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80511 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80512 e_expl.S.
80513 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
80514 test of -max_value argument for long double.
80515 * sysdeps/i386/fpu/libm-test-ulps: Update.
80516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80517
80518 2012-05-06 David S. Miller <davem@davemloft.net>
80519
80520 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
80521 quad soft-float symbols whose references which are compiler
80522 generated.
80523 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80524
80525 2012-05-06 Joseph Myers <joseph@codesourcery.com>
80526
80527 [BZ #13884]
80528 [BZ #13914]
80529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80530 USE_AS_EXP10L.
80531 (EXPL_FINITE): Likewise.
80532 (FLDLOG): Likewise.
80533 (c0): Likewise.
80534 (c1): Likewise.
80535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
80536 Adjust comments for base varying.
80537 (__expl_finite): Change alias to EXPL_FINITE.
80538 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80539 e_expl.S.
80540 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80541 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80542 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80543 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80544 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80545 USE_AS_EXP10L.
80546 (EXPL_FINITE): Likewise.
80547 (FLDLOG): Likewise.
80548 (c0): Likewise.
80549 (c1): Likewise.
80550 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
80551 Adjust comments for base varying.
80552 (__expl_finite): Change alias to EXPL_FINITE.
80553 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
80554 tests for bugs.
80555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80556
80557 [BZ #14064]
80558 * math/libm-test.inc (check_float_internal): Correct ulp
80559 calculation for subnormal expected results.
80560
80561 2012-05-06 Andreas Jaeger <aj@suse.de>
80562
80563 * Makeconfig (+math-flags): New, set to -frounding-math.
80564 (+cflags): Add +math-flags so that all of glibc gets compiled with
80565 it.
80566
80567 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80568
80569 2012-05-05 Joseph Myers <joseph@codesourcery.com>
80570
80571 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80572 Disable one test.
80573
80574 [BZ #13787]
80575 [BZ #13922]
80576 [BZ #14036]
80577 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80578 (__ieee754_expl): Allow for and saturate large arguments.
80579 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80580 (u_threshold): Likewise.
80581 (__exp): Call __ieee754_exp before checking for overflow and
80582 underflow.
80583 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80584 (u_threshold): Likewise.
80585 (__expf): Call __ieee754_expf before checking for overflow and
80586 underflow.
80587 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80588 (u_threshold): Likewise.
80589 (__expl): Call __ieee754_expl before checking for overflow and
80590 underflow.
80591 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80592 (__ieee754_expl): Allow for and saturate large arguments.
80593 * math/libm-test.inc (exp_test): Add another test. Do not allow
80594 missing overflow exception on overflow.
80595 (expm1_test): Do not allow missing overflow exception on overflow.
80596
80597 * sysdeps/i386/fpu/e_expl.c: Move to ...
80598 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
80599 rather than using inline asm.
80600 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80601 * sysdeps/x86_64/fpu/e_expl.S: Copy from
80602 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80603
80604 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80605 (nice): Likewise.
80606 (poll): Likewise.
80607 (signal): Likewise.
80608 (time): Likewise.
80609 (times): Likewise.
80610
80611 2012-05-04 Joseph Myers <joseph@codesourcery.com>
80612
80613 * sysdeps/unix/syscalls.list (adjtime): Add entry from
80614 sysdeps/unix/common/syscalls.list.
80615 (fchmod): Likewise.
80616 (fchown): Likewise.
80617 (ftruncate): Likewise.
80618 (getrusage): Likewise.
80619 (gettimeofday): Likewise.
80620 (setpgid): Likewise.
80621 (setregid): Likewise.
80622 (setreuid): Likewise.
80623 (sigaction): Likewise.
80624 (truncate): Likewise.
80625 (vhangup): Likewise.
80626 * sysdeps/unix/common/syscalls.list: Remove file.
80627 * sysdeps/unix/bsd/Implies: Don't include unix/common.
80628 * sysdeps/unix/sysv/linux/Implies: Likewise.
80629
80630 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
80631
80632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80635 Moved to ...
80636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80637 Here.
80638 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80639 to ...
80640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80641 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80642 to ...
80643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80644 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80645 to ...
80646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80647 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80648 to ...
80649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80650 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80651 to ...
80652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80653 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80654 to ...
80655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80656 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80657 to ...
80658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80659 Here.
80660 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80661 to ...
80662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80663 Here.
80664 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80665 to ...
80666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80667 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80668 Moved to ...
80669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80670 Here.
80671 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80672 to ...
80673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80674
80675 2012-05-04 Joseph Myers <joseph@codesourcery.com>
80676
80677 * sysdeps/unix/common/bits/dirent.h: Remove file.
80678 * sysdeps/unix/common/bits/fcntl.h: Likewise.
80679
80680 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80681 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80682 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80683 * sysdeps/unix/bsd/isatty.c: Likewise.
80684 * sysdeps/unix/bsd/tcdrain.c: Likewise.
80685 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80686 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80687
80688 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80689
80690 [BZ #13563]
80691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80692 long double comparison inaccuracies.
80693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80695
80696 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
80697
80698 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80700
80701 2012-05-04 Joseph Myers <joseph@codesourcery.com>
80702
80703 [BZ #14049]
80704 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80705 nonzero digits before rounding a hex value.
80706 * stdlib/tst-strtod.c (tests): Add another test.
80707
80708 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80709
80710 * sysdeps/s390/fpu/libm-test-ulps: Update.
80711
80712 2012-05-03 Andreas Jaeger <aj@suse.de>
80713
80714 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80715 does not get optimized out.
80716 (malloc_opt_barrier): New.
80717
80718 2012-05-03 Andreas Jaeger <aj@suse.de>
80719 Roland McGrath <roland@hack.frob.com>
80720
80721 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80722 intermediate file deletion.
80723 (generated): Add .symlist files.
80724
80725 2012-05-03 Joseph Myers <joseph@codesourcery.com>
80726
80727 [BZ #13775]
80728 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80729 Redirect under this condition.
80730 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80731 [__USE_GNU] (__dprintf_chk): Not under this condition.
80732 [__USE_GNU] (__vdprintf_chk): Likewise.
80733 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80734 under this condition.
80735 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80736 [__USE_XOPEN2K8] (dprintf): Define under this condition.
80737 [__USE_XOPEN2K8] (vdprintf): Likewise.
80738 [__USE_GNU] (__dprintf_chk): Not under this condition.
80739 [__USE_GNU] (__vdprintf_chk): Likewise.
80740 [__USE_GNU] (dprintf): Likewise.
80741 [__USE_GNU] (vdprintf): Likewise.
80742
80743 2012-05-03 Roland McGrath <roland@hack.frob.com>
80744
80745 * elf/Makefile (common-generated): Set this instead of generated for
80746 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
80747 $(all-built-dso)-derived lists.
80748
80749 2012-05-03 Andreas Jaeger <aj@suse.de>
80750
80751 * sysdeps/i386/fpu/libm-test-ulps: Update.
80752
80753 * FAQ: Removed.
80754 * FAQ.in: Likewise.
80755 * scripts/gen-FAQ.pl: Likewise.
80756 * manual/install.texi (Installation): Point to online location of
80757 FAQ.
80758 * Makefile (files-for-dist): Remove FAQ.
80759 (FAQ): Remove.
80760
80761 2012-05-02 Allan McRae <allan@archlinux.org>
80762
80763 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80764 (LDFLAGS-reldepmod5.so): Likewise.
80765 (LDFLAGS-reldep6mod1.so): Likewise.
80766 (LDFLAGS-reldep6mod4.so): Likewise.
80767 (LDFLAGS-reldep8mod3.so): Likewise.
80768 (LDFLAGS-unload4mod1.so): Likewise.
80769 (LDFLAGS-unload4mod2.so): Likewise.
80770 (LDFLAGS-tst-initorder): Likewise.
80771 (LDFLAGS-tst-initordera2.so): Likewise.
80772 (LDFLAGS-tst-initordera3.so): Likewise.
80773 (LDFLAGS-tst-initordera4.so): Likewise.
80774 (LDFLAGS-tst-initorderb2.so): Likewise.
80775 (LDFLAGS-noload): Likewise.
80776 (LDFLAGS-next): Likewise.
80777 (LDFLAGS-order2mod1.so): Likewise.
80778 (LDFLAGS-order2mod2.so): Likewise.
80779 (LDFLAGS-tst-initorder2): Likewise.
80780 (LDFLAGS-tst-initorder2a.so): Likewise.
80781 (LDFLAGS-tst-initorder2b.so): Likewise.
80782 (LDFLAGS-tst-initorder2c.so): Likewise.
80783 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80784
80785 2012-05-02 David S. Miller <davem@davemloft.net>
80786
80787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80788
80789 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
80790
80791 [BZ #14055]
80792 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80793
80794 2012-05-02 Andreas Jaeger <aj@suse.de>
80795
80796 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80797 since we manipulate rounding mode.
80798 (CPPFLAGS-test-idouble.c): Likewise.
80799 (CPPFLAGS-test-ifloat.c): Likewise.
80800 (CFLAGS-test-ldouble.c): Likewise.
80801 (CFLAGS-test-double.c): Likewise.
80802 (CFLAGS-test-float.c): Likewise.
80803 (CFLAGS-test-misc.c): Likewise.
80804 (CFLAGS-test-test-fenv.c): Likewise.
80805
80806 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80807
80808 [BZ #2550]
80809 [BZ #2570]
80810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80811 comparisons to determine direction to adjust input.
80812
80813 2012-05-01 Roland McGrath <roland@hack.frob.com>
80814
80815 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80816 output to the target.
80817
80818 * scripts/localplt.awk: New file.
80819 * elf/Makefile ($(objpfx)check-localplt): Target removed.
80820 (check-localplt-CFLAGS): Variable removed.
80821 ($(all-built-dso:=.jmprel)): New static pattern rule.
80822 (generated): Add those targets.
80823 (localplt-built-dso): New variable.
80824 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80825
80826 * elf/check-localplt.c: File removed.
80827
80828 * scripts/check-execstack.awk: New file.
80829 * elf/Makefile ($(objpfx)check-execstack): Target removed.
80830 (check-execstack-CFLAGS): Variable removed.
80831 ($(objpfx)check-execstack.h): Target removed.
80832 ($(objpfx)execstack-default): New target.
80833 (generated): Add that instead of check-execstack.h.
80834 ($(all-built-dso:=.phdr)): New static pattern rule.
80835 (generated): Add those targets.
80836 * elf/check-execstack.c: File removed.
80837
80838 * scripts/check-textrel.awk: New file.
80839 * elf/Makefile ($(objpfx)check-textrel): Target removed.
80840 (check-textrel-CFLAGS): Variable removed.
80841 (all-built-dso): Use := to define.o
80842 ($(all-built-dso:=.dyn)): New static pattern rule.
80843 (generated): Add those targets.
80844 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80845 * config.make.in (READELF): New substituted variable.
80846 * elf/check-textrel.c: File removed.
80847
80848 2012-05-01 Joseph Myers <joseph@codesourcery.com>
80849
80850 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80851 allow.
80852 * conform/data/ctype.h-data [C99-based standards] (isblank):
80853 Expect function.
80854 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80855 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80857 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80858 Specify type. Require positive value.
80859 (EILSEQ): Likewise.
80860 (ERANGE): Likewise.
80861 [ISO || POSIX] (EILSEQ): Do not expect.
80862 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80863 Specify type. Require positive value.
80864 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80865 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80866 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80867 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80868 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80869 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80870 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80871 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80872 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80873 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80874 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80875 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80876 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80877 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80878 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80879 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80880 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80881 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80882 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80883 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80884 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80885 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80886 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80887 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80888 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80889 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80890 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80891 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80892 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80893 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80894 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80895 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80896 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80897 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80898 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80899 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80900 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80901 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80902 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80903 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80904 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80905 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80906 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80907 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80908 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80909 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80910 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80911 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80912 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80913 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80914 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80915 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80916 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80917 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80918 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80919 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80920 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80921 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80922 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80923 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80924 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80925 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80926 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80927 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80928 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80929 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80930 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80931 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80932 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80933 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80934 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80935 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80936 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80937 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80938 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80939 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80940 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80941 Require >= 2.
80942 (FLT_ROUNDS): Expect as macro, not constant.
80943 (FLT_MANT_DIG): Use macro-int-constant.
80944 (DBL_MANT_DIG): Likewise.
80945 (LDBL_MANT_DIG): Likewise.
80946 (FLT_DIG): Likewise.
80947 (DBL_DIG): Likewise.
80948 (LDBL_DIG): Likewise.
80949 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
80950 (DBL_MIN_EXP): Likewise.
80951 (LDBL_MIN_EXP): Likewise.
80952 (FLT_MAX_EXP): Use macro-int-constant.
80953 (DBL_MAX_EXP): Likewise.
80954 (LDBL_MAX_EXP): Likewise.
80955 (FLT_MAX_10_EXP): Likewise.
80956 (DBL_MAX_10_EXP): Likewise.
80957 (LDBL_MAX_10_EXP): Likewise.
80958 (FLT_MAX): Use macro-constant.
80959 (DBL_MAX): Likewise.
80960 (LDBL_MAX): Likewise.
80961 (FLT_EPSILON): Use macro-constant. Give upper bound.
80962 (DBL_EPSILON): Likewise.
80963 (LDBL_EPSILON): Likewise.
80964 (FLT_MIN): Likewise.
80965 (DBL_MIN): Likewise.
80966 (LDBL_MIN): Likewise.
80967 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80968 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80969 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80970 [ISO11] (FLT_HAS_SUBNORM): Likewise.
80971 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80972 [ISO11] (DBL_DECIMAL_DIG): Likewise.
80973 [ISO11] (FLT_DECIMAL_DIG): Likewise.
80974 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80975 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80976 [ISO11] (FLT_TRUE_MIN): Likewise.
80977 [ISO11] (LDBL_TRUE_MIN): Likewise.
80978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80979 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80980 (SCHAR_MIN): Use macro-int-constant. Specify type.
80981 (SCHAR_MAX): Likewise.
80982 (UCHAR_MAX): Likewise.
80983 (CHAR_MIN): Likewise.
80984 (CHAR_MAX): Likewise.
80985 (MB_LEN_MAX): Use macro-int-constant.
80986 (SHRT_MIN): Use macro-int-constant. Specify type.
80987 (SHRT_MAX): Likewise.
80988 (USHRT_MAX): Likewise.
80989 (INT_MAX): Likewise.
80990 (INT_MIN): Use macro-int-constant. Specify type. Make upper
80991 bound negative.
80992 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
80993 bound with "U".
80994 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
80995 bound with "L".
80996 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
80997 bound negative. Suffix upper bound with "L".
80998 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
80999 bound with "UL".
81000 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
81001 Specify type.
81002 [C99-based standards] (LLONG_MAX): Likewise.
81003 [C99-based standards] (ULLONG_MAX): Likewise.
81004 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
81005 == 0.
81006 [ISO11] (max_align_t): Require type.
81007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81008
81009 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
81010 from $CFLAGS, without defining away __attribute__ calls.
81011 (checknamespace): Use $CFLAGS_namespace.
81012
81013 * conform/conformtest.pl (@keywords): Only include C99 keywords
81014 for standards based on C99 or C11.
81015
81016 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
81017 Disable tests.
81018 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
81019 UNIX98]: Likewise.
81020
81021 * conform/conformtest.pl: Handle "macro-int-constant" and test for
81022 usability of symbols in #if.
81023
81024 * conform/conformtest.pl: If macro or constant types start
81025 "promoted:", expect the symbol to be of the following type
81026 promoted by the integer promotions.
81027
81028 * conform/conformtest.pl: Parse all "constant" and "macro" lines
81029 in one place. Also handle "macro-constant".
81030
81031 * conform/conformtest.pl: Only accept expected macro values with
81032 "==". Parse all "macro" lines in one place.
81033 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
81034
81035 * conform/conformtest.pl: Handle braced types on "constant" lines
81036 instead of handling "typed-constant".
81037 * conform/data/signal.h-data: Use "constant" instead of
81038 "typed-constant".
81039
81040 * conform/conformtest.pl: Handle "optional-" at start of lines in
81041 one place rather than duplicating several cases. Handle each
81042 format of "macro" line with initial "optional-".
81043
81044 * conform/conformtest.pl: Only accept expected constant or
81045 optional-constant values with "==". Parse all "constant" lines in
81046 one place. Parse all "optional-constant" lines in one place.
81047 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
81048 * conform/data/fmtmsg.h-data: Likewise.
81049 * conform/data/netinet/in.h-data: Likewise.
81050 * conform/data/tar.h-data: Likewise.
81051 * conform/data/limits.h-data: Use "==" form on "constant" and
81052 "optional-constant" lines.
81053
81054 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
81055 Use -std=c99 for XOPEN2K.
81056 (@knownproblems): Remove.
81057 (newtoken): Don't check %isknown.
81058
81059 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
81060 Do not expect macro.
81061 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
81062 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
81063 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
81064 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
81065 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
81066 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
81067 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
81068 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
81069 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
81070 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
81071 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
81072 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
81073 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
81074 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
81075 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
81076 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
81077 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
81078 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
81079 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
81080 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
81081 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
81082 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
81083 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
81084 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
81085 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
81086 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
81087 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
81088 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
81089 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
81090 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
81091 [XPG3] (acosh): Likewise.
81092 [XPG3] (asinh): Likewise.
81093 [XPG3] (atanh): Likewise.
81094 [XPG3] (cbrt): Likewise.
81095 [XPG3] (expm1): Likewise.
81096 [XPG3] (ilogb): Likewise.
81097 [XPG3] (log1p): Likewise.
81098 [XPG3] (logb): Likewise.
81099 [XPG3] (nextafter): Likewise.
81100 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
81101 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
81102 [XPG3] (remainder): Likewise.
81103 [XPG3] (rint): Likewise.
81104 [XPG3 || XPG4 || UNIX98] (round): Likewise.
81105 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
81106 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
81107 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
81108 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
81109 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
81110 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
81111 [UNIX98 || XOPEN2K] (scalb): Expect.
81112 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
81113 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
81114 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
81115 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
81116 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
81117 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
81118 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
81119 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
81120 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
81121 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81122 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
81123 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
81124 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
81125 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
81126 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
81127 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
81128 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
81129 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
81130 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
81131 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
81132 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
81133 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
81134 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
81135 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
81136 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
81137 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
81138 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
81139 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
81140 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
81141 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
81142 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
81143 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
81144 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
81145 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
81146 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
81147 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
81148 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
81149 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
81150 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
81151 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
81152 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
81153 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
81154 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
81155 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
81156 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
81157 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
81158 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
81159 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
81160 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
81161 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
81162 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
81163 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
81164 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
81165 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
81166 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
81167 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
81168 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
81169 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
81170 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
81171 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
81172 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
81173 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
81174 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
81175 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
81176 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
81177 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
81178 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
81179 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
81180 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
81181 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
81182 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
81183 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
81184 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
81185 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
81186 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
81187 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
81188 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
81189 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
81190 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
81191 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
81192 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
81193 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
81194 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
81195 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
81196 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
81197 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
81198 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
81199 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
81200 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
81201 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
81202 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
81203 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
81204 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
81205 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
81206 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
81207 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
81208 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
81209 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
81210 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81211 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81212 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81213 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81214 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81215 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81216 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81217 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81218 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81219 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81220 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81221 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81222 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81223 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81224 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81225 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81226 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81227 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81228 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81229 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81230 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81231 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81232 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81233 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81234 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81235 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81236 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81237 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81238 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81239 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81240 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81241 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81242 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81243 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81244 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81245 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81246 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81247 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81248 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81249
81250 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81251 _XOPEN_SOURCE_EXTENDED for XPG4.
81252
81253 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81254
81255 * Makeconfig (localtime): Remove variable.
81256 (inst_localtime-file): Likewise.
81257
81258 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
81259
81260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81261 Update.
81262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81263 Update.
81264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81265 Update.
81266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81267 Update.
81268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81269 Update.
81270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81271 Update.
81272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81273 Update.
81274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81275 Update.
81276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81277 Update.
81278
81279 2012-05-01 Joseph Myers <joseph@codesourcery.com>
81280
81281 [BZ #2550]
81282 [BZ #2570]
81283 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81284 comparisons to determine direction to adjust input.
81285 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81286 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81287 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81288 Likewise.
81289 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81290 Likewise.
81291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81292 Likewise.
81293 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81294 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81295 Likewise.
81296 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81297 Likewise.
81298 * math/libm-test.inc (nexttoward_test): Add more tests.
81299
81300 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
81301
81302 [BZ #14040]
81303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81304 in version GLIBC_2.1, not GLIBC_2.0.
81305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81306 Likewise.
81307
81308 2012-04-30 Joseph Myers <joseph@codesourcery.com>
81309
81310 [BZ #13942]
81311 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81312 (1 - x) * (1 + x).
81313 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81314 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81315 * math/libm-test.inc (acos_test): Add more tests.
81316 (asin_test): Likewise.
81317 * sysdeps/i386/fpu/libm-test-ulps: Update.
81318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81319
81320 [BZ #14034]
81321 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81322 of square root.
81323 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81324 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81325 * math/libm-test.inc (acos_test_tonearest): New function.
81326 (acos_test_towardzero): Likewise.
81327 (acos_test_downward): Likewise.
81328 (acos_test_upward): Likewise.
81329 (asin_test_tonearest): Likewise.
81330 (asin_test_towardzero): Likewise.
81331 (asin_test_downward): Likewise.
81332 (asin_test_upward): Likewise.
81333 (main): Call the new functions.
81334 * sysdeps/i386/fpu/libm-test-ulps: Update.
81335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81336
81337 [BZ #13884]
81338 [BZ #13924]
81339 * math/e_exp10.c: Include <float.h>.
81340 (__ieee754_exp10): Handle underflow here rather than multiplying
81341 large negative argument by M_LN10.
81342 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81343 of __ieee754_expf.
81344 * math/e_exp10l.c: Include <float.h>.
81345 (__ieee754_exp10l): Handle underflow here rather than multiplying
81346 large negative argument by M_LN10l.
81347 * math/libm-test.inc (exp10_test): Add another test. Do not allow
81348 spurious overflow exception on underflow.
81349
81350 2012-04-29 Marek Polacek <polacek@redhat.com>
81351
81352 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81353 (__fortify_function): New macro.
81354 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81355 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81356 __extern_always_inline.
81357 * libio/bits/stdio2.h: Likewise.
81358 * libio/bits/stdio.h: Likewise.
81359 * string/string.h: Likewise.
81360 * string/bits/string3.h: Likewise.
81361 * include/stdio.h: Likewise.
81362 * stdlib/bits/stdlib.h: Likewise.
81363 * stdlib/stdlib.h: Likewise.
81364 * rt/bits/mqueue2.h: Likewise.
81365 * rt/mqueue.h: Likewise.
81366 * posix/bits/unistd.h: Likewise.
81367 * posix/unistd.h: Likewise.
81368 * io/bits/poll2.h: Likewise.
81369 * io/bits/fcntl2.h: Likewise.
81370 * io/fcntl.h: Likewise.
81371 * io/sys/poll.h: Likewise.
81372 * misc/bits/syslog.h: Likewise.
81373 * misc/bits/syslog-ldbl.h: Likewise.
81374 * misc/sys/syslog.h: Likewise.
81375 * socket/bits/socket2.h: Likewise.
81376 * socket/sys/socket.h: Likewise.
81377 * debug/tst-chk1.c: Likewise.
81378 * wcsmbs/bits/wchar2.h: Likewise.
81379 * wcsmbs/bits/wchar-ldbl.h: Likewise.
81380 * wcsmbs/wchar.h: Likewise.
81381
81382 2012-04-29 Andreas Jaeger <aj@suse.de>
81383
81384 * Makerules (tests): Remove enable-check-abi protection.
81385 (check-abi-warn): Remove.
81386 (check-abi-%): Remove check-abi-warn usage.
81387
81388 * configure.in: Remove check-abi configure option.
81389 * configure: Regenerated.
81390 * config.make.in (enable-check-abi): Remove.
81391
81392 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
81393
81394 [BZ #14033]
81395 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
81396 double functions to double *_finite functions.
81397
81398 [BZ #13941]
81399 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
81400 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
81401 LDBL_MIN_EXP.
81402 * stdio-common/Makefile (tests): Add tst-sprintf3.
81403 * stdio-common/tst-sprintf3.c: New file.
81404
81405 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
81406 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
81407
81408 2012-04-28 Joseph Myers <joseph@codesourcery.com>
81409
81410 * conform/conformtest.pl: Remove duplicate typed-constant
81411 handling.
81412
81413 2012-04-28 David S. Miller <davem@davemloft.net>
81414
81415 * Makerules (%.abilist): Add vpath on sysdep_dirs.
81416 (check-abi-%): Remove AWK script prerequisite and explicit
81417 abilist directory.
81418 (check-abi): Rewrite to just diff the symlist with the abilist.
81419 (config-tls, config-abi-config): Delete, no longer used.
81420 (update-abi-%): Remove AWK script and explicit abilist directory.
81421 (update-abi): Rewrite to simply compare and conditionally copy the
81422 symlist and the sysdep abilist file. Remove update-abi-config
81423 checks.
81424 * abilist/ld.abilist: Remove.
81425 * abilist/libBrokenLocale.abilist: Remove.
81426 * abilist/libanl.abilist: Remove.
81427 * abilist/libcrypt.abilist: Remove.
81428 * abilist/libdl.abilist: Remove.
81429 * abilist/librt.abilist: Remove.
81430 * abilist/libthread_db.abilist: Remove.
81431 * abilist/libutil.abilist: Remove.
81432 * scripts/extract-abilist.awk: Remove.
81433 * scripts/merge-abilist.awk: Remove.
81434 * sysdeps/generic/libcidn.abilist: New file.
81435 * sysdeps/generic/libnss_compat.abilist: New file.
81436 * sysdeps/generic/libnss_db.abilist: New file.
81437 * sysdeps/generic/libnss_dns.abilist: New file.
81438 * sysdeps/generic/libnss_files.abilist: New file.
81439 * sysdeps/generic/libnss_hesiod.abilist: New file.
81440 * sysdeps/generic/libnss_nis.abilist: New file.
81441 * sysdeps/generic/libnss_nisplus.abilist: New file.
81442 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
81443 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
81444 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
81445 file.
81446 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
81447 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
81448 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
81449 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
81450 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
81451 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
81452 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
81453 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
81454 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
81455 file.
81456 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
81457 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
81458 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
81459 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
81460 file.
81461 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
81462 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
81463 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
81464 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
81465 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
81466 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
81467 file.
81468 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
81469 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
81470 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
81471 file.
81472 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
81473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
81474 New file.
81475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
81476 New file.
81477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
81478 New file.
81479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
81480 New file.
81481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
81482 New file.
81483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
81484 New file.
81485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
81486 New file.
81487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
81488 New file.
81489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
81490 New file.
81491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
81492 New file.
81493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
81494 New file.
81495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
81496 New file.
81497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
81498 New file.
81499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
81500 file.
81501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
81502 New file.
81503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
81504 New file.
81505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
81506 file.
81507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
81508 New file.
81509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
81510 New file.
81511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
81512 file.
81513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
81514 New file.
81515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81516 New file.
81517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
81518 New file.
81519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
81520 New file.
81521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
81522 New file.
81523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
81524 New file.
81525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
81526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
81527 file.
81528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81529 New file.
81530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
81531 file.
81532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
81533 file.
81534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
81535 file.
81536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
81537 file.
81538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81539 file.
81540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81541 New file.
81542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81543 file.
81544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81545 file.
81546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81547 New file.
81548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81549 file.
81550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81552 file.
81553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81554 New file.
81555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81556 file.
81557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81558 file.
81559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81560 file.
81561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81562 file.
81563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81564 file.
81565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81566 New file.
81567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81568 file.
81569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81570 file.
81571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81572 New file.
81573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81574 file.
81575 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81576 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81577 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81578 file.
81579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81580 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81581 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81582 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81583 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81584 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81585 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81586 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81587 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81588 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81591 file.
81592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81593 New file.
81594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81595 file.
81596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81597 file.
81598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81599 file.
81600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81601 file.
81602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81603 file.
81604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81605 New file.
81606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81607 New file.
81608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81609 file.
81610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81611 New file.
81612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81613 file.
81614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81616 file.
81617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81618 New file.
81619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81620 file.
81621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81622 file.
81623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81624 file.
81625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81626 file.
81627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81628 file.
81629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81630 New file.
81631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81632 New file.
81633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81634 file.
81635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81636 New file.
81637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81638 file.
81639
81640 2012-04-28 Joseph Myers <joseph@codesourcery.com>
81641
81642 * conform/conformtest.pl: Fix typo in handling typed-constant from
81643 allow-header.
81644
81645 2012-04-27 Joseph Myers <joseph@codesourcery.com>
81646
81647 * README: Cut down references to pre-2.6 Linux kernels and
81648 Linuxthreads. Update lists of configurations in libc and ports
81649 and sort alphabetically. Say "or newer" with Linux kernel version
81650 requirements.
81651
81652 * config.h.in [IS_IN_build]: Allow compiling without optimization.
81653
81654 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
81655
81656 [BZ #887]
81657 * math/libm-test.inc (logb_test_downward): New test to expose
81658 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81659 rounding mode.
81660
81661 2012-04-27 Joseph Myers <joseph@codesourcery.com>
81662
81663 [BZ #14027]
81664 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81665 to be done.
81666 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81667 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81668
81669 2012-04-26 Joseph Myers <joseph@codesourcery.com>
81670
81671 * sysdeps/unix/i386/brk.S: Remove file.
81672 * sysdeps/unix/i386/dl-brk.S: Likewise.
81673 * sysdeps/unix/i386/pipe.S: Likewise.
81674 * sysdeps/unix/i386/sigreturn.S: Likewise.
81675 * sysdeps/unix/i386/syscall.S: Likewise.
81676 * sysdeps/unix/i386/vfork.S: Likewise.
81677 * sysdeps/unix/i386/wait.S: Likewise.
81678
81679 * sysdeps/unix/common/tcsendbrk.c: Move to ...
81680 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81681
81682 * configure.in (arm*-none*): Do not allow without
81683 --enable-hacker-mode.
81684 (netbsd*): Remove case setting base_os.
81685 (386bsd*): Likewise.
81686 (freebsd*): Likewise.
81687 (bsdi*): Likewise.
81688 (osf*): Likewise.
81689 (sunos*): Likewise.
81690 (ultrix*): Likewise.
81691 (newsos*): Likewise.
81692 (dynix*): Likewise.
81693 (*bsd*): Likewise.
81694 (sysv*): Likewise.
81695 (isc*): Likewise.
81696 (esix*): Likewise.
81697 (sco*): Likewise.
81698 (minix*): Likewise.
81699 (irix4*): Likewise.
81700 (irix6*): Likewise.
81701 (solaris[2-9]*): Likewise.
81702 (none): Likewise.
81703 * configure: Regenerated.
81704
81705 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81706
81707 [BZ #11521]
81708 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81709 overflow or cancellation in calculating denominator.
81710 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81711 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81712 down expression to avoid unexpected rounding in newer GCCs.
81713 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81714
81715 2012-04-26 David S. Miller <davem@davemloft.net>
81716
81717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81718 long-double compat symbols.
81719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81732
81733 2012-04-25 David S. Miller <davem@davemloft.net>
81734
81735 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81736 HWCAP_* values only after the memory barriers have been defined.
81737 (atomic_full_barrier): Define.
81738 (atomic_read_barrier): Define.
81739 (atomic_write_barrier): Define.
81740
81741 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
81742
81743 * shlib-versions: Add libgcc_s version information.
81744 * sysdeps/generic/libgcc_s.h: Remove.
81745 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81746 libgcc_s.h.
81747 * sysdeps/gnu/unwind-resume.c: Likewise.
81748 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81749
81750 2012-04-25 David S. Miller <davem@davemloft.net>
81751
81752 * sysdeps/unix/sparc/brk.S: Delete.
81753 * sysdeps/unix/sparc/dl-brk.S: Delete.
81754 * sysdeps/unix/sparc/pipe.S: Delete.
81755 * sysdeps/unix/sparc/sysdep.S: Delete.
81756 * sysdeps/unix/sparc/sysdep.h: Delete.
81757 * sysdeps/unix/sparc/vfork.S: Delete.
81758 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81759 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81761 (ret_ERRVAL, r0, r1, MOVE): Define.
81762 (JUMPTARGET): Remove.
81763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81764 sysdeps/unix/sparc/sysdep.h
81765 (ENTRY, END): Remove.
81766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81767
81768 2012-04-25 Joseph Myers <joseph@codesourcery.com>
81769
81770 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81771 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81772 -DIS_IN_build.
81773
81774 * timezone/README: Update upstream location and email address for
81775 tzcode and tzdata.
81776 * timezone/zdump.c: Update from tzcode 2012b.
81777 * timezone/zic.c: Likewise.
81778
81779 * configure.in (libc_cv_as_needed): Remove test.
81780 * configure: Regenerated.
81781 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81782 conditional definition.
81783 [$(have-as-needed) != yes] (no-as-needed): Likewise.
81784 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81785 * config.make.in (have-as-needed): Remove variable.
81786
81787 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
81788 Paul Pluzhnikov <ppluzhnikov@google.com>
81789
81790 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81791 strings correctly.
81792
81793 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
81794
81795 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81796 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81797 * sysdeps/sh/strlen.S: Likewise.
81798
81799 2012-04-24 Joseph Myers <joseph@codesourcery.com>
81800
81801 * sysdeps/unix/fork.S: Remove file.
81802 * sysdeps/unix/i386/fork.S: Likewise.
81803 * sysdeps/unix/sparc/fork.S: Likewise.
81804
81805 * sysdeps/unix/system.c: Remove file.
81806 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81807
81808 * sysdeps/unix/getegid.S: Remove file.
81809 * sysdeps/unix/geteuid.S: Likewise.
81810
81811 2012-04-24 Roland McGrath <roland@hack.frob.com>
81812
81813 * scripts/check-localplt.awk: New file.
81814 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81815 of diff.
81816 * scripts/data/localplt-generic.data: Add a comment.
81817
81818 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81819 NODE when __dir_mkfile failed.
81820 * sysdeps/mach/hurd/symlinkat.c: Likewise.
81821 Reported by Ludovic Courtès <ludo@gnu.org>.
81822
81823 2012-04-24 Andreas Jaeger <aj@suse.de>
81824
81825 * Makerules (common-clean): Also remove gen-as-const-headers
81826 files.
81827
81828 2012-04-24 Joseph Myers <joseph@codesourcery.com>
81829
81830 * Makerules (native-compile): Do not change working directory for
81831 build. Use $(OUTPUT_OPTION) in command.
81832 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81833
81834 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81835
81836 [BZ #13886]
81837 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81838 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81839 * math/libm-test.inc (floor_test): Add more tests.
81840 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81841
81842 2012-04-24 Joseph Myers <joseph@codesourcery.com>
81843
81844 * sysdeps/unix/getdents.c: Remove file.
81845 * sysdeps/unix/sysv/getdents.c: Likewise.
81846 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81847
81848 * sysdeps/unix/syscalls.list (madvise): Add syscall from
81849 sysdeps/unix/mman/syscalls.list.
81850 (mmap): Likewise.
81851 (mprotect): Likewise.
81852 (msync): Likewise.
81853 (munmap): Likewise.
81854 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81855 * sysdeps/unix/mman/syscalls.list: Remove.
81856 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81857
81858 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81859 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81860 * configure: Regenerated.
81861 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81862 $(libgcc_s_suffix).
81863 * config.make.in (libgcc_s_suffix): Remove variable.
81864
81865 2012-04-23 Joseph Myers <joseph@codesourcery.com>
81866
81867 * sysdeps/unix/sysv/gethostname.c: Move to ...
81868 * sysdeps/posix/gethostname.c: ... here.
81869
81870 * sysdeps/unix/execve.S: Remove file.
81871
81872 * sysdeps/unix/_exit.S: Remove file.
81873
81874 2012-04-23 Andreas Jaeger <aj@suse.de>
81875
81876 [BZ #13739]
81877 * manual/Makefile: Remove make dist support, there's no
81878 need for a stand-alone documentation tar ball.
81879 (TEXI2DVI): Define always, it's not in Makeconfig.
81880 (dist): Removed.
81881 (tar-it): Removed.
81882 (edition): Removed.
81883 (glibc-doc-$(edition).tar): Removed
81884 (%.Z): Removed.
81885 (%.gz): Removed.
81886 (%.uu): Removed.
81887 (ETAGS): Remove, it's in Makeconfig.
81888 (move-if-change): Remove, it's in Makeconfig.
81889
81890 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
81891
81892 [BZ #13970]
81893 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81894 (strtod, strtof, strtold, strtol, strtoul, strtoq)
81895 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81896 (strtod_l, strtof_l, strtold_l): Remove __wur.
81897 It is not necessarily an error to ignore strtol's return value.
81898 One can reliably look at the stored endptr to decide whether
81899 the number had valid syntax.
81900
81901 2012-04-21 Andreas Jaeger <aj@suse.de>
81902
81903 [BZ #13739]
81904 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81905
81906 2012-04-21 Joseph Myers <joseph@codesourcery.com>
81907
81908 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81909 * sysdeps/unix/sysv/Versions: Remove file.
81910
81911 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
81912
81913 [BZ #13927]
81914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81915
81916 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
81917
81918 [BZ #7064]
81919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81920 version from __vm86.
81921
81922 2012-04-20 Joseph Myers <joseph@codesourcery.com>
81923
81924 * sysdeps/unix/common/lxstat.c: Remove file.
81925 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81926
81927 * sysdeps/unix/sysv/Makefile: Remove file.
81928
81929 * sysdeps/unix/sysv/direct.h: Remove file.
81930
81931 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81932 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81933 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81934 * sysdeps/unix/sysv/bits/signum.h: Likewise.
81935 * sysdeps/unix/sysv/bits/stat.h: Likewise.
81936 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81937 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81938
81939 * sysdeps/unix/sysv/setrlimit.c: Remove file.
81940
81941 * sysdeps/unix/xmknod.c: Remove file.
81942 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81943
81944 * sysdeps/unix/sysv/settimeofday.c: Remove file.
81945
81946 * sysdeps/unix/sysv/i386/time.S: Remove file.
81947
81948 * sysdeps/unix/fxstat.c: Remove file.
81949 * sysdeps/unix/xstat.c: Likewise.
81950 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81951
81952 * sysdeps/unix/sysv/sigaction.c: Remove file.
81953
81954 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81955 (sysdep_headers): Remove variable.
81956 [termio.h not in sysdep_headers] (generated): Likewise.
81957 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81958 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81959 * sysdeps/unix/sysv/tcdrain.c: Likewise.
81960 * sysdeps/unix/sysv/tcflow.c: Likewise.
81961 * sysdeps/unix/sysv/tcflush.c: Likewise.
81962 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81963 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81964 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81965 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81966 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81967
81968 * sysdeps/unix/siglist.c: Remove file.
81969
81970 * sysdeps/unix/getppid.S: Remove file.
81971
81972 * sysdeps/unix/mkdir.c: Remove file.
81973 * sysdeps/unix/rmdir.c: Likewise.
81974
81975 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
81976
81977 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81978 ERR_MAX value.
81979 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81980 errlist-compat value.
81981
81982 2012-04-18 David S. Miller <davem@davemloft.net>
81983
81984 * sysdeps/generic/memcopy.h (reg_char): Delete.
81985 * debug/strcat_chk.c: Use char, not reg_char.
81986 * debug/strcpy_chk.c: Likewise.
81987 * debug/strncat_chk.c: Likewise.
81988 * debug/strncpy_chk.c: Likewise.
81989 * string/memchr.c: Likewise.
81990 * string/memrchr.c: Likewise.
81991 * string/rawmemchr.c: Likewise.
81992 * string/strcat.c: Likewise.
81993 * string/strchr.c: Likewise.
81994 * string/strchrnul.c: Likewise.
81995 * string/strcmp.c: Likewise.
81996 * string/strcpy.c: Likewise.
81997 * string/strncat.c: Likewise.
81998 * string/strncmp.c: Likewise.
81999 * string/strncpy.c: Likewise.
82000
82001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
82002
82003 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
82004 __builtin_memcopy is called when src and dest ranges are known to not
82005 overlap.
82006
82007 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
82008
82009 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
82010 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
82011 fwd_align_merge macro call.
82012 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
82013 bwd_align_merge macro call.
82014 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82015
82016 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
82017
82018 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
82019 bwd_align_merge macros.
82020 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
82021 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
82022 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82023
82024 2012-04-18 David S. Miller <davem@davemloft.net>
82025
82026 * sysdeps/sparc/sparc64/memcopy.h: Delete.
82027
82028 2012-04-18 Andreas Jaeger <aj@suse.de>
82029
82030 [BZ #6794]
82031 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
82032 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
82033 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82034
82035 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
82036 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
82037 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82038
82039 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
82040 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
82041 Adjust for changed ldbl-128 files.
82042
82043 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
82044 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
82045 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82046
82047 2012-04-17 David S. Miller <davem@davemloft.net>
82048
82049 * sysdeps/sparc/sparc32/memcopy.h: Delete.
82050
82051 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
82052
82053 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
82054 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
82055 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
82056 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
82057 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
82058 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
82059
82060 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82061
82062 [BZ #6794]
82063 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
82064 * math/libm-test.inc: Add ilogb errno and exception tests.
82065 * math/w_ilogb.c: New file: ilogb wrapper.
82066 * math/w_ilogbf.c: New file: ilogbf wrapper.
82067 * math/w_ilogbl.c: New file: ilogbl wrapper.
82068 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
82069 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
82070 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
82071 exception being thrown with 0.0 as argument.
82072 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
82073 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
82074 exception being thrown with 0.0 as argument.
82075 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
82076 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82077 exception being thrown with 0.0 as argument.
82078 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
82079 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82080 exception being thrown with 0.0 as argument.
82081 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
82082 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
82083 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
82084 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
82085 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
82086 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
82087 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
82088 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
82089 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
82090
82091 2012-04-17 Petr Baudis <pasky@ucw.cz>
82092
82093 * include/sys/uio.h: Change __vector to __iovec to avoid clash
82094 with altivec.
82095
82096 2012-04-16 Marek Polacek <polacek@redhat.com>
82097
82098 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
82099
82100 2012-04-16 Marek Polacek <polacek@redhat.com>
82101
82102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
82103 operands of fdivp instruction.
82104
82105 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
82106
82107 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
82108 * elf/tst-auditmod3b.c: Likewise.
82109 * elf/tst-auditmod4b.c: Likewise.
82110 * elf/tst-auditmod5b.c: Likewise.
82111 * elf/tst-auditmod6b.c: Likewise.
82112 * elf/tst-auditmod6c.c: Likewise.
82113 * elf/tst-auditmod7b.c: Likewise.
82114 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
82115 * sysdeps/x86_64/preconfigure.in: Likewise.
82116 * sysdeps/x86_64/preconfigure: Regenerated.
82117
82118 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
82119
82120 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
82121 __ILP32__.
82122
82123 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
82124
82125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82126 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
82127
82128 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
82129
82130 [BZ #13973]
82131 * locale/iso-639.def: Fix gl language name. Spotted by
82132 Yaron Shahrabani.
82133
82134 2012-04-12 Roland McGrath <roland@hack.frob.com>
82135
82136 [BZ #2074]
82137 * libio/libio.h (__io_write_fn): Update comment.
82138
82139 2012-04-12 Petr Baudis <pasky@ucw.cz>
82140
82141 [BZ #2074]
82142 * stdio.texi (Hook Functions): The user provided writer function
82143 is not allowed to return -1.
82144
82145 2012-04-11 David S. Miller <davem@davemloft.net>
82146
82147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82148
82149 2012-04-11 Mike Frysinger <vapier@gentoo.org>
82150
82151 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
82152 Add a leading slash to rtkaio.
82153
82154 2012-04-11 Jim Meyering <meyering@redhat.com>
82155
82156 [BZ #11959]
82157 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
82158 It is not necessarily an error to ignore fwrite's return
82159 value. One can reliably use ferror to test for errors after
82160 the fact.
82161
82162 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
82163
82164 * bits/types.h (__snseconds_t): New type.
82165 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
82166
82167 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
82168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82169 (__SNSECONDS_T_TYPE): Likewise.
82170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82171 (__SNSECONDS_T_TYPE): Likewise.
82172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82173 (__SNSECONDS_T_TYPE): Likewise.
82174
82175 2012-04-10 Andreas Jaeger <aj@suse.de>
82176
82177 [BZ #2636]
82178 * manual/time.texi (Processor Time): Return type of times is
82179 elapsed real time since an arbitrary point in the past.
82180 (CPU Time): Move CLK_TCK from here...
82181 (Processor Time): ...to here. Correct description.
82182 * manual/conf.texi (Constants for Sysconf): Correct description of
82183 _SC_CLK_TCK.
82184
82185 2012-04-10 David S. Miller <davem@davemloft.net>
82186
82187 [BZ #13967]
82188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
82189 where the is a gap between DT_REL(A) and DT_JMPREL.
82190
82191 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
82192
82193 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
82194 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82195 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82196
82197 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
82198
82199 * elf/dl-support.c (_dl_inhibit_cache): New variable.
82200 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
82201 (dl_main): Handle --inhibit-cache.
82202 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
82203 _dl_inhibit_cache.
82204 * elf/dl-load.c (_dl_map_object): Use it.
82205 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
82206
82207 2012-04-09 Joseph Myers <joseph@codesourcery.com>
82208
82209 [BZ #13872]
82210 * sysdeps/i386/fpu/e_powl.S (p78): New object.
82211 (__ieee754_powl): Saturate large exponents rather than testing for
82212 overflow of y*log2(x).
82213 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82214 * math/libm-test.inc (pow_test): Do not permit spurious overflow
82215 exceptions.
82216
82217 [BZ #11521]
82218 * math/s_ctan.c: Include <float.h>.
82219 (__ctan): Avoid internal overflow or cancellation in calculating
82220 denominator.
82221 * math/s_ctanf.c: Likewise.
82222 * math/s_ctanl.c: Likewise.
82223 * math/s_ctanh.c: Likewise.
82224 * math/s_ctanhf.c: Likewise.
82225 * math/s_ctanhl.c: Likewise.
82226 * math/libm-test.inc (ctan_test): Add more tests.
82227 (ctanh_test): Likewise.
82228 * sysdeps/i386/fpu/libm-test-ulps: Update.
82229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82230
82231 2012-04-09 Andreas Jaeger <aj@suse.de>
82232
82233 [BZ #6894]
82234 * manual/filesys.texi (Directory Entries): Mention that d_namlen
82235 is an optional BSD extension.
82236
82237 [BZ #10254]
82238 * manual/stdio.texi (Opening Streams): Document additional fopen
82239 parameters.
82240
82241 2012-04-09 Roland McGrath <roland@hack.frob.com>
82242
82243 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82244 %eax without telling the compiler.
82245
82246 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
82247
82248 [BZ # 13963]
82249 * manual/install.texi: Use sourceware.org.
82250
82251 2012-04-09 Joseph Myers <joseph@codesourcery.com>
82252
82253 [BZ #13873]
82254 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82255 (__ieee754_pow): Generate overflow and underflow using huge*huge
82256 and tiny*tiny rather than just returning constant infinity or zero
82257 for large exponents.
82258 * math/libm-test.inc (pow_test): Require overflow exceptions for
82259 applicable cases of large exponents.
82260
82261 [BZ #706]
82262 * sysdeps/i386/fpu/e_pow.S (p10): New object.
82263 (__ieee754_pow): Use iterative multiplication algorithm only for
82264 integer exponents with absolute value below 1024. Check for odd
82265 integer exponents when using algorithm for real exponents.
82266 * math/libm-test.inc (pow_test): Add more tests.
82267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82268
82269 2012-04-08 Joseph Myers <joseph@codesourcery.com>
82270
82271 [BZ #13705]
82272 * math/libm-test.inc (exp_test): Do not allow overflow exception
82273 on underflow test.
82274
82275 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
82276
82277 [BZ #13705]
82278 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82279 instead of __kernel_standard_f.
82280
82281 2012-04-08 Mike Frysinger <vapier@gentoo.org>
82282
82283 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82284 * sysdeps/x86_64/memset_chk.S: Likewise.
82285
82286 2012-04-08 Andreas Jaeger <aj@suse.de>
82287
82288 [BZ #10153]
82289 * manual/startup.texi (Environment Access): Describe return value
82290 for putenv and setenv.
82291
82292 [BZ #6895]
82293 * manual/filesys.texi (Directory Entries): Add description for
82294 DT_LNK.
82295
82296 [BZ #6890]
82297 * manual/filesys.texi (Directory Entries): Clarify that it's file
82298 system not operating system in the description of DT_UNKNOWN.
82299
82300 [BZ #6578]
82301 * manual/syslog.texi (closelog): Fix reference, it's openlog.
82302
82303 2012-04-08 Stephen Compall <s11@member.fsf.org>
82304
82305 [BZ #6649]
82306 * manual/llio.texi (Opening and Closing Files): Add cross
82307 reference to explain mode argument.
82308
82309 2012-04-07 Mike Frysinger <vapier@gentoo.org>
82310
82311 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82312 * sysdeps/x86_64/memset_chk.S: Likewise.
82313
82314 2012-04-07 David S. Miller <davem@davemloft.net>
82315
82316 * elf/elf.h (R_SPARC_WDISP10): Define.
82317 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82318 R_SPARC_SIZE32.
82319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82320 R_SPARC_SIZE64 and R_SPARC_H34.
82321
82322 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
82323
82324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82325 conditions and remove no longer applicable assertion.
82326
82327 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
82328
82329 * bits/byteswap.h: Include <features.h>.
82330 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82331 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82332
82333 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
82334
82335 * bits/byteswap.h (__bswap_16): Removed.
82336 Include <bits/byteswap-16.h> to get __bswap_16.
82337 * sysdeps/i386/bits/byteswap.h: Likewise.
82338 * sysdeps/s390/bits/byteswap.h: Likewise.
82339 * sysdeps/x86_64/bits/byteswap.h: Likewise.
82340 * bits/byteswap-16.h: New file.
82341 * sysdeps/i386/bits/byteswap-16.h: Likewise.
82342 * sysdeps/s390/bits/byteswap-16.h: Likewise.
82343 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82344 * string/Makefile (headers): Add bits/byteswap-16.h.
82345
82346 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
82347
82348 [BZ #13895]
82349 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82350 extra indirection.
82351 * nss/Makefile (tests-static, tests): Add tst-nss-static.
82352 * nss/tst-nss-static.c: New.
82353
82354 2012-04-06 Robert Millan <rmh@gnu.org>
82355
82356 [BZ #6486]
82357 * manual/llio.texi (File Position Primitive): lseek
82358 refers to WHENCE when it really means OFFSET.
82359
82360 2012-04-06 Andreas Jaeger <aj@suse.de>
82361
82362 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82363 strncmp declarations.
82364
82365 * abilist/libc.abilist: Add __poll and __ppoll.
82366
82367 2012-04-05 David S. Miller <davem@davemloft.net>
82368
82369 * scripts/check-local-headers.sh: Accept a host triplet in the
82370 path matched by the exclude regexp.
82371
82372 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82373 definition.
82374 * sysdeps/powerpc/powerpc32/dl-machine.h
82375 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82376 * sysdeps/s390/s390-32/dl-machine.h
82377 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82378 * sysdeps/sparc/sparc32/dl-machine.h
82379 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82380 * sysdeps/sparc/sparc64/dl-machine.h
82381 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82382
82383 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82384 lazy binding.
82385 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82386 undefined symbol errors.
82387
82388 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82389 DT_NEEDED entries.
82390
82391 2012-04-05 Michael Matz <matz@suse.de>
82392
82393 [BZ #13592]
82394 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82395
82396 2012-04-05 Andreas Jaeger <aj@suse.de>
82397
82398 [BZ #13908]
82399 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
82400 comment.
82401
82402 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
82403
82404 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
82405 which ROUND is no valid rounding mode.
82406
82407 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
82408
82409 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
82410 read again.
82411 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
82412
82413 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
82414
82415 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
82416 an exception using FPU order intentionally.
82417
82418 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
82419
82420 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
82421 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
82422 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
82423 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
82424
82425 2012-04-05 Simon Josefsson <simon@josefsson.org>
82426
82427 [BZ #12340]
82428 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
82429 EINVAL when BUFLEN is too smal.
82430
82431 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
82432
82433 [BZ #13553]
82434 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
82435 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
82436
82437 2012-04-03 Andreas Jaeger <aj@suse.de>
82438
82439 [BZ #13938]
82440 * manual/setjmp.texi (System V contexts): Fix sentence.
82441
82442 [BZ #13926]
82443 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
82444 New macro for this case.
82445 [!__GNUC__] (__bswap_64): New inline function for this case.
82446 * sysdeps/x86_64/bits/byteswap.h: Likewise.
82447 * bits/byteswap.h: Likewise.
82448 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
82449 ull, guard with __GLIBC_HAVE_LONG_LONG.
82450
82451 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
82452 __GLIBC_HAVE_LONG_LONG.
82453
82454 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
82455 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
82456
82457 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
82458
82459 [BZ #13691]
82460 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
82461 inptr and inend, rather than using last_ch.
82462
82463 2012-04-02 David S. Miller <davem@davemloft.net>
82464
82465 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
82466 * stdio-common/printf-parse.h (read_int): Change return type to
82467 'int', return -1 on INT_MAX overflow.
82468 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
82469 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
82470 overflows INT_MAX. Check for overflow of in-format-string precision
82471 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
82472 SIZE_MAX not INT_MAX for integer overflow test.
82473 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
82474 skip the construct in the format string but do not record anything.
82475 * stdio-common/bug22.c: Adjust to test both width/prevision
82476 INT_MAX overflow as well as total length INT_MAX overflow. Check
82477 explicitly for proper errno values.
82478
82479 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
82480
82481 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
82482 CHAR_MAX.
82483 * string/test-strcmp.c [! WIDE]: Likewise.
82484 * time/tst-mktime2.c: Likewise for INT_MAX.
82485 * string/test-string.h: #include <sys/param.h> for MIN.
82486
82487 * csu/init-first.c (__libc_init_first): Call __ctype_init.
82488 * sysdeps/i386/init-first.c (init): Likewise.
82489 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
82490 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
82491 * sysdeps/sh/init-first.c (init): Likewise.
82492
82493 2012-04-01 Ulrich Drepper <drepper@gmail.com>
82494
82495 * po/ru.po: Update from translation team.
82496 * po/vi.po: Likewise.
82497
82498 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
82499
82500 * resolv/nss_dns/dns-host.c: Merge copyright years.
82501
82502 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82503
82504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82505 Optimize memcpy with prefetch if
82506 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
82507 src, dst pointers have unequal 16 byte alignments.
82508
82509 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
82510
82511 [BZ #13928]
82512 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
82513 from a CNAME entry and return the minimum ttl for the query.
82514 (gaih_getanswer_slice): Likewise.
82515
82516 2012-03-30 Jeff Law <law@redhat.com>
82517
82518 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
82519 due to long keys.
82520 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
82521 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
82522
82523 * resolv/nss_dns/dns-host.c: Update copyright year.
82524
82525 2012-03-30 Ulrich Drepper <drepper@gmail.com>
82526
82527 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
82528 requests to save a system call. Fix check that all bytes are sent.
82529
82530 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
82531 comments for sendmmsg.
82532
82533 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
82534
82535 [BZ #13691]
82536 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
82537 with only 1 character between 0x0041 and 0x01b0.
82538 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82539 * wcsmbs/tst-mbsnrtowcs.c: New file.
82540
82541 2012-03-29 David S. Miller <davem@davemloft.net>
82542
82543 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82544 small copies by hand.
82545
82546 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
82547
82548 [BZ #13761]
82549 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82550 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82551 group memberships.
82552
82553 2012-03-28 David S. Miller <davem@davemloft.net>
82554
82555 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82556 that branches into memcpy.
82557 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82560 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82562 bits.
82563 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82564 implementation too.
82565 * sysdeps/sparc/mempcpy.S: New file.
82566
82567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82568 the IFUNC routine in the libc case.
82569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82570
82571 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82572 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82573 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82574 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82575 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82576 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82577 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82578 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82579
82580 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82581 loop to 256 bytes instead of 64 bytes and fix test signedness.
82582
82583 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82584 * sysdeps/sparc/sparc32/Makefile: rather than here...
82585 * sysdeps/sparc/sparc64/Makefile: and here.
82586
82587 2012-03-28 Ulrich Drepper <drepper@gmail.com>
82588
82589 * malloc/mallocbug.c: Avoid warnings about unused variables.
82590
82591 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
82592
82593 [BZ #13760]
82594 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82595 in the right place. Discard and retry query if response is
82596 larger than input buffer size.
82597
82598 2012-03-28 Joseph Myers <joseph@codesourcery.com>
82599
82600 [BZ #369]
82601 [BZ #2678]
82602 [BZ #3866]
82603 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82604 x for large integer exponent.
82605 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82606 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
82607 sign of result as needed afterwards.
82608 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82609 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82610 result for underflowing pow the same as for overflow.
82611 (__kernel_standard_l): Handle powl overflow and underflow here
82612 rather than calling __kernel_standard.
82613 * math/libm-test.inc (pow_test): Add more tests.
82614
82615 [BZ #3868]
82616 [BZ #13879]
82617 [BZ #13910]
82618 [BZ #13911]
82619 [BZ #13912]
82620 [BZ #13913]
82621 [BZ #13915]
82622 [BZ #13916]
82623 [BZ #13917]
82624 [BZ #13918]
82625 [BZ #13919]
82626 [BZ #13920]
82627 [BZ #13921]
82628 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82629 * sysdeps/ieee754/k_standard.c: Include <float.h>.
82630 (__kernel_standard_l): New function.
82631 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82632 __kernel_standard.
82633 * math/w_acosl.c (__acosl): Likewise.
82634 * math/w_asinl.c (__asinl): Likewise.
82635 * math/w_atan2l.c (__atan2l): Likewise.
82636 * math/w_atanhl.c (__atanhl): Likewise.
82637 * math/w_coshl.c (__coshl): Likewise.
82638 * math/w_exp10l.c (__exp10l): Likewise.
82639 * math/w_exp2l.c (__exp2l): Likewise.
82640 * math/w_fmodl.c (__fmodl): Likewise.
82641 * math/w_hypotl.c (__hypotl): Likewise.
82642 * math/w_j0l.c (__j0l, __y0l): Likewise.
82643 * math/w_j1l.c (__j1l, __y1l): Likewise.
82644 * math/w_jnl.c (__jnl, __ynl): Likewise.
82645 * math/w_lgammal.c (__lgammal): Likewise.
82646 * math/w_log10l.c (__log10l): Likewise.
82647 * math/w_log2l.c (__log2l): Likewise.
82648 * math/w_logl.c (__logl): Likewise.
82649 * math/w_powl.c (__powl): Likewise.
82650 * math/w_remainderl.c (__remainderl): Likewise.
82651 * math/w_scalbl.c (sysv_scalbl): Likewise.
82652 * math/w_sinhl.c (__sinhl): Likewise.
82653 * math/w_sqrtl.c (__sqrtl): Likewise.
82654 * math/w_tgammal.c (__tgammal): Likewise.
82655 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82656 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82657 * math/libm-test.inc (acos_test): Add more tests.
82658 (acosh_test): Likewise.
82659 (asin_test): Likewise.
82660 (atanh_test): Likewise.
82661 (exp_test): Likewise.
82662 (exp10_test): Likewise.
82663 (exp2_test): Likewise.
82664 (expm1_test): Likewise.
82665 (lgamma_test): Likewise.
82666 (log_test): Likewise.
82667 (log10_test): Likewise.
82668 (log1p_test): Likewise.
82669 (log2_test): Likewise.
82670 (pow_test): Do not allow some spurious overflow exceptions.
82671 (sqrt_test): Add more tests.
82672 (tgamma_test): Likewise.
82673 (y0_test): Likewise.
82674 (y1_test): Likewise.
82675 (yn_test): Likewise.
82676
82677 2012-03-27 Anton Blanchard <anton@samba.org>
82678
82679 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82680 MAP_HUGETLB.
82681 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82682 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82684
82685 2012-03-27 David S. Miller <davem@davemloft.net>
82686
82687 * conform/Makefile: Run run-conformtest.sh using $(BASH).
82688
82689 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82690 have-as-vis3 check.
82691
82692 2012-03-27 Andreas Jaeger <aj@suse.de>
82693
82694 * sysdeps/x86_64/elf/configure.in: Moved to ...
82695 * sysdeps/x86_64/configure.in: ... here.
82696 * sysdeps/x86_64/elf/start.S: Moved to ...
82697 * sysdeps/x86_64/start.S: ... here.
82698 * sysdeps/x86_64/elf/configure: Delete.
82699
82700 * sysdeps/x86_64/configure.in: Merge contents from
82701 sysdeps/i386/configure.in (without i686 check).
82702
82703 * sysdeps/i386/elf/Versions: Merge into ...
82704 * sysdeps/i386/Versions: ... this.
82705 * sysdeps/i386/elf/Versions: Delete file.
82706 * sysdeps/i386/elf/start.S: Moved to ...
82707 * sysdeps/i386/start.S: ...here.
82708 * sysdeps/i386/elf/configure.in: Merge into...
82709 * sysdeps/i386/configure.in: ...here.
82710 * sysdeps/i386/elf/configure.in: Delete file.
82711 * sysdeps/i386/elf/configure: Delete file.
82712
82713 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82714 * debug/backtracesyms.c: ... here.
82715 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82716 * debug/backtracesymsfd.c: ... here.
82717 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82718 * sysdeps/generic/ifunc-sel.h: ... here.
82719
82720 * sysdeps/unix/i386/start.c: Delete file.
82721 * sysdeps/unix/sparc/start.c: Delete file.
82722 * sysdeps/unix/start.c: Delete file.
82723
82724 * sysdeps/sh/elf/configure.in: Moved to ...
82725 * sysdeps/sh/configure.in: ... here.
82726 * sysdeps/sh/elf/start.S: Moved to ...
82727 * sysdeps/sh/start.S: ... here.
82728 * sysdeps/sh/elf/configure: Delete file.
82729
82730 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82731 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82732 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82733 * sysdeps/powerpc/powerpc64/entry.h: ... here.
82734 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82735 * sysdeps/powerpc/powerpc64/start.S: here.
82736 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82737 * sysdeps/powerpc/powerpc64/Makefile: ... this.
82738 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82739 * sysdeps/powerpc/powerpc64/configure.in: ... this.
82740 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82741
82742 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82743 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82744 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82745 * sysdeps/powerpc/powerpc32/start.S: ... here.
82746 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82747 * sysdeps/powerpc/powerpc32/configure.in: ... this.
82748 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82749
82750 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82751 * sysdeps/powerpc/ifunc-sel.h: ... here.
82752 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82753 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82754
82755 * sysdeps/sparc/elf/configure.in: Moved to ...
82756 * sysdeps/sparc/configure.in: ... here.
82757 * sysdeps/sparc/elf/configure: Delete file.
82758 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82759 * sysdeps/sparc/sparc32/start.S: ... here.
82760 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82761 * sysdeps/sparc/sparc64/start.S: ... here.
82762 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82763 * sysdeps/sparc/sparc32/Makefile: ... this.
82764 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82765 * sysdeps/sparc/sparc64/Makefile: ... this.
82766
82767 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82768 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82769 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82770 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82771 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82772 * sysdeps/s390/s390-32/setjmp.S: ... here.
82773 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82774 * sysdeps/s390/s390-32/configure.in: ... here.
82775 * sysdeps/s390/s390-32/elf/configure: Delete file.
82776 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82777 * sysdeps/s390/s390-32/start.S: ... here.
82778
82779 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82780 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82781 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82782 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82783 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82784 * sysdeps/s390/s390-64/setjmp.S: ... here.
82785 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82786 * sysdeps/s390/s390-64/configure.in: ... here
82787 * sysdeps/s390/s390-64/elf/configure: Delete file.
82788 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82789 * sysdeps/s390/s390-64/start.S: ... here.
82790 * sysdeps/s390/s390-64/elf/configure: Delete.
82791
82792 * configure.in: Remove support for elf directories in sysdeps.
82793
82794 * configure: Regenerated.
82795 * sysdeps/i386/configure: Regenerated.
82796 * sysdeps/powerpc/powerpc32/configure: Regenerated.
82797 * sysdeps/powerpc/powerpc64/configure: Regenerated.
82798 * sysdeps/s390/s390-32/configure: Regenerated.
82799 * sysdeps/s390/s390-64/configure: Regenerated.
82800 * sysdeps/sh/configure: Regenerated.
82801 * sysdeps/sparc/configure: Regenerated.
82802 * sysdeps/x86_64/configure: Regenerated.
82803
82804 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
82805
82806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82807
82808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82809 denormal result into account.
82810
82811 2012-03-25 Roland McGrath <roland@hack.frob.com>
82812
82813 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82814 Reported by Allan McRae <allan@archlinux.org>.
82815
82816 2012-03-23 Jeff Law <law@redhat.com>
82817
82818 * nss/getnssent.c (__nss_getent): Fix typo.
82819
82820 2012-03-23 David S. Miller <davem@davemloft.net>
82821
82822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82823
82824 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
82825
82826 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82827 to pad to uint64_t for each field.
82828 (dl_tls_index): Replace unsigned long with uint64_t.
82829
82830 2012-03-23 Daniel Jacobowitz <dmj@google.com>
82831 Paul Pluzhnikov <ppluzhnikov@google.com>
82832
82833 [BZ #6528]
82834 * grp/Makefile (otherlibs): Don't set it.
82835 * inet/Makefile (otherlibs): Likewise.
82836 * login/Makefile (otherlibs): Likewise.
82837 * nscd/Makefile (otherlibs): Likewise.
82838 * posix/Makefile (otherlibs): Likewise.
82839 * pwd/Makefile (otherlibs): Likewise.
82840 * rt/Makefile (otherlibs): Likewise.
82841 * sunrpc/Makefile (otherlibs): Likewise.
82842 * nss/Makefile (otherlibs): Likewise.
82843 Add libnss_files to routines and static-only-routines.
82844 ($(objpfx)getent): Remove rule.
82845 * resolv/Makefile: Add libnss_dns and libresolv to routines and
82846 static-only-routines.
82847
82848 2012-03-22 Joseph Myers <joseph@codesourcery.com>
82849
82850 [BZ #13892]
82851 * math/s_cexp.c: Include <float.h>.
82852 (__cexp): Handle exp result overflowing not necessarily
82853 overflowing both real and imaginary parts of result.
82854 * math/s_cexpf.c: Likewise.
82855 * math/s_cexpl.c: Likewise.
82856 * math/libm-test.inc (cexp_test): Add more tests.
82857 * sysdeps/i386/fpu/libm-test-ulps: Update.
82858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82859
82860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
82861
82862 * include/link.h (ELFW): New macro.
82863 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82864 Replace ELF64_R_TYPE with ELFW(R_TYPE).
82865
82866 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
82867
82868 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82869 with uint64_t.
82870
82871 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
82872
82873 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82874 declaration.
82875 (struct La_x32_retval): Likewise.
82876
82877 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
82878
82879 * sysdeps/x86_64/preconfigure.in: New file.
82880 * sysdeps/x86_64/preconfigure: New generated file.
82881
82882 2012-03-22 Joseph Myers <joseph@codesourcery.com>
82883
82884 [BZ #13824]
82885 * math/e_exp2l.c: Include <float.h>.
82886 (__ieee754_exp2l): Handle overflow and underflow cases
82887 separately. Only pass fractional part of argument to
82888 __ieee754_expl.
82889 * math/libm-test.inc (exp2_test): Add more tests.
82890
82891 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82892 negating x to take absolute value.
82893 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82894 Likewise.
82895 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82896 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82897 Likewise.
82898 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82899 computing low part if x was negated.
82900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82901
82902 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
82903
82904 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82905 la_x32_gnu_pltexit.
82906 (pltexit): Cast int_retval to ptrdiff_t.
82907 * elf/tst-auditmod3b.c: Likewise.
82908 * elf/tst-auditmod4b.c: Likewise.
82909 * elf/tst-auditmod5b.c: Likewise.
82910 * elf/tst-auditmod6b.c: Likewise.
82911 * elf/tst-auditmod6c.c: Likewise.
82912 * elf/tst-auditmod7b.c: Likewise.
82913
82914 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82915 and x32_gnu_pltexit.
82916
82917 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82918 __ELF_NATIVE_CLASS.
82919 (La_x32_regs): New macro.
82920 (La_x32_retval): Likewise.
82921 (la_x32_gnu_pltenter): New function prototype.
82922 (la_x32_gnu_pltexit): Likewise.
82923
82924 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
82925
82926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82927 exponent.
82928
82929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82930
82931 * configure.in (libc_cv_cc_nofma): Check for option to disable
82932 generation of FMA instructions.
82933 * configure: Regenerate.
82934 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82935 * sysdeps/ieee754/dbl-64/Makefile: New file.
82936 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82937 Remove brandred-fma4.
82938 (CFLAGS-brandred-fma4.c): Remove.
82939 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82940 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82941 define.
82942 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82943 define.
82944
82945 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
82946
82947 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82948 LLONG_MAX != LONG_MAX.
82949 (_itoa_word): Use _ITOA_WORD_TYPE on value.
82950 (_fitoa_word): Likewise.
82951 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82952 LLONG_MAX != LONG_MAX.
82953 * stdio-common/_itowa.h: Include <_itoa.h>.
82954 (_itowa_word): Use _ITOA_WORD_TYPE on value.
82955 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
82956 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
82957 only if not defined.
82958 (_ITOA_WORD_TYPE): Likewise.
82959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
82960 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82961
82962 2012-03-21 David S. Miller <davem@davemloft.net>
82963
82964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82965
82966 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
82967
82968 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82969 of x86_64 when setting libc_cv_slibdir, libdir and
82970 libc_cv_localedir.
82971 * sysdeps/unix/sysv/linux/configure: Regenerated.
82972
82973 2012-03-21 Joseph Myers <joseph@codesourcery.com>
82974
82975 * manual/lang.texi (Old Varargs): Remove section.
82976 (How Variadic): Update menu.
82977 (va_start): Do not mention varargs.h.
82978
82979 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
82980 Joseph Myers <joseph@codesourcery.com>
82981
82982 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82983 link test.
82984 * configure: Regenerated.
82985
82986 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
82987
82988 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82989 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82990 conformtest.pl
82991
82992 2012-03-21 Joseph Myers <joseph@codesourcery.com>
82993
82994 * NOTES: Remove.
82995 * Makefile (files-for-dist): Remove NOTES.
82996 (NOTES): Remove rule.
82997 * README: Don't refer to NOTES.
82998 * manual/creature.texi: Don't include macros.texi.
82999 * manual/intro.texi (creature.texi): Remove comment referring to
83000 NOTES.
83001
83002 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
83003 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
83004 * configure: Regenerated.
83005 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
83006 LIBC_TRY_CC_OPTION.
83007 (libc_cv_as_i686): Likewise.
83008 (libc_cv_cc_avx): Likewise.
83009 (libc_cv_cc_sse2avx): Likewise.
83010 (libc_cv_cc_fma4): Likewise.
83011 (libc_cv_cc_novzeroupper): Likewise.
83012 * sysdeps/i386/configure: Regenerated.
83013
83014 [BZ #13883]
83015 * sysdeps/i386/fpu/s_cexp.S: Remove.
83016 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83017 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83018 * math/libm-test.inc (cexp_test): Add more tests.
83019 * sysdeps/i386/fpu/libm-test-ulps: Update.
83020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83021
83022 2012-03-21 Allan McRae <allan@archlinux.org>
83023
83024 * timezone/Makefile: Do not install iso3166.tab and zone.tab
83025
83026 2012-03-21 Joseph Myers <joseph@codesourcery.com>
83027
83028 [BZ #13871]
83029 * math/w_exp2.c: Do not include <float.h>.
83030 (o_threshold, u_threshold): Remove.
83031 (__exp2): Calculate result before checking finiteness and calling
83032 __kernel_standard.
83033 * math/w_exp2f.c: Likewise.
83034 * math/w_exp2l.c: Likewise.
83035 * math/libm-test.inc (exp2_test): Require overflow exception for
83036 1e6 input.
83037
83038 [BZ #3866]
83039 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
83040 range of signed 64-bit integers before using fistpll. Remove
83041 checks for whether integers fit in mantissa bits.
83042 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
83043 the range of signed 32-bit integers before using fistpl. Remove
83044 checks for whether integers fit in mantissa bits.
83045 * sysdeps/i386/fpu/e_powl.S (p64): New object.
83046 (__ieee754_powl): Test for y outside the range of signed 64-bit
83047 integers before using fistpll. Reduce 64-bit values to 63-bit
83048 ones as needed.
83049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
83050 divide-by-zero is raised for zero to large negative powers.
83051 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
83052 (__ieee754_powl): Test for y outside the range of signed 64-bit
83053 integers before using fistpll. Reduce 64-bit values to 63-bit
83054 ones as needed.
83055 * math/libm-test.inc (pow_test): Add more tests.
83056
83057 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
83058
83059 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
83060 <stdio-common/_itoa.h>.
83061 * debug/segfault.c: Likewise.
83062 * elf/dl-cache.c: Likewise.
83063 * elf/dl-minimal.c: Likewise.
83064 * elf/dl-misc.c: Likewise.
83065 * elf/dl-sysdep.c: Likewise.
83066 * elf/dl-version.c: Likewise.
83067 * elf/rtld.c: Likewise.
83068 * hurd/hurdsock.c: Likewise.
83069 * hurd/lookup-retry.c: Likewise.
83070 * malloc/malloc.c: Likewise.
83071 * malloc/mtrace.c: Likewise.
83072 * nscd/nscd_getgr_r.c: Likewise.
83073 * nscd/nscd_getpw_r.c: Likewise.
83074 * nscd/nscd_getserv_r.c: Likewise.
83075 * posix/getopt_init.c: Likewise.
83076 * posix/wordexp.c: Likewise.
83077 * stdio-common/_itoa.c: Likewise.
83078 * stdio-common/printf_fphex.c: Likewise.
83079 * stdio-common/vfprintf.c: Likewise.
83080 * string/_strerror.c: Likewise.
83081 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
83082 * sysdeps/i386/i686/hp-timing.h: Likewise.
83083 * sysdeps/mach/_strerror.c: Likewise.
83084 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
83085 * sysdeps/mach/hurd/sethostid.c: Likewise.
83086 * sysdeps/mach/hurd/xmknodat.c: Likewise.
83087 * sysdeps/mach/xpg-strerror.c: Likewise.
83088 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
83089 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
83090 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
83091 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
83092 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
83093 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
83094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
83095 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
83096 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
83097 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
83098 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
83099 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
83100 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
83101 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
83102 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
83103 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
83104 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
83105 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
83106 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
83107 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
83108 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
83109
83110 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
83111
83112 * stdio-common/_itoa.h: Moved to ...
83113 * sysdeps/generic/_itoa.h: Here.
83114
83115 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
83116
83117 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
83118 instead of "_itoa.h" and "_itowa.h".
83119 * stdio-common/vfprintf.: Likewise.
83120
83121 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
83122
83123 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
83124 <bits/wordsize.h>.
83125 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
83126 (__signbit): Likewise.
83127 (llrintf): Likewise.
83128 (llrint): Likewise.
83129
83130 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
83131
83132 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
83133 __WORDSIZE != 64.
83134
83135 2012-03-20 Joseph Myers <joseph@codesourcery.com>
83136
83137 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
83138 OVERFLOW_EXCEPTION_OK.
83139 * math/libm-test.inc ("Philosophy"): Update comment about
83140 exception testing.
83141 (OVERFLOW_EXCEPTION): Define.
83142 (OVERFLOW_EXCEPTION_OK): Likewise.
83143 (INVALID_EXCEPTION_OK): Renumber.
83144 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
83145 (IGNORE_ZERO_INF_SIGN): Likewise.
83146 (test_exceptions): Handle FE_OVERFLOW.
83147 (exp10_test): Expect overflow exceptions.
83148 (exp2_test): Likewise.
83149 (expm1_test): Likewise.
83150 (nextafter_test): Likewise.
83151 (pow_test): Likewise.
83152 (scalbn_test): Likewise.
83153 (scalbln_test): Likewise.
83154
83155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
83156
83157 * sysdeps/x86_64/bits/atomic.h
83158 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
83159 64bit integer.
83160 (atomic_exchange_acq): Likewise.
83161 (__arch_exchange_and_add_body): Likewise.
83162 (__arch_add_body): Likewise.
83163 (atomic_add_negative): Likewise.
83164 (atomic_add_zero): Likewise.
83165
83166 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
83167
83168 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
83169 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
83170
83171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
83172
83173 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
83174 Check __x86_64__ instead of __WORDSIZE.
83175
83176 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
83177
83178 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
83179
83180 2012-03-19 David S. Miller <davem@davemloft.net>
83181
83182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83183
83184 * sysdeps/sparc/fpu/fenv_private.h: New file.
83185 * sysdeps/sparc/fpu/math_private.h: Use it.
83186 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
83187 Remove.
83188 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
83189 (libc_feholdexcept_setroundl): Remove.
83190 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
83191 Remove.
83192 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
83193 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
83194
83195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
83196
83197 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
83198 int64_t instead of long int.
83199 (INSERT_WORDS64): Likewise.
83200
83201 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
83202
83203 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
83204 _Unwind_GetCFA return to _Unwind_Ptr first.
83205
83206 2012-03-19 Joseph Myers <joseph@codesourcery.com>
83207
83208 [BZ #13629]
83209 * math/s_clog.c: Include <float.h>.
83210 (__clog): Scale large or subnormal inputs.
83211 * math/s_clogf.c: Likewise.
83212 * math/s_clogl.c: Likewise.
83213 * math/s_clog10.c: Include <float.h>.
83214 (M_LOG10_2): Define.
83215 (__clog10): Scale large or subnormal inputs.
83216 * math/s_clog10f.c: Likewise.
83217 * math/s_clog10l.c: Likewise.
83218 * math/libm-test.inc (clog_test): Add more tests.
83219 (clog10_test): Likewise.
83220 * sysdeps/i386/fpu/libm-test-ulps: Update.
83221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83222
83223 [BZ #11451]
83224 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83225 x and y.
83226 * math/libm-test.inc (atan2_test): Add another test.
83227
83228 * Makerules (common-objdir-compile): Remove.
83229 * sysdeps/unix/Makefile (config-generated): Do not add
83230 $(unix-generated) to variable.
83231 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83232 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83233 Remove rule.
83234 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83235 Likewise.
83236 [generic bits/local_lim.h] (before-compile): Do not append to
83237 variable.
83238 [generic bits/local_lim.h] (common-generated): Likewise.
83239 [generic sys/param.h] (before-compile): Do not append to variable.
83240 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83241 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83242 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83243 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83244 include.
83245 [generic sys/param.h] (sys/param.h-includes): Remove variable.
83246 [generic sys/param.h] (sys/param.h-includes): Remove rule.
83247 [generic sys/param.h] ($(addprefix
83248 $(common-objpfx),$(sys/param.h-includes))): Likewise.
83249 [generic sys/param.h] (common-generated): Do not append to
83250 variable.
83251 [generic sys/param.h] (sysdep_headers): Likewise.
83252 [generic bits/errno.h] (before-compile): Do not append to
83253 variable.
83254 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83255 rule.
83256 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83257 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83258 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83259 [generic bits/errno.h] (common-generated): Do not append to
83260 variable.
83261 [generic bits/ioctls.h] (before-compile): Do not append to
83262 variable.
83263 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83264 rule.
83265 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83266 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83267 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83268 rule.
83269 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83270 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83271 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83272 [generic bits/ioctls.h] (common-generated): Do not append to
83273 variable.
83274 [generic sys/syscall.h] (syscall.h): Remove variable.
83275 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83276 rule.
83277 [generic sys/syscall.h] (before-compile): Do not append to
83278 variable.
83279 [generic sys/syscall.h] (common-generated): Likewise.
83280 * sysdeps/unix/errnos-tmpl.c: Remove file.
83281 * sysdeps/unix/errnos.awk: Likewise.
83282 * sysdeps/unix/ioctls-tmpl.c: Likewise.
83283 * sysdeps/unix/ioctls.awk: Likewise.
83284 * sysdeps/unix/mk-local_lim.c: Likewise.
83285 * sysdeps/unix/snarf-ioctls: Likewise.
83286
83287 2012-03-19 Richard Henderson <rth@twiddle.net>
83288
83289 * sysdeps/i386/fpu/fenv_private.h: New file.
83290 * sysdeps/i386/fpu/math_private.h: Use it.
83291 (math_opt_barrier, math_force_eval): Remove.
83292 (libc_feholdexcept_setround_53bit): Remove.
83293 (libc_feupdateenv_53bit): Remove.
83294 * sysdeps/x86_64/fpu/math_private.h: Likewise.
83295 (math_opt_barrier, math_force_eval): Remove.
83296 (libc_feholdexcept): Remove.
83297 (libc_feholdexcept_setround): Remove.
83298 (libc_fetestexcept, libc_fesetenv): Remove.
83299 (libc_feupdateenv_test): Remove.
83300 (libc_feupdateenv, libc_feholdsetround): Remove.
83301 (libc_feresetround): Remove.
83302
83303 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83304 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83305
83306 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83307 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83308 (libc_feupdateenv_testl): New.
83309 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83310 (libc_feupdateenv_testf): New.
83311 (libc_feupdateenv): Use libc_feupdateenv_test.
83312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83313 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83314
83315 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83316 (libc_feholdsetroundf, libc_feholdsetroundl): New.
83317 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83318 (libc_feresetround_noex): New.
83319 (libc_feresetround_noexf): New.
83320 (libc_feresetround_noexl): New.
83321 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83322 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83323 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83324 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83325 SET_RESTORE_ROUND.
83326 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83328 (__cos): Likewise.
83329 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83330 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83331 SET_RESTORE_ROUND_NOEX.
83332 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83333 SET_RESTORE_ROUND_NOEXF.
83334 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83335 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83336 (libc_feholdsetroundf): New.
83337 (libc_feresetround, libc_feresetroundf): New.
83338
83339 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83340 (libc_feholdexcept_setround_53bit): Convert from macro to function.
83341 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
83342
83343 * sysdeps/generic/math_private.h: Include <fenv.h>.
83344 (default_libc_feholdexcept): New.
83345 (default_libc_feholdexcept_setround): New.
83346 (default_libc_fesetenv, default_libc_feupdateenv): New.
83347 (libc_feholdexcept): Only define if undefined.
83348 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83349 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83350 (libc_feholdexcept_setroundl): Likewise.
83351 (libc_feholdexcept_setround_53bit): Likewise.
83352 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83353 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83354 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83355 (libc_feupdateenv_53bit): Likewise.
83356 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83357 (libc_feholdexcept): Convert from macro to inline function.
83358 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83359 (libc_fesetenv, libc_feupdateenv): Likewise.
83360
83361 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83362 not previously defined.
83363 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83364 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83365 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83366 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83367 * sysdeps/ieee754/flt-32/math_private.h: New file.
83368 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83369 math_private.h below SET_FLOAT_WORD.
83370 (__isnan, __isinf_ns, __finite): Remove.
83371 (__isnanf, __isinf_nsf, __finitef): Remove.
83372
83373 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
83374
83375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83376
83377 2012-03-17 David S. Miller <davem@davemloft.net>
83378
83379 [BZ #6471]
83380 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83381 for 2.16.
83382
83383 2012-03-16 David S. Miller <davem@davemloft.net>
83384
83385 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83386 warnings.
83387
83388 [BZ #6471]
83389 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83390 properly.
83391 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
83392 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
83393 sysdep_routines when subdir is sysvipc.
83394 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83395 __getshmlba helper.
83396
83397 * sysdeps/sparc/fpu/libm-test/ulps: Update.
83398
83399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
83400
83401 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
83402 [__LP64__].
83403
83404 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
83405
83406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
83407 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
83408 (__lround): Renamed to ...
83409 (__llround): This. Replace long int with long long int.
83410 Define lround functions as aliases of llround functions.
83411 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
83412
83413 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
83414
83415 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
83416 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
83417 adresses to uintptr_t. Replace "long int" and "unsigned long
83418 int" with "greg_t" on va_arg.
83419
83420 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
83421
83422 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
83423 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
83424
83425 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
83426 Move e_machine check before EI_CLASS check. Handle x32
83427 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
83428 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
83429 SKIP_EM_IA_64 and include
83430 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
83431
83432 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
83433 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
83434 (add_system_dir): New macro.
83435
83436 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
83437 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
83438
83439 2012-03-16 Joseph Myers <joseph@codesourcery.com>
83440
83441 [BZ #2551]
83442 [BZ #2552]
83443 [BZ #2553]
83444 [BZ #2554]
83445 [BZ #2562]
83446 [BZ #2563]
83447 [BZ #2565]
83448 [BZ #2566]
83449 [BZ #2576]
83450 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
83451 (y0): Likewise.
83452 * math/w_j0f.c (j0f): Likewise.
83453 (y0f): Likewise.
83454 * math/w_j0l.c (__j0l): Likewise.
83455 (__y0l): Likewise.
83456 * math/w_j1.c (j1): Likewise.
83457 (y1): Likewise.
83458 * math/w_j1f.c (j1f): Likewise.
83459 (y1f): Likewise.
83460 * math/w_j1l.c (__j1l): Likewise.
83461 (__y1l): Likewise.
83462 * math/w_jn.c (jn): Likewise.
83463 (yn): Likewise.
83464 * math/w_jnf.c (jnf): Likewise.
83465 (ynf): Likewise.
83466 * math/w_jnl.c (__jnl): Likewise.
83467 (__ynl): Likewise.
83468 * math/libm-test.inc (j0_test): Add more tests.
83469 (j1_test): Likewise.
83470 (jn_test): Likewise. Add trailing semicolon to existing test.
83471 (y0_test): Likewise.
83472 (y1_test): Likewise.
83473 * sysdeps/i386/fpu/libm-test-ulps: Update.
83474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83475
83476 [BZ #13851]
83477 [BZ #13854]
83478 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
83479 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
83480 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
83481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
83482 (__tanl): Set errno for infinite argument.
83483 * sysdeps/i386/fpu/mptan.c: Remove.
83484 * sysdeps/i386/fpu/s_tan.S: Likewise.
83485 * sysdeps/i386/fpu/s_tanl.S: Likewise.
83486 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
83487 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
83488 * math/libm-test.inc (tan_test): Add more tests and enable more
83489 tests for double and long double.
83490 * sysdeps/i386/fpu/libm-test-ulps: Update.
83491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83492
83493 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
83494
83495 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
83496 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
83497
83498 2012-03-16 Roland McGrath <roland@hack.frob.com>
83499
83500 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
83501 * configure.in: Use it for both main tree and add-ons.
83502 * configure: Regenerated.
83503
83504 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
83505
83506 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
83507
83508 2012-03-16 Joseph Myers <joseph@codesourcery.com>
83509
83510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
83511 in comment.
83512
83513 [BZ #13851]
83514 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
83515 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
83516 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
83517 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
83518 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
83519 infinite argument.
83520 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
83521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
83522 != 0 for prec == 2.
83523 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
83524 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
83525 * sysdeps/i386/fpu/s_cosl.S: Likewise.
83526 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
83527 * sysdeps/i386/fpu/s_sinl.S: Likewise.
83528 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
83529 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
83530 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
83531 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
83532 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
83533 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
83534 * math/libm-test.inc (cos_test): Add more tests and enable more
83535 tests for long double.
83536 (sin_test): Likewise.
83537 (sincos_test): Likewise.
83538 * sysdeps/i386/fpu/libm-test-ulps: Update.
83539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83540
83541 2012-03-16 David S. Miller <davem@davemloft.net>
83542
83543 * sysdeps/sparc/fpu/math_private.h: New file.
83544
83545 2012-03-15 David S. Miller <davem@davemloft.net>
83546
83547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83548 file.
83549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83551 file.
83552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83557 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83558 sysdep routines.
83559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83560
83561 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83562 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83563
83564 * sysdeps/sparc/sparc-ifunc.h: New file.
83565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83566 sparc-ifunc.h
83567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83569 Likewise.
83570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83571 Likewise.
83572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83576 Likewise.
83577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83582 Likewise.
83583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83584 Likewise.
83585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83609
83610 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
83611
83612 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83613 scaling.
83614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83615
83616 2012-03-15 Andreas Jaeger <aj@suse.de>
83617
83618 [BZ #13852]
83619 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83620 ieee754/flt-32 implementation for sin, cos and sincos.
83621 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83622 * sysdeps/i386/fpu/s_cosf.S: Likewise.
83623 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83624 * sysdeps/i386/fpu/s_sinf.S: Likewise.
83625 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83626 ieee754/flt-32 implementation for tan.
83627
83628 * math/libm-test.inc (cos_test): Enable some large input tests for
83629 float as well
83630 (sin_test): Likewise.
83631 (sincos_test): Likewise.
83632 (tan_test): Add tests for large input.
83633
83634 * sysdeps/i386/fpu/libm-test-ulps: Update.
83635
83636 2012-03-15 Andreas Jaeger <aj@suse.de>
83637
83638 [BZ #13658]
83639 * math/libm-test.inc (cos_test): Add more test cases.
83640 (sin_test): Likewise.
83641 (sincos_test): Likewise.
83642
83643 2012-03-15 Andreas Jaeger <aj@suse.de>
83644
83645 [BZ #13837]
83646 * math/libm-test.inc (cos_test): Add a test case for large input
83647 value.
83648 (sin_test): Likewise.
83649 (sincos_test): Likewise.
83650
83651 2012-03-15 Andreas Jaeger <aj@suse.de>
83652 Joseph Myers <joseph@codesourcery.com>
83653
83654 [BZ #13658]
83655 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83656 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83657 * sysdeps/i386/fpu/branred.c: Likewise.
83658 * sysdeps/i386/fpu/dosincos.c: Likewise.
83659 * sysdeps/i386/fpu/mpa.c: Likewise.
83660 * sysdeps/i386/fpu/s_cos.S: Likewise.
83661 * sysdeps/i386/fpu/s_sin.S: Likewise.
83662 * sysdeps/i386/fpu/s_sincos.S: Likewise.
83663 * sysdeps/i386/fpu/sincos32.c: Likewise.
83664
83665 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83666 Define.
83667 (libc_feupdateenv_53bit): Define.
83668 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83669 Define.
83670 (libc_feupdateenv_53bit): Define.
83671
83672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83673 53 bit (without extend i386 double precision).
83674
83675 * math/libm-test.inc (sincos_test): Add tests for large input.
83676 (sin): Likewise.
83677 (cos): Likewise.
83678
83679 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83680
83681 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
83682
83683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83684
83685 2012-03-15 David S. Miller <davem@davemloft.net>
83686
83687 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83688 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83689 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83690 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83703 file.
83704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83706 file.
83707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83709 file.
83710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83712 file.
83713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83715 fmin/fmax sysdep routines.
83716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83717
83718 2012-03-14 David S. Miller <davem@davemloft.net>
83719
83720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83740 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83749 routines.
83750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83751 file.
83752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83754 file.
83755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83757 file.
83758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83760 file.
83761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83763 file.
83764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83766 file.
83767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83768 file.
83769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83770 file.
83771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83772 file.
83773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83774 New file.
83775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83776 file.
83777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83778 file.
83779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83781 file.
83782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83784 file.
83785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83787 file.
83788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83790 VIS3 routines.
83791
83792 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83793 New file.
83794
83795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83796
83797 * sysdeps/sparc/configure.in: New file.
83798 * sysdeps/sparc/configure: Generate.
83799 * configure.in (libc_cv_sparc_as_vis3): Substitute.
83800 * configure: Regenerate.
83801 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83802 * config.make.in (have-as-vis3): New.
83803 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83804 available use -Av9d instead of -Av9a.
83805 * sysdeps/sparc/sparc64/Makefile: Likewise.
83806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83808 New file.
83809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83810 file.
83811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83812 New file.
83813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83814 file.
83815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83820
83821 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83822 fzeros/fnegs to load 0x80000000 into a float register instead of
83823 using the stack.
83824 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83825
83826 2012-03-14 Joseph Myers <joseph@codesourcery.com>
83827
83828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83829 bits/syscall.h.
83830 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83831 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83832 ($(inst_includedir)/bits/syscall.h): Remove rule.
83833 ($(objpfx)bits/syscall.d): Include instead of
83834 $(objpfx)syscall-list.d.
83835 (generated): Change syscall-list.h and syscall-list.d to
83836 bits/syscall.h and bits/syscall.d.
83837
83838 2012-03-14 Roland McGrath <roland@hack.frob.com>
83839
83840 [BZ #13846]
83841 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83842
83843 2012-03-14 Joseph Myers <joseph@codesourcery.com>
83844
83845 [BZ #13841]
83846 * math/s_csqrt.c: Include <float.h>.
83847 (__csqrt): Scale large or subnormal inputs.
83848 * math/s_csqrtf.c: Likewise.
83849 * math/s_csqrtl.c: Likewise.
83850 * math/libm-test.inc (csqrt_test): Add more tests.
83851 * sysdeps/i386/fpu/libm-test-ulps: Update.
83852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83853
83854 [BZ #13840]
83855 * math/libm-test.inc (hypot_test): Add more tests.
83856
83857 2012-03-13 David S. Miller <davem@davemloft.net>
83858
83859 [BZ #13840]
83860 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83861 double-precision for the calculation instead of scaling.
83862
83863 2012-03-13 Joseph Myers <joseph@codesourcery.com>
83864
83865 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83866 manipulate bits before adding and subtracting TWO52[sx].
83867 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83868 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83869 Likewise.
83870 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83871
83872 2012-03-13 David S. Miller <davem@davemloft.net>
83873
83874 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83875 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83877 rtld-global-offsets.h
83878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83879
83880 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83881 large parameters.
83882
83883 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83884
83885 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83886 'err' in the ifdef scope in which it is actually used.
83887
83888 * nss/nss_db/db-init.c: Include string.h
83889
83890 2012-03-12 David S. Miller <davem@davemloft.net>
83891
83892 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83893 masking out of the most significant byte of random value used.
83894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83895 Fix coding style in previous change.
83896
83897 * sysdeps/unix/sysv/linux/kernel-features.h
83898 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83899 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83900 expression.
83901 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83902 later.
83903
83904 2012-03-11 David S. Miller <davem@davemloft.net>
83905
83906 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83907 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83908 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83909 for 'resultvar' otherwise things get truncated on 64-bit.
83910
83911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83912 Fix masking out of the most significant byte of random value used.
83913
83914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83915
83916 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
83917
83918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83919
83920 2012-03-09 David S. Miller <davem@davemloft.net>
83921
83922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83923 variables with appropriate CPP guards.
83924 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83925 from the frame pointer, not the stack pointer. Correct layout
83926 comments. Fix test on resulting framesize and the management of
83927 the outregs buffer for pltexit. Preserve floating point return
83928 values across _dl_call_pltexit call.
83929 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83930 framesize and the management of the outregs buffer for pltexit.
83931 Preserve floating point return values across _dl_call_pltexit
83932 call.
83933 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83934 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83935 (la_sparc64_gnu_pltexit): New functions.
83936 (print_exit): Fix format string for return register value.
83937
83938 2012-03-10 Joseph Myers <joseph@codesourcery.com>
83939
83940 * sunrpc/Makefile (others): Add rpcgen.
83941 ($(objpfx)rpcgen): Remove special build rule and dependency on
83942 libc.
83943 * sunrpc/rpcgen.c: New file.
83944
83945 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
83946
83947 [BZ #13673]
83948 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83949 * stdio-common/bug-vfprintf-nargs.c: Likewise.
83950 * sysdeps/i386/crti.S: Likewise.
83951 * sysdeps/i386/crtn.S: Likewise.
83952 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83953 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83954 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83955 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83956 * sysdeps/sh/crti.S: Likewise.
83957 * sysdeps/sh/crtn.S: Likewise.
83958 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83959
83960 [BZ #13673]
83961 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83962 with URL.
83963 * locale/programs/locfile-kw.gperf: Likewise.
83964 * locale/programs/charmap-kw.h: Regenerated.
83965 * locale/programs/locfile-kw.h: Likewise.
83966
83967 [BZ #13673]
83968 * intl/plural.y: Replace FSF snail mail address with URL.
83969 * intl/plural.c: Regenerated.
83970
83971 2012-03-09 Richard Henderson <rth@twiddle.net>
83972
83973 * include/math_private.h: Remove file.
83974 * math/math_private.h: Move file ...
83975 * sysdeps/generic/math_private.h: ... here.
83976
83977 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83978 * sysdeps/powerpc/fpu/math_private.h: Likewise.
83979 * sysdeps/x86_64/fpu/math_private.h: Likewise.
83980
83981 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83982 and <math_private.h>.
83983 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83984 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83985 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83986 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83987 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83988 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83989 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83990 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83991 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83994 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83995 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83997 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83998 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83999 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84000 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84001 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84002 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84004 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84005 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84007 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
84008 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84009 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84013 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84015 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
84016 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84017 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84018 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84019 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84020 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84021 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84022 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84023 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
84024 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84025 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84026 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
84027 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
84028 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84029 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
84030 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
84031 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84032 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84033 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
84034 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
84035 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
84036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84037 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
84038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84039 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84040 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
84041 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
84042 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
84043 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84044 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
84045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84046 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84047 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
84048 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84049 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84050 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84051 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
84052 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
84053 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
84054 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84055 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
84056 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84057 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
84058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
84059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
84060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
84062 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
84063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
84064 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
84065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
84066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84067 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
84069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
84070 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
84071 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84072 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84074 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84075 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84076 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84077 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84078 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84079 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84080 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84083 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84084 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84085 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84086 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84087 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84088 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84089 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84090 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84091 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84093 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84094 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84095 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84096 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84097 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
84098 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84099 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84100 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84101 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84102 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84103 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84104 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84105 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84106 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
84107 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84108 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84109 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84110 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
84111 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84112 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
84113 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
84114 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84115 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84116 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
84117 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
84118 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84119 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84120 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84121 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
84122 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84123 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84124 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84125 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84126 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
84127 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
84128 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84129 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84130 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84131 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
84132 * sysdeps/ieee754/k_standard.c: Likewise.
84133 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84134 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84136 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84137 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84138 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84139 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84140 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84141 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84142 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84143 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84144 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84145 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84146 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84147 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84148 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84149 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
84150 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84151 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84152 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
84153 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
84154 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
84155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84157 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
84158 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
84159 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84160 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84161 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84162 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84163 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
84164 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84165 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84166 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84167 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
84168 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84169 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84170 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
84171 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
84172 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
84174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
84175 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84176 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84177 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
84178 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
84179 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84181 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84184 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
84185 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84186 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
84187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84189 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
84190 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
84191 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84192 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84193 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84194 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
84195 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
84210 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84211 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84212 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84213 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84215 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84218 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84219 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84221 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84223 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84224 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84225 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84226 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84227 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84229 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84230 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84231 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84232 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84236 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84237 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84240 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84241 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84242 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84243 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84244 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84245 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84246 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84247 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84249 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84250 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84251 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84252 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84253 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84254 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84255 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84256 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84258 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84259 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84260 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84261 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84262 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84263 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84264 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84265 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84266 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84267 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84268 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84269 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84270 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84271 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84272 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84273 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84274 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84275 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84276 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84277 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84278 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84279 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84282 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84283 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84284 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84285 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84287 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84288 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84289 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84290 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84292 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84293 * sysdeps/ieee754/s_lib_version.c: Likewise.
84294 * sysdeps/ieee754/s_matherr.c: Likewise.
84295 * sysdeps/ieee754/s_signgam.c: Likewise.
84296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84298 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84299 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84300 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84301 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84302 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84303 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84304 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84305 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84306 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84307 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84308 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84309 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84310 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84311 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84312 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84313 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84317
84318 2012-03-09 Joseph Myers <joseph@codesourcery.com>
84319
84320 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84321 * sunrpc/rpc_main.c: Likewise.
84322 * sunrpc/rpc_svcout.c: Likewise.
84323
84324 2012-03-09 David S. Miller <davem@davemloft.net>
84325
84326 * include/math_private.h: New file.
84327
84328 2012-03-09 Joseph Myers <joseph@codesourcery.com>
84329
84330 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84331 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84332 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84333 from <bits/socket_type.h>.
84334 (enum __socket_type): Don't define here.
84335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84337 bits/socket_type.h.
84338
84339 [BZ #13566]
84340 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84341 checking __USE_GNU.
84342
84343 * Makerules ($(inst_includedir)/%.h): New rule.
84344 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84345 (install-others): Remove variable setting.
84346 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84347
84348 2012-03-08 Richard Henderson <rth@twiddle.net>
84349
84350 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84351 from macro to inline function; merge with the
84352 !__LIBC_INTERNAL_MATH_INLINES version.
84353 (__ieee754_sqrtf): Likewise.
84354
84355 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84356 to inline function.
84357 (__rintf, __floor, __floorf): Likewise.
84358
84359 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84360 macro to inline function.
84361 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84362
84363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84364 not <math/math_private.h>.
84365
84366 2012-03-08 David S. Miller <davem@davemloft.net>
84367
84368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84369 copyright year.
84370 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84371
84372 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
84373
84374 * resolv/gai_misc.c (handle_requests): Fix struct timespec
84375 normalization.
84376 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84377 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84378
84379 2012-03-08 Ulrich Drepper <drepper@gmail.com>
84380
84381 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
84382 be defined individually, they must be defined as a block. Define
84383 S for printing a string instead of hidint the different by using a
84384 macro for adding the 'l'.
84385 * stdio-common/tst-fphex-wide.c: Adjust.
84386
84387 2012-03-07 Marek Polacek <polacek@redhat.com>
84388
84389 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84390
84391 2012-03-08 Marek Polacek <polacek@redhat.com>
84392
84393 [BZ #13806]
84394 * stdio-common/Makefile (tests): Add tst-fphex-wide.
84395 * stdio-common/tst-fphex.c: Define a few macros to make the
84396 test reusable. Use them.
84397 * stdio-common/tst-fphex-wide.c: New file.
84398
84399 2012-03-08 Joseph Myers <joseph@codesourcery.com>
84400
84401 [BZ #6911]
84402 * manual/macros.texi (gnusystems): New macro.
84403 (nongnusystems): Likewise.
84404 (gnulinuxhurdsystems): Likewise.
84405 (gnuhurdsystems): Likewise..
84406 (gnulinuxsystems): Likewise.
84407 * manual/charset.texi: Use new macros or @theglibc{} to refer to
84408 variants of the GNU system, not "GNU system".
84409 * manual/conf.texi: Likewise.
84410 * manual/errno.texi: Likewise. Update example of errno macro
84411 expansion.
84412 * manual/filesys.texi: Likewise.
84413 (getumask): Document as specific to GNU/Hurd.
84414 * manual/install.texi: Likewise. Reword some references to
84415 GNU/Linux.
84416 * manual/intro.texi: Likewise.
84417 * manual/io.texi: Likewise.
84418 (File Name Portability): Detail which constraints are inapplicable
84419 to all GNU systems and which are only inapplicable to GNU/Hurd.
84420 * manual/job.texi: Likewise.
84421 * manual/llio.texi: Likewise.
84422 (O_NOCTTY): Document as present on GNU/Linux.
84423 * manual/maint.texi: Likewise.
84424 * manual/memory.texi: Likewise.
84425 * manual/pattern.texi: Likewise.
84426 * manual/pipe.texi: Likewise.
84427 * manual/process.texi: Likewise.
84428 * manual/resource.texi: Likewise.
84429 (RUSAGE_CHILDREN): Remove statement about specifying a particular
84430 child on GNU/Hurd.
84431 * manual/setjmp.texi: Likewise.
84432 * manual/signal.texi: Likewise.
84433 * manual/startup.texi: Likewise.
84434 * manual/stdio.texi: Likewise.
84435 * manual/terminal.texi: Likewise.
84436 (ONLCR): Document as POSIX.
84437 (OXTABS): Document availability on GNU/Linux as XTABS.
84438 (ONOEOT): Document availability separately from other bits.
84439 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
84440 * manual/time.texi: Likewise.
84441 * manual/users.texi: Likewise.
84442 * INSTALL: Regenerated.
84443 * sysdeps/gnu/errlist.c: Regenerated.
84444
84445 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
84446 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
84447 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
84448 puts.
84449 * configure: Regenerated.
84450
84451 2012-03-07 Joseph Myers <joseph@codesourcery.com>
84452
84453 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
84454 default includes instead of AC_HEADER_CHECK.
84455 * sysdeps/i386/configure: Regenerated.
84456
84457 [BZ #10716]
84458 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
84459 * math/s_cacoshf.c (__cacoshf): Likewise.
84460 * math/s_cacoshl.c (__cacoshl): Likewise.
84461 * math/s_casinh.c (__casinh): Set signs of result from argument.
84462 * math/s_casinhf.c (__casinhf): Likewise.
84463 * math/s_casinhl.c (__casinhl): Likewise.
84464 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
84465 (casinh_test): Add more tests.
84466 * sysdeps/i386/fpu/libm-test-ulps: Update.
84467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84468
84469 2012-03-07 Ulrich Drepper <drepper@gmail.com>
84470
84471 * po/zh_TW.po: Update from translation team.
84472
84473 * login/Makefile (distribute): Remove variable.
84474 * catgets/Makefile: Likewise.
84475 * mach/Makefile: Likewise.
84476 * malloc/Makefile: Likewise.
84477 * misc/Makefile: Likewise.
84478 * iconv/Makefile: Likewise.
84479 * nscd/Makefile: Likewise.
84480 * hurd/Makefile: Likewise.
84481 * manual/Makefile: Likewise.
84482 * locale/Makefile: Likewise.
84483 * intl/Makefile: Likewise.
84484 * conform/Makefile: Likewise.
84485 * nss/Makefile: Likewise.
84486 * time/Makefile: Likewise.
84487 * soft-fp/Makefile: Likewise.
84488 * dirent/Makefile: Likewise.
84489 * gmon/Makefile: Likewise.
84490 * po/Makefile: Likewise.
84491 * rt/Makefile: Likewise.
84492 * socket/Makefile: Likewise.
84493 * math/Makefile: Likewise.
84494 * signal/Makefile: Likewise.
84495 * debug/Makefile: Likewise.
84496 * elf/Makefile: Likewise.
84497 * timezone/Makefile: Likewise.
84498 * stdlib/Makefile: Likewise.
84499 * iconvdata/Makefile: Likewise.
84500 * sunrpc/Makefile: Likewise.
84501 * io/Makefile: Likewise.
84502 * argp/Makefile: Likewise.
84503 * inet/Makefile: Likewise.
84504 * hesiod/Makefile: Likewise.
84505 * grp/Makefile: Likewise.
84506 * csu/Makefile: Likewise.
84507 * wctype/Makefile: Likewise.
84508 * crypt/Makefile: Likewise.
84509 * libio/Makefile: Likewise.
84510 * string/Makefile: Likewise.
84511 * nis/Makefile: Likewise.
84512 * resolv/Makefile: Likewise.
84513 * stdio-common/Makefile: Likewise.
84514 * wcsmbs/Makefile: Likewise.
84515 * dlfcn/Makefile: Likewise.
84516 * posix/Makefile: Likewise.
84517
84518 [BZ #6959]
84519 * timezone/Makefile: Don't install timezone files, just the programs
84520 and scripts.
84521
84522 2012-03-06 Ulrich Drepper <drepper@gmail.com>
84523
84524 * nss/databases.def: Add missing gshadow entry.
84525
84526 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
84527
84528 2012-03-06 Marek Polacek <polacek@redhat.com>
84529
84530 [BZ #13726]
84531 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
84532 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
84533 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
84534 * stdio-common/tst-long-dbl-fphex.c: New file.
84535
84536 2012-03-06 David S. Miller <davem@davemloft.net>
84537
84538 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84539 (set_obp_int): New function.
84540 (get_obp_int): New function.
84541 (__get_clockfreq_via_dev_openprom): Likewise.
84542 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84543 Avoid unused variable warnings on 'val' and use builtin_expect.
84544 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84545 __builtin_expect.
84546 (INLINE_CLONE_SYSCALL): Likewise.
84547
84548 2012-03-05 David S. Miller <davem@davemloft.net>
84549
84550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84551
84552 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
84553
84554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84555
84556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84557 only for |x| >= 40.
84558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84559
84560 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
84561
84562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84563 Replace gettimeofday with __vdso_gettimeofday.
84564
84565 * sysdeps/unix/sysv/linux/x86_64/init-first.c
84566 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84567 __vdso_clock_gettime and __vdso_getcpu.
84568
84569 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84570 time with __vdso_time.
84571
84572 2012-03-05 Joseph Myers <joseph@codesourcery.com>
84573
84574 * manual/lang.texi (size_t): Note types to which size_t may be
84575 equivalent with the GNU C Library, but do not describe when
84576 differences between them are significant.
84577
84578 2012-03-05 Andreas Jaeger <aj@suse.de>
84579
84580 * sysdeps/i386/fpu/libm-test-ulps: Update.
84581
84582 2012-03-05 Joseph Myers <joseph@codesourcery.com>
84583
84584 [BZ #3976]
84585 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84586 (__ieee754_pow): Save and restore rounding mode and use
84587 round-to-nearest for main computations.
84588 * math/libm-test.inc (pow_test_tonearest): New function.
84589 (pow_test_towardzero): Likewise.
84590 (pow_test_downward): Likewise.
84591 (pow_test_upward): Likewise.
84592 (main): Call the new functions.
84593 * sysdeps/i386/fpu/libm-test-ulps: Update.
84594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84595
84596 [BZ #3976]
84597 * math/libm-test.inc (cosh_test_tonearest): New function.
84598 (cosh_test_towardzero): Likewise.
84599 (cosh_test_downward): Likewise.
84600 (cosh_test_upward): Likewise.
84601 (sinh_test_tonearest): Likewise.
84602 (sinh_test_towardzero): Likewise.
84603 (sinh_test_downward): Likewise.
84604 (sinh_test_upward): Likewise.
84605 (main): Call the new functions.
84606 * sysdeps/i386/fpu/libm-test-ulps: Update.
84607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84608
84609 2012-03-05 Tom de Vries <tom@codesourcery.com>
84610
84611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84612 default stack guard is set in last bytes.
84613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84614
84615 2012-03-05 Kees Cook <keescook@chromium.org>
84616
84617 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84618
84619 [BZ #13656]
84620 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84621 possibly allocate from heap instead of stack.
84622 * stdio-common/bug-vfprintf-nargs.c: New file.
84623 * stdio-common/Makefile (tests): Add nargs overflow test.
84624
84625 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
84626
84627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84628
84629 2012-03-03 Marek Polacek <polacek@redhat.com>
84630
84631 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84632 * math/math_private.h: Likewise.
84633 * stdlib/tst-strtod.c: Likewise.
84634 * sysdeps/i386/i486/bits/atomic.h: Likewise.
84635 * sysdeps/x86_64/bits/atomic.h: Likewise.
84636
84637 2012-03-02 David S. Miller <davem@davemloft.net>
84638
84639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84643 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84644 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84645 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84646 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84647
84648 2012-03-02 Roland McGrath <roland@hack.frob.com>
84649
84650 [BZ #13792]
84651 * manual/examples/README: New file, says the example source files
84652 can be used under GPL>=2.
84653 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84654 line containing just "*/".
84655 * manual/examples/add.c: Add copyright header (GPL>=2).
84656 * manual/examples/argp-ex1.c: Likewise.
84657 * manual/examples/argp-ex2.c: Likewise.
84658 * manual/examples/argp-ex3.c: Likewise.
84659 * manual/examples/argp-ex4.c: Likewise.
84660 * manual/examples/atexit.c: Likewise.
84661 * manual/examples/db.c: Likewise.
84662 * manual/examples/dir.c: Likewise.
84663 * manual/examples/dir2.c: Likewise.
84664 * manual/examples/execinfo.c: Likewise.
84665 * manual/examples/filecli.c: Likewise.
84666 * manual/examples/filesrv.c: Likewise.
84667 * manual/examples/fmtmsgexpl.c: Likewise.
84668 * manual/examples/genpass.c: Likewise.
84669 * manual/examples/inetcli.c: Likewise.
84670 * manual/examples/inetsrv.c: Likewise.
84671 * manual/examples/isockad.c: Likewise.
84672 * manual/examples/longopt.c: Likewise.
84673 * manual/examples/memopen.c: Likewise.
84674 * manual/examples/memstrm.c: Likewise.
84675 * manual/examples/mkfsock.c: Likewise.
84676 * manual/examples/mkisock.c: Likewise.
84677 * manual/examples/mygetpass.c: Likewise.
84678 * manual/examples/pipe.c: Likewise.
84679 * manual/examples/popen.c: Likewise.
84680 * manual/examples/rprintf.c: Likewise.
84681 * manual/examples/search.c: Likewise.
84682 * manual/examples/select.c: Likewise.
84683 * manual/examples/setjmp.c: Likewise.
84684 * manual/examples/sigh1.c: Likewise.
84685 * manual/examples/sigusr.c: Likewise.
84686 * manual/examples/stpcpy.c: Likewise.
84687 * manual/examples/strdupa.c: Likewise.
84688 * manual/examples/strftim.c: Likewise.
84689 * manual/examples/strncat.c: Likewise.
84690 * manual/examples/subopt.c: Likewise.
84691 * manual/examples/swapcontext.c: Likewise.
84692 * manual/examples/termios.c: Likewise.
84693 * manual/examples/testopt.c: Likewise.
84694 * manual/examples/testpass.c: Likewise.
84695 * manual/examples/timeval_subtract.c: Likewise.
84696
84697 [BZ #13792]
84698 * manual/time.texi (Elapsed Time): Move timeval_subtract example
84699 function to ...
84700 * manual/timeval_subtract.c.texi: ... here, new file.
84701
84702 2012-03-02 David S. Miller <davem@davemloft.net>
84703
84704 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84705
84706 2012-03-02 Joseph Myers <joseph@codesourcery.com>
84707
84708 [BZ #3976]
84709 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84710 (__sin): Save and restore rounding mode and use round-to-nearest
84711 for all computations.
84712 (__cos): Save and restore rounding mode and use round-to-nearest
84713 for all computations.
84714 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84715 <fenv.h>.
84716 (tan): Save and restore rounding mode and use round-to-nearest for
84717 all computations.
84718 * math/libm-test.inc (cos_test_tonearest): New function.
84719 (cos_test_towardzero): Likewise.
84720 (cos_test_downward): Likewise.
84721 (cos_test_upward): Likewise.
84722 (sin_test_tonearest): Likewise.
84723 (sin_test_towardzero): Likewise.
84724 (sin_test_downward): Likewise.
84725 (sin_test_upward): Likewise.
84726 (tan_test_tonearest): Likewise.
84727 (tan_test_towardzero): Likewise.
84728 (tan_test_downward): Likewise.
84729 (tan_test_upward): Likewise.
84730 (main): Call the new functions.
84731 * sysdeps/i386/fpu/libm-test-ulps: Update.
84732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84733
84734 [BZ #10135]
84735 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84736 small n, then large n, before computing and testing k+n.
84737 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84739 Likewise.
84740 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84741 Likewise.
84742 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84743 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84744 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84745 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84746 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84747 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84748 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84749 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84750 * math/libm-test.inc (scalbn_test): Add more tests.
84751 (scalbln_test): Likewise.
84752
84753 * manual/filesys.texi (mode_t): Describe constraints on size and
84754 signedness, not exact equivalence to a particular type.
84755 (ino_t): Likewise.
84756 (ino64_t): Likewise.
84757 (dev_t): Likewise.
84758 (nlink_t): Likewise.
84759 (blkcnt_t): Likewise.
84760 (blkcnt64_t): Likewise.
84761 * manual/llio.texi (off_t): Likewise.
84762
84763 [BZ #3976]
84764 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84765 (__ieee754_exp): Save and restore rounding mode and use
84766 round-to-nearest for all computations.
84767 * math/libm-test.inc (exp_test_tonearest): New function.
84768 (exp_test_towardzero): Likewise.
84769 (exp_test_downward): Likewise.
84770 (exp_test_upward): Likewise.
84771 (main): Call the new functions.
84772 * sysdeps/i386/fpu/libm-test-ulps: Update.
84773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84774
84775 2012-03-01 Chris Demetriou <cgd@google.com>
84776
84777 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84778 have predictable order.
84779
84780 2012-03-01 David S. Miller <davem@davemloft.net>
84781
84782 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84783
84784 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84785 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84786 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84787 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84788
84789 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84790 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84791 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84793 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84794 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84795 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84796 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84797 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84798
84799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84800
84801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84802 * sysdeps/sparc/fpu/libm-test-ulps: to here.
84803 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84804
84805 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84806 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84807 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84808 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84809 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84812 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84813 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84814 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84815 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84816 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84818 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84819 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84821 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84822 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84823 * sysdeps/sparc/elf/configure: Regenerated.
84824
84825 2012-03-01 Joseph Myers <joseph@codesourcery.com>
84826
84827 * configure.in (AS, LD): Require binutils 2.20 or later.
84828 * configure: Regenerated.
84829 * manual/install.texi (Tools for Compilation): Give binutils 2.20
84830 as required minimum version.
84831 * INSTALL: Regenerated.
84832
84833 [BZ #2541]
84834 [BZ #4108]
84835 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84836 before squaring exponent.
84837 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84838 bottom long double and 27 bits of top long double before squaring
84839 exponent.
84840 * math/libm-test.inc (erfc_test): Add more tests.
84841 * sysdeps/i386/fpu/libm-test-ulps: Update.
84842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84844
84845 2012-03-01 Kai Tietz <ktietz@redhat.com>
84846
84847 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84848 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84849 containing bit-fields.
84850 * soft-fp/extended.h (_FP_UNION_E): Likewise.
84851 * soft-fp/single.h (_FP_UNION_S): Likewise.
84852 * soft-fp/double.h (_FP_UNION_D): Likewise.
84853
84854 2012-02-29 Joseph Myers <joseph@codesourcery.com>
84855
84856 [BZ #13786]
84857 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84858 not include ../strcmp.S.
84859 [USE_AS_STRNCASECMP_L]: Likewise.
84860 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84861 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84862 * sysdeps/i386/i686/multiarch/strncase_l-c.c
84863 (__strncasecmp_l_ia32): Define as alias to
84864 __strncasecmp_l_nonascii.
84865
84866 [BZ #5794]
84867 * math/libm-test.inc (expm1_test): Add test for bug 5794.
84868 * sysdeps/i386/fpu/libm-test-ulps: Update.
84869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84870
84871 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84873
84874 2012-02-29 Jeff Law <law@redhat.com>
84875
84876 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84877 out of bounds read.
84878
84879 2012-02-29 Marek Polacek <polacek@redhat.com>
84880
84881 [BZ #13706]
84882 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84883 * elf/Makefile: Add rules to run tst-unused-dep.out.
84884
84885 2012-02-28 David S. Miller <davem@davemloft.net>
84886
84887 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84888 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84891 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84892 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84893
84894 2012-02-29 Joseph Myers <joseph@codesourcery.com>
84895
84896 * math/libm-test.inc (llround_test): Move one test from
84897 lround_test. Use TEST_f_L in moved test.
84898 (lround_test): Move misplaced test to llround_test. Add testcase
84899 from bug 2561.
84900
84901 2012-02-28 Ulrich Drepper <drepper@gmail.com>
84902
84903 * sysdeps/x86_64/fpu/e_expf.S: New file.
84904 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84905
84906 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
84907
84908 [BZ #13637]
84909 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84910 of remain_len that may cause incomplete multi-byte character and
84911 false match.
84912 * posix/bug-regex33.c: New file.
84913 * posix/Makefile (tests): Add bug-regex33.
84914
84915 2012-02-28 Joseph Myers <joseph@codesourcery.com>
84916
84917 * manual/macros.texi: New file.
84918 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84919 * manual/libc.texinfo: Include macros.texi.
84920 * manual/creatute.texi: Likewise.
84921 * manual/install.texi: Likewise.
84922 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84923 @glibcadj{} in references to the GNU C Library.
84924 * manual/charset.texi: Likewise.
84925 * manual/conf.texi: Likewise.
84926 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
84927 when not using those macros.
84928 * manual/creature.texi: Likewise.
84929 * manual/crypt.texi: Likewise.
84930 * manual/errno.texi: Likewise.
84931 * manual/filesys.texi: Likewise.
84932 * manual/header.texi: Likewise.
84933 * manual/install.texi: Likewise.
84934 * manual/intro.texi: Likewise.
84935 * manual/io.texi: Likewise.
84936 * manual/job.texi: Likewise.
84937 * manual/lang.texi: Likewise.
84938 * manual/libc.texiinfo: Likewise.
84939 * manual/llio.texi: Likewise.
84940 * manual/locale.texi: Likewise.
84941 * manual/maint.texi: Likewise.
84942 * manual/math.texi: Likewise.
84943 * manual/memory.texi: Likewise.
84944 * manual/message.texi: Likewise.
84945 * manual/nss.texi: Likewise.
84946 * manual/pattern.texi: Likewise.
84947 * manual/process.texi: Likewise.
84948 * manual/resource.texi: Likewise.
84949 * manual/search.texi: Likewise.
84950 * manual/setjmp.texi: Likewise.
84951 * manual/signal.texi: Likewise.
84952 * manual/socket.texi: Likewise.
84953 * manual/startup.texi: Likewise.
84954 * manual/stdio.texi: Likewise.
84955 * manual/string.texi: Likewise.
84956 * manual/sysinfo.texi: Likewise.
84957 * manual/syslog.texi: Likewise.
84958 * manual/terminal.texi: Likewise.
84959 * manual/time.texi: Likewise.
84960 * manual/users.texi: Likewise.
84961 * INSTALL: Regenerated.
84962 * NOTES: Regenerated.
84963 * sysdeps/gnu/errlist.c: Regenerated.
84964
84965 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
84966
84967 * include/dirent.h: Include <dirstream.h> before
84968 <dirent/dirent.h>.
84969
84970 2012-02-28 David S. Miller <davem@davemloft.net>
84971
84972 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84973 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84974 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84975 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84976
84977 2012-02-27 David S. Miller <davem@davemloft.net>
84978
84979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84981 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84982 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84983
84984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84985 frame pointer instead of stack pointer relative arg slot.
84986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84987 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84988 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84989
84990 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
84991
84992 [BZ #3992]
84993 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84994
84995 2012-02-27 David S. Miller <davem@davemloft.net>
84996
84997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
85000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
85001 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85002 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85003 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
85004 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
85005
85006 2012-02-27 Joseph Myers <joseph@codesourcery.com>
85007
85008 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
85009 later. Allow versions 5-9.
85010 * configure: Regenerated.
85011 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
85012 required minimum version and 4.6 as recommended version. Do not
85013 mention bugs in GCC 2.7 and 2.8.
85014 * INSTALL: Regenerated.
85015
85016 2012-02-27 David S. Miller <davem@davemloft.net>
85017
85018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
85019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
85020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
85021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
85022 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
85023 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
85024 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
85025 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
85026
85027 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
85028 manipulate bits before adding and subtracting TWO112[sx].
85029 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
85030
85031 2012-02-27 Roland McGrath <roland@hack.frob.com>
85032
85033 [BZ #13775]
85034 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
85035 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
85036 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
85037 being in POSIX, because they are in 1003.1-2008.
85038
85039 * rt/tst-aio.c: Include <fcntl.h>.
85040 * rt/tst-aio7.c: Likewise.
85041 * rt/tst-aio64.c: Likewise.
85042
85043 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
85044
85045 2012-02-27 Joseph Myers <joseph@codesourcery.com>
85046
85047 * manual/install.texi (--with-headers): Describe headers as
85048 interface headers, not private headers.
85049 (Specific advice for GNU/Linux systems): Describe use of headers
85050 from "make headers_install", not private headers from older
85051 kernels.
85052 * INSTALL: Regenerated.
85053 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
85054 Change to 2.6.19.
85055 * sysdeps/unix/sysv/linux/configure: Regenerated.
85056
85057 * manual/llio.texi (fclean): Remove documentation.
85058
85059 * manual/Makefile (libc-texi-generated): New variable. Include
85060 version.texi.
85061 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
85062 $(libc-texi-generated), not duplicated list of files.
85063 (version.texi, stamp-version): New rules.
85064 (realclean): Remove $(libc-texi-generated), not individual files
85065 from that list. Do not remove dir-add.texinfo.
85066 * manual/libc.texinfo: Comment out uses of edition numbers and
85067 references to printed manual. Remove last-updated dates.
85068 (EDITION): Comment out.
85069 (ISBN): Likewise.
85070 (VERSION, UPDATED): Remove.
85071 (version.texi): Include.
85072
85073 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
85074
85075 * sysdeps/posix/spawni.c: Include <signal.h>.
85076 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
85077 * sysdeps/pthread/aio_fsync.c: Likewise.
85078
85079 2012-02-26 Ulrich Drepper <drepper@gmail.com>
85080
85081 * conform/Makefile (tests): Run only when not cross-compiling and
85082 when fast-check is not defined.
85083
85084 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
85085 * conform/data/limits.h-data: Fixes for POSIX2008.
85086 * conform/run-conformtest.sh: Run all tests.
85087 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
85088 headers.
85089 * include/bits/dlfcn.h: Likewise.
85090 * include/langinfo.h: Likewise.
85091 * include/monetary.h: Likewise.
85092 * include/sys/poll.h: Likewise.
85093
85094 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
85095 for __USE_GNU.
85096 * posix/spawn.h: Define __need_sigset_t.
85097 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
85098 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
85099 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
85100 to get sigevent_t only.
85101 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
85102 only for __USE_GNU.
85103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85104 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85105 process_vm_writev only for __USE_GNU.
85106 * termios/termios.h: Declare tcgetsid also for POSIX2008.
85107
85108 * conform/Makefile: For now ignore errors from run-conformtest.
85109 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
85110 POSIX to avoid namespace pollution. Don't prepend headers.
85111 * conform/data/aio.h-data: Fixes for POSIX testing.
85112 * conform/data/fcntl.h-data: Likewise.
85113 * conform/data/glob.h-data: Likewise.
85114 * conform/data/grp.h-data: Likewise.
85115 * conform/data/pthread.h-data: Likewise.
85116 * conform/data/pwd.h-data: Likewise.
85117 * conform/data/signal.h-data: Likewise.
85118 * conform/data/spawn.h-data: Likewise.
85119 * conform/data/stdio.h-data: Likewise.
85120 * conform/data/stdlib.h-data: Likewise.
85121 * conform/data/stropts.h-data: Likewise.
85122 * conform/data/sys/mman.h-data: Likewise.
85123 * conform/data/sys/stat.h-data: Likewise.
85124 * conform/data/sys/types.h-data: Likewise.
85125 * conform/data/sys/wait.h-data: Likewise.
85126 * conform/data/time.h-data: Likewise.
85127 * conform/data/unistd.h-data: Likewise.
85128 * conform/data/utime.h-data: Likewise.
85129
85130 * io/sys/stat.h: fchmod was always in POSIX.
85131 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
85132 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
85133 * rt/aio.h: Define __need_timespec before including <time.h>.
85134 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
85135 struct. Add forward declaration of pthread_attr_t and use it in
85136 sigevent.
85137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85138 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85139 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
85140 always remove CLK_TCK definition.
85141
85142 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
85143
85144 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
85145
85146 2012-02-25 Ulrich Drepper <drepper@gmail.com>
85147
85148 * conform/run-conformtest.sh: New file.
85149 * conform/Makefile: Run run-conformtest for tests.
85150 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
85151 support.
85152
85153 * conform/data/uchar.h-data: New file.
85154 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
85155 * conform/data/arpa/inet.h-data: Likewise.
85156 * conform/data/assert.h-data: Likewise.
85157 * conform/data/complex.h-data: Likewise.
85158 * conform/data/cpio.h-data: Likewise.
85159 * conform/data/ctype.h-data: Likewise.
85160 * conform/data/dirent.h-data: Likewise.
85161 * conform/data/dlfcn.h-data: Likewise.
85162 * conform/data/errno.h-data: Likewise.
85163 * conform/data/fcntl.h-data: Likewise.
85164 * conform/data/float.h-data: Likewise.
85165 * conform/data/fmtmsg.h-data: Likewise.
85166 * conform/data/fnmatch.h-data: Likewise.
85167 * conform/data/ftw.h-data: Likewise.
85168 * conform/data/glob.h-data: Likewise.
85169 * conform/data/grp.h-data: Likewise.
85170 * conform/data/iconv.h-data: Likewise.
85171 * conform/data/inttypes.h-data: Likewise.
85172 * conform/data/langinfo.h-data: Likewise.
85173 * conform/data/libgen.h-data: Likewise.
85174 * conform/data/limits.h-data: Likewise.
85175 * conform/data/locale.h-data: Likewise.
85176 * conform/data/math.h-data: Likewise.
85177 * conform/data/monetary.h-data: Likewise.
85178 * conform/data/mqueue.h-data: Likewise.
85179 * conform/data/ndbm.h-data: Likewise.
85180 * conform/data/net/if.h-data: Likewise.
85181 * conform/data/netdb.h-data: Likewise.
85182 * conform/data/netinet/in.h-data: Likewise.
85183 * conform/data/nl_types.h-data: Likewise.
85184 * conform/data/poll.h-data: Likewise.
85185 * conform/data/pthread.h-data: Likewise.
85186 * conform/data/pwd.h-data: Likewise.
85187 * conform/data/regex.h-data: Likewise.
85188 * conform/data/sched.h-data: Likewise.
85189 * conform/data/search.h-data: Likewise.
85190 * conform/data/semaphore.h-data: Likewise.
85191 * conform/data/setjmp.h-data: Likewise.
85192 * conform/data/signal.h-data: Likewise.
85193 * conform/data/spawn.h-data: Likewise.
85194 * conform/data/stdarg.h-data: Likewise.
85195 * conform/data/stdio.h-data: Likewise.
85196 * conform/data/stdlib.h-data: Likewise.
85197 * conform/data/string.h-data: Likewise.
85198 * conform/data/strings.h-data: Likewise.
85199 * conform/data/stropts.h-data: Likewise.
85200 * conform/data/sys/ipc.h-data: Likewise.
85201 * conform/data/sys/mman.h-data: Likewise.
85202 * conform/data/sys/msg.h-data: Likewise.
85203 * conform/data/sys/resource.h-data: Likewise.
85204 * conform/data/sys/select.h-data: Likewise.
85205 * conform/data/sys/sem.h-data: Likewise.
85206 * conform/data/sys/shm.h-data: Likewise.
85207 * conform/data/sys/socket.h-data: Likewise.
85208 * conform/data/sys/stat.h-data: Likewise.
85209 * conform/data/sys/statvfs.h-data: Likewise.
85210 * conform/data/sys/time.h-data: Likewise.
85211 * conform/data/sys/timeb.h-data: Likewise.
85212 * conform/data/sys/times.h-data: Likewise.
85213 * conform/data/sys/types.h-data: Likewise.
85214 * conform/data/sys/uio.h-data: Likewise.
85215 * conform/data/sys/un.h-data: Likewise.
85216 * conform/data/sys/utsname.h-data: Likewise.
85217 * conform/data/sys/wait.h-data: Likewise.
85218 * conform/data/syslog.h-data: Likewise.
85219 * conform/data/tar.h-data: Likewise.
85220 * conform/data/termios.h-data: Likewise.
85221 * conform/data/utime.h-data: Likewise.
85222 * conform/data/utmpx.h-data: Likewise.
85223 * conform/data/varargs.h-data: Likewise.
85224 * conform/data/wchar.h-data: Likewise.
85225 * conform/data/wctype.h-data: Likewise.
85226 * conform/data/wordexp.h-data: Likewise.
85227
85228 * include/stropts.h: New file.
85229 * include/uchar.h: New file.
85230 * include/aio.h: Changes to allow conformtest.pl to use the headers.
85231 * include/assert.h: Likewise.
85232 * include/ctype.h: Likewise.
85233 * include/dirent.h: Likewise.
85234 * include/dlfcn.h: Likewise.
85235 * include/fcntl.h: Likewise.
85236 * include/fnmatch.h: Likewise.
85237 * include/glob.h: Likewise.
85238 * include/grp.h: Likewise.
85239 * include/libio.h: Likewise.
85240 * include/locale.h: Likewise.
85241 * include/math.h: Likewise.
85242 * include/net/if.h: Likewise.
85243 * include/netdb.h: Likewise.
85244 * include/netinet/in.h: Likewise.
85245 * include/pthread.h: Likewise.
85246 * include/pwd.h: Likewise.
85247 * include/regex.h: Likewise.
85248 * include/sched.h: Likewise.
85249 * include/search.h: Likewise.
85250 * include/setjmp.h: Likewise.
85251 * include/signal.h: Likewise.
85252 * include/stdio.h: Likewise.
85253 * include/stdlib.h: Likewise.
85254 * include/string.h: Likewise.
85255 * include/sys/cdefs.h: Likewise.
85256 * include/sys/mman.h: Likewise.
85257 * include/sys/msg.h: Likewise.
85258 * include/sys/resource.h: Likewise.
85259 * include/sys/select.h: Likewise.
85260 * include/sys/socket.h: Likewise.
85261 * include/sys/stat.h: Likewise.
85262 * include/sys/statvfs.h: Likewise.
85263 * include/sys/time.h: Likewise.
85264 * include/sys/times.h: Likewise.
85265 * include/sys/uio.h: Likewise.
85266 * include/sys/utsname.h: Likewise.
85267 * include/sys/wait.h: Likewise.
85268 * include/termios.h: Likewise.
85269 * include/time.h: Likewise.
85270 * include/ulimit.h: Likewise.
85271 * include/unistd.h: Likewise.
85272 * include/utime.h: Likewise.
85273 * include/wchar.h: Likewise.
85274 * include/wctype.h: Likewise.
85275 * include/wordexp.h: Likewise.
85276
85277 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85278
85279 * time/time.h: TIME_UTC must be a macro.
85280 Make timespec_get available for ISO C11 only as well.
85281
85282 2012-02-24 Ulrich Drepper <drepper@gmail.com>
85283
85284 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85285 Reported by Peng Haitao <penght@cn.fujitsu.com>.
85286
85287 2012-02-24 Joseph Myers <joseph@codesourcery.com>
85288
85289 * configure.in: Use -o not -a in test for unsupported multi-arch.
85290
85291 2012-02-24 Joseph Myers <joseph@codesourcery.com>
85292
85293 * manual/texinfo.tex: Update to version 2012-01-19.16.
85294
85295 2012-02-24 Joseph Myers <joseph@codesourcery.com>
85296
85297 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85298
85299 2012-02-24 Roland McGrath <roland@hack.frob.com>
85300
85301 [BZ #13738]
85302 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85303 * manual/fdl-1.3.texi: New file.
85304 * manual/fdl-1.1.texi: File removed.
85305
85306 [BZ #13738]
85307 * manual/libc.texinfo (FDL_VERSION): New @set.
85308 Use it for mention of FDL in cover text.
85309 (Documentation License): Use it in @include file name.
85310
85311 2012-02-22 Joseph Myers <joseph@codesourcery.com>
85312 Roland McGrath <roland@hack.frob.com>
85313
85314 [BZ #5461]
85315 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85316 (not LONG_LONG_MAX and LONG_LONG_MIN.
85317 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85318 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
85319 name.
85320 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85321
85322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
85323
85324 [BZ #2547]
85325 [BZ #11365]
85326 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85327 manipulate bits before adding and subtracting TWO23[sx].
85328 * math/libm-test.inc (nearbyint_test): Add more tests.
85329
85330 2012-02-22 Joseph Myers <joseph@codesourcery.com>
85331
85332 [BZ #2548]
85333 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85334 bits before adding and subtracting TWO23[sx].
85335 * math/libm-test.inc (rint_test): Add more tests.
85336 (rint_test_tonearest): Likewise.
85337 (rint_test_towardzero): Likewise.
85338 (rint_test_downward): Likewise.
85339 (rint_test_upward: Likewise.
85340
85341 2012-02-22 Joseph Myers <joseph@codesourcery.com>
85342
85343 [BZ #10110]
85344 * include/stdc-predef.h: New file. Extracted from features.h.
85345 * include/features.h: Include stdc-predef.h.
85346 * Makefile (headers): Add stdc-predef.h.
85347 * CONFORMANCE (Compiler limitations): Update.
85348
85349 2012-02-22 Joseph Myers <joseph@codesourcery.com>
85350
85351 * manual/libc.texinfo (VERSION, UPDATED): Revert.
85352
85353 2012-02-21 David S. Miller <davem@davemloft.net>
85354
85355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85357
85358 2012-02-20 David S. Miller <davem@davemloft.net>
85359
85360 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85361 using a normal save/restore sequence, rather than allocating a
85362 dummy stack frame just to store a frame pointer and restore.
85363 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85364
85365 2012-02-21 Joseph Myers <joseph@codesourcery.com>
85366
85367 * manual/install.texi: Fix stray word in line-wrapped comment.
85368
85369 2012-02-20 David S. Miller <davem@davemloft.net>
85370
85371 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85372 both binutils and gcc support GOTDATA.
85373
85374 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85375 "rd %pc" in the PIC register setup sequences.
85376
85377 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85378 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85379 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85380 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85381 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85384 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85386 (SYSCALL_ERROR_HANDLER): Likewise.
85387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85388 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85390 (SYSCALL_ERROR_HANDLER): Likewise.
85391
85392 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
85393 (HAVE_GCC_GOTDATA): New.
85394 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
85395 relocation support in both binutils and gcc.
85396 * sysdeps/sparc/elf/configure: Regenerate.
85397
85398 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
85399 * sysdeps/sparc/sparc32/elf/configure: Delete.
85400 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
85401 * sysdeps/sparc/sparc64/elf/configure: Delete.
85402 * sysdeps/sparc/elf/configure.in: New file.
85403 * sysdeps/sparc/elf/configure: Generate.
85404
85405 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
85406 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
85407 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85408 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
85409 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
85410
85411 2012-02-21 Joseph Myers <joseph@codesourcery.com>
85412
85413 * manual/install.texi: Do not mention specific glibc version
85414 numbers.
85415 * manual/libc.texinfo (VERSION, UPDATED): Update.
85416 (@copying): Use @copyright{} and range of years.
85417
85418 2012-02-21 Joseph Myers <joseph@codesourcery.com>
85419
85420 [BZ #13695]
85421 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
85422 [crti.S not in sysdirs] (generated): Do not append.
85423 [crti.S not in sysdirs] (omit-deps): Likewise.
85424 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
85425 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
85426 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
85427 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
85428 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
85429 Likewise.
85430 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
85431 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
85432 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
85433 * csu/defs.awk: Remove file.
85434 * sysdeps/generic/initfini.c: Likewise.
85435 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
85436 variable.
85437 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
85438 Likewise.
85439
85440 2012-02-20 Joseph Myers <joseph@codesourcery.com>
85441
85442 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
85443 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
85444 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
85445 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
85446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85447 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
85448 <bits/epoll.h>.
85449 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
85450 (__EPOLL_PACKED): Define to empty if not defined by
85451 <bits/epoll.h>.
85452 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
85453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85454 bits/epoll.h.
85455
85456 2012-02-20 Joseph Myers <joseph@codesourcery.com>
85457
85458 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
85459 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
85460 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
85461 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
85462 <bits/timerfd.h>.
85463 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
85464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85465 bits/timerfd.h.
85466
85467 2012-02-20 Joseph Myers <joseph@codesourcery.com>
85468
85469 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
85470 in C locale.
85471 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
85473 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
85474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85475
85476 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
85477
85478 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85479 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85480
85481 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
85482
85483 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
85484 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
85485 defined.
85486 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
85487 Likewise.
85488 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
85489 entry for 2.16.
85490
85491 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
85492
85493 * math/w_acos.c: Use non-signaling floating-point comparisons.
85494 * math/w_acosf.c: Likewise.
85495 * math/w_acosh.c: Likewise.
85496 * math/w_acoshf.c: Likewise.
85497 * math/w_acoshl.c: Likewise.
85498 * math/w_acosl.c: Likewise.
85499 * math/w_asin.c: Likewise.
85500 * math/w_asinf.c: Likewise.
85501 * math/w_asinl.c: Likewise.
85502 * math/w_atanh.c: Likewise.
85503 * math/w_atanhf.c: Likewise.
85504 * math/w_atanhl.c: Likewise.
85505 * math/w_exp2.c: Likewise.
85506 * math/w_exp2f.c: Likewise.
85507 * math/w_exp2l.c: Likewise.
85508 * math/w_j0.c: Likewise.
85509 * math/w_j0f.c: Likewise.
85510 * math/w_j0l.c: Likewise.
85511 * math/w_j1.c: Likewise.
85512 * math/w_j1f.c: Likewise.
85513 * math/w_j1l.c: Likewise.
85514 * math/w_jn.c: Likewise.
85515 * math/w_jnf.c: Likewise.
85516 * math/w_log.c: Likewise.
85517 * math/w_log10.c: Likewise.
85518 * math/w_log10f.c: Likewise.
85519 * math/w_log10l.c: Likewise.
85520 * math/w_log2.c: Likewise.
85521 * math/w_log2f.c: Likewise.
85522 * math/w_log2l.c: Likewise.
85523 * math/w_logf.c: Likewise.
85524 * math/w_logl.c: Likewise.
85525 * math/w_sqrt.c: Likewise.
85526 * math/w_sqrtf.c: Likewise.
85527 * math/w_sqrtl.c: Likewise.
85528 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85529 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
85530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85531 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85532 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85533
85534 2012-02-19 Joseph Myers <joseph@codesourcery.com>
85535
85536 [BZ #9739]
85537 * manual/string.texi (strnlen): Use correct parameter name in
85538 equivalent expression.
85539
85540 2012-02-19 Joseph Myers <joseph@codesourcery.com>
85541
85542 [BZ #11174]
85543 * manual/users.texi (seteuid): Consistently use neweuid for
85544 argument name.
85545
85546 2012-02-19 Joseph Myers <joseph@codesourcery.com>
85547
85548 [BZ #13704]
85549 * manual/nss.texi (Services in the NSS configuration): Correct
85550 list of services in example configuration file.
85551
85552 2012-02-19 Nick Bowler <nbowler@draconx.ca>
85553
85554 [BZ #11322]
85555 * manual/arith.texi: Remove statements about negative zero
85556 behaving identically to zero.
85557
85558 2012-02-18 Joseph Myers <joseph@codesourcery.com>
85559
85560 [BZ #5993]
85561 * manual/install.texi: Do not document upgrading from libc5.
85562
85563 2012-02-18 Joseph Myers <joseph@codesourcery.com>
85564
85565 [BZ #4596]
85566 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85567
85568 2012-02-18 David S. Miller <davem@davemloft.net>
85569
85570 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85571 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85572 %o7 across the call.
85573 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85574 instead.
85575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85576 SETUP_PIC_REG_LEAF.
85577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85578 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85579 * sysdeps/sparc/crtn.S: Likewise.
85580
85581 2012-02-17 Ulrich Drepper <drepper@gmail.com>
85582
85583 * aout/Makefile: Remove.
85584
85585 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
85586
85587 [BZ #13058]
85588 * manual/examples/argp-ex1.c (main): Format definition in GNU
85589 style.
85590 * manual/examples/argp-ex2.c (main): Likewise.
85591 * manual/examples/argp-ex3.c (main): Likewise.
85592 * manual/examples/argp-ex4.c (main): Likewise.
85593 * manual/examples/longopt.c (main): Use new-style prototype
85594 definition.
85595 * manual/examples/strncat.c (main): Specify return type and use
85596 (void) for arguments.
85597 * manual/examples/subopt.c (main): Use char **argv argument.
85598
85599 2012-02-17 Joseph Myers <joseph@codesourcery.com>
85600
85601 [BZ #5077]
85602 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85603 rounding modes.
85604
85605 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
85606
85607 [BZ #6907]
85608 * manual/string.texi (strchr): Change when strchrnul is
85609 recommended.
85610
85611 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
85612
85613 [BZ #174]
85614 * manual/locale.texi (setlocale): Document LOCPATH.
85615
85616 2012-02-17 Joseph Myers <joseph@codesourcery.com>
85617
85618 [BZ #10210]
85619 * manual/process.texi (execle): Move @dots{} before last argument.
85620
85621 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
85622
85623 [BZ #12047]
85624 * manual/charset.texi (Generic Charset Conversion): Fix typo
85625 (LC_TYPE -> LC_CTYPE).
85626
85627 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
85628
85629 [BZ #5805]
85630 * manual/arith.texi (scalbn): Use @var{} on parameter names.
85631 (scalbnf): Likewise.
85632 (scalbnl): Likewise.
85633 (scalbln): Likewise.
85634 (scalblnf): Likewise.
85635 (scalblnl): Likewise.
85636 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85637 (vwarnx): Likewise.
85638 (verr): Likewise.
85639 (verrx): Likewise.
85640 * manual/filesys.texi (telldir): Use braces around return type.
85641 * manual/llio.texi (mmap): Add space after comma.
85642 (mmap64): Likewise.
85643 * manual/math.texi (jn): Use @var{} on parameter names.
85644 (jnf): Likewise.
85645 (jnl): Likewise.
85646 (yn): Likewise.
85647 (ynf): Likewise.
85648 (ynl): Likewise.
85649 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85650 line.
85651 * manual/resource.texi (ulimit): Use @dots{} instead of literal
85652 "...".
85653 (sched_get_priority_min): Remove semicolon on @deftypefun line.
85654 (sched_get_priority_max): Likewise.
85655 * manual/signal.texi (sigvec): Add space after comma.
85656 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85657 names.
85658 (if_indextoname): Likewise.
85659 (if_freenameindex): Likewise.
85660 (sendto): Use ',' instead of '.' in prototype.
85661 * manual/startup.texi (syscall): Use @dots{} instead of literal
85662 "...".
85663 * manual/stdio.texi (__fpending): Separate initial words of
85664 paragraph from @deftypefun line.
85665 * manual/syslog.texi (syslog): Use @dots{} instead of literal
85666 "...".
85667 (vsyslog): Use @var{} on parameter names.
85668 * manual/terminal.texi (stty): Use @var{} on parameter names.
85669 * manual/users.texi (getutmp): Use @var{} on parameter names.
85670 (getutmpx): Likewise.
85671
85672 2012-02-17 Joseph Myers <joseph@codesourcery.com>
85673
85674 [BZ #6884]
85675 * manual/stdio.texi (fopen): Fix typos in description of
85676 ",ccs=STRING".
85677
85678 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
85679
85680 [BZ #4026]
85681 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85682 get clock_id definition.
85683
85684 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
85685
85686 [BZ #4822]
85687 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85688 (madvise): Cast every argument to void on its own.
85689
85690 2012-02-17 Joseph Myers <joseph@codesourcery.com>
85691
85692 [BZ #9902]
85693 * manual/startup.texi (Exit Status): Fix typo.
85694
85695 2012-02-17 Joseph Myers <joseph@codesourcery.com>
85696
85697 [BZ #10140]
85698 * manual/examples/argp-ex1.c: Include <stdlib.h>.
85699 * manual/examples/argp-ex2.c: Likewise.
85700 * manual/examples/argp-ex3.c: Likewise.
85701
85702 2012-02-16 Richard Henderson <rth@redhat.com>
85703
85704 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85705 * sysdeps/s390/s390-32/initfini.c: Remove.
85706 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85707 * sysdeps/s390/s390-64/initfini.c: Remove.
85708
85709 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
85710
85711 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85712 compiler output for sysdeps/generic/initfini.c.
85713 * sysdeps/sh/elf/initfini.c: Remove file.
85714
85715 2012-02-16 David S. Miller <davem@davemloft.net>
85716
85717 [BZ #11494]
85718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85719
85720 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85721 * sysdeps/sparc/crti.S: New file.
85722 * sysdeps/sparc/crtn.S: New file.
85723 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85724 * sysdeps/sparc/sparc64/Makefile: Likewise.
85725
85726 2012-02-15 Mike Frysinger <vapier@gentoo.org>
85727
85728 [BZ #3335]
85729 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85730
85731 2012-02-15 Roland McGrath <roland@hack.frob.com>
85732
85733 [BZ #4822]
85734 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85735
85736 * mach/devstream.c (cookie_io_functions_t): Macro removed.
85737 (write, read, close): Likewise.
85738 Patch by Aurelien Jarno <aurelien@aurel32.net>.
85739
85740 2012-02-15 Joseph Myers <joseph@codesourcery.com>
85741
85742 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85743 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85744 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85745 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85746 <bits/signalfd.h>.
85747 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85749 bits/signalfd.h.
85750
85751 2012-02-14 Marek Polacek <polacek@redhat.com>
85752
85753 * sysdeps/x86_64/crti.S: New file.
85754 * sysdeps/x86_64/crtn.S: New file.
85755 * sysdeps/x86_64/elf/initfini.c: Remove file.
85756
85757 2012-02-13 Joseph Myers <joseph@codesourcery.com>
85758
85759 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85760 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85761 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85762 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85763 <bits/inotify.h>.
85764 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85766 bits/inotify.h.
85767
85768 2012-02-13 Joseph Myers <joseph@codesourcery.com>
85769
85770 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85771 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85772 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85773 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85774 <bits/eventfd.h>.
85775 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85777 bits/eventfd.h.
85778
85779 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
85780
85781 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85782 __feraiseexcept instead of feraiseexcept.
85783
85784 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85785 nanosleep invocations.
85786 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85787 strings, and add error checking for a nanosleep invocations.
85788
85789 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
85790
85791 Replace FSF snail mail address with URLs, as per GNU coding standards.
85792 Most of the snail mail addresses were wrong anyway, and omitting
85793 them makes the source code easier to maintain. Almost all of the
85794 changes are to license notices and to locale LC_IDENTIFICATION
85795 addresses, except for this one:
85796 * manual/libc.texinfo: In "Published by", give the FSF's URL,
85797 not its snail mail address.
85798
85799 2012-02-09 Richard Henderson <rth@twiddle.net>
85800
85801 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85802 of kernel-features.h.
85803
85804 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85805
85806 2012-02-08 Marek Polacek <polacek@redhat.com>
85807
85808 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85809 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85810 * sysdeps/gnu/_G_config.h: Likewise.
85811 * sysdeps/generic/_G_config.h: Likewise.
85812
85813 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
85814
85815 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85816 tests.
85817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85818
85819 * sysdeps/powerpc/powerpc32/crti.S: New file.
85820 * sysdeps/powerpc/powerpc32/crtn.S: New file.
85821 * sysdeps/powerpc/powerpc64/crti.S: New file.
85822 * sysdeps/powerpc/powerpc64/crtn.S: New file.
85823
85824 * Makeconfig (have-initfini): Don't set.
85825 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85826 * configure.in (nopic_initfini): Don't substitute.
85827 * config.h.in (HAVE_INITFINI): Don't #undef.
85828 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85829 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85830
85831 2012-02-08 Joseph Myers <joseph@codesourcery.com>
85832
85833 Support crti.S and crtn.S provided directly by architectures.
85834 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85835 [crti.S in sysdirs] (omit-deps): Likewise.
85836 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85837 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85838 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85839 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85840 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85841 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85842 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85843 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85844 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85845 compiler output for sysdeps/generic/initfini.c.
85846 * sysdeps/i386/elf/Makefile: Remove file.
85847 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85848
85849 2012-02-07 Marek Polacek <polacek@redhat.com>
85850
85851 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85852 * sysdeps/gnu/_G_config.h: Likewise.
85853 * sysdeps/mach/hurd/_G_config.h: Likewise.
85854
85855 2012-02-07 Marek Polacek <polacek@redhat.com>
85856
85857 * math/Makefile (tests): Add tst-CMPLX2.
85858 * math/tst-CMPLX2.c: New file.
85859
85860 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
85861
85862 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85863
85864 * math/libm-test.inc (jn_test): Add missing L suffix.
85865
85866 2012-02-06 Marek Polacek <polacek@redhat.com>
85867
85868 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85869 * sysdeps/i386/fpu/e_powf.S: Likewise.
85870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85871 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85872 * sysdeps/i386/fpu/e_acosh.S: Likewise.
85873 * sysdeps/i386/fpu/e_pow.S: Likewise.
85874 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85875 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85876 * sysdeps/i386/fpu/s_expm1.S: Likewise.
85877 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85878 * sysdeps/i386/fpu/e_log2.S: Likewise.
85879 * sysdeps/i386/fpu/e_log2l.S: Likewise.
85880 * sysdeps/i386/fpu/e_scalb.S: Likewise.
85881 * sysdeps/i386/fpu/e_powl.S: Likewise.
85882 * sysdeps/i386/fpu/s_log1p.S: Likewise.
85883 * sysdeps/i386/fpu/e_log10f.S: Likewise.
85884 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85885 * sysdeps/i386/fpu/e_logl.S: Likewise.
85886 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85887 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85888 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85889 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85890 * sysdeps/i386/fpu/e_log2f.S: Likewise.
85891 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85892 * sysdeps/i386/fpu/e_log.S: Likewise.
85893 * sysdeps/i386/fpu/s_cexp.S: Likewise.
85894 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85895 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85896 * sysdeps/i386/fpu/e_logf.S: Likewise.
85897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
85898 * sysdeps/i386/fpu/e_atanh.S: Likewise.
85899 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85900 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85901 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85902 * sysdeps/i386/fpu/e_log10.S: Likewise.
85903 * sysdeps/i386/fpu/s_frexp.S: Likewise.
85904 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85905 * sysdeps/i386/fpu/s_asinh.S: Likewise.
85906 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85907 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85908 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85909 * sysdeps/i386/asm-syntax.h: Likewise.
85910 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85911 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85912 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85913 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85914 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85915 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85916 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85917 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85918 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85919 * sysdeps/powerpc/sysdep.h: Likewise.
85920 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85921 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85922
85923 2012-02-06 Joseph Myers <joseph@codesourcery.com>
85924
85925 [BZ #411]
85926 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85927
85928 2012-02-06 Joseph Myers <joseph@codesourcery.com>
85929
85930 * sysdeps/i386/sysdep.h: Include <features.h>.
85931 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85932 version.
85933
85934 2012-02-05 Joseph Myers <joseph@codesourcery.com>
85935
85936 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85937 Define.
85938 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85939 LOAD_PIC_REG_STR.
85940
85941 2012-02-03 Joseph Myers <joseph@codesourcery.com>
85942
85943 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85944 (SETUP_PIC_REG): Use GET_PC_THUNK.
85945 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85946 macro.
85947
85948 2012-02-03 Joseph Myers <joseph@codesourcery.com>
85949
85950 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85951 for non-PIC compilation.
85952 (SETUP_PIC_REG): Add .p2align directive.
85953 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85954 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85955 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85956 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85957 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85958 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85959 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85968 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85969 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85970 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85971 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85972 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85974 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85975 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85976 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85979 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85981 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85982 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85983 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85985 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85986 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85987 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85988 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85989 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85990 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85991 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85992 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85993 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85994
85995 2012-02-03 Joseph Myers <joseph@codesourcery.com>
85996
85997 * math/tst-CMPLX.c: Include <stdio.h>.
85998
85999 2012-01-31 Joseph Myers <joseph@codesourcery.com>
86000
86001 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
86002 float.
86003 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86004 * sysdeps/sparc/bits/mathdef.h: Likewise.
86005
86006 2012-01-31 Marek Polacek <polacek@redhat.com>
86007
86008 * libio/libio.h: Don't define _PARAMS.
86009 * locale/programs/config.h: Don't define PARAMS.
86010 * stdlib/strtol_l.c: Likewise.
86011 (__strtol_l): Remove PARAMS from the prototype.
86012
86013 2012-01-31 Ulrich Drepper <drepper@gmail.com>
86014
86015 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
86016 names. Just use the correct names. Remove unnecessary wrapper
86017 functions.
86018 * malloc/arena.c: Likewise.
86019 * malloc/hooks.c: Likewise.
86020
86021 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
86022 ARENA_TEST says not to. Simplify test for creation of a new arena.
86023 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
86024
86025 2012-01-30 Ulrich Drepper <drepper@gmail.com>
86026
86027 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
86028 into tail calls.
86029 (update_get_addr): New function.
86030 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
86031 GET_ADDR_MODULE parameter.
86032
86033 2012-01-30 Joseph Myers <joseph@codesourcery.com>
86034
86035 * crypt/cert.c: Remove __STDC__ conditionals.
86036 * crypt/crypt-entry.c: Likewise.
86037 * crypt/crypt_util.c: Likewise.
86038 * libio/filedoalloc.c: Likewise.
86039 * libio/fileops.c: Likewise.
86040 * libio/genops.c: Likewise.
86041 * libio/iofclose.c: Likewise.
86042 * libio/iofdopen.c: Likewise.
86043 * libio/iofopen.c: Likewise.
86044 * libio/iofopen64.c: Likewise.
86045 * libio/iogetdelim.c: Likewise.
86046 * libio/iopopen.c: Likewise.
86047 * libio/obprintf.c: Likewise.
86048 * libio/oldfileops.c: Likewise.
86049 * libio/oldiofclose.c: Likewise.
86050 * libio/oldiofdopen.c: Likewise.
86051 * libio/oldiofopen.c: Likewise.
86052 * libio/oldiopopen.c: Likewise.
86053 * libio/wfiledoalloc.c: Likewise.
86054 * libio/wgenops.c: Likewise.
86055 * locale/programs/xmalloc.c: Likewise.
86056 * misc/syslog.c: Likewise.
86057 * stdio-common/xbug.c: Likewise.
86058 * string/memchr.c: Likewise.
86059 * string/memcmp.c: Likewise.
86060 * string/memrchr.c: Likewise.
86061 * string/rawmemchr.c: Likewise.
86062 * sysdeps/posix/getcwd.c: Likewise.
86063 * time/strftime_l.c: Likewise.
86064
86065 2012-01-30 Joseph Myers <joseph@codesourcery.com>
86066
86067 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
86068 * config.make.in (config-cflags-sse2avx): Define.
86069 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
86070 Fix typo.
86071
86072 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
86073
86074 * scripts/config.guess: Update from upstream config git repository.
86075 * scripts/config.sub: Likewise.
86076
86077 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
86078
86079 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
86080 (EM_NUM): Update.
86081 (R_TILEPRO_*, R_TILEGX_*): New macros.
86082
86083 * scripts/firstversions.awk: Fix bug in version range handling.
86084
86085 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
86086
86087 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
86088
86089 * include/sys/epoll.h: New file.
86090 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
86091 libc_hidden_def.
86092
86093 2012-01-28 Ulrich Drepper <drepper@gmail.com>
86094
86095 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
86096 Avoid unnecessary __WORDSIZE == 64 test.
86097 (fmaxf): Use VEX format if possible.
86098 (fmax): Likewise.
86099 (fminf): Likewise.
86100 (fmin): Likewise.
86101
86102 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
86103 * math/math_private.h: Remove libc_fegetround* and
86104 libc_fesetround*.
86105 * sysdeps/i386/configure.in: Check for -msse2avx.
86106 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
86107 also if SSE2AVX is defined.
86108 Remove libc_fegetround* and libc_fesetround*.
86109 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
86110 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
86111 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
86112 of HAS_YMM_USABLE.
86113 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86114 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86118
86119 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
86120
86121 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86122
86123 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
86124 size is not set.
86125 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86126
86127 2012-01-27 Ulrich Drepper <drepper@gmail.com>
86128
86129 [BZ #13618]
86130 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
86131 relocation.
86132 * Makeconfig (libm): Define.
86133 * elf/Makefile: Add rules to build and run tst-relsort1.
86134 * elf/tst-relsort1.c: New file.
86135 * elf/tst-relsort1mod1.c: New file.
86136 * elf/tst-relsort1mod2.c: New file.
86137
86138 2012-01-27 Joseph Myers <joseph@codesourcery.com>
86139
86140 * math/s_ldexp.c: Remove __STDC__ conditionals.
86141 * math/s_ldexpf.c: Likewise.
86142 * math/s_ldexpl.c: Likewise.
86143 * math/s_nextafter.c: Likewise.
86144 * math/s_nexttowardf.c: Likewise.
86145 * math/s_significand.c: Likewise.
86146 * math/s_significandf.c: Likewise.
86147 * math/s_significandl.c: Likewise.
86148 * math/w_jnl.c: Likewise.
86149 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86150 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86151 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86152 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86153 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86154 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86155 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
86156 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86157 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86158 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86159 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86161 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86162 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86163 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86165 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86168 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86169 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86170 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86171 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86172 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86173 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86174 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86175 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86176 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86177 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86178 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86180 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86181 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86182 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86183 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86184 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86185 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86186 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86187 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86188 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86189 * sysdeps/ieee754/k_standard.c: Likewise.
86190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86191 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86192 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86194 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86195 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86197 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86198 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86199 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86202 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86203 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86204 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86209 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86210 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86211 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86212 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86213 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86214 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86215 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86219 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86220 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86221 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86222 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86223 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86224 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86226 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86227 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86229 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86230 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86232 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86233 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86235 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86238 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86239 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86240 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86243 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86244 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86245 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86246 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86247 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86248 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86251 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86252 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86257 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86258 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86259 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86260 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86265 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86266 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86267 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86268 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86269 * sysdeps/ieee754/s_matherr.c: Likewise.
86270 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86271 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86274
86275 2012-01-26 Joseph Myers <joseph@codesourcery.com>
86276
86277 * crypt/md5.h: Remove __STDC__ conditionals.
86278 * libio/libioP.h: Likewise.
86279 * locale/programs/config.h: Likewise.
86280 * sysdeps/generic/sysdep.h: Likewise.
86281 * sysdeps/i386/asm-syntax.h: Likewise.
86282 * sysdeps/s390/asm-syntax.h: Likewise.
86283 * sysdeps/unix/sysdep.h: Likewise.
86284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86286
86287 2012-01-26 Joseph Myers <joseph@codesourcery.com>
86288
86289 * libio/libio.h: Remove __STDC__ conditionals.
86290 * malloc/obstack.h: Likewise.
86291 * math/complex.h: Likewise.
86292 * math/math.h: Likewise.
86293 * sysdeps/generic/_G_config.h: Likewise.
86294 * sysdeps/gnu/_G_config.h: Likewise.
86295 * sysdeps/mach/hurd/_G_config.h: Likewise.
86296 * sysdeps/powerpc/bits/mathdef.h: Likewise.
86297 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86298 * sysdeps/sparc/bits/mathdef.h: Likewise.
86299
86300 2012-01-26 Ulrich Drepper <drepper@gmail.com>
86301
86302 [BZ #13583]
86303 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86304 Clean up HAS_* macros.
86305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86306 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86307 possible.
86308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86309 HAS_AVX.
86310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86311 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86312 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86314 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86315
86316 2012-01-25 Joseph Myers <joseph@codesourcery.com>
86317
86318 * elf/tst-unique3.cc (gets): Remove declaration.
86319 * elf/tst-unique3lib.cc (gets): Likewise.
86320 * elf/tst-unique3lib2.cc (gets): Likewise.
86321 * elf/tst-unique4.cc (gets): Likewise.
86322
86323 2012-01-24 Ulrich Drepper <drepper@gmail.com>
86324
86325 * include/stdio.h: Add C++ protection. Add gets declarations and
86326 definitions.
86327 * debug/tst-chk1.c: Don't declare gets here.
86328 * stdio-common/tst-gets.c: Likewise.
86329
86330 2012-01-24 Joseph Myers <joseph@codesourcery.com>
86331
86332 * posix/glob: Remove directory.
86333
86334 2012-01-24 Joseph Myers <joseph@codesourcery.com>
86335
86336 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86337
86338 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
86339
86340 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86341 of the non-standard EPFNOSUPPORT.
86342
86343 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
86344
86345 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86346 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86347 ANYWHERE set to 1 only on KERN_NO_SPACE error.
86348
86349 2012-01-21 Ulrich Drepper <drepper@gmail.com>
86350
86351 * wcsmbs/uchar.h: Test __STDC_VERSION__.
86352
86353 2012-01-20 Ulrich Drepper <drepper@gmail.com>
86354
86355 * nscd/aicache.c (addhstaiX): Do not cache negative results of
86356 transient errors.
86357 * nscd/grpcache.c (cache_addgr): Likewise.
86358 * nscd/hstcache.c (cache_addhst): Likewise.
86359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
86360 * nscd/pwdcache.c (cache_addpw): Likewise.
86361 * nscd/servicescache.c (cache_addserv): Likewise.
86362
86363 2012-01-16 Ulrich Drepper <drepper@gmail.com>
86364
86365 * malloc/malloc.c: Various cleanups.
86366 * malloc/hooks.c: Likewise.
86367
86368 * stdlib/Makefile (tests): Add bug-fmtmsg1.
86369 * stdlib/bug-fmtmsg1.c: New file.
86370
86371 * stdlib/fmtmsg.c (init): Add missing unlock.
86372 Patch by Peng Haitao <penght@cn.fujitsu.com>.
86373
86374 2012-01-12 Marek Polacek <polacek@redhat.com>
86375
86376 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86377 and _GNU_SOURCE.
86378
86379 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
86380
86381 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86382 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86383 macro to ensure uniqueness of label name.
86384 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86385 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86386
86387 2012-01-11 Ulrich Drepper <drepper@gmail.com>
86388
86389 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86390
86391 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
86392 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86393 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
86395
86396 2012-01-10 Ulrich Drepper <drepper@gmail.com>
86397
86398 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
86399
86400 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
86401 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86402 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86403
86404 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
86405
86406 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
86407 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86408 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
86410
86411 * math/bits/math-finite.h: Add ldexp support.
86412
86413 2012-01-10 Marek Polacek <polacek@redhat.com>
86414
86415 * locale/programs/localedef.h (show_archive_content): Add noreturn
86416 attribute.
86417
86418 2012-01-09 Ulrich Drepper <drepper@gmail.com>
86419
86420 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
86421
86422 2012-01-08 Ulrich Drepper <drepper@gmail.com>
86423
86424 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
86425
86426 * io/Makefile (headers): Add bits/poll2.h.
86427
86428 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
86429
86430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
86431 typo #include statement.
86432
86433 2012-01-08 Ulrich Drepper <drepper@gmail.com>
86434
86435 * include/sys/cdefs.h: Define __attribute_alloc_size.
86436 * catgets/gencat.c: Add alloc_size attribute and apply consistently
86437 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
86438 * elf/pldd.c: Likewise.
86439 * iconv/iconv_charmap.c: Likewise.
86440 * iconv/iconvconfig.c: Likewise.
86441 * iconv/strtab.c: Likewise.
86442 * locale/programs/locale.c: Likewise.
86443 * locale/programs/localedef.h: Likewise.
86444 * locale/programs/simple-hash.c: Likewise.
86445 * nscd/nscd.h: Likewise.
86446 * nss/makedb.c: Likewise.
86447 * sysdeps/generic/ldconfig.h: Likewise.
86448 * locale/programs/localedef.c: Remove xmalloc prototype.
86449 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
86450
86451 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
86452
86453 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
86454 appropriate.
86455
86456 2012-01-08 Ulrich Drepper <drepper@gmail.com>
86457
86458 * math/Makefile (tests): Add tst-CMPLX.
86459 * math/tst-CMPLX.c: New file.
86460
86461 * math/complex.h (CMPLXL): Fix typo.
86462
86463 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
86464 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
86465 GLIBC_2.16.
86466 * debug/tst-chk1.c: Add poll and ppoll tests.
86467 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
86468 * include/sys/poll.h: Add hidden proto for ppoll.
86469 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
86470 * sysdeps/mach/hurd/ppoll.c: Likewise.
86471 * io/ppoll.c: Likewise.
86472 * debug/poll_chk.c: New file.
86473 * debug/ppoll_chk.c: New file.
86474 * include/bits/poll2.h: New file.
86475 * io/bits/poll2.h: New file.
86476
86477 [BZ #1350]
86478 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
86479
86480 * configure.in: static is always set to yes. Remove.
86481 * config.make.in: Don't set build-static.
86482 * Makeconfig: Remove use of build-static.
86483 * dlfcn/Makefile: Likewise.
86484 * elf/Makefile: Likewise.
86485 * math/Makefile: Likewise.
86486 * misc/Makefile: Likewise.
86487 * nptl/Makefile: Likewise.
86488 * sysdeps/mach/hurd/Makefile: Likewise.
86489
86490 * configure.in: PWD_P is not used anymore.
86491 * config.make.in: Remove PWD_P entry.
86492
86493 * configure.in: Remove last remnants of RANLIB.
86494 No need to check for signed size_t anymore.
86495 Don't set libc_commonpagesize and libc_relro_required here for Alpha
86496 and IA-64.
86497 Remove __builtin_expect test because we require at least gcc 3.4.
86498 * aclocal.m4: Likewise.
86499
86500 * wcsmbs/mbrtoc16.c: Implement using towc function.
86501 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
86502 * wcsmbs/wcsmbsload.c: Likewise.
86503 * iconv/gconv_simple.c: Likewise.
86504 * iconv/gconv_int.h: Likewise.
86505 * iconv/gconv_builtin.h: Likewise.
86506 * iconv/iconv_prog.c: Remove CHAR16 handling.
86507
86508 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
86509
86510 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
86511
86512 * configure.in: Remove --with-elf and --enable-bounded options.
86513 Dont set base_machine for ia64. More non-ELF conditions removed.
86514 Remove testing and setting of leading underscore information.
86515 * config.make.in (build-bounded): Set to no.
86516 * config.h.in: Remove NO_UNDERSCORES entry.
86517 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
86518 them.
86519 * csu/start.c: Remove !NO_UNDERSCORE code.
86520 * locale/localeinfo.h: Likewise.
86521 * sysdeps/generic/machine-gmon.h: Likewise.
86522 * sysdeps/generic/sysdep.h: Likewise.
86523 * sysdeps/i386/sysdep.h: Likewise.
86524 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86525 * sysdeps/mach/sysdep.h: Likewise.
86526 * sysdeps/s390/s390-32/sysdep.h: Likewise.
86527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
86528 * sysdeps/sh/sysdep.h: Likewise.
86529 * sysdeps/sparc/sparc32/alloca.S: Likewise.
86530 * sysdeps/unix/i386/sysdep.S: Likewise.
86531 * sysdeps/unix/sparc/start.c: Likewise.
86532 * sysdeps/unix/sparc/sysdep.S: Likewise.
86533 * sysdeps/unix/sparc/sysdep.h: Likewise.
86534 * sysdeps/unix/start.c: Likewise.
86535 * sysdeps/unix/x86_64/sysdep.S: Likewise.
86536 * sysdeps/x86_64/sysdep.h: Likewise.
86537
86538 2012-01-07 Ulrich Drepper <drepper@gmail.com>
86539
86540 [BZ #13553]
86541 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86542 for non-gcc.
86543 * argp/argp-fmtstream.h: Use const instead __const.
86544 * argp/argp.h: Likewise.
86545 * assert/assert.h: Likewise.
86546 * bits/fenv.h: Likewise.
86547 * bits/sched.h: Likewise.
86548 * bits/sigset.h: Likewise.
86549 * bits/sigthread.h: Likewise.
86550 * catgets/nl_types.h: Likewise.
86551 * conform/data/pthread.h-data: Likewise.
86552 * crypt/crypt-private.h: Likewise.
86553 * crypt/crypt.h: Likewise.
86554 * crypt/crypt_util.c: Likewise.
86555 * ctype/ctype.h: Likewise.
86556 * debug/execinfo.h: Likewise.
86557 * debug/mbsnrtowcs_chk.c: Likewise.
86558 * debug/mbsrtowcs_chk.c: Likewise.
86559 * debug/wcsnrtombs_chk.c: Likewise.
86560 * debug/wcsrtombs_chk.c: Likewise.
86561 * debug/wcstombs_chk.c: Likewise.
86562 * dirent/dirent.h: Likewise.
86563 * dlfcn/dlfcn.h: Likewise.
86564 * elf/neededtest4.c: Likewise.
86565 * grp/grp.h: Likewise.
86566 * gshadow/gshadow.h: Likewise.
86567 * iconv/gconv.h: Likewise.
86568 * iconv/gconv_int.h: Likewise.
86569 * iconv/gconv_simple.c: Likewise.
86570 * iconv/iconv.h: Likewise.
86571 * iconv/loop.c: Likewise.
86572 * iconv/skeleton.c: Likewise.
86573 * include/aio.h: Likewise.
86574 * include/aliases.h: Likewise.
86575 * include/argz.h: Likewise.
86576 * include/arpa/inet.h: Likewise.
86577 * include/assert.h: Likewise.
86578 * include/dirent.h: Likewise.
86579 * include/dlfcn.h: Likewise.
86580 * include/execinfo.h: Likewise.
86581 * include/fcntl.h: Likewise.
86582 * include/fenv.h: Likewise.
86583 * include/glob.h: Likewise.
86584 * include/grp.h: Likewise.
86585 * include/libintl.h: Likewise.
86586 * include/mntent.h: Likewise.
86587 * include/netdb.h: Likewise.
86588 * include/pwd.h: Likewise.
86589 * include/rpc/netdb.h: Likewise.
86590 * include/sched.h: Likewise.
86591 * include/search.h: Likewise.
86592 * include/shadow.h: Likewise.
86593 * include/signal.h: Likewise.
86594 * include/stdio.h: Likewise.
86595 * include/stdlib.h: Likewise.
86596 * include/string.h: Likewise.
86597 * include/sys/socket.h: Likewise.
86598 * include/sys/stat.h: Likewise.
86599 * include/sys/statfs.h: Likewise.
86600 * include/sys/statvfs.h: Likewise.
86601 * include/sys/syslog.h: Likewise.
86602 * include/sys/time.h: Likewise.
86603 * include/sys/uio.h: Likewise.
86604 * include/time.h: Likewise.
86605 * include/unistd.h: Likewise.
86606 * include/utmp.h: Likewise.
86607 * include/wchar.h: Likewise.
86608 * include/wctype.h: Likewise.
86609 * inet/aliases.h: Likewise.
86610 * inet/arpa/inet.h: Likewise.
86611 * inet/netinet/ether.h: Likewise.
86612 * inet/netinet/in.h: Likewise.
86613 * intl/libintl.h: Likewise.
86614 * io/bits/fcntl2.h: Likewise.
86615 * io/fcntl.h: Likewise.
86616 * io/ftw.h: Likewise.
86617 * io/sys/poll.h: Likewise.
86618 * io/sys/stat.h: Likewise.
86619 * io/sys/statfs.h: Likewise.
86620 * io/sys/statvfs.h: Likewise.
86621 * io/utime.h: Likewise.
86622 * libio/bits/stdio.h: Likewise.
86623 * libio/bits/stdio2.h: Likewise.
86624 * libio/libio.h: Likewise.
86625 * libio/libioP.h: Likewise.
86626 * libio/stdio.h: Likewise.
86627 * locale/lc-ctype.c: Likewise.
86628 * locale/locale.h: Likewise.
86629 * login/utmp.h: Likewise.
86630 * malloc/arena.c: Likewise.
86631 * malloc/malloc.c: Likewise.
86632 * malloc/malloc.h: Likewise.
86633 * malloc/mcheck.c: Likewise.
86634 * malloc/mtrace.c: Likewise.
86635 * math/bits/mathcalls.h: Likewise.
86636 * math/fenv.h: Likewise.
86637 * math/math_private.h: Likewise.
86638 * misc/bits/error.h: Likewise.
86639 * misc/bits/syslog.h: Likewise.
86640 * misc/err.h: Likewise.
86641 * misc/error.h: Likewise.
86642 * misc/fstab.h: Likewise.
86643 * misc/mntent.h: Likewise.
86644 * misc/regexp.h: Likewise.
86645 * misc/search.h: Likewise.
86646 * misc/sgtty.h: Likewise.
86647 * misc/sys/mman.h: Likewise.
86648 * misc/sys/syslog.h: Likewise.
86649 * misc/sys/uio.h: Likewise.
86650 * misc/sys/xattr.h: Likewise.
86651 * misc/ttyent.h: Likewise.
86652 * nis/rpcsvc/ypclnt.h: Likewise.
86653 * nss/nss.h: Likewise.
86654 * posix/bits/unistd.h: Likewise.
86655 * posix/fnmatch.h: Likewise.
86656 * posix/glob.h: Likewise.
86657 * posix/sched.h: Likewise.
86658 * posix/spawn.h: Likewise.
86659 * posix/sys/wait.h: Likewise.
86660 * posix/unistd.h: Likewise.
86661 * posix/wordexp.h: Likewise.
86662 * pwd/pwd.h: Likewise.
86663 * resolv/netdb.h: Likewise.
86664 * resource/sys/resource.h: Likewise.
86665 * rt/aio.h: Likewise.
86666 * rt/bits/mqueue2.h: Likewise.
86667 * rt/mqueue.h: Likewise.
86668 * shadow/shadow.h: Likewise.
86669 * signal/signal.h: Likewise.
86670 * socket/send.c: Likewise.
86671 * socket/sendto.c: Likewise.
86672 * socket/sys/socket.h: Likewise.
86673 * stdio-common/printf.h: Likewise.
86674 * stdlib/bits/stdlib.h: Likewise.
86675 * stdlib/fmtmsg.h: Likewise.
86676 * stdlib/monetary.h: Likewise.
86677 * stdlib/stdlib.h: Likewise.
86678 * stdlib/ucontext.h: Likewise.
86679 * streams/stropts.h: Likewise.
86680 * string/argz.h: Likewise.
86681 * string/bits/string2.h: Likewise.
86682 * string/string.h: Likewise.
86683 * string/strings.h: Likewise.
86684 * sunrpc/rpc/auth.h: Likewise.
86685 * sunrpc/rpc/auth_des.h: Likewise.
86686 * sunrpc/rpc/clnt.h: Likewise.
86687 * sunrpc/rpc/netdb.h: Likewise.
86688 * sunrpc/rpc/pmap_clnt.h: Likewise.
86689 * sunrpc/rpc/xdr.h: Likewise.
86690 * sysdeps/generic/inttypes.h: Likewise.
86691 * sysdeps/generic/net/if.h: Likewise.
86692 * sysdeps/generic/sys/swap.h: Likewise.
86693 * sysdeps/gnu/net/if.h: Likewise.
86694 * sysdeps/gnu/utmpx.h: Likewise.
86695 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86696 * sysdeps/i386/i486/bits/string.h: Likewise.
86697 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86698 * sysdeps/s390/bits/string.h: Likewise.
86699 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86700 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86701 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86702 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86703 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86704 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86705 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86706 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86707 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86708 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86709 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86710 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86711 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86712 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86713 * sysdeps/unix/sysv/linux/readv.c: Likewise.
86714 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86715 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86717 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86719 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86721 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86722 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86723 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86724 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86725 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86727 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86729 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86730 * sysvipc/sys/ipc.h: Likewise.
86731 * sysvipc/sys/msg.h: Likewise.
86732 * sysvipc/sys/sem.h: Likewise.
86733 * sysvipc/sys/shm.h: Likewise.
86734 * termios/termios.h: Likewise.
86735 * time/sys/time.h: Likewise.
86736 * time/time.h: Likewise.
86737 * wcsmbs/bits/wchar2.h: Likewise.
86738 * wcsmbs/uchar.h: Likewise.
86739 * wcsmbs/wchar.h: Likewise.
86740 * wctype/wctype.h: Likewise.
86741
86742 [BZ #13551]
86743 * Makeconfig: Remove all but ELF support including AIX support.
86744 * Makerules: Likewise.
86745 * config.h.in: Likewise.
86746 * config.make.in: Likewise.
86747 * configure: Likewise.
86748 * configure.in: Likewise.
86749 * csu/Makefile: Likewise.
86750 * csu/version.c: Likewise.
86751 * debug/Makefile: Likewise.
86752 * dlfcn/Makefile: Likewise.
86753 * elf/Makefile: Likewise.
86754 * extra-lib.mk: Likewise.
86755 * iconv/Makefile: Likewise.
86756 * include/libc-symbols.h: Likewise.
86757 * include/shlib-compat.h: Likewise.
86758 * resolv/Makefile: Likewise.
86759 * resolv/res_libc.c: Likewise.
86760 * rt/Makefile: Likewise.
86761 * sysdeps/i386/asm-syntax.h: Likewise.
86762 * sysdeps/i386/sysdep.h: Likewise.
86763 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86764 * sysdeps/mach/sysdep.h: Likewise.
86765 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86766 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86767 * sysdeps/s390/asm-syntax.h: Likewise.
86768 * sysdeps/s390/s390-32/sysdep.h: Likewise.
86769 * sysdeps/s390/s390-64/sysdep.h: Likewise.
86770 * sysdeps/sh/sysdep.h: Likewise.
86771 * sysdeps/unix/sparc/sysdep.h: Likewise.
86772 * sysdeps/wordsize-32/divdi3.c: Likewise.
86773 * sysdeps/x86_64/sysdep.h: Likewise.
86774
86775 * argp/Versions: Remove _argp_unlock_xxx.
86776
86777 [BZ #13559]
86778 * abilist/ld.abilist: Update. Adjust for removal of tls option.
86779 * abilist/libBrokenLocale.abilist: Likewise.
86780 * abilist/libanl.abilist: Likewise.
86781 * abilist/libc.abilist: Likewise.
86782 * abilist/libcrypt.abilist: Likewise.
86783 * abilist/libdl.abilist: Likewise.
86784 * abilist/libm.abilist: Likewise.
86785 * abilist/libnsl.abilist: Likewise.
86786 * abilist/libpthread.abilist: Likewise.
86787 * abilist/libresolv.abilist: Likewise.
86788 * abilist/librt.abilist: Likewise.
86789 * abilist/libthread_db.abilist: Likewise.
86790 * abilist/libutil.abilist: Likewise.
86791 * abilist/libnss_db.abilist: New file.
86792
86793 * scripts/abilist.awk: Add support for indirect functions.
86794
86795 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86796
86797 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86798
86799 * shlib-versions: Remove entries for ports architectures.
86800
86801 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
86802 files in ports.
86803 * elf/stackguard-macros.h: Remove support for IA-64.
86804 * elf/tst-auditmod1.c: Likewise.
86805 * sysdeps/generic/ldsodefs.h: Likewise.
86806
86807 * sysdeps/unix/sysv/linux/configure.in: Ports should define
86808 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86809 configure files.
86810
86811 [BZ #13552]
86812 * configure.in: Remove --enable-omitfp support.
86813 * FAQ.in: Adjust.
86814 * config.make.in: Likewise.
86815 * Makeconfig: Likewise.
86816 * manual/install.texi: Likewise.
86817
86818 In case anyone cares, the IA-64 architecture could move to ports.
86819 * sysdeps/ia64/*: Removed.
86820 * sysdeps/unix/sysv/linux/ia64/*: Removed.
86821 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86822
86823 [BZ #13555]
86824 * configure.in: Remove entries for unsupported architectures.
86825
86826 [BZ #13533]
86827 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86828 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
86829 routines.
86830 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86831 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86832 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
86833 fall back to using wcrtomb.
86834 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86835 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
86836 renaming.
86837 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86838 * wcsmbs/tst-c16c32-1.c: New file.
86839
86840 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86841 local variable.
86842
86843 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86844
86845 * elf/tst-unique3.cc: Add explicit declaration of gets.
86846 * elf/tst-unique3lib.cc: Likewise.
86847 * elf/tst-unique3lib2.cc: Likewise.
86848 * elf/tst-unique4.cc: Likewise.
86849
86850 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86851
86852 2012-01-06 Joseph Myers <joseph@codesourcery.com>
86853
86854 [BZ #13566]
86855 * assert/assert.h (static_assert): Don't define for C++.
86856 * libio/stdio.h (gets): Do declare for C++ <= C++11.
86857 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86858
86859 2012-01-03 Ulrich Drepper <drepper@gmail.com>
86860
86861 * iconv/loop.c (single loop): Fix assertion in storing of
86862 remaining bytes.
86863
86864 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86865
86866 2012-01-01 Ulrich Drepper <drepper@gmail.com>
86867
86868 * posix/getconf.c: Update copyright year.
86869 * nss/getent.c: Likewise.
86870 * nss/makedb.c: Likewise.
86871 * iconv/iconvconfig.c: Likewise.
86872 * iconv/iconv_prog.c: Likewise.
86873 * elf/ldconfig.c: Likewise.
86874 * elf/pldd.c: Likewise.
86875 * elf/sotruss.ksh: Likewise.
86876 * catgets/gencat.c: Likewise.
86877 * csu/version.c: Likewise.
86878 * elf/ldd.bash.in: Likewise.
86879 * elf/sprof.c (print_version): Likewise.
86880 * locale/programs/locale.c: Likewise.
86881 * locale/programs/localedef.c: Likewise.
86882 * login/programs/pt_chown.c: Likewise.
86883 * nscd/nscd.c (print_version): Likewise.
86884 * debug/xtrace.sh: Likewise.
86885 * malloc/memusage.sh: Likewise.
86886 * malloc/mtrace.pl: Likewise.
86887 * debug/catchsegv.sh: Likewise.
86888
86889 2011-12-30 Jakub Jelinek <jakub@redhat.com>
86890
86891 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86892 pure attribute.
86893
86894 2011-12-24 Ulrich Drepper <drepper@gmail.com>
86895
86896 [BZ #13533]
86897 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86898 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86899 transformations.
86900 * iconv/gconv_int.h: Likewise.
86901 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86902 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86903 from libc for GLIBC_2.16.
86904 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86905 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86906 * wcsmbs/uchar.h: Really define mbstate_t.
86907 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86908 * wcsmbs/c16rtomb.c: New file.
86909 * wcsmbs/mbrtoc16.c: New file.
86910 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86911 for C/POSIX locale.
86912 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86913 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86914
86915 * wcsmbs/wchar.h: Add missing __restrict.
86916
86917 2011-12-23 Ulrich Drepper <drepper@gmail.com>
86918
86919 [BZ #13532]
86920 * time/Makefile (routines): Add timespec_get.
86921 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86922 * time/time.h: Define TIME_UTC and declare timespec_get. Define
86923 timespec for ISO C11.
86924 * time/timespec_get.c: New file.
86925 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86926 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86927
86928 [BZ #13531]
86929 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86930 * stdlib/stdlib.h: Declare aligned_alloc.
86931 * Versions.def: Add GLIBC_2.16 for libc.
86932 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86933
86934 [BZ 13527]
86935 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86936 ISO C11.
86937
86938 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86939 code.
86940
86941 [BZ #13528]
86942 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86943
86944 [BZ #13529]
86945 * assert/assert.h (static_assert): Define.
86946
86947 * version.h: Update for 2.16 development version.
86948
86949 [BZ #13526]
86950 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86951 _ISOC11_SOURCE.
86952
86953 * version.h (RELEASE): Bump for 2.15 release.
86954 * include/features.h (__GLIBC_MINOR__): Bump to 15.
86955
86956 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86957 Patch by Marek Polacek <mpolacek@redhat.com>.
86958
86959 * bits/byteswap.h: Protect long long constants with __extension__.
86960 * sysdeps/i386/bits/byteswap.h: Likewise.
86961 * sysdeps/ia64/bits/byteswap.h: Likewise.
86962 * sysdeps/s390/bits/byteswap.h: Likewise.
86963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
86964
86965 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86966
86967 [BZ #13540]
86968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86969 destination buffer.
86970 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86971
86972 2011-12-23 Marek Polacek <polacek@redhat.com>
86973
86974 * elf/dl-addr.c (determine_info): Add inline keyword.
86975 * elf/tst-auditmod4b.c (check_avx): Likewise.
86976 * elf/tst-auditmod6b.c (check_avx): Likewise.
86977 * elf/tst-auditmod6c.c (check_avx): Likewise.
86978 * elf/tst-auditmod7b.c (check_avx): Likewise.
86979
86980 2011-12-23 Ulrich Drepper <drepper@gmail.com>
86981
86982 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86983 !__SSE_MATH__.
86984
86985 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86986
86987 [BZ #13540]
86988 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86989 processing for last bytes.
86990
86991 2011-08-06 Bruno Haible <bruno@clisp.org>
86992
86993 [BZ #13061]
86994 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86995 U+0385, not to U+1FEE.
86996
86997 [BZ #13062]
86998 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86999 entry for U+00A5 U+0301.
87000
87001 2011-12-22 Ulrich Drepper <drepper@gmail.com>
87002
87003 [BZ #13166]
87004 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
87005 buffer for the output is too small.
87006
87007 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
87008 optimization.
87009
87010 [BZ #13185]
87011 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
87012 SSE flags if possible.
87013
87014 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87015
87016 [BZ #13540]
87017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
87018 processing for last bytes.
87019
87020 2011-12-22 Joseph Myers <joseph@codesourcery.com>
87021
87022 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
87023 (syscall-list-default-options, syscall-list-default-condition)
87024 (syscall-list-includes): Define.
87025 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
87026 list of ABIs and options and #if conditions for each ABI. Do not
87027 handle common syscalls between ABIs specially.
87028 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
87029 Remove.
87030 (syscall-list-variants, syscall-list-32bit-options)
87031 (syscall-list-32bit-condition, syscall-list-64bit-options)
87032 (syscall-list-64bit-condition): Define.
87033 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
87034 (syscall-list-variants, syscall-list-32bit-options)
87035 (syscall-list-32bit-condition, syscall-list-64bit-options)
87036 (syscall-list-64bit-condition): Define.
87037 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
87038 Remove.
87039 (syscall-list-variants, syscall-list-32bit-options)
87040 (syscall-list-32bit-condition, syscall-list-64bit-options)
87041 (syscall-list-64bit-condition): Define.
87042 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
87043 Remove.
87044 (syscall-list-variants, syscall-list-32bit-options)
87045 (syscall-list-32bit-condition, syscall-list-64bit-options)
87046 (syscall-list-64bit-condition): Define.
87047
87048 2011-12-22 Ulrich Drepper <drepper@gmail.com>
87049
87050 * locale/iso-639.def: Add brx entry.
87051
87052 [BZ #13328]
87053 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
87054 Proposed by Mariusz_Cukr <marcukr@op.pl>.
87055
87056 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
87057 __feraiseexcept_renamed.
87058
87059 2011-12-21 Ulrich Drepper <drepper@gmail.com>
87060
87061 [BZ #13538]
87062 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
87063 EPOLLET with unsigned values.
87064 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87065 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87066
87067 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
87068 to large cancellation.
87069 * math/s_cacoshf.c: Likewise.
87070 * math/s_cacoshl.c: Likewise.
87071
87072 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
87073
87074 [BZ #13305]
87075 [BZ #12786]
87076 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
87077 * math/s_cacoshf.c: Likewise.
87078 * math/s_cacoshl.c: Likewise.
87079
87080 2011-12-21 Ulrich Drepper <drepper@gmail.com>
87081
87082 [BZ #13439]
87083 * iconv/gconv.h: Define __GCONV_SWAP.
87084 * iconvdata/unicode.c: The swap bit must be stored in __flags.
87085 * iconvdata/utf-16.c: Likewise.
87086 * iconvdata/utf-32.c: Likewise.
87087
87088 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
87089
87090 [BZ #13524]
87091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
87092 numerator after shifting it by one limb.
87093
87094 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
87095
87096 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
87097 under [__USE_EXTERN_INLINES].
87098
87099 2011-12-17 Ulrich Drepper <drepper@gmail.com>
87100
87101 [BZ #13446]
87102 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
87103
87104 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87105
87106 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
87107 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
87108 optimized code.
87109 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
87110 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
87111 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
87112 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
87113 for strncasecmp/strncasecmp_l compilation.
87114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
87115 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
87116
87117 2011-12-08 Marek Polacek <mpolacek@redhat.com>
87118
87119 [BZ #13484]
87120 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
87121 of __asm__.
87122
87123 2011-12-17 Ulrich Drepper <drepper@gmail.com>
87124
87125 [BZ #13506]
87126 * time/tzfile.c (__tzfile_read): Check values from file header.
87127
87128 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
87129
87130 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
87131 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
87132 * powerpc/powerpc32/dl-start.S: Likewise.
87133 * powerpc/powerpc32/elf/start.S: Likewise.
87134 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
87135 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
87136 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
87137 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
87138 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87139 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
87140 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
87141 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
87142 * powerpc/powerpc32/fpu/s_round.S: Likewise.
87143 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
87144 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
87145 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
87146 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
87147 * powerpc/powerpc32/memset.S: Likewise.
87148 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
87149 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
87150 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
87151 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87152 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
87153 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
87154 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
87155 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
87156 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
87157 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
87158 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
87159 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87160 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87161
87162 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87163
87164 * math/libm-test.inc: Added more nearbyint tests.
87165 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
87166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
87167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
87168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
87169
87170 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
87171
87172 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
87173 FD_CLOEXEC.
87174
87175 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87176
87177 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
87178 Add wcscpy-ssse3 wcscpy-c.
87179 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
87180 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
87181 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
87182 * sysdeps/x86_64/wcschr.S: New file.
87183 * sysdeps/x86_64/wcsrchr.S: New file.
87184 * string/test-strcmp.c: Remove checking of wcscmp function for
87185 wrong alignments.
87186 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
87187 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
87188 wcsrchr-sse2 wcsrchr-c.
87189 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
87190 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
87191 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
87192 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
87193 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
87194 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
87195 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
87196 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
87197 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
87198 * wcsmbc/wcschr.c (WCSCHR): New macro.
87199
87200 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87201
87202 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
87203 * wcsmbs/test-wcsrchr.c: New file.
87204 * string/test-strrchr.c: Add wcsrchr support.
87205 (WIDE): New macro.
87206 * wcsmbs/test-wcscpy.c: New file.
87207 * string/test-strcpy.c: Add wcscpy support.
87208 (WIDE): New macro.
87209
87210 2011-12-10 Ulrich Drepper <drepper@gmail.com>
87211
87212 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87213 the inner loop.
87214
87215 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
87216
87217 [BZ #13472]
87218 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87219
87220 2011-12-04 Ulrich Drepper <drepper@gmail.com>
87221
87222 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87223 Minor optimizations.
87224
87225 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87226 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87227 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87228
87229 2011-12-03 Ulrich Drepper <drepper@gmail.com>
87230
87231 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87232 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87233 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87234 for gcc to avoid warnings.
87235 * inet/Makefile (tests): Add tst-checks.
87236 * inet/tst-checks.c: New file.
87237
87238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87239 warning.
87240
87241 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87242 __wmemcmp_sse2.
87243
87244 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87245 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87246
87247 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87248
87249 2011-12-02 Ulrich Drepper <drepper@gmail.com>
87250
87251 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87252 problem.
87253
87254 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87255
87256 2011-11-29 Joseph Myers <joseph@codesourcery.com>
87257
87258 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87259 conditional on GCC version.
87260 (__arch_compare_and_exchange_val_8_acq)
87261 (__arch_compare_and_exchange_val_16_acq)
87262 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87263 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87264 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87265
87266 2011-12-02 Joseph Myers <joseph@codesourcery.com>
87267
87268 * sysdeps/sh/backtrace.c: New file.
87269
87270 2011-12-02 Andreas Schwab <schwab@redhat.com>
87271
87272 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
87273 parenthesis.
87274
87275 2011-12-01 Andreas Schwab <schwab@redhat.com>
87276
87277 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87278 falling back to utime.
87279
87280 2011-11-30 Andreas Schwab <schwab@redhat.com>
87281
87282 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87283 expectations for float.
87284
87285 2011-11-29 Andreas Schwab <schwab@redhat.com>
87286
87287 * locale/weight.h (findidx): Add parameter len.
87288 * locale/weightwc.h (findidx): Likewise.
87289 * posix/fnmatch_loop.c (FCT): Adjust caller.
87290 * posix/regcomp.c (build_equiv_class): Likewise.
87291 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87292 * posix/regexec.c (check_node_accept_bytes): Likewise.
87293 * string/strcoll_l.c (STRCOLL): Likewise.
87294 * string/strxfrm_l.c (STRXFRM): Likewise.
87295
87296 2011-11-17 Ulrich Drepper <drepper@gmail.com>
87297
87298 * Makefile.in: Remove CVSOPT handling.
87299 * configure.in: Remove use of AC_REVISION.
87300 * iconvdata/Makefile (distribute): No need to filter out CVS.
87301 * scripts/list-sources.sh: Remove CVS, subversion and monotone
87302 handling.
87303
87304 2011-11-16 Andreas Schwab <schwab@redhat.com>
87305
87306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87307 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87308 [USE_AS_STRNCASECMP_L]: Likewise.
87309 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87310 NO_TLS_DIRECT_SEG_REFS.
87311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87312 Fix argument offsets for non-PIC.
87313 [USE_AS_STRNCASECMP_L]: Likewise.
87314 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87315 NO_TLS_DIRECT_SEG_REFS.
87316
87317 2011-11-15 Ulrich Drepper <drepper@gmail.com>
87318
87319 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87320 O_CLOEXEC.
87321 * locale/loadlocale.c (_nl_load_locale): Likewise.
87322
87323 2011-11-15 Andreas Schwab <schwab@redhat.com>
87324
87325 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87326 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87328 (SYSCALL_GETTIME): Set errno on error.
87329
87330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87331 count references to noai6ai_cached.
87332
87333 2011-11-15 Ulrich Drepper <drepper@gmail.com>
87334
87335 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87336
87337 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87338 FD_CLOEXEC for /proc/self/maps.
87339
87340 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87341 FD_CLOEXEC for /proc/meminfo.
87342
87343 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87344 gai.conf.
87345
87346 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
87347 FD_CLOEXEC for given file.
87348
87349 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87350
87351 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87352 FD_CLOEXEC for /etc/hosts.
87353 (_gethtent): Likewise.
87354
87355 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87356
87357 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87358 cancellation and set FD_CLOEXEC for /etc/netgroup.
87359
87360 * nss/nss_files/files-key.c (search): Don't allow cancellation when
87361 reading /etc/publickey.
87362
87363 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87364 allow cancellation when reading /etc/group.
87365
87366 * nss/nss_files/files-alias.c (internal_setent): Don't allow
87367 cancellation.
87368 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
87369
87370 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87371 when using data file.
87372
87373 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87374
87375 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87376 (write_nis_obj): Use "c" and "e" in fopen.
87377
87378 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87379
87380 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87381
87382 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87383
87384 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87385
87386 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87387 locale.alias.
87388
87389 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87390
87391 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
87392
87393 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
87394
87395 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
87396 file parsing and set FD_CLOEXEC.
87397
87398 2011-11-14 Ulrich Drepper <drepper@gmail.com>
87399
87400 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
87401
87402 2011-11-14 Andreas Schwab <schwab@redhat.com>
87403
87404 * malloc/arena.c (arena_get2): Don't call reused_arena when
87405 _int_new_arena failed.
87406
87407 2011-11-14 Ulrich Drepper <drepper@gmail.com>
87408
87409 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
87410 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
87411 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
87412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87413 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87414 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
87415 to compile strcasecmp and strncasecmp.
87416 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
87417 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
87418
87419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
87420
87421 2011-11-13 Ulrich Drepper <drepper@gmail.com>
87422
87423 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
87424 locale-defines.sym to gen-as-const-headers.
87425 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
87426 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
87427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
87428 to compile strcasecmp and strncasecmp.
87429 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
87430 strcasecmp_l and strncasecmp_l.
87431 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
87432 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
87433 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
87434 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
87435 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
87436 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
87437 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
87438 * sysdeps/i386/i686/multiarch/strncase.S: New file.
87439 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
87440 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
87441 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
87442
87443 2011-11-12 Ulrich Drepper <drepper@gmail.com>
87444
87445 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
87446 result of SYSDEP_GETTIME_CPU to retval.
87447 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
87448 parameter list to macro. Remove trailing semicolon. Adjust users.
87449
87450 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
87451 variable.
87452
87453 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
87454 mantissa words.
87455 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
87456
87457 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
87458 from unused variable.
87459
87460 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
87461 DWARF definitions.
87462 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
87463 for assembling.
87464
87465 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
87466 over namespaces.
87467
87468 * sunrpc/rpc_prot.c (rejected): Fix case value.
87469
87470 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
87471 unsigned long long int to avoid warnings in shift.
87472
87473 * posix/regex_internal.c (re_string_reconstruct): Actually use result
87474 of use of trans.
87475 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
87476 variable tmp.
87477
87478 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
87479 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
87480 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
87481
87482 * nis/nis_table.c (nis_list): Use variable of correct type for
87483 result of __follow_path call.
87484
87485 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87486
87487 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
87488 of math functions ceil, trunc, floor, round, and sqrt, when
87489 avaliable on the platform.
87490 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
87491 name clash.
87492 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87493 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87494 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87495
87496 2011-10-30 Marek Polacek <mpolacek@redhat.com>
87497
87498 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
87499 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
87500
87501 2011-11-11 Roland McGrath <roland@hack.frob.com>
87502
87503 * include/unistd.h: Fix __readlink return type.
87504 Reported by Chris Metcalf <cmetcalf@tilera.com>.
87505
87506 2011-11-11 Ulrich Drepper <drepper@gmail.com>
87507
87508 * stdlib/ucontext.h: Undo last change for makecontext.
87509
87510 2011-11-11 Andreas Schwab <schwab@redhat.com>
87511
87512 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
87513
87514 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
87515 * setjmp/setjmp.h: Mark functions as non-leaf.
87516 * setjmp/bits/setjmp2.h: Likewise.
87517 * stdlib/ucontext.h: Likewise.
87518
87519 2011-11-10 Andreas Schwab <schwab@redhat.com>
87520
87521 * malloc/arena.c (_int_new_arena): Don't increment narenas.
87522 (reused_arena): Don't check arena limit.
87523 (arena_get2): Atomically check arena limit.
87524
87525 2011-11-08 Ulrich Drepper <drepper@gmail.com>
87526
87527 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
87528 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
87529
87530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
87531 instructions.
87532
87533 2011-11-07 Andreas Schwab <schwab@redhat.com>
87534
87535 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
87536 handler when locking.
87537
87538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87539 Fix size of allocated buffer.
87540
87541 2011-11-04 Andreas Schwab <schwab@redhat.com>
87542
87543 [BZ #10103]
87544 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87545 declarations for long double functions.
87546 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87547
87548 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87549
87550 2011-11-03 Andreas Schwab <schwab@redhat.com>
87551
87552 * nscd/nscd.c (main): Don't start AVC thread until credentials are
87553 installed.
87554
87555 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87556 is disabled.
87557
87558 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
87559
87560 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87561
87562 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
87563
87564 * include/alloca.h (stackinfo_alloca_round): Define.
87565 (extend_alloca): Use it.
87566 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87567 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87568 here.
87569
87570 * scripts/check-local-headers.sh: Ignore libaudit.h.
87571
87572 * nscd/Makefile (extra-objs): Make recursively expanded.
87573
87574 2011-11-01 Ulrich Drepper <drepper@gmail.com>
87575
87576 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87578
87579 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87580 * posix/tst-rfc3484-2.c: Likewise.
87581 * posix/tst-rfc3484-3.c: Likewise.
87582
87583 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87584 process_vm_writev.
87585 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87586 process_vm_writev.
87587 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87588 process_vm_writev from libc using GLIBC_2.15 version.
87589
87590 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87591
87592 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
87593
87594 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87595 stack usage.
87596
87597 2011-10-31 Ulrich Drepper <drepper@gmail.com>
87598
87599 [BZ #13367]
87600 * nss/getent.c (initgroups_keys): Show error message in case no group
87601 names are given.
87602
87603 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87604 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87605 __bump_nl_timestamp.
87606 * nscd/connections (nscd_init): When host database is served open
87607 netlink socket and request notification about configuration changes.
87608 (main_loop_poll): Track netlink file descriptor and bump timestamp
87609 in case data becomes available.
87610 (main_loop_epoll): Likewise.
87611 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87612 (database_pers_head): Add extra_data fileds.
87613 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87614 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87615 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87616 Adjust caller.
87617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87618 in6ai data, call __free_in6ai.
87619 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87620 Add -DHAVE_NETLINK.
87621 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
87622 interface information. Reuse previous data if netlink timestamp
87623 is not changed.
87624 (__bump_nl_timestamp): New function.
87625 (__free_in6ai): New function.
87626
87627 2011-10-30 Ulrich Drepper <drepper@gmail.com>
87628
87629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87630 close_not_cancel_no_status here.
87631 (__check_pf): Reorganize code a bit to not call close twice if OOM.
87632
87633 2011-10-29 Ulrich Drepper <drepper@gmail.com>
87634
87635 [BZ #13276]
87636 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87637 return value.
87638
87639 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87640 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87641 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87642
87643 2011-07-03 Andreas Jaeger <aj@suse.de>
87644
87645 [BZ #10709]
87646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87647 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87648 * math/libm-test.inc (sin_test): Add test case.
87649
87650 2011-10-29 Ulrich Drepper <drepper@gmail.com>
87651
87652 [BZ #13337]
87653 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87655
87656 * elf/chroot_canon.c (chroot_canon): Cleanups.
87657
87658 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87659
87660 [BZ #13335]
87661 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87662 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87663
87664 * string/test-strchr.c: Make usable for strchrnul testing.
87665 * string/test-strchrnul.c: New file.
87666 * string/Makefile (strop-tests): Add strchrnul.
87667
87668 * po/it.po: Update from translation team.
87669 * po/es.po: Likewise.
87670
87671 2011-10-28 Ulrich Drepper <drepper@gmail.com>
87672
87673 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87674 the three constants needed as parameters. Drop the others.
87675 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87676 __m128i_strloadu_tolower.
87677 Create and initialize variable zero and use it in all the places
87678 where _mm_setzero_si128 was used.
87679
87680 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87681 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87682 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87684 anymore.
87685 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87686 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87687 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87688 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87689 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87690 __mpranred, __mptan.
87691 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87692 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87693 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87694 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87697 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87698 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87699 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87700
87701 2011-10-28 Andreas Schwab <schwab@redhat.com>
87702
87703 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87704 redefine if SHARED.
87705 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87706
87707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87708 wide char related routines to wcsmbs subdir.
87709
87710 2011-10-27 Andreas Schwab <schwab@redhat.com>
87711
87712 [BZ #13344]
87713 * misc/sys/cdefs.h (__THROWNL): Define.
87714 * posix/unistd.h: Use __THREADNL instead of __THREAD
87715 for memory synchronization functions.
87716
87717 2011-10-26 Roland McGrath <roland@hack.frob.com>
87718
87719 [BZ #13349]
87720 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87721 doesn't exist.
87722 * manual/stdio.texi (Obstack Streams): Node removed.
87723
87724 2011-10-26 Andreas Schwab <schwab@redhat.com>
87725
87726 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87727 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87728 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87729
87730 * math/math_private.h (math_force_eval): Allow non-addressable
87731 arguments.
87732 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87733
87734 2011-10-25 Ulrich Drepper <drepper@gmail.com>
87735
87736 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87737 file is not needed.
87738
87739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87740 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87741 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87742 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87743 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87744 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87746 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87747 Add AVX variants.
87748 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87749 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87750 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87751 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87752 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87753 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87754 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87755 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87756 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87757 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87758 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87759 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87761 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87762 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87763 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87764 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87765 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87766 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87767
87768 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87769 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
87770
87771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87772 place. Use VEX encoding when compiling for AVX.
87773
87774 2011-10-25 Andreas Schwab <schwab@redhat.com>
87775
87776 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87777 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87778
87779 * string/test-strchr.c (do_test): Don't generate NUL bytes.
87780
87781 2011-10-25 Ulrich Drepper <drepper@gmail.com>
87782
87783 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87784 useless if() expression.
87785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87786 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87787 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87788 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87789 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87791 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87793 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87794 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87797 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87798 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87799 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87800 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87801 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87802 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87803 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87804
87805 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87806
87807 2011-10-25 Andreas Schwab <schwab@redhat.com>
87808
87809 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87810 condition.
87811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
87812
87813 2011-10-25 Ulrich Drepper <drepper@gmail.com>
87814
87815 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87816 .text section. Avoid duplicate constants.
87817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87825 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87826 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87827 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87828 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87829 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87830 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87831 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87833 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87834 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87840 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87841 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87842 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87843 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87844 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87845 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87846 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87857 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87859 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87860 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87861 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87862
87863 2011-10-24 Ulrich Drepper <drepper@gmail.com>
87864
87865 * sysdeps/x86_64/dla.h: Move to ...
87866 * sysdeps/x86_64/fpu/dla.h: ...here.
87867 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87868 situations. Use __builtin_fma only for gcc 4.6 and up.
87869
87870 * config.make.in: Add have-mfma4 entry.
87871 * configure.in: Substitute libc_cv_cc_fma4.
87872 * math/Makefile (dbl-only-routines): Add sincostab.
87873 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87874 Use __sincostab not sincos.
87875 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87876 name is a macro.
87877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
87881 using __copysign.
87882 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
87883 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
87884 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87885 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87886 and __inv.
87887 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87888 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87889 __copysign.
87890 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
87891 define aliases when function name is a macro.
87892 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87893 sysdeps/ieee754/dbl-64/sincos.tbl.
87894 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87895 fma4-enabled routines.
87896 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87897 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87898 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87899 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87900 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87901 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87902 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87903 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87904 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87905 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87906 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87907 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87908 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87909 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87910 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87911 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87912 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87913 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87914 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87915 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87916 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87917 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87918 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87920 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87923 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87925 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87926
87927 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87928 rename.
87929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87937
87938 2011-10-24 Andreas Schwab <schwab@redhat.com>
87939
87940 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87941
87942 2011-10-23 Ulrich Drepper <drepper@gmail.com>
87943
87944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87945
87946 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87947 prediction.
87948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87949
87950 * string/strnlen.c: Don't define STRNLEN, reverse logic.
87951 Remove unused variable magic_bits.
87952 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87953
87954 * string/strnlen.c: Define and use STRNLEN macro.
87955 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87956 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87958 * wcsmbs/wcslen.c: Define and use WCSLEN.
87959 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87960 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87961 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87962 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87963 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87964 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87965 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87966
87967 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87968
87969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87970 strnlen-sse2-no-bsf.
87971 Rename strlen-no-bsf to strlen-sse2-no-bsf.
87972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87973 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87974 Add strnlen support.
87975 (USE_AS_STRNLEN): New macro.
87976 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87977 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87978 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87979 * sysdeps/x86_64/wcslen.S: New file.
87980
87981 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
87982
87983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87984 XMM-moves are used for copying on small sizes.
87985
87986 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87987
87988 * wcsmbs/Makefile (strop-tests): Add wcschr.
87989 * wcsmbs/test-wcschr.c: New file.
87990 * string/test-strchr.c: Update.
87991 Add wcschr support.
87992 (WIDE): New macro.
87993
87994 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87995
87996 * wcsmbs/Makefile (strop-tests): Add wcslen.
87997 * wcsmbs/test-wcslen.c: New file.
87998 * string/test-strlen.c: Update.
87999 Add wcslen support.
88000 (WIDE): New macro.
88001
88002 2011-10-23 Ulrich Drepper <drepper@gmail.com>
88003
88004 * po/it.po: Update from translation team.
88005
88006 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88007
88008 * sysdeps/x86_64/wcscmp.S: Update.
88009 Fix wrong comparison semantics.
88010 wcscmp shall use signed comparison not unsigned.
88011 Don't use substraction to avoid overflow bug.
88012 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
88013 * wcsmbc/wcscmp.c: Likewise.
88014 * string/test-strcmp.c: Likewise.
88015 Add new tests to check cases with negative values.
88016
88017 2011-10-23 Ulrich Drepper <drepper@gmail.com>
88018
88019 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
88020 * sysdeps/x86_64/dla.h: ...here. New file.
88021 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
88022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88030
88031 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
88032
88033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
88034 __ynl_finite aliases.
88035
88036 2011-10-22 Ulrich Drepper <drepper@gmail.com>
88037
88038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88039
88040 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
88041 define DLA_FMA.
88042 [DLA_FMA] (EMULV): Use DLA_FMA.
88043 [DLA_FMA] (MUL12): Use EMULV.
88044 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
88045 that are not needed.
88046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88053
88054 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
88055
88056 * math/s_nan.c: Undef __nan.
88057 * math/s_nanf.c: Undef __nanf.
88058 * math/s_nanl.c: Undef __nanl.
88059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
88060 "math_private.h".
88061
88062 2011-10-22 Ulrich Drepper <drepper@gmail.com>
88063
88064 * math/s_catan.c: Add branch predictions.
88065 * math/s_catanf.c: Likewise.
88066 * math/s_catanh.c: Likewise.
88067 * math/s_catanhf.c: Likewise.
88068 * math/s_catanhl.c: Likewise.
88069 * math/s_catanl.c: Likewise.
88070 * math/s_cexp.c: Likewise.
88071 * math/s_cexpf.c: Likewise.
88072 * math/s_cexpl.c: Likewise.
88073 * math/s_clog.c: Likewise.
88074 * math/s_clog10.c: Likewise.
88075 * math/s_clog10f.c: Likewise.
88076 * math/s_clog10l.c: Likewise.
88077 * math/s_clogf.c: Likewise.
88078 * math/s_clogl.c: Likewise.
88079 * math/s_csqrt.c: Likewise.
88080 * math/s_csqrtf.c: Likewise.
88081 * math/s_csqrtl.c: Likewise.
88082 * math/s_ctanf.c: Likewise.
88083 * math/s_ctanh.c: Likewise.
88084 * math/s_ctanhf.c: Likewise.
88085 * math/s_ctanhl.c: Likewise.
88086 * math/s_ctanl.c: Likewise.
88087
88088 * math/math_private.h: Define __nan, __nanf, __nanl.
88089 * math/s_cacosh.c: Include <math_private.h>.
88090 * math/s_cacoshl.c: Likewise.
88091 * math/s_casinh.c: Likewise.
88092 * math/s_casinhf.c: Likewise.
88093 * math/s_casinhl.c: Likewise.
88094 * math/s_ccos.c: Rely entire on ccosh.
88095 * math/s_ccosf.c: Rely entire on ccoshf.
88096 * math/s_ccosl.c: Rely entirely on ccoshl.
88097 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
88098 Remove tests for FE_INVALID.
88099 * math/s_ccoshf.c: Likewise.
88100 * math/s_ccoshl.c: Likewise.
88101 * math/s_csin.c: Likewise.
88102 * math/s_csinf.c: Likewise.
88103 * math/s_csinh.c Likewise.
88104 * math/s_csinhf.c: Likewise.
88105 * math/s_csinhl.c: Likewise.
88106 * math/s_csinl.c: Likewise.
88107 * math/s_ctan.c: Likewise.
88108 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
88109 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
88110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
88111
88112 2011-10-21 Ulrich Drepper <drepper@gmail.com>
88113
88114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
88115 compilation problems.
88116
88117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
88118 __builtin_expect.
88119
88120 2011-10-20 Ulrich Drepper <drepper@gmail.com>
88121
88122 * sysdeps/i386/configure.in: Test for -mfma4 option.
88123 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
88124 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
88125 COMMON_CPUID_INDEX_80000001.
88126 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
88127 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
88128 use it if FMA3 is not supported.
88129 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
88130
88131 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
88132 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88133
88134 2011-10-20 Andreas Schwab <schwab@redhat.com>
88135
88136 [BZ #12892]
88137 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
88138 it would create a cycle with a link time dependency.
88139
88140 2011-10-19 Ulrich Drepper <drepper@gmail.com>
88141
88142 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
88143 instruction.
88144 * string/Makefile (strop-tests): Add rawmemchr.
88145 * string/test-rawmemchr.c: New file.
88146
88147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
88148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
88149 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
88150 when compiling str{,n}casecmp and when AVX is available. Hook up
88151 new optimized code in initializers.
88152
88153 2011-10-19 Andreas Schwab <schwab@redhat.com>
88154
88155 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
88156 __feraiseexcept instead of feraiseexcept.
88157
88158 2011-10-18 Ulrich Drepper <drepper@gmail.com>
88159
88160 * math/math_private.h: Define defaults for libc_fetestexcept and
88161 libc_feupdateenv.
88162 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
88163 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
88164 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88165 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88166 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
88167 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88168 libc_fetestexcept and libc_feupdateenv.
88169
88170 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
88171 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
88172 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
88173 * sysdeps/x86_64/fpu/math_private.h: Define special version of
88174 libc_feholdexcept_setround.
88175
88176 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
88177 Add s_nearbyint-c and s_nearbyintf-c.
88178 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
88179 nearbyintf inlines.
88180 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
88181 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
88182 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
88183 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
88184
88185 * math/math_private.h: Define defaults for libc_fegetround,
88186 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
88187 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
88188 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
88189 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
88190 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
88191 standard functions.
88192 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88193 Remove comments and hacks for old compiler versions.
88194 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88195 libc_fegetround, libc_fesetround, libc_feholdexcept, and
88196 libc_feholdexceptl.
88197
88198 2011-10-18 Andreas Schwab <schwab@redhat.com>
88199
88200 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
88201 (__feraiseexcept_renamed): Add __NTH.
88202 (feraiseexcept): Add __NTH. Rename local variables to fix
88203 namespace violations.
88204
88205 2011-10-17 Ulrich Drepper <drepper@gmail.com>
88206
88207 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
88208
88209 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88210
88211 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88212 recently added interfaces.
88213 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88214
88215 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88216 about macro parameter expansion.
88217
88218 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88219 __NO_MATH_INLINES is defined. Cleanups.
88220
88221 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88222 and __floorf is target has SSE4.1.
88223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88224 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88225 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88227
88228 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88229 name.
88230 (floorf): Likewise.
88231
88232 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88233
88234 2011-10-17 Andreas Schwab <schwab@redhat.com>
88235
88236 * misc/sys/cdefs.h: Fix last change.
88237
88238 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88239 database lookup.
88240
88241 2011-10-16 Ulrich Drepper <drepper@gmail.com>
88242
88243 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88244
88245 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88246 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88247 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88250 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88252 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88253 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88254 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88255 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88256 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88257 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88258 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88259 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88260 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88261 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88262 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88263 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88264 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88265 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88266 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88267
88268 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88269 ceil, ceilf, floor, floorf.
88270
88271 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88272 Perform IRELATIVE relocations last.
88273
88274 * elf/do-rel.h: Add another parameter nrelative, replacing the
88275 local variable with the same name. Change name of the function
88276 to end in Rel or Rela (uppercase).
88277 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88278 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
88279 elf_dynamic_do_##reloc function.
88280
88281 2011-10-15 Ulrich Drepper <drepper@gmail.com>
88282
88283 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88284 is sufficient, at least on modern CPUs.
88285
88286 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88287
88288 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88290
88291 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88292 __expl_finite.
88293 * math/bits/math-finite.h: Add entries for exp.
88294 * math/e_expl.c: Add __*_finite alias.
88295 * sysdeps/i386/fpu/e_exp.S: Likewise.
88296 * sysdeps/i386/fpu/e_expf.S: Likewise.
88297 * sysdeps/i386/fpu/e_expl.c: Likewise.
88298 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88299 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88300 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88301 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88302 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88303 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88304 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88305
88306 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88307 is sufficient, at least on modern CPUs.
88308
88309 * ctype/ctype-info.c (__ctype_init): Define.
88310 * include/ctype.h (__ctype_init): Declare.
88311 (__ctype_b_loc): The variable is always initialized.
88312 (__ctype_toupper_loc): Likewise.
88313 (__ctype_tolower_loc): Likewise.
88314 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88315 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88316
88317 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
88318
88319 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88320
88321 * configure.in: Also look in $cxxmachine/include for C++ system
88322 headers.
88323
88324 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88325
88326 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88327 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88328 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88329 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
88330 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88331 (USE_AS_WMEMCMP): New macro.
88332 Fixing indents.
88333 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88334 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88335 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88336 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88338 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88339 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88340 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88341 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88342 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88343 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88344 (USE_AS_WMEMCMP): New macro.
88345 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88346 * sysdeps/string/test-memcmp.c: Update.
88347 Fix simple_wmemcmp.
88348 Add new tests.
88349 * wcsmbs/wmemcmp.c: Update.
88350 (WMEMCMP): New macro.
88351 Fix overflow bug.
88352
88353 2011-10-12 Andreas Jaeger <aj@suse.de>
88354
88355 [BZ #13268]
88356 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88357
88358 2011-10-15 Ulrich Drepper <drepper@gmail.com>
88359
88360 * libio/iofwide.c (do_length): Avoid warning.
88361
88362 * ctype/ctype.h (__isctype_f): Add missing __THROW.
88363
88364 2011-10-14 Ulrich Drepper <drepper@gmail.com>
88365
88366 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88367
88368 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88369 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88370 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88371 * sysdeps/i386/i686/fpu/e_log.S: New file.
88372 * sysdeps/i386/i686/fpu/e_logf.S: New file.
88373 * sysdeps/i386/i686/fpu/e_logl.S: New file.
88374
88375 * ctype/ctype.h: Add support for inlined isXXX functions when
88376 compiling C++ code.
88377
88378 2011-10-14 Andreas Schwab <schwab@redhat.com>
88379
88380 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88381
88382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88383
88384 2011-10-13 Roland McGrath <roland@hack.frob.com>
88385
88386 [BZ #13291]
88387 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88388
88389 2011-10-13 Andreas Schwab <schwab@redhat.com>
88390
88391 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
88392 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
88393 feraiseexcept.
88394
88395 * sysdeps/x86_64/memrchr.S: Check for zero size.
88396
88397 * string/stratcliff.c: Add memrchr tests.
88398
88399 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88400
88401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88402 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
88403 rawmemchr-sse2 rawmemchr-sse2-bsf.
88404 * sysdeps/i386/i686/multiarch/memchr.S: New file.
88405 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
88406 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
88407 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
88408 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
88409 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
88410 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
88411 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
88412 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
88413 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
88414 * string/memrchr.c (MEMRCHR): New macro.
88415
88416 2011-10-12 Ulrich Drepper <drepper@gmail.com>
88417
88418 Add integration with gcc's -ffinite-math-only and optimize wrapper
88419 functions in libm.
88420 * Versions.def: Define GLIBC_2.15 version for libm.
88421 * math/Makefile (headers): Add bits/math-finite.h.
88422 * math/bits/math-finite.h: New file.
88423 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
88424 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
88425 * math/e_acoshl.c: Add __*_finite alias.
88426 * math/e_acosl.c: Likewise.
88427 * math/e_asinl.c: Likewise.
88428 * math/e_atan2l.c: Likewise.
88429 * math/e_atanhl.c: Likewise.
88430 * math/e_coshl.c: Likewise.
88431 * math/e_exp10.c: Likewise.
88432 * math/e_exp10f.c: Likewise.
88433 * math/e_exp10l.c: Likewise.
88434 * math/e_exp2l.c: Likewise.
88435 * math/e_fmodl.c: Likewise.
88436 * math/e_gammal_r.c: Likewise.
88437 * math/e_hypotl.c: Likewise.
88438 * math/e_j0l.c: Likewise.
88439 * math/e_j1l.c: Likewise.
88440 * math/e_jnl.c: Likewise.
88441 * math/e_lgammal_r.c: Likewise.
88442 * math/e_log10l.c: Likewise.
88443 * math/e_log2l.c: Likewise.
88444 * math/e_logl.c: Likewise.
88445 * math/e_powl.c: Likewise.
88446 * math/e_sinhl.c: Likewise.
88447 * math/e_sqrtl.c: Likewise.
88448 * math/e_scalb.c: Completely rewritten and optimized.
88449 * math/e_scalbf.c: Likewise.
88450 * math/e_scalbl.c: Likewise.
88451 * math/w_acos.c: Likewise.
88452 * math/w_acosf.c: Likewise.
88453 * math/w_acosl.c: Likewise.
88454 * math/w_acosh.c: Likewise.
88455 * math/w_acoshf.c: Likewise.
88456 * math/w_acoshl.c: Likewise.
88457 * math/w_asin.c: Likewise.
88458 * math/w_asinf.c: Likewise.
88459 * math/w_asinl.c: Likewise.
88460 * math/w_atan2.c: Likewise.
88461 * math/w_atan2f.c: Likewise.
88462 * math/w_atan2l.c: Likewise.
88463 * math/w_atanh.c: Likewise.
88464 * math/w_atanhf.c: Likewise.
88465 * math/w_atanhl.c: Likewise.
88466 * math/w_exp10.c: Likewise.
88467 * math/w_exp10f.c: Likewise.
88468 * math/w_exp10l.c: Likewise.
88469 * math/w_fmod.c: Likewise.
88470 * math/w_fmodf.c: Likewise.
88471 * math/w_fmodl.c: Likewise.
88472 * math/w_j0.c: Likewise.
88473 * math/w_j0f.c: Likewise.
88474 * math/w_j0l.c: Likewise.
88475 * math/w_j1.c: Likewise.
88476 * math/w_j1f.c: Likewise.
88477 * math/w_j1l.c: Likewise.
88478 * math/w_jn.c: Likewise.
88479 * math/w_jnf.c: Likewise.
88480 * math/w_log.c: Likewise.
88481 * math/w_logf.c: Likewise.
88482 * math/w_logl.c: Likewise.
88483 * math/w_log10.c: Likewise.
88484 * math/w_log10f.c: Likewise.
88485 * math/w_log10l.c: Likewise.
88486 * math/w_log2.c: Likewise.
88487 * math/w_log2f.c: Likewise.
88488 * math/w_log2l.c: Likewise.
88489 * math/w_pow.c: Likewise.
88490 * math/w_powf.c: Likewise.
88491 * math/w_powl.c: Likewise.
88492 * math/w_remainder.c: Likewise.
88493 * math/w_remainderf.c: Likewise.
88494 * math/w_remainderl.c: Likewise.
88495 * math/w_scalb.c: Likewise.
88496 * math/w_scalbf.c: Likewise.
88497 * math/w_scalbl.c: Likewise.
88498 * math/w_sqrt.c: Likewise.
88499 * math/w_sqrtf.c: Likewise.
88500 * math/w_sqrtl.c: Likewise.
88501 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
88502 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
88503 used.
88504 * math/math_private.h: Declare __kernel_standard_f.
88505 * math/w_cosh.c: Remove cruft and optimize a bit.
88506 * math/w_coshf.c: Likewise.
88507 * math/w_coshl.c: Likewise.
88508 * math/w_exp2.c: Likewise.
88509 * math/w_exp2f.c: Likewise.
88510 * math/w_exp2l.c: Likewise.
88511 * math/w_hypot.c: Likewise.
88512 * math/w_hypotf.c: Likewise.
88513 * math/w_hypotl.c: Likewise.
88514 * math/w_lgamma.c: Likewise.
88515 * math/w_lgamma_r.c: Likewise.
88516 * math/w_lgammaf.c: Likewise.
88517 * math/w_lgammaf_r.c: Likewise.
88518 * math/w_lgammal.c: Likewise.
88519 * math/w_lgammal_r.c: Likewise.
88520 * math/w_sinh.c: Likewise.
88521 * math/w_sinhf.c: Likewise.
88522 * math/w_sinhl.c: Likewise.
88523 * math/w_tgamma.c: Likewise.
88524 * math/w_tgammaf.c: Likewise.
88525 * math/w_tgammal.c: Likewise.
88526 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88527 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88528 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
88529 Minor optimizations. Pretty printing. Remove cruft.
88530 * sysdeps/i386/fpu/e_acosf.S: Likewise.
88531 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88532 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88533 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88534 * sysdeps/i386/fpu/e_acosl.c: Likewise.
88535 * sysdeps/i386/fpu/e_asin.S: Likewise.
88536 * sysdeps/i386/fpu/e_asinf.S: Likewise.
88537 * sysdeps/i386/fpu/e_atan2.S: Likewise.
88538 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88539 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88540 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88541 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88542 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88543 * sysdeps/i386/fpu/e_exp10.S: Likewise.
88544 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88545 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88546 * sysdeps/i386/fpu/e_exp2.S: Likewise.
88547 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88548 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88549 * sysdeps/i386/fpu/e_fmod.S: Likewise.
88550 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88551 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88552 * sysdeps/i386/fpu/e_hypot.S: Likewise.
88553 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88554 * sysdeps/i386/fpu/e_log.S: Likewise.
88555 * sysdeps/i386/fpu/e_log10.S: Likewise.
88556 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88557 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88558 * sysdeps/i386/fpu/e_log2.S: Likewise.
88559 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88560 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88561 * sysdeps/i386/fpu/e_logf.S: Likewise.
88562 * sysdeps/i386/fpu/e_logl.S: Likewise.
88563 * sysdeps/i386/fpu/e_pow.S: Likewise.
88564 * sysdeps/i386/fpu/e_powf.S: Likewise.
88565 * sysdeps/i386/fpu/e_powl.S: Likewise.
88566 * sysdeps/i386/fpu/e_remainder.S: Likewise.
88567 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88568 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88570 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88571 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88572 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88573 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88574 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88575 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88578 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88579 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88580 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88581 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88583 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88584 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88585 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88586 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88588 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88589 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88591 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88592 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88593 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88596 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88597 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88598 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88599 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88600 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88601 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88602 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88603 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88604 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88605 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88606 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88607 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88608 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88609 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88610 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88611 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88612 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88613 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88614 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88615 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88616 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88617 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88618 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88620 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88621 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88622 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88623 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88624 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88625 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88626 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88627 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88628 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88630 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88631 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88632 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88633 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88634 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88635 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88636 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88638 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88639 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88641 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88642 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88643 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88645 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88647 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88649 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88651 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88652 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88653 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88655 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88656 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88657 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88658 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88659 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88660 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88661 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88662 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88663 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88664 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88665 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88666 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88667 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88668 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88669 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88670 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88671 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88672 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88673 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88674 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88675 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88676 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88677 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88678 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88679 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88680 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88682 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88683 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88684 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88685 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
88686 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88687 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88688 (__isnanf): Likewise.
88689 (__isinf_ns): Likewise.
88690 (__isinf_nsf): Likewise.
88691 (__finite): Likewise.
88692 (__finitef): Likewise.
88693 (__ieee754_sqrt): Define as macro.
88694 (__ieee754_sqrtf): Define as macro.
88695 (__ieee754_sqrtl): Define as macro.
88696 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88697 inlined copy.
88698 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88699 __FINITE_MATH_ONLY__ consistent.
88700 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88701
88702 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
88703
88704 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88705 of rawmemchr.
88706
88707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88708
88709 2011-10-09 Ulrich Drepper <drepper@gmail.com>
88710
88711 * po/ja.po: Update from translation team.
88712
88713 2011-10-08 Roland McGrath <roland@hack.frob.com>
88714
88715 * locale/programs/locarchive.c (prepare_address_space): New function.
88716 (create_archive, enlarge_archive, open_archive): Use it.
88717
88718 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88719 inside [SHARED], where it is used.
88720
88721 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88722
88723 * nss/getent.c (netgroup_keys): Remove unused variable.
88724 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88725
88726 2011-10-08 Ulrich Drepper <drepper@gmail.com>
88727
88728 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88730 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88732 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88733 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88734 * math/Makefile (libm-calls): Add s_isinf_ns.
88735 * math/divtc3.c: Use __isinf_nsl instead of isinf.
88736 * math/multc3.c: Likewise.
88737 * math/s_casin.c: Likewise.
88738 * math/s_casinf.c: Likewise.
88739 * math/s_casinl.c: Likewise.
88740 * math/s_ccos.c: Likewise.
88741 * math/s_ccosf.c: Likewise.
88742 * math/s_ccosl.c: Likewise.
88743 * math/s_ctan.c: Likewise.
88744 * math/s_ctanf.c: Likewise.
88745 * math/s_ctanh.c: Likewise.
88746 * math/s_ctanhf.c: Likewise.
88747 * math/s_ctanhl.c: Likewise.
88748 * math/s_ctanl.c: Likewise.
88749 * math/w_fmod.c: Likewise.
88750 * math/w_fmodf.c: Likewise.
88751 * math/w_fmodl.c: Likewise.
88752 * math/w_remainder.c: Likewise.
88753 * math/w_remainderf.c: Likewise.
88754 * math/w_remainderl.c: Likewise.
88755 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88756 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88759 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88760 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88761 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88762 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88763
88764 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88765 of the number.
88766 * stdio-common/printf_fphex.c: Likewise.
88767 * stdio-common/printf_size.c: Likewise.
88768
88769 * math/e_exp10.c: Include math_private.h using <...> not "...".
88770 * math/e_exp10f.c: Likewise.
88771 * math/e_exp10l.c: Likewise.
88772 * math/e_exp2l.c: Likewise.
88773 * math/e_j0l.c: Likewise.
88774 * math/e_j1l.c: Likewise.
88775 * math/e_jnl.c: Likewise.
88776 * math/e_lgammal_r.c: Likewise.
88777 * math/e_rem_pio2l.c: Likewise.
88778 * math/e_scalb.c: Likewise.
88779 * math/e_scalbf.c: Likewise.
88780 * math/e_scalbl.c: Likewise.
88781 * math/k_cosl.c: Likewise.
88782 * math/k_sinl.c: Likewise.
88783 * math/k_tanl.c: Likewise.
88784 * math/s_cacoshf.c: Likewise.
88785 * math/s_catan.c: Likewise.
88786 * math/s_catanf.c: Likewise.
88787 * math/s_catanh.c: Likewise.
88788 * math/s_catanhf.c: Likewise.
88789 * math/s_catanhl.c: Likewise.
88790 * math/s_catanl.c: Likewise.
88791 * math/s_ccosh.c: Likewise.
88792 * math/s_ccoshf.c: Likewise.
88793 * math/s_ccoshl.c: Likewise.
88794 * math/s_cexp.c: Likewise.
88795 * math/s_cexpf.c: Likewise.
88796 * math/s_cexpl.c: Likewise.
88797 * math/s_clog.c: Likewise.
88798 * math/s_clog10.c: Likewise.
88799 * math/s_clog10f.c: Likewise.
88800 * math/s_clog10l.c: Likewise.
88801 * math/s_clogf.c: Likewise.
88802 * math/s_clogl.c: Likewise.
88803 * math/s_csin.c: Likewise.
88804 * math/s_csinf.c: Likewise.
88805 * math/s_csinh.c: Likewise.
88806 * math/s_csinhf.c: Likewise.
88807 * math/s_csinhl.c: Likewise.
88808 * math/s_csinl.c: Likewise.
88809 * math/s_csqrt.c: Likewise.
88810 * math/s_csqrtf.c: Likewise.
88811 * math/s_csqrtl.c: Likewise.
88812 * math/s_ctan.c: Likewise.
88813 * math/s_ctanf.c: Likewise.
88814 * math/s_ctanh.c: Likewise.
88815 * math/s_ctanhf.c: Likewise.
88816 * math/s_ctanhl.c: Likewise.
88817 * math/s_ctanl.c: Likewise.
88818 * math/s_ldexp.c: Likewise.
88819 * math/s_ldexpf.c: Likewise.
88820 * math/s_ldexpl.c: Likewise.
88821 * math/s_significand.c: Likewise.
88822 * math/s_significandf.c: Likewise.
88823 * math/s_significandl.c: Likewise.
88824 * math/w_acos.c: Likewise.
88825 * math/w_acosf.c: Likewise.
88826 * math/w_acosh.c: Likewise.
88827 * math/w_acoshf.c: Likewise.
88828 * math/w_acoshl.c: Likewise.
88829 * math/w_acosl.c: Likewise.
88830 * math/w_asin.c: Likewise.
88831 * math/w_asinf.c: Likewise.
88832 * math/w_asinl.c: Likewise.
88833 * math/w_atan2.c: Likewise.
88834 * math/w_atan2f.c: Likewise.
88835 * math/w_atan2l.c: Likewise.
88836 * math/w_atanh.c: Likewise.
88837 * math/w_atanhf.c: Likewise.
88838 * math/w_atanhl.c: Likewise.
88839 * math/w_cosh.c: Likewise.
88840 * math/w_coshf.c: Likewise.
88841 * math/w_coshl.c: Likewise.
88842 * math/w_dremf.c: Likewise.
88843 * math/w_exp10.c: Likewise.
88844 * math/w_exp10f.c: Likewise.
88845 * math/w_exp10l.c: Likewise.
88846 * math/w_exp2.c: Likewise.
88847 * math/w_exp2f.c: Likewise.
88848 * math/w_fmod.c: Likewise.
88849 * math/w_fmodf.c: Likewise.
88850 * math/w_fmodl.c: Likewise.
88851 * math/w_hypot.c: Likewise.
88852 * math/w_hypotf.c: Likewise.
88853 * math/w_hypotl.c: Likewise.
88854 * math/w_j0.c: Likewise.
88855 * math/w_j0f.c: Likewise.
88856 * math/w_j0l.c: Likewise.
88857 * math/w_j1.c: Likewise.
88858 * math/w_j1f.c: Likewise.
88859 * math/w_j1l.c: Likewise.
88860 * math/w_jn.c: Likewise.
88861 * math/w_jnf.c: Likewise.
88862 * math/w_jnl.c: Likewise.
88863 * math/w_lgamma.c: Likewise.
88864 * math/w_lgamma_r.c: Likewise.
88865 * math/w_lgammaf.c: Likewise.
88866 * math/w_lgammaf_r.c: Likewise.
88867 * math/w_lgammal.c: Likewise.
88868 * math/w_lgammal_r.c: Likewise.
88869 * math/w_log.c: Likewise.
88870 * math/w_log10.c: Likewise.
88871 * math/w_log10f.c: Likewise.
88872 * math/w_log10l.c: Likewise.
88873 * math/w_log2.c: Likewise.
88874 * math/w_log2f.c: Likewise.
88875 * math/w_log2l.c: Likewise.
88876 * math/w_logf.c: Likewise.
88877 * math/w_logl.c: Likewise.
88878 * math/w_pow.c: Likewise.
88879 * math/w_powf.c: Likewise.
88880 * math/w_powl.c: Likewise.
88881 * math/w_remainder.c: Likewise.
88882 * math/w_remainderf.c: Likewise.
88883 * math/w_remainderl.c: Likewise.
88884 * math/w_scalb.c: Likewise.
88885 * math/w_scalbf.c: Likewise.
88886 * math/w_scalbl.c: Likewise.
88887 * math/w_sinh.c: Likewise.
88888 * math/w_sinhf.c: Likewise.
88889 * math/w_sinhl.c: Likewise.
88890 * math/w_sqrt.c: Likewise.
88891 * math/w_sqrtf.c: Likewise.
88892 * math/w_sqrtl.c: Likewise.
88893 * math/w_tgamma.c: Likewise.
88894 * math/w_tgammaf.c: Likewise.
88895 * math/w_tgammal.c: Likewise.
88896
88897 * po/ja.po: Update from translation team.
88898
88899 2011-09-29 Andreas Jaeger <aj@suse.de>
88900
88901 [BZ #13179]
88902 * sunrpc/netname.c (netname2host): Fix logic.
88903
88904 [BZ #6779]
88905 [BZ #6783]
88906 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88907 correctly.
88908 * math/w_remainder.c (__remainder): Likewise.
88909 * math/w_remainderf.c (__remainderf): Likewise.
88910 * math/libm-test.inc (remainder_test): Add test cases.
88911
88912 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
88913
88914 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
88915 sdiv_qrnnd.
88916
88917 2011-10-07 Ulrich Drepper <drepper@gmail.com>
88918
88919 * string/test-memcmp.c: Avoid unncessary #defines.
88920 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88921
88922 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88923
88924 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88925 Use new sse2 version for core i3 - i7 as it's faster
88926 than sse42 version.
88927 (bit_Prefer_PMINUB_for_stringop): New.
88928 * sysdeps/x86_64/rawmemchr.S: Update.
88929 Replace with faster SSE2 version.
88930 * sysdeps/x86_64/memrchr.S: New file.
88931 * sysdeps/x86_64/memchr.S: Update.
88932 Replace with faster SSE2 version.
88933
88934 2011-09-12 Marek Polacek <mpolacek@redhat.com>
88935
88936 * elf/dl-load.c (lose): Add cast to avoid warning.
88937
88938 2011-10-07 Ulrich Drepper <drepper@gmail.com>
88939
88940 * po/ca.po: Update from translation team.
88941
88942 * inet/getnetgrent_r.c: Hook up nscd.
88943 * nscd/Makefile (routines): Add nscd_netgroup.
88944 (nscd-modules): Add netgroupcache.
88945 (CFLAGS-netgroupcache.c): Define.
88946 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88947 (cache_search): Add const to second parameter.
88948 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88949 INNETGR.
88950 (dbs): Add netgrdb entry.
88951 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88952 (verify_persistent_db): Handle netgrdb.
88953 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88954 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88955 GETFDNETGR.
88956 (netgroup_response_header): Define.
88957 (innetgroup_response_header): Define.
88958 (datahead): Add netgroup_response_header and innetgroup_response_header
88959 elements.
88960 * nscd/nscd.conf: Add entries for netgroup cache.
88961 * nscd/nscd.h (dbtype): Add netgrdb.
88962 (_PATH_NSCD_NETGROUP_DB): Define.
88963 (netgroup_iov_disabled): Declare.
88964 (xmalloc, xcalloc, xrealloc): Move declarations here.
88965 (cache_search): Adjust prototype.
88966 Add netgroup-related prototypes.
88967 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88968 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88969 (__nscd_innetgr): Declare.
88970 * nscd/selinux.c (perms): Use access_vector_t as element type and
88971 add netgroup-related initializers.
88972 * nscd/netgroupcache.c: New file.
88973 * nscd/nscd_netgroup.c: New file.
88974 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88975 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88976 For four parameters use innetgr.
88977 * nss/nss_files/files-init.c: Add definition and callback for netgr.
88978 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88979 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88980 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88981
88982 * nscd/connections.c (register_traced_file): Don't register file
88983 for disabled databases.
88984
88985 2011-10-06 Ulrich Drepper <drepper@gmail.com>
88986
88987 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88988
88989 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88990 from tree and freeing node.
88991
88992 2011-09-25 Jiri Olsa <jolsa@redhat.com>
88993
88994 * nss/nsswitch.c (__nss_database_lookup): Handle
88995 nss_parse_service_list out of memory case.
88996
88997 2011-09-15 Jiri Olsa <jolsa@redhat.com>
88998
88999 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
89000 out of memory case.
89001
89002 2011-10-04 Andreas Schwab <schwab@redhat.com>
89003
89004 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
89005 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
89006 pass it down.
89007 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
89008 elf_machine_rela, elf_machine_lazy_rel.
89009 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
89010 (ELF_DYNAMIC_DO_REL): Likewise.
89011 (ELF_DYNAMIC_DO_RELA): Likewise.
89012 (ELF_DYNAMIC_RELOCATE): Likewise.
89013 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
89014 to ELF_DYNAMIC_DO_REL.
89015 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
89016 (dl_main): In trace mode always set __RTLD_NOIFUNC.
89017 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
89018 elf_machine_rela.
89019 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
89020 skip_ifunc, don't call ifunc function if non-zero.
89021 (elf_machine_rela): Likewise.
89022 (elf_machine_lazy_rel): Likewise.
89023 (elf_machine_lazy_rela): Likewise.
89024 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
89025 (elf_machine_lazy_rel): Likewise.
89026 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
89027 Likewise.
89028 (elf_machine_lazy_rel): Likewise.
89029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89030 Likewise.
89031 (elf_machine_lazy_rel): Likewise.
89032 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
89033 (elf_machine_lazy_rel): Likewise.
89034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
89035 (elf_machine_lazy_rel): Likewise.
89036 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
89037 (elf_machine_lazy_rel): Likewise.
89038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
89039 (elf_machine_lazy_rel): Likewise.
89040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
89041 (elf_machine_lazy_rel): Likewise.
89042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
89043 (elf_machine_lazy_rel): Likewise.
89044
89045 2011-09-28 Ulrich Drepper <drepper@gmail.com>
89046
89047 * nss/nss_files/files-init.c (_nss_files_init): Use static
89048 initialization for all the *_traced_file variables.
89049
89050 2011-09-28 Andreas Schwab <schwab@redhat.com>
89051
89052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89053
89054 2011-09-27 Roland McGrath <roland@hack.frob.com>
89055
89056 [BZ #13226]
89057 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
89058
89059 2011-09-27 Andreas Schwab <schwab@redhat.com>
89060
89061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89062 Reread the line before reparsing it.
89063
89064 2011-09-26 Andreas Schwab <schwab@redhat.com>
89065
89066 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
89067
89068 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
89069 Maxim Kuvyrkov <maxim@codesourcery.com>
89070 Joseph Myers <joseph@codesourcery.com>
89071
89072 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
89073 if needed for __stack_chk_guard.
89074
89075 2011-09-19 Roland McGrath <roland@hack.frob.com>
89076
89077 * sysdeps/posix/spawni.c (script_execute): Always define it.
89078 It will be optimized away if unused.
89079 (maybe_script_execute): New function.
89080 (__spawni): Call it.
89081
89082 * Makerules: Don't include tls.make.
89083 (config-tls): Always set to thread.
89084 * tls.make.c: File removed.
89085
89086 2011-09-19 Mike Frysinger <vapier@gentoo.org>
89087
89088 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
89089 * config.make.in (CPPFLAGS-config): New substituted variable.
89090
89091 2011-09-15 Ulrich Drepper <drepper@gmail.com>
89092
89093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
89094
89095 [BZ #13192]
89096 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
89097 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
89098
89099 2011-09-15 Roland McGrath <roland@hack.frob.com>
89100
89101 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
89102 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
89103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89104 (CALL_FAIL): Likewise.
89105 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
89106 (CALL_FAIL): Macro removed.
89107 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
89108
89109 2011-09-15 Ulrich Drepper <drepper@gmail.com>
89110
89111 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
89112 for __FINITE_MATH_ONLY__ == 1.
89113
89114 2011-09-15 Andreas Schwab <schwab@redhat.com>
89115
89116 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
89117 __ieee754_sqrt instead of sqrt.
89118 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
89119 __ieee754_sqrtf instead of sqrtf.
89120 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
89121 __floorf instead of floorf.
89122 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
89123 __floorf, __truncf instead of floorf, truncf.
89124
89125 2011-09-14 Ulrich Drepper <drepper@gmail.com>
89126
89127 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
89128
89129 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
89130 __extern_always_inline.
89131 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
89132 32-bit.
89133
89134 2011-09-14 Andreas Schwab <schwab@redhat.com>
89135
89136 * elf/rtld.c (dl_main): Also relocate in dependency order when
89137 doing symbol dependency testing.
89138
89139 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
89140
89141 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89142 Always define `refsym'.
89143
89144 2011-09-13 Andreas Schwab <schwab@redhat.com>
89145
89146 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
89147 (__FD_ELT): Renamed from __FDELT.
89148 * misc/bits/select2.h (__FD_ELT): Likewise.
89149 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
89150 __FD_MASK instead of __FDELT, __FDMASK.
89151 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89152 Likewise.
89153 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89154 Likewise.
89155
89156 * elf/Makefile (gen-ldd): Fix pattern.
89157
89158 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
89159 (init_tls): Likewise.
89160
89161 2011-09-12 Ulrich Drepper <drepper@gmail.com>
89162
89163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
89164
89165 2011-09-12 Andreas Schwab <schwab@redhat.com>
89166
89167 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
89168 `struct cmsghdr *' instead of `void *'.
89169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
89170 Likewise.
89171
89172 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
89173
89174 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
89175 if non-absolute.
89176 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
89177 ldd_rewrite_script.
89178
89179 2011-09-11 Ulrich Drepper <drepper@gmail.com>
89180
89181 * configure.in: Remove --with-tls option.
89182 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
89183 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
89184 out in case it is missing.
89185 * sysdeps/ia64/elf/configure.in: Likewise.
89186 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
89187 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
89188 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
89189 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
89190 * sysdeps/sh/elf/configure.in: Likewise.
89191 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
89192 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
89193 * sysdeps/x86_64/elf/configure.in: Likewise.
89194 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
89195 * sysdeps/mach/hurd/tls.h: Likewise.
89196
89197 [BZ #13067]
89198 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
89199
89200 [BZ #13090]
89201 * configure.in: Fix use of AC_INIT.
89202
89203 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
89204
89205 2011-09-10 Ulrich Drepper <drepper@gmail.com>
89206
89207 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
89208 __set_errno.
89209 * malloc/hooks.c: Likewise.
89210
89211 [BZ #11929]
89212 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
89213 variables statically.
89214 (narenas): Initialize.
89215 (list_lock): Initialize.
89216 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
89217 initializtion of main_arena and list_lock. Small cleanups.
89218 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89219 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
89220 Add initializers to main_arena and mp_.
89221 (malloc_state): Remove pagesize member. Change all users to use
89222 GLRO(dl_pagesize).
89223
89224 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89225 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
89226 is always initialized.
89227
89228 * malloc/malloc.c: Removed unused configurations and dead code.
89229 * malloc/arena.c: Likewise.
89230 * malloc/hooks.c: Likewise.
89231 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89232
89233 * include/tls.h: Removed. USE___THREAD must always be defined.
89234 * bits/libc-tsd.h: Don't handle !USE___THREAD.
89235 * elf/dl-libc.c: Likewise.
89236 * elf/dl-tsd.c: Likewise.
89237 * include/errno.h: Likewise.
89238 * include/netdb.h: Likewise.
89239 * include/resolv.h: Likewise.
89240 * inet/herrno-loc.c: Likewise.
89241 * inet/herrno.c: Likewise.
89242 * malloc/arena.c: Likewise.
89243 * malloc/hooks.c: Likewise.
89244 * malloc/malloc.c: Likewise.
89245 * resolv/res-state.c: Likewise.
89246 * resolv/res_libc.c: Likewise.
89247 * sysdeps/i386/dl-machine.h: Likewise.
89248 * sysdeps/ia64/dl-machine.h: Likewise.
89249 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89250 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89251 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89252 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89253 * sysdeps/sh/dl-machine.h: Likewise.
89254 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89255 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89256 * sysdeps/unix/i386/sysdep.S: Likewise.
89257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89258 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89263 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89267 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89268 * sysdeps/x86_64/dl-machine.h: Likewise.
89269 * tls.make.c: Likewise.
89270
89271 * configure.in: Remove --with-__thread option. Make tests for
89272 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89273 tls_model attribute fail if no support is available. Remove
89274 USE_IN_LIBIO.
89275 * Makeconfig: Adjust for dropped configure option. All features are
89276 now mandatory.
89277 * Makerules: Likewise.
89278 * Versions.def: Likewise.
89279 * argp/argp-fmtstream.c: Likewise.
89280 * argp/argp-fmtstream.h: Likewise.
89281 * argp/argp-help.c: Likewise.
89282 * assert/assert.c: Likewise.
89283 * config.h.in: Likewise.
89284 * config.make.in: Likewise.
89285 * configure: Likewise.
89286 * configure.in: Likewise.
89287 * csu/Versions: Likewise.
89288 * csu/init.c: Likewise.
89289 * elf/tst-audit2.c: Likewise.
89290 * elf/tst-tls10.c: Likewise.
89291 * elf/tst-tls10.h: Likewise.
89292 * elf/tst-tls11.c: Likewise.
89293 * elf/tst-tls12.c: Likewise.
89294 * elf/tst-tls14.c: Likewise.
89295 * elf/tst-tlsmod11.c: Likewise.
89296 * elf/tst-tlsmod12.c: Likewise.
89297 * elf/tst-tlsmod13.c: Likewise.
89298 * elf/tst-tlsmod13a.c: Likewise.
89299 * elf/tst-tlsmod14a.c: Likewise.
89300 * elf/tst-tlsmod15b.c: Likewise.
89301 * elf/tst-tlsmod16a.c: Likewise.
89302 * elf/tst-tlsmod16b.c: Likewise.
89303 * elf/tst-tlsmod7.c: Likewise.
89304 * elf/tst-tlsmod8.c: Likewise.
89305 * elf/tst-tlsmod9.c: Likewise.
89306 * gmon/gmon.c: Likewise.
89307 * grp/fgetgrent_r.c: Likewise.
89308 * grp/putgrent.c: Likewise.
89309 * hurd/fopenport.c: Likewise.
89310 * include/libc-symbols.h: Likewise.
89311 * include/tls.h: Likewise.
89312 * intl/gettextP.h: Likewise.
89313 * intl/loadinfo.h: Likewise.
89314 * locale/global-locale.c: Likewise.
89315 * locale/localeinfo.h: Likewise.
89316 * mach/devstream.c: Likewise.
89317 * malloc/arena.c: Likewise.
89318 * malloc/set-freeres.c: Likewise.
89319 * misc/err.c: Likewise.
89320 * misc/getttyent.c: Likewise.
89321 * misc/mntent_r.c: Likewise.
89322 * posix/getopt.c: Likewise.
89323 * posix/wordexp.c: Likewise.
89324 * pwd/fgetpwent_r.c: Likewise.
89325 * resolv/Versions: Likewise.
89326 * resolv/res_hconf.c: Likewise.
89327 * shadow/fgetspent_r.c: Likewise.
89328 * shadow/putspent.c: Likewise.
89329 * stdio-common/printf_fphex.c: Likewise.
89330 * stdio-common/tmpfile.c: Likewise.
89331 * stdlib/abort.c: Likewise.
89332 * stdlib/fmtmsg.c: Likewise.
89333 * sunrpc/auth_unix.c: Likewise.
89334 * sunrpc/clnt_perr.c: Likewise.
89335 * sunrpc/clnt_tcp.c: Likewise.
89336 * sunrpc/clnt_udp.c: Likewise.
89337 * sunrpc/clnt_unix.c: Likewise.
89338 * sunrpc/openchild.c: Likewise.
89339 * sunrpc/svc_simple.c: Likewise.
89340 * sunrpc/svc_tcp.c: Likewise.
89341 * sunrpc/svc_udp.c: Likewise.
89342 * sunrpc/svc_unix.c: Likewise.
89343 * sunrpc/xdr.c: Likewise.
89344 * sunrpc/xdr_array.c: Likewise.
89345 * sunrpc/xdr_rec.c: Likewise.
89346 * sunrpc/xdr_ref.c: Likewise.
89347 * sunrpc/xdr_stdio.c: Likewise.
89348
89349 2011-09-09 Ulrich Drepper <drepper@gmail.com>
89350
89351 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89352
89353 2011-07-03 Andreas Jaeger <aj@suse.de>
89354
89355 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89356 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89357 regenerate with gen-libm-tests.pl.
89358
89359 2010-05-12 Petr Baudis <pasky@suse.cz>
89360
89361 [BZ #11589]
89362 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89363 around j0() zero points by switching to j1().
89364 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89365 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89367 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89368
89369 2011-09-09 Ulrich Drepper <drepper@gmail.com>
89370
89371 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89372 instead of 0.
89373 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89374 instead of 0.
89375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89376 Patch in part by Pavel Roskin <proski@gnu.org>.
89377
89378 [BZ #13138]
89379 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89380 realloc.
89381 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
89382 Free memory block if necessary.
89383
89384 [BZ #12847]
89385 * libio/genops.c (INTDEF): For string streams the _lock pointer can
89386 be NULL. Don't lock in this case.
89387
89388 2011-09-09 Roland McGrath <roland@hack.frob.com>
89389
89390 * elf/elf.h (ELFOSABI_GNU): New macro.
89391 (ELFOSABI_LINUX): Define to that.
89392
89393 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
89394
89395 * string/strncat.c (strncat): Undef the symbol in case it has been
89396 defined in bits/string.h.
89397
89398 2011-09-09 Ulrich Drepper <drepper@gmail.com>
89399
89400 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
89401
89402 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
89403 link map.
89404
89405 2011-08-17 Andreas Jaeger <aj@suse.de>
89406
89407 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
89408
89409 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
89410 Ian Lance Taylor <iant@google.com>
89411
89412 * math/libm-test.inc (lround_test): New testcase.
89413 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
89414
89415 2011-09-08 Ulrich Drepper <drepper@gmail.com>
89416
89417 * Makefile: Remove support for automatic cvs check-ins.
89418 * Makerules: Likewise.
89419 * config.make.in: Likewise.
89420 * configure.in: Likewise.
89421 * intl/Makefile: Likewise.
89422 * locale/Makefile: Likewise.
89423 * po/Makefile: Likewise.
89424 * posix/Makefile: Likewise.
89425 * sysdeps/gnu/Makefile: Likewise.
89426 * sysdeps/mach/hurd/Makefile: Likewise.
89427 * sysdeps/sparc/sparc32/Makefile: Likewise.
89428
89429 [BZ #13118]
89430 * posix/Makefile (bug-regex32-ENV): Define.
89431 Patch by John Stanley <jpsinthemix@verizon.net>.
89432
89433 * misc/Makefile (headers): Add bits/select2.h.
89434 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
89435 * misc/bits/select2.h: New file.
89436 * include/bits/select2.h: New file.
89437 * debug/Makefile (routines): Add fdelt_chk.
89438 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
89439 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
89440 FD_ISSET.
89441 * debug/fdelt_chk.c: New file.
89442
89443 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
89444 * wcsmbs/test-wmemcmp.c: Likewise.
89445 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
89446 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
89447
89448 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89449
89450 * string/Makefile (strop-tests): Add memcmp.
89451 * string/test-wmemcmp.c: New file.
89452 * string/test-memcmp.c: Add wmemcmp support.
89453
89454 2011-09-08 Roland McGrath <roland@hack.frob.com>
89455
89456 [BZ #13153]
89457 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
89458 2011-07-19 change.
89459
89460 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
89461 garbage value in a __mach_port_mod_refs call in the cases of the
89462 task-self and thread-self ports.
89463
89464 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
89465
89466 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
89467
89468 2011-09-08 Andreas Schwab <schwab@redhat.com>
89469
89470 * elf/dl-load.c (lose): Check for non-null L.
89471
89472 2011-09-07 Ulrich Drepper <drepper@gmail.com>
89473
89474 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
89475
89476 * elf/dl-libc.c (dlerror_run): Pass back error code from
89477 dl_catch_error.
89478
89479 [BZ #13123]
89480 * elf/dl-load.c (lose): Free l_origin if it is valid.
89481
89482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
89483 names.
89484 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
89485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89487 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
89489 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
89490
89491 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89492
89493 * sysdeps/powerpc/fpu/e_hypot.c: New file.
89494 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
89495 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
89496 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
89497 * sysdeps/powerpc/fpu/k_cosf.c: New file.
89498 * sysdeps/powerpc/fpu/k_sinf.c: New file.
89499 * sysdeps/powerpc/fpu/s_cosf.c: New file.
89500 * sysdeps/powerpc/fpu/s_sinf.c: New file.
89501 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
89502 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
89503
89504 2011-08-15 Alan Modra <amodra@gmail.com>
89505
89506 [BZ #13092]
89507 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
89508 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
89509 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
89510 ppc_mcount to static-only-routines.
89511 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
89512 __mcount_internal.
89513 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
89514 __mcount_internal with usual JUMPTARGET. Remove useless nop.
89515
89516 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
89517
89518 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
89519 for finite and infinity parameters.
89520
89521 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89522
89523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
89524 and add nop instructions for throughput optimization.
89525 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89526
89527 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
89528
89529 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
89530 aligned copy for power7 with vector-scalar instructions.
89531 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
89532
89533 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
89534
89535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
89536 AVX check.
89537
89538 2011-09-07 Andreas Schwab <schwab@redhat.com>
89539
89540 [BZ #13144]
89541 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89542 last change.
89543
89544 2011-09-07 Ulrich Drepper <drepper@gmail.com>
89545
89546 * sysdeps/unix/sysv/linux/x86_64/init-first.c
89547 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89548 syscall wrapper around clock_gettime in __vdso_clock_gettime.
89549 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89550 clock_gettime.
89551
89552 2011-09-06 Ulrich Drepper <drepper@gmail.com>
89553
89554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89555 Forgot to demangle the pointer.
89556
89557 * sysdeps/i386/sysdep.h: Define atom_text_section.
89558 * sysdeps/x86_64/sysdep.h: Likewise.
89559 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89560 section with atom_text_section.
89561 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89562 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89563 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89565 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89566
89567 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89569 already be defined. Change to take two parameters and don't assign
89570 result to variable. Adjust all users.
89571 Define INTERNAL_GETTIME if not already defined.
89572 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89573 call.
89574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89575 HAVE_CLOCK_GETTIME_VSYSCALL.
89576 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89577
89578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89579 gettimeofday vsyscall, just use time.
89580
89581 2011-09-06 Andreas Schwab <schwab@redhat.com>
89582
89583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89584 <errno.h>.
89585
89586 2011-09-06 Ulrich Drepper <drepper@gmail.com>
89587
89588 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89589 syscall on x86-64.
89590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89591 syscall.
89592 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89593 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89594 syscall if possible.
89595
89596 2011-09-05 Ulrich Drepper <drepper@gmail.com>
89597
89598 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89599 e_ident. Don't pass to find_mapsXX.
89600 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89601
89602 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
89603
89604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89605 strchr-sse2-no-bsf strrchr-sse2-no-bsf
89606 * sysdeps/x86_64/multiarch/strchr.S: Update.
89607 Check bit_slow_BSF bit.
89608 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89609 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89610 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89611
89612 2011-09-05 Ulrich Drepper <drepper@gmail.com>
89613
89614 [BZ #13134]
89615 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89616 before glibc 2.15.
89617 (tryshell): Define.
89618 (__spawni): Change last parameter to be flag. Test
89619 SPAWN_XFLAGS_USE_PATH flag to use path or not.
89620 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89621 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89622 * posix/spawni.c: Likewise.
89623 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89624 * posix/spawnp.c: Likewise. Change normal version to use
89625 SPAWN_XFLAGS_USE_PATH.
89626 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89627 SPAWN_XFLAGS_TRY_SHELL.
89628
89629 [BZ #13150]
89630 * posix/glob.h: Remove gcc 1.x support.
89631
89632 [BZ #13068]
89633 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89634
89635 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
89636
89637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89638 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89639 strrchr-sse2-bsf
89640 * sysdeps/i386/i686/multiarch/strchr.S: New file.
89641 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89642 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89643 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89644 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89646
89647 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89648
89649 * sysdeps/x86_64/wcscmp.S: New file.
89650
89651 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89652 wcscmp-c wcscmp-sse2
89653 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89654 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89655 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89656 * wcsmbs/wcscmp.c: Allow renaming.
89657
89658 2011-09-05 David S. Miller <davem@davemloft.net>
89659
89660 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89661 stack slot, rather than the struct return pointer slot.
89662 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89663 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89665 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89666
89667 2011-09-05 Ulrich Drepper <drepper@gmail.com>
89668
89669 * po/ja.po: Update from translation team.
89670
89671 [BZ #13144]
89672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89673 kernel in 64-bit binaries.
89674
89675 2011-09-01 David S. Miller <davem@davemloft.net>
89676
89677 * elf/elf.h (HWCAP_SPARC_*): Move to..
89678 * sysdeps/sparc/sysdep.h: this new file and add new values.
89679 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89680 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89681 _DL_HWCAP_COUNT to 24.
89682 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89683 entries.
89684 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89685 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89686 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89688 instead of magic constants.
89689 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89690
89691 2011-08-31 David S. Miller <davem@davemloft.net>
89692
89693 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89695 Reimplement to do errno handling inline.
89696 (SYSCALL_ERROR_HANDLER): New macro.
89697 (__SYSCALL_STRING): Do not do errno handling in asm.
89698 (__CLONE_SYSCALL_STRING): Delete.
89699 (__INTERNAL_SYSCALL_STRING): Delete.
89700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89701 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89702 (PSEUDO): Reimplement to do errno handling inline.
89703 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89704 (SYSCALL_ERROR_HANDLER): New macro.
89705 (__SYSCALL_STRING): Do not do errno handling in asm.
89706 (__CLONE_SYSCALL_STRING): Delete.
89707 (__INTERNAL_SYSCALL_STRING): Delete.
89708 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89709 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89710 i386.
89711 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89712 (inline_syscall*): Add 'err' argument.
89713 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89714 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89715 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89716 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89717
89718 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89719 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89720
89721 2011-08-30 Andreas Schwab <schwab@redhat.com>
89722
89723 * elf/rtld.c (dl_main): Relocate objects in dependency order.
89724
89725 2011-08-29 Jiri Olsa <jolsa@redhat.com>
89726
89727 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89728 directive.
89729
89730 2011-08-24 David S. Miller <davem@davemloft.net>
89731
89732 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89733
89734 2011-08-24 Andreas Schwab <schwab@redhat.com>
89735
89736 * elf/Makefile: Add rules to build and run unload8 test.
89737 * elf/unload8.c: New file.
89738 * elf/unload8mod1.c: New file.
89739 * elf/unload8mod1x.c: New file.
89740 * elf/unload8mod2.c: New file.
89741 * elf/unload8mod3.c: New file.
89742
89743 * elf/dl-close.c (_dl_close_worker): Reset private search list if
89744 it wasn't used.
89745
89746 2011-08-23 David S. Miller <davem@davemloft.net>
89747
89748 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89749 subtract stack bias.
89750 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89751 %sp not %fp in calculations.
89752 (_JMPBUF_UNWINDS_ADJ): Likewise.
89753
89754 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89755 (aio_suspend): Call it to force an exception region around the
89756 AIO_MISC_WAIT() invocation.
89757
89758 2011-08-23 Andreas Schwab <schwab@redhat.com>
89759
89760 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89761 backslash.
89762
89763 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
89764
89765 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89766 protection macro.
89767 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89768 and <dl-machine.h>.
89769 (Elf64_FuncDesc): Remove.
89770
89771 2011-08-22 David S. Miller <davem@davemloft.net>
89772
89773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89774 sigaltstack check, add missing cfi directives.
89775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89776 missing cfi directives, and sigaltstack handling.
89777
89778 2011-08-16 Andreas Schwab <schwab@redhat.com>
89779
89780 [BZ #11724]
89781 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89782 object is seen twice.
89783 * elf/dl-fini.c (_dl_sort_fini): Likewise.
89784
89785 * elf/Makefile (distribute): Add tst-initorder2.c.
89786 (tests): Add tst-initorder2.
89787 (modules-names): Add tst-initorder2a tst-initorder2b
89788 tst-initorder2c tst-initorder2d. Add rules to build them.
89789 ($(objpfx)tst-initorder2.out): New rule.
89790 * elf/tst-initorder2.c: New file.
89791 * elf/tst-initorder2.exp: New file.
89792
89793 2011-08-22 Andreas Schwab <schwab@redhat.com>
89794
89795 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89796
89797 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89798 dependencies back to end of function.
89799
89800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89801 $(elfobjdir)/ld.so.
89802
89803 2011-08-21 Ulrich Drepper <drepper@gmail.com>
89804
89805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89806 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89807 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89808 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89809 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89810 of __vdso_gettimeofday.
89811 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89812 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
89813 attribute_hidden.
89814 (_libc_vdso_platform_setup): Remove initialization of
89815 __vdso_gettimeofday and __vdso_time.
89816
89817 2011-08-20 Ulrich Drepper <drepper@gmail.com>
89818
89819 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89820 and fgetc_unlocked.
89821 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89822 getc_unlocked.
89823
89824 * elf/dl-open.c (add_to_global): Report additions to the global scope
89825 for LD_DEBUG=scopes.
89826 (dl_open_worker): Also print scope of newly loaded dependencies.
89827 (_dl_show_scope): Indicate if there is no scope.
89828
89829 [BZ #13114]
89830 * stdio-common/Makefile (tests): Add bug24.
89831 * stdio-common/bug24.c: New file.
89832
89833 2011-08-19 Andreas Jaeger <aj@suse.de>
89834
89835 [BZ #13114]
89836 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89837 non-existant file when using close-on-exec mode.
89838
89839 2011-08-20 Ulrich Drepper <drepper@gmail.com>
89840
89841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89842 the very first instruction.
89843
89844 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89845 the CFI state in the end.
89846 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89847 inclusion of dl-trampoline.h.
89848 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89849
89850 2011-08-19 Andreas Schwab <schwab@redhat.com>
89851
89852 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89853 expectations for long double.
89854
89855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89856 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89857
89858 2011-08-14 David S. Miller <davem@davemloft.net>
89859
89860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89861 artificual limit depends upon the system page size.
89862
89863 2011-08-17 Ulrich Drepper <drepper@gmail.com>
89864
89865 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89866 * resolv/Makefile: Define CFLAGS-libresolv.
89867
89868 2011-08-17 Andreas Schwab <schwab@redhat.com>
89869
89870 * nss/makedb.c (compute_tables): Make variables used in nested
89871 function static.
89872
89873 2011-08-17 Ulrich Drepper <drepper@gmail.com>
89874
89875 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89876 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89877 if buffer was too small.
89878
89879 * elf/pldd.c (main): Attach to all threads in the process.
89880 Rewrite /proc handling to use *at functions.
89881
89882 2011-08-16 Ulrich Drepper <drepper@gmail.com>
89883
89884 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89885 specifies first scope to show.
89886 (dl_open_worker): Update callers. Move printing scope of new
89887 object to before the relocation.
89888 * elf/rtld.c (dl_main): Update _dl_show_scope call.
89889 * sysdeps/generic/ldsodefs.h: Update declaration.
89890
89891 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89892 string for the scope number.
89893
89894 2011-08-14 Ulrich Drepper <drepper@gmail.com>
89895
89896 * nscd/servicescache.c (cache_addserv): Make sure written is always
89897 initialized.
89898
89899 2011-08-14 Roland McGrath <roland@hack.frob.com>
89900
89901 * sysdeps/i386/i486/bits/atomic.h
89902 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89903 statement expression, so as to suppress "set but not used" warning.
89904 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89905
89906 * string/strncat.c (STRNCAT): Use prototype definition.
89907
89908 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89909 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89910 -Iprograms here.
89911 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89912 (localedef-modules): Add localedef.
89913 (locale-modules): Add locale.
89914
89915 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89916 * elf/rtld.c (dl_main): Invert order of assignment in last change,
89917 to avoid a warning.
89918
89919 2011-08-14 David S. Miller <davem@davemloft.net>
89920
89921 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89922 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89923
89924 2011-08-13 Ulrich Drepper <drepper@gmail.com>
89925
89926 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89927 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89928 * elf/rtld.c (dl_main): Set l_name of vDSO.
89929 Call _dl_show_scope when DL_DEBUG_SCOPES.
89930 (process_dl_debug): Recognize scopes flag and also set it for all.
89931 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89932 Declare _dl_show_scope.
89933
89934 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89935 (do_dlopen): Pass caller_dlopen to dl_open.
89936 (__libc_dlopen_mode): Initialize caller_dlopen.
89937
89938 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89939 of libc. Make tolower call locale-independent. Optimize a bit by
89940 using isdigit instead of isalnum.
89941 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89942
89943 2011-08-12 Ulrich Drepper <drepper@gmail.com>
89944
89945 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89946 was a dependency or dynamically loaded.
89947
89948 2011-08-11 Ulrich Drepper <drepper@gmail.com>
89949
89950 * intl/l10nflist.c: Allow architecture-specific pop function.
89951 * sysdeps/x86_64/l10nflist.c: New file.
89952
89953 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89954 classification.
89955
89956 2011-08-10 Andreas Schwab <schwab@redhat.com>
89957
89958 * include/dirent.h: Add libc_hidden_proto for scandirat and
89959 scandirat64. Don't declare __scandirat64.
89960 * dirent/scandirat.c: Add libc_hidden_def.
89961 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89962 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89963
89964 2011-08-10 David S. Miller <davem@davemloft.net>
89965
89966 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89967 enum.
89968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89971
89972 2011-08-09 Ulrich Drepper <drepper@gmail.com>
89973
89974 * Versions.def [libc]: Add GLIBC_2.15.
89975 * dirent/Makefile (routines): Add scandirat and scandirat64.
89976 * dirent/Versions [libc]: Export scandirat and scandirat64 for
89977 GLIBC_2.15.
89978 * dirent/dirent.h: Declare scandirat and scandirat64.
89979 * dirent/scandirat.c: New file.
89980 * dirent/scandirat64.c: New file.
89981 * sysdeps/wordsize-64/scandirat.c: New file.
89982 * sysdeps/wordsize-64/scandirat64.c: New file.
89983 * dirent/opendir.c: Define opendirat.
89984 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
89985 using scandirat.
89986 * dirent/scandir64.c: Adjust for scandir.c change.
89987 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
89988 __scandirat64, and __scandir_cancel_handler.
89989 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
89990 additional parameter and use openat instead of open (outside of ld.so).
89991 Add new __opendir as wrapper around __opendirat.
89992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89993 here without requiring old scandirat implementation.
89994
89995 2011-08-08 Ulrich Drepper <drepper@gmail.com>
89996
89997 * dirent/scandir.c (cancel_handler): Renamed to
89998 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
89999 defined. Adjust users.
90000 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
90001 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
90002
90003 2011-08-04 Ulrich Drepper <drepper@gmail.com>
90004
90005 * string/test-string.h (IMPL): Use __STRING to expand name and then
90006 stringify it.
90007
90008 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
90009 of cleanups.
90010
90011 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90012
90013 * string/Makefile: Update.
90014 (strop-tests): Append strncat.
90015 * string/test-wcscmp.c: New file.
90016 New comprehensive test for wcscmp.
90017 * string/test-strcmp.c: Update.
90018 (WIDE): New define.
90019
90020 2011-07-22 Andreas Schwab <schwab@redhat.com>
90021
90022 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
90023 line.
90024
90025 2011-07-26 Andreas Schwab <schwab@redhat.com>
90026
90027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90028 encoding to ACE if AI_IDN.
90029
90030 2011-08-01 Jakub Jelinek <jakub@redhat.com>
90031
90032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
90033 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
90034
90035 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
90036
90037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
90038 Fix overflow bug in strncat.
90039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
90040
90041 * string/test-strncat.c: Update.
90042 Add new tests for checking overflow bugs.
90043
90044 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
90045
90046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90047 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
90048 * sysdeps/i386/i686/multiarch/strcat.S: New file.
90049 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
90050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
90051 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
90052 * sysdeps/i386/i686/multiarch/strncat.S: New file.
90053 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
90054 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
90055
90056 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
90057 (USE_AS_STRCAT): Define.
90058 Add strcat and strncat support.
90059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90060
90061 2011-07-25 Andreas Schwab <schwab@redhat.com>
90062
90063 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
90064 __n bigger than INT_MAX+1.
90065 (__strncmp_g): Likewise.
90066
90067 2011-07-23 Ulrich Drepper <drepper@gmail.com>
90068
90069 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
90070 * libio/stido.h: Likewise.
90071
90072 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
90073 (AF_NFC): Define.
90074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
90075 (AF_NFC): Define.
90076
90077 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
90078 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90080 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
90081 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90082
90083 [BZ #13021]
90084 * scripts/test-installation.pl: Don't expect libnss_test1 to be
90085 installed.
90086
90087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
90088 typo.
90089 (_dl_x86_64_save_sse): Likewise.
90090
90091 2011-07-22 Ulrich Drepper <drepper@gmail.com>
90092
90093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
90094 OSXSAVE.
90095 (_dl_x86_64_save_sse): Likewise.
90096
90097 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
90098
90099 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
90100
90101 2011-07-21 Andreas Schwab <schwab@redhat.com>
90102
90103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
90104 change.
90105 (_dl_x86_64_save_sse): Use correct AVX check.
90106
90107 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90108
90109 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
90110 bug in strncpy/strncat.
90111 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
90112
90113 2011-07-21 Ulrich Drepper <drepper@gmail.com>
90114
90115 * string/tester.c (test_strcat): Add tests for different alignments
90116 of source and destination.
90117 (test_strncat): Likewise.
90118
90119 2011-07-20 Ulrich Drepper <drepper@gmail.com>
90120
90121 [BZ #12852]
90122 * posix/glob.c (glob): Check passed in values before using them in
90123 expressions to avoid some overflows.
90124 (glob_in_dir): Likewise.
90125
90126 [BZ #13007]
90127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
90128 check for AVX enablement so that we don't crash with old kernels and
90129 new hardware.
90130 * elf/tst-audit4.c: Add same checks here.
90131 * elf/tst-audit6.c: Likewise.
90132
90133 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
90134
90135 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
90136
90137 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
90138
90139 2011-07-20 Ulrich Drepper <drepper@gmail.com>
90140
90141 * po/cs.po: Update from translation team.
90142 * po/bg.po: Likewise.
90143
90144 2011-07-12 Marek Polacek <mpolacek@redhat.com>
90145
90146 * misc/sys/cdefs.h: Add support for const attribute.
90147 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
90148 to gnu_dev_{major,minor,makedev} functions.
90149
90150 2011-07-20 Marek Polacek <mpolacek@redhat.com>
90151
90152 * intl/dcigettext.c (get_output_charset): Add missing bracket.
90153
90154 2011-07-20 Andreas Schwab <schwab@redhat.com>
90155
90156 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
90157 strlen results.
90158
90159 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
90160
90161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
90162 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
90163 register in order to avoid conflicts with the soft frame pointer
90164 being held in r11 when necessary.
90165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
90166 (INTERNAL_VSYSCALL_NCS): Likewise.
90167
90168 2011-07-14 Marek Polacek <mpolacek@redhat.com>
90169
90170 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
90171 * elf/dl-fini.c (_dl_fini): Adjust caller.
90172 * elf/dl-close.c (_dl_close_worker): Likewise.
90173 * sysdeps/generic/ldsodefs.h: Adjust declaration.
90174
90175 2011-07-15 Marek Polacek <mpolacek@redhat.com>
90176
90177 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
90178 "aux_cache->nlibs < 0".
90179
90180 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
90181 in the reload-count case.
90182
90183 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
90184
90185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90186 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
90187 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
90188 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
90189 * sysdeps/x86_64/multiarch/strcat.S: New file.
90190 * sysdeps/x86_64/multiarch/strncat.S: New file.
90191 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
90192 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
90193 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
90194 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
90195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
90196 (USE_AS_STRCAT): Define.
90197 Add strcat and strncat support.
90198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
90200 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
90201 * string/strncat.c: Update.
90202 (USE_AS_STRNCAT): Define.
90203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90204 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
90205 and i7.
90206 * sysdeps/x86_64/multiarch/init-arch.h
90207 (bit_Prefer_PMINUB_for_stringop): New.
90208 (index_Prefer_PMINUB_for_stringop): Likewise.
90209 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
90210 bit_Prefer_PMINUB_for_stringop.
90211
90212 2011-07-19 Ulrich Drepper <drepper@gmail.com>
90213
90214 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90215 buffer64.
90216 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90217 of casting of buffer.
90218 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90219 buffer32 and buffer64.
90220 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90221 writes instead of casting of buffer.
90222 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90223 buffer32.
90224 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90225 casting of buffer.
90226
90227 2011-07-19 Andreas Schwab <schwab@redhat.com>
90228
90229 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90230
90231 2011-07-19 Ulrich Drepper <drepper@gmail.com>
90232
90233 * nscd/nscd.c (termination_handler): Don't do anything for a database
90234 if it has not yet been initialized.
90235
90236 2011-07-18 Ulrich Drepper <drepper@gmail.com>
90237
90238 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90239
90240 2011-07-15 Marek Polacek <mpolacek@redhat.com>
90241
90242 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90243
90244 2011-07-18 Ulrich Drepper <drepper@gmail.com>
90245
90246 * po/nl.po: Update from translation team.
90247 * po/sv.po: Likewise.
90248
90249 2011-07-16 Roland McGrath <roland@hack.frob.com>
90250
90251 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90252 now disallowed by GCC.
90253
90254 * configure.in (use-default-link): Default to yes if a test -shared
90255 link meets our qualifications.
90256 * configure: Regenerated.
90257
90258 * config.make.in (output-format): New variable.
90259 * configure.in: Check for ld --print-output-format support.
90260 * configure: Regenerated.
90261 * Makerules ($(common-objpfx)format.lds)
90262 [$(output-format) != unknown]: Just use $(output-format),
90263 instead of the linker-script munging.
90264
90265 2011-07-14 Roland McGrath <roland@hack.frob.com>
90266
90267 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90268 of $(common-objpfx)shlib.lds.
90269 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90270
90271 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90272 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90273
90274 * configure.in (-z relro check): Adjust test code to add a large
90275 writable data section after it.
90276 * configure: Regenerated.
90277
90278 2011-07-11 Roland McGrath <roland@hack.frob.com>
90279
90280 * configure.in (-z relro check): Fix test code to make the variable
90281 truly const.
90282 * configure: Regenerated.
90283
90284 2011-07-11 Ulrich Drepper <drepper@gmail.com>
90285
90286 * nscd/nscd.h (struct traced_file): Define.
90287 (struct database_dyn): Remove inotify_descr, reset_res, and filename
90288 elements. Add traced_files.
90289 (inotify_fd): Declare.
90290 (register_traced_file): Declare.
90291 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90292 (inotify_fd): Export.
90293 (resolv_conf_descr): Remove.
90294 (nscd_init): Move inotify descriptor creation to main.
90295 Don't register files for notification here.
90296 (register_traced_file): New function.
90297 (invalidate_cache): Don't use reset_res to determine whether to call
90298 res_init, go through the list of registered files.
90299 (main_loop_poll): The inotify descriptors are now stored in the
90300 structures for the traced files.
90301 (main_loop_epoll): Likewise.
90302 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
90303 to __nss_disable_nscd.
90304 * nscd/cache.c (prune_cache): There is no single inotify descriptor
90305 for a database anymore. Check the records for all the registered
90306 files instead.
90307 * nss/Makefile (libnss_files-routines): Add files-init.
90308 (libnss_db-routines): Add db-init.
90309 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90310 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90311 * nss/nss_db/db-init.c: New file.
90312 * nss/nss_files/files-init.c: New file.
90313 * nss/nsswitch.c (nss_load_library): New function. Broken out of
90314 __nss_lookup_function.
90315 (__nss_lookup_function): Call nss_load_library.
90316 (nss_load_all_libraries): New function.
90317 (__nss_disable_nscd): Take parameter with callback function for files
90318 to register. Set is_nscd. Load all the DSOs for the NSS modules
90319 used for the cached services.
90320 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90322 options for features to all the files in nscd.
90323
90324 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90325
90326 2011-07-10 Roland McGrath <roland@hack.frob.com>
90327
90328 * csu/elf-init.c (__libc_csu_init): Comment typo.
90329
90330 2011-07-09 Ulrich Drepper <drepper@gmail.com>
90331
90332 * po/pl.po: Update from translation team.
90333 * po/ja.po: Likewise.
90334 * po/ru.po: Likewise.
90335 * po/ko.po: Likewise.
90336 * po/fr.po: Likewise.
90337
90338 2011-07-09 Roland McGrath <roland@hack.frob.com>
90339
90340 * configure.in (.ctors/.dtors header and trailer check):
90341 Use an empirical test on a built program.
90342 * configure: Regenerated.
90343
90344 * configure.in (-z relro check): Use an empirical test on a built DSO.
90345 Detect, but do not require, on ia64.
90346 * configure: Regenerated.
90347
90348 * configure.in (READELF): Find it with AC_CHECK_TOOL.
90349 Update tests that use readelf to use $READELF instead.
90350 * configure: Regenerated.
90351
90352 2011-07-08 Ulrich Drepper <drepper@gmail.com>
90353
90354 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90355 if the result is not used.
90356
90357 2011-07-05 Andreas Jaeger <aj@suse.de>
90358
90359 [BZ #9696]
90360 * stdlib/tst-strtod.c: Add testcase.
90361
90362 2011-07-07 Ulrich Drepper <drepper@gmail.com>
90363
90364 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90365 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90366 The latter has a higher limit. Take additional parameter to pass to
90367 the new function.
90368 (__pathconf): Pass file to __statfs_link_max.
90369 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90370 __statfs_link_max.
90371 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90372 __statfs_link_max.
90373
90374 [BZ #12868]
90375 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90376 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90377 Handle Lustre.
90378 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90379 (__statfs_filesize_max): Likewise.
90380 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90381
90382 2011-07-05 Andreas Jaeger <aj@suse.de>
90383
90384 * resolv/res_comp.c (dn_skipname): Remove unused variable.
90385
90386 2011-07-06 Marek Polacek <mpolacek@redhat.com>
90387
90388 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90389 `status' variable.
90390 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90391 Likewise.
90392
90393 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
90394
90395 * Makefile (strop-tests): Add strncat.
90396 * string/test-strncat.c: New file.
90397
90398 2011-06-30 Marek Polacek <mpolacek@redhat.com>
90399
90400 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
90401
90402 2011-06-21 Andreas Jaeger <aj@suse.de>
90403
90404 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
90405 Copy rule from iconvdata/Makefile.
90406
90407 2011-07-06 Ulrich Drepper <drepper@gmail.com>
90408
90409 [BZ #12922]
90410 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
90411 but no long options are defined, just return 'W'.
90412
90413 2011-06-22 Marek Polacek <mpolacek@redhat.com>
90414
90415 [BZ #9696]
90416 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
90417
90418 2011-07-06 Ulrich Drepper <drepper@gmail.com>
90419
90420 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
90421 netgroups to read.
90422 (innetgr): Likewise.
90423
90424 2011-07-05 Roland McGrath <roland@hack.frob.com>
90425
90426 * config.make.in (install_root): Default to $(DESTDIR).
90427
90428 2011-07-05 Ulrich Drepper <drepper@gmail.com>
90429
90430 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
90431
90432 2011-07-02 Roland McGrath <roland@hack.frob.com>
90433
90434 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
90435
90436 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
90437 containing directory rather than embedding absolute directory names.
90438
90439 * scripts/check-local-headers.sh: Rewritten using awk.
90440 Match by word, not by line. Print error messages for matches.
90441 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
90442
90443 * Makerules [shlib-lds-flags empty]:
90444 ($(common-objpfx)libc_pic.opts): New target.
90445 ($(common-objpfx)libc_pic.os.clean): New target.
90446 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
90447
90448 * config.make.in (OBJCOPY): New variable.
90449 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
90450 * configure: Regenerated.
90451
90452 * config.make.in (use-default-link): New variable.
90453 * configure.in (use_default_link): Grok --with-default-link to set it.
90454 * configure: Regenerated.
90455 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
90456 (shlib-lds, shlib-lds-flags): Define to empty.
90457
90458 * Makerules (shlib-lds): New variable.
90459 (shlib-lds-flags): New variable.
90460 (build-shlib, build-moduile, build-module-asneeded): Use it.
90461 ($(common-objpfx)libc.so): Use $(shlib-lds).
90462 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
90463 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
90464
90465 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
90466 DT_FLAGS/DT_FLAGS_1 with zero flags.
90467
90468 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
90469 linker script munging.
90470
90471 2011-07-02 Ulrich Drepper <drepper@gmail.com>
90472
90473 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
90474 as 128-bit value.
90475 * crypt/sha512.c (sha512_process_block): Perform total addition using
90476 128-bit if possible.
90477 (__sha512_finish_ctx): Likewise.
90478 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
90479 as 64-bit value.
90480 * crypt/sha256.c (SWAP64): Define.
90481 (sha256_process_block): Perform total addition using 64-bit if
90482 possible.
90483 (__sha256_finish_ctx): Likewise.
90484
90485 2011-07-01 Ulrich Drepper <drepper@gmail.com>
90486
90487 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
90488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
90489 * nscd/hstcache.c (cache_addhst): Likewise.
90490 * nscd/grpcache.c (cache_addgr): Likewise.
90491 * nscd/aicache.c (addhstaiX): Likewise.
90492 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
90493
90494 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
90495
90496 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
90497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
90498 * nscd/hstcache.c (cache_addhst): Likewise.
90499 * nscd/grpcache.c (cache_addgr): Likewise.
90500 * nscd/aicache.c (addhstaiX): Likewise.
90501
90502 2011-07-01 Andreas Schwab <schwab@redhat.com>
90503
90504 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
90505 domain only when needed.
90506
90507 2011-06-30 Andreas Schwab <schwab@redhat.com>
90508
90509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
90510 is always restored.
90511
90512 2011-06-29 Ulrich Drepper <drepper@gmail.com>
90513
90514 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
90515 are re-adding the entry.
90516 * nscd/servicescache.c (cache_addserv): Likewise.
90517
90518 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
90519
90520 * sysdeps/generic/dl-irel.h: fix protection against multiple
90521 inclusions.
90522 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
90523
90524 2011-06-28 Ulrich Drepper <drepper@gmail.com>
90525
90526 [BZ #12935]
90527 * malloc/memusage.sh: Fix quoting in message.
90528 * debug/xtrace.sh: Likewise.
90529
90530 * configure.in: Remove support for --experimental-malloc option, make
90531 it the default.
90532 * config.make.in: Likewise.
90533 * malloc/Makefile: Likewise.
90534
90535 2011-06-27 Andreas Schwab <schwab@redhat.com>
90536
90537 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
90538 two-byte characters.
90539
90540 2011-06-27 Roland McGrath <roland@hack.frob.com>
90541
90542 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90543 AC_CACHE_CHECK invocation.
90544 * configure: Regenerated.
90545
90546 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90547
90548 2011-06-27 Ulrich Drepper <drepper@gmail.com>
90549
90550 [BZ #12350]
90551 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
90552 bit from old_res_options.
90553
90554 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90555
90556 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90557 value type for setfct.
90558
90559 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
90560
90561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90562 __gettimeofday instead of gettimeofday.
90563
90564 2011-06-26 Ulrich Drepper <drepper@gmail.com>
90565
90566 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90567
90568 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
90569
90570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90571
90572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90573 info.
90574
90575 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
90576
90577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90578 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90579 strcpy-sse2-unaligned strncpy-sse2-unaligned
90580 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90581 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90582 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90583 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90584 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90585 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90587 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90588 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90589 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90590 (STRCPY): Support SSE2 and SSSE3 versions.
90591
90592 2011-06-24 Ulrich Drepper <drepper@gmail.com>
90593
90594 [BZ #12874]
90595 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90596 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90597 kernels which artificially limit size of requests.
90598
90599 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
90600
90601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90602 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90603 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90604 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90605 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90606 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90607 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90608 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90609 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90611 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90612 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90613 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90614 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90615 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90617 Enable unaligned load optimization for Intel Core i3, i5 and i7
90618 processors.
90619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90620 Define.
90621 (index_Fast_Unaligned_Load): Define.
90622 (HAS_FAST_UNALIGNED_LOAD): Define.
90623
90624 2011-06-23 Marek Polacek <mpolacek@redhat.com>
90625
90626 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90627
90628 2011-06-22 Ulrich Drepper <drepper@gmail.com>
90629
90630 [BZ #12907]
90631 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90632 until it is clear that the information is realy needed.
90633 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90634
90635 2011-06-22 Andreas Schwab <schwab@redhat.com>
90636
90637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90638
90639 2011-06-22 Ulrich Drepper <drepper@gmail.com>
90640
90641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90642 /sys/devices/system/cpu/online if it is usable.
90643
90644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90645 reading the information from the /proc filesystem to once a second.
90646
90647 2011-06-21 Andreas Jaeger <aj@suse.de>
90648
90649 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90650 NULL after inclusion of kernel headers.
90651
90652 2011-06-21 Ulrich Drepper <drepper@gmail.com>
90653
90654 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90655 calls to internal_setent.
90656
90657 [BZ #12885]
90658 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90659 addresses using gethostbyname4_r ignore IPv4 addresses.
90660
90661 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90662 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
90663
90664 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90665
90666 2011-06-20 David S. Miller <davem@davemloft.net>
90667
90668 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90669 inclusions.
90670 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90671
90672 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90673 (elf_irel): Use it.
90674 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90675 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90676 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90677 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90678 * sysdeps/x86_64/dl-irel.h: Likewise.
90679
90680 * elf/dl-runtime.c: Use elf_ifunc_invoke.
90681 * elf/dl-sym.c: Likewise.
90682
90683 2011-06-15 Ulrich Drepper <drepper@gmail.com>
90684
90685 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
90686 need to dereference resplen2.
90687
90688 2011-06-14 Andreas Schwab <schwab@redhat.com>
90689
90690 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90691
90692 2011-06-15 Ulrich Drepper <drepper@gmail.com>
90693
90694 * Makeconfig: Define vardbdir and inst_vardbdir.
90695 * nss/Makefile: Add rules to install db-Makefile.
90696
90697 * nss/nss_db/db-XXX.c: Cleanup.
90698
90699 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90700 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90701 GLIBC_PRIVATE.
90702 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90703 * nss/makedb.c: Implement -g option to specify that value strings
90704 are generated and should not be added to table iterated over for
90705 get*ent calls.
90706 * nss/nss_db/db-initgroups.c: New file.
90707
90708 * nss/getent.c: Add support for initgroups lookups through getgrouplist
90709 interface.
90710
90711 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90712 (internal_getgrouplist): Adjust to name change.
90713 Update use_initgroups_entry if this is not the first call.
90714 * nss/databases.def: Add initgroups entry.
90715
90716 * nss/makedb.c (compute_tables): Check result of multiple hash table
90717 sizes to minimize maximum chain length.
90718
90719 2011-06-14 Ulrich Drepper <drepper@gmail.com>
90720
90721 * Versions.def: Add entry for libnss_db.
90722 * shlib-versions: Likewise.
90723 * nss/Makefile: Add rules to build libnss_db.
90724 * nss/Versions: Add libnss_db information. Organize libnss_files
90725 entries better.
90726 * nss/db-Makefile: Add gshadow support. Change rules for the new
90727 makedb progra. Some minor improvements to generate smaller files.
90728 * nss/nss_db/nss_db.h: Move NSS database header data structures to
90729 here from...
90730 * nss/makedb.c: ...here.
90731 Improve database format to be smaller and require less memory at
90732 runtime.
90733 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
90734 db anymore.
90735 * nss/nss_db/db-netgrp.c: Likewise.
90736 * nss/nss_db/db-open.c: Likewise.
90737 * nss/nss_files/flies-XXX.x: Adjust comments.
90738 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90739 * nss/nss_files/files-grp.c: Likewise.
90740 * nss/nss_files/files-hosts.c: Likewise.
90741 * nss/nss_files/files-network.c: Likewise.
90742 * nss/nss_files/files-proto.c: Likewise.
90743 * nss/nss_files/files-pwd.c: Likewise.
90744 * nss/nss_files/files-rpc.c: Likewise.
90745 * nss/nss_files/files-service.c: Likewise.
90746 * nss/nss_files/files-sgrp.c: Likewise.
90747 * nss/nss_files/files-spwd.c: Likewise.
90748 * nss/nss_db/db-alias.c: Removed.
90749 * nss/nss_db/dummy-db.h: Removed.
90750
90751 2011-06-02 Ulrich Drepper <drepper@gmail.com>
90752
90753 * nss/makedb.c: Rewritten to not use database library.
90754 * nss/Makefile: Update to build new makedb program.
90755
90756 2011-06-14 Andreas Jaeger <aj@suse.de>
90757
90758 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90759 memset declaration.
90760
90761 2011-06-10 Andreas Schwab <schwab@redhat.com>
90762
90763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90764 tmpbuf.
90765
90766 2011-06-10 Roland McGrath <roland@hack.frob.com>
90767
90768 * Makerules (shlib.lds): Fail if the linker script comes out empty.
90769 * elf/Makefile ($(objpfx)ld.so): Likewise.
90770
90771 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90772 Don't list ld.so twice in dependencies.
90773
90774 * posix/bug-regex31.c: Include <stdlib.h>.
90775
90776 * nscd/hstcache.c (cache_addhst): Remove unused variable.
90777
90778 * nis/nss_compat/compat-spwd.c
90779 (getspent_next_nss_netgr): Remove unused variable.
90780 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90781
90782 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90783 nonmembers" output to use the right array.
90784
90785 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90786
90787 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90788
90789 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90790 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90791 * catgets/gencat.c (read_input_file): Likewise.
90792 * locale/programs/locarchive.c (enlarge_archive): Likewise.
90793
90794 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90795 variable definition inside #if's controlling its use.
90796
90797 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90798
90799 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90800
90801 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90802
90803 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90804 unreachable code.
90805
90806 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90807
90808 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90809 * configure: Regenerated.
90810
90811 * Makerules: Revert last change.
90812 * elf/Makefile: Likewise.
90813
90814 2011-06-09 Roland McGrath <roland@hack.frob.com>
90815
90816 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90817 * elf/Makefile ($(objpfx)librtld.os): Likewise.
90818 (reloc-link): Likewise.
90819
90820 2011-06-09 Ulrich Drepper <drepper@gmail.com>
90821
90822 * elf/Makefile: Add rules to build pldd.
90823 * elf/pldd.c: New file.
90824 * elf/pldd-xx.c: New file.
90825
90826 2011-06-07 Ulrich Drepper <drepper@gmail.com>
90827
90828 * version.h: Update for 2.15 development version.
90829
90830 2011-06-07 David S. Miller <davem@davemloft.net>
90831
90832 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90833 ifuncs.
90834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90835 elf_machine_lazy_rel): Likewise.
90836 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90838 elf_machine_lazy_rel): Likewise.
90839 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90840 dl_hwcap via passed in argument.
90841 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90842 Likewise.
90843
90844 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
90845
90846 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
90847
90848 2011-06-06 Roland McGrath <roland@hack.frob.com>
90849
90850 [BZ #12849]
90851 * manual/fdl-1.1.texi: New file, verbatim from:
90852 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90853 * manual/lgpl-2.1.texi: New file, verbatim from:
90854 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90855 * manual/Makefile (licenses): New variable, list those new file names.
90856 (texis): Use it.
90857 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90858
90859 * manual/fdl.texi: File removed.
90860 * manual/lesser.texi: File removed.
90861 * manual/libc.texinfo (Copying, Documentation License):
90862 Use new @include file names, put @appendix directive before @include.
90863
90864 2011-06-04 Jakub Jelinek <jakub@redhat.com>
90865
90866 [BZ #12841]
90867 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90868 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90869 (mq_open): Add __NTH.
90870
90871 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
90872
90873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90874 Assume Intel Core i3/i5/i7 processor if AVX is available.
90875
90876 2011-05-31 Ulrich Drepper <drepper@gmail.com>
90877
90878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90879 typo.
90880
90881 2011-05-31 Andreas Schwab <schwab@redhat.com>
90882
90883 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90884 memory. Use alloca_account. Fix memory leak when retrying.
90885
90886 2011-05-31 Ulrich Drepper <drepper@gmail.com>
90887
90888 * version.h (RELEASE): Bump for 2.14 release.
90889 * include/features.h (__GLIBC_MINOR__): Bump to 14.
90890
90891 * config.make.in (RANLIB): Remove entry.
90892
90893 2011-05-30 Ulrich Drepper <drepper@gmail.com>
90894
90895 * po/Makefile (po-sed-cmd): Add ksh to extensions.
90896 (libc.pot): Work around missing support for .ksh extension in xgettext.
90897
90898 [BZ #12684]
90899 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90900 if both request failed.
90901 (send_dg): In case of server errors clear resplen or *resplen2.
90902
90903 [BZ #12454]
90904 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90905 when there are multiple maps.
90906 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90907 (_dl_fini): Remove test here.
90908
90909 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90910
90911 2011-05-29 Ulrich Drepper <drepper@gmail.com>
90912
90913 [BZ #12350]
90914 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90915 bit from old_res_options.
90916 (gaih_inet): Likewise.
90917
90918 [BZ #11099]
90919 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90920 as signed.
90921
90922 * resolv/res_init.c (res_setoptions): Make the code more compact.
90923
90924 [BZ #11558]
90925 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90926 set RES_USEVC.
90927
90928 [BZ #11634]
90929 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90930
90931 * malloc/malloc.h: Mark malloc hook variables as deprecated.
90932
90933 [BZ #11781]
90934 * malloc/malloc.h: Declare malloc hook variables as volatile.
90935
90936 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90937 in last patch.
90938
90939 [BZ #11799]
90940 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90941 raise in the comment.
90942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90944 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90945
90946 2011-05-28 Ulrich Drepper <drepper@gmail.com>
90947
90948 [BZ #12811]
90949 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90950 grow the buffers more if it already has to be sufficient.
90951 (build_wcs_upper_buffer): Likewise.
90952 * posix/regexec.c (check_matching): Likewise.
90953 (clean_state_log_if_needed): Likewise.
90954 (extend_buffers): Don't enlarge buffers beyond size of the input
90955 buffer.
90956 Patches mostly by Emil Wojak <emil@wojak.eu>.
90957 * posix/bug-regex32.c: New file.
90958 * posix/Makefile (tests): Add bug-regex32.
90959
90960 * locale/findlocale.c (_nl_find_locale): Return right away if
90961 _nl_explode_name failed.
90962 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90963
90964 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90965
90966 * debug/xtrace.sh: Unify messages.
90967 * malloc/memusage.sh: Likewise.
90968
90969 [BZ #12813]
90970 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90971 time symbol from vDSO. Substitute with vsyscall if not available.
90972 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90973 __vdso_time.
90974
90975 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90976 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90977 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90978 Add sendmmsg and internal_sendmmsg.
90979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90980 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90981 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90982
90983 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90984 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90985 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90986
90987 2011-05-27 Ulrich Drepper <drepper@gmail.com>
90988
90989 [BZ #12813]
90990 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90991 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
90992 available.
90993 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90994 __vdso_getcpu.
90995
90996 [BZ #12814]
90997 * iconvdata/Makefile (tests): Add bug-iconv9.
90998 * iconvdata/bug-iconv9.c: New file.
90999
91000 2011-05-27 Andreas Schwab <schwab@redhat.com>
91001
91002 [BZ #12814]
91003 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
91004
91005 2011-05-25 Jakub Jelinek <jakub@redhat.com>
91006
91007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91008 (struct user_regs_struct): Change intcs field back to cs.
91009
91010 2011-05-25 Ulrich Drepper <drepper@gmail.com>
91011
91012 * po/ja.po: Update from translation team.
91013
91014 2011-05-23 Ulrich Drepper <drepper@gmail.com>
91015
91016 [BZ #12795]
91017 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
91018 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
91019
91020 2011-05-20 Andreas Schwab <schwab@redhat.com>
91021
91022 * stdlib/longlong.h: Update from GCC.
91023
91024 2011-05-23 Andreas Schwab <schwab@redhat.com>
91025
91026 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
91027 parameter name.
91028 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
91029 Add parameter name.
91030 (__sysconf): Pass it down.
91031
91032 2011-05-22 Ulrich Drepper <drepper@gmail.com>
91033
91034 [BZ #12671]
91035 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
91036 some situations.
91037 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
91038 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
91039 add in in __libc_use_alloca calls. Adjust callers.
91040 (glob): Use malloc in some situations.
91041
91042 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
91043 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
91044 pltexit.
91045
91046 2011-05-21 Ulrich Drepper <drepper@gmail.com>
91047
91048 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
91049 and CLOCK_BOOTTIME_ALARM.
91050
91051 [BZ #12782]
91052 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
91053 is returned.
91054
91055 * string/_strerror.c (__strerror_r): Print negative errors as signed
91056 numbers.
91057
91058 [BZ #12777]
91059 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
91060 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
91061 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
91062
91063 * configure.in: Fix typo in redirection and correct removal of test
91064 files in two cases.
91065
91066 [BZ #12788]
91067 * locale/setlocale.c (new_composite_name): Fix test to check for
91068 identical name of all categories.
91069
91070 [BZ #12792]
91071 * libio/filedoalloc.c (local_isatty): New function.
91072 (_IO_file_doallocate): Use local_isatty.
91073 * stdio-common/perror.c (perror): In case a new stream is used
91074 forward the stream error.
91075 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
91076 error flag.
91077
91078 2011-05-20 Ulrich Drepper <drepper@gmail.com>
91079
91080 [BZ #11884]
91081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
91082 alloca.
91083 * include/alloca.h (extend_alloca_account): Define.
91084
91085 [BZ #11857]
91086 * posix/regex.h: Fix comments with documentation of user-accessible
91087 fields after compilation and describe correct free'ing of pattern
91088 after re_compile_pattern.
91089 Patch by Reuben Thomas <rrt@sc3d.org>.
91090
91091 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
91092
91093 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
91094 and -mno-altivec to prevent the compiler from using Altivec and/or
91095 VSX instructions when the corresponding registers are not available.
91096
91097 2011-05-19 Andreas Schwab <schwab@redhat.com>
91098
91099 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
91100
91101 2011-05-19 Ulrich Drepper <drepper@gmail.com>
91102
91103 * libio/freopen.c (freopen): Use __dup2, not dup2.
91104 * libio/freopen64.c (freopen64): Likewise.
91105
91106 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
91107
91108 [BZ #12775]
91109 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
91110 * math/Makefile (tests): Add test-powl.
91111 (CFLAGS-test-powl.c): Define.
91112 * math/test-powl.c: New file.
91113
91114 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
91115
91116 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
91117
91118 2011-05-17 Ulrich Drepper <drepper@gmail.com>
91119
91120 [BZ #11837]
91121 * iconvdata/gb18030.c: Update to GB18020-2005.
91122
91123 2011-05-16 Ulrich Drepper <drepper@gmail.com>
91124
91125 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
91126 RE_SYNTAX_POSIX_AWK): Update to match recent development.
91127 Patch by Aharon Robbins <arnold@skeeve.com>.
91128
91129 [BZ #11892]
91130 * stdlib/putenv.c (putenv): Don't always create copy of the variable
91131 on the stack.
91132
91133 [BZ #11895]
91134 * misc/pselect.c (__pselect): Handle timeout value errors hidden
91135 through underflows.
91136
91137 [BZ #12766]
91138 * misc/error.c (error_at_line): Ensure file_name and old_file_name
91139 point to strings before performing equality test for error_one_per_line
91140 mode.
91141
91142 [BZ #11697]
91143 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
91144
91145 [BZ #11820]
91146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91147 (struct user_fpregs_struct): Avoid __uint*_t types.
91148
91149 [BZ #6420]
91150 * malloc/mtrace.c (tr_where): Add additional parameter to point to
91151 symbol info. Use it instead of calling _dl_addr locally.
91152 (lock_and_info): New function.
91153 (tr_freehook): Call lock_and_info and pass symbol info as additional
91154 parameter to tr_where.
91155 (tr_mallochook): Likewise.
91156 (tr_reallochook): Likewise.
91157 (tr_memalignhook): Likewise.
91158
91159 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
91160 used and couldn't be at all thread-safe.
91161
91162 2011-05-15 Ulrich Drepper <drepper@gmail.com>
91163
91164 * libio/freopen.c (freopen): Don't close old file descriptor
91165 before the new one is opened. Instead dup the new file descriptor
91166 to the old one after the new stream is created.
91167 * libio/freopen64.c (freopen64): Likewise.
91168 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
91169 * libio/fileops.c (_IO_new_file_close_it): Handle new
91170 _IO_FLAGS2_NOCLOSE flag.
91171 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
91172 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
91173 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
91174 _IO_FLAGS2_NOCLOSE flag.
91175 * include/unistd.h: Add hidden_proto for dup3.
91176 Define __have_dup3.
91177 * io/dup3.c: Define hidden symbol.
91178 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
91179
91180 [BZ #7101]
91181 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
91182 when an incomplete long option is used.
91183 * posix/tst-getopt_long1.c: New file.
91184 * posix/Makefile (tests): Add tst-getopt_long1.
91185
91186 [BZ #10138]
91187 * scripts/config.guess: Update from autoconf-2.68.
91188 * scripts/config.sub: Likewise.
91189
91190 [BZ #10157]
91191 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
91192 tests into ...
91193 (has_cpuclock): ...this. New function.
91194 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
91195 macro here based on has_cpuclock code.
91196
91197 [BZ #10149]
91198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91199 First byte (not low byte) is now always NUL.
91200 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
91201
91202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91203 Use non-cancelable interfaces.
91204
91205 [BZ #9809]
91206 * locale/iso-639.def: Add entry for Sorani.
91207
91208 [BZ #11901]
91209 * include/stdlib.h: Move include protection to the right place.
91210 Define abort_msg_s. Declare __abort_msg with it.
91211 * stdlib/abort.c (__abort_msg): Adjust type.
91212 * assert/assert.c (__assert_fail_base): New function. Majority
91213 of code from __assert_fail. Allocate memory for __abort_msg with
91214 mmap.
91215 (__assert_fail): Now call __assert_fail_base.
91216 * assert/assert-perr.c: Remove bulk of implementation. Use
91217 __assert_fail_base.
91218 * include/assert.hL Declare __assert_fail_base.
91219 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91220 mmap.
91221 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91222
91223 2011-05-14 Ulrich Drepper <drepper@gmail.com>
91224
91225 [BZ #11952]
91226 [BZ #12453]
91227 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91228 until all modules are registered in the DTV.
91229 * elf/Makefile: Add rules to build and run tst-tls19.
91230 * elf/tst-tls19.c: New file.
91231 * elf/tst-tls19mod1.c: New file.
91232 * elf/tst-tls19mod2.c: New file.
91233 * elf/tst-tls19mod3.c: New file.
91234 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91235
91236 [BZ #12083]
91237 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91238 correctly.
91239
91240 [BZ #12601]
91241 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91242 two-byte sequence errors.
91243 * iconvdata/Makefile (tests): Add bug-iconv8.
91244 * iconvdata/bug-iconv8.c: New file.
91245
91246 [BZ #12626]
91247 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91248 buf2 definition.
91249
91250 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91251
91252 [BZ #12432]
91253 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91254 (dummy_getcfa): New function.
91255 (init): Get _Unwind_GetCFA address, use dummy if not found.
91256 (backtrace_helper): In recursion check, also check whether CFA changes.
91257 (__backtrace): Completely initialize arg.
91258
91259 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91260 storing incomplete byte sequence in state object. Avoid testing for
91261 guaranteed too small input if we know there is enough data available.
91262
91263 2011-05-11 Andreas Schwab <schwab@redhat.com>
91264
91265 * Makeconfig (+link-pie): Indent.
91266 * Rules (binaries-pie): Define if $(have-fpie) and
91267 $(build-shared).
91268 (binaries-shared): Also filter out $(binaries-pie).
91269 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91270 * nscd/Makefile (others-pie): Add nscd.
91271 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91272 ($(objpfx)nscd): Remove command override.
91273 * login/Makefile (others-pie): Add pt_chown.
91274 ($(objpfx)pt_chown): Remove command override.
91275 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91276 remove command overrides.
91277
91278 2011-05-13 Ulrich Drepper <drepper@gmail.com>
91279
91280 * libio/tst_putwc.c: Fix error messages.
91281
91282 [BZ #12724]
91283 * libio/fileops.c (_IO_new_file_close_it): Always flush when
91284 currently writing and seek to current position when not.
91285 * libio/Makefile (tests): Add bug-fclose1.
91286 * libio/bug-fclose1.c: New file.
91287
91288 2011-05-12 Ulrich Drepper <drepper@gmail.com>
91289
91290 [BZ #12511]
91291 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91292 don't set DF_1_NODELETE here.
91293 (do_lookup_x): When entering new entry test for copy relocation
91294 and if necessary set DF_1_NODELETE flag.
91295 * elf/tst-unique4.cc: New file.
91296 * elf/tst-unique4.h: New file.
91297 * elf/tst-unique4lib.cc: New file.
91298 * elf/Makefile: Add rules to build and run tst-unique4.
91299 Patch by Piotr Bury <pbury@goahead.com>.
91300
91301 2011-05-11 Ulrich Drepper <drepper@gmail.com>
91302
91303 [BZ #12052]
91304 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91305
91306 [BZ #12625]
91307 * misc/mntent_r.c (addmntent): Flush the stream after the output
91308
91309 [BZ #12393]
91310 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91311 (is_trusted_path_normalize): Skip initial colon. Append slash
91312 to empty buffer. Duplicate is_trusted_path code but allow
91313 constructed patch to be prefix.
91314 (is_dst): Allow $ORIGIN followed by /.
91315 (_dl_dst_substitute): Correct clearing of check_for_trusted.
91316 Correct testing of result of is_trusted_path_normalize
91317 (decompose_rpath): Fix warning.
91318
91319 2011-05-10 Ulrich Drepper <drepper@gmail.com>
91320
91321 [BZ #11257]
91322 * grp/initgroups.c (internal_getgrouplist): When we found the service
91323 list through the initgroups entry in nsswitch.conf do not always
91324 continue on a successful lookup. Don't always use the
91325 __nss_group_database value if it is set.
91326 * nss/nsswitch.conf (initgroups): Change action for successful db
91327 lookup to continue for compatibility.
91328
91329 2011-05-09 Ulrich Drepper <drepper@gmail.com>
91330
91331 [BZ #11532]
91332 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91333 and CP774 modules.
91334 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91335 and CP774 modules.
91336 * iconvdata/tst-tables.sh: Likewise.
91337 * iconvdata/cp770.c: New file.
91338 * iconvdata/cp771.c: New file.
91339 * iconvdata/cp772.c: New file.
91340 * iconvdata/cp773.c: New file.
91341 * iconvdata/cp774.c: New file.
91342 * iconvdata/testdata/CP770: New file.
91343 * iconvdata/testdata/CP770..UTF8: New file.
91344 * iconvdata/testdata/CP771: New file.
91345 * iconvdata/testdata/CP771..UTF8: New file.
91346 * iconvdata/testdata/CP772: New file.
91347 * iconvdata/testdata/CP772..UTF8: New file.
91348 * iconvdata/testdata/CP773: New file.
91349 * iconvdata/testdata/CP773..UTF8: New file.
91350 * iconvdata/testdata/CP774: New file.
91351 * iconvdata/testdata/CP774..UTF8: New file.
91352
91353 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91354 END CHARMAP line.
91355 * iconvdata/gen-8bit-gap.sh: Likewise.
91356 * iconvdata/gen-8bit.sh: Likewise.
91357
91358 * locale/iso-639.def: Add ary entry.
91359
91360 [BZ #11258]
91361 * locale/C-translit.h.in: Add U20A1 transliteration.
91362
91363 [BZ #12178]
91364 * locale/iso-639.def: Add wae entry.
91365 Patch by Kevin Bortis <bortis@translate-wae.ch>.
91366
91367 [BZ #12545]
91368 * locale/programs/localedef.c (construct_output_path): Use ssize_t
91369 for n.
91370
91371 [BZ #12711]
91372 * locale/C-translit.h.in: Add entry for U20B9.
91373 Patch by pravin.d.s@gmail.com.
91374
91375 2011-05-08 Ulrich Drepper <drepper@gmail.com>
91376
91377 [BZ #12713]
91378 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91379 ENAMETOOLONG use generic getcwd.
91380 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
91381 in rtld. Use *stat64.
91382 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91383 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91384 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91385 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91386 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91387 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91388 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91389 __fstatat64 macros.
91390 * include/dirent.h: Add libc_hidden_proto for rewinddir.
91391 * dirent/rewinddir.c: Add libc_hidden_def.
91392 * sysdeps/mach/hurd/rewinddir.c: Likewise.
91393 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
91394
91395 * include/dirent.h (__alloc_dir): Add flags parameter.
91396 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
91397 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
91398 __alloc_dir.
91399 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
91400 from fdopendir if O_CLOEXEC is already set.
91401
91402 2011-03-15 Alan Modra <amodra@gmail.com>
91403
91404 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
91405 l_tls_firstbyte_offset non-zero. Save padding offset in
91406 l_tls_firstbyte_offset for later use.
91407 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
91408 freeing static tls block.
91409
91410 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
91411
91412 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
91413 where #ifdef was intended. The intent is to prevent ARG_MAX from
91414 being defined by the kernel headers.
91415
91416 2011-05-07 Ulrich Drepper <drepper@gmail.com>
91417
91418 [BZ #12734]
91419 * resolv/resolv.h: Define RES_NOTLDQUERY.
91420 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
91421 no-tld-query and set RES_NOTLDQUERY.
91422 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
91423 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
91424 modern BIND to search name as TLD unless forbidden.
91425
91426 2011-05-07 Petr Baudis <pasky@suse.cz>
91427 Ulrich Drepper <drepper@gmail.com>
91428
91429 [BZ #12393]
91430 * elf/dl-load.c (fillin_rpath): Move trusted path check...
91431 (is_trusted_path): ...to here.
91432 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
91433 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
91434 using is_trusted_path_normalize() in setuid scripts.
91435
91436 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
91437
91438 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
91439 __BEGIN/__END_DECLS.
91440
91441 2011-05-06 Ulrich Drepper <drepper@gmail.com>
91442
91443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
91444 NSS_STATUS_NOTFOUND if no record was found.
91445
91446 2011-05-05 Andreas Schwab <schwab@redhat.com>
91447
91448 * sunrpc/Makefile (headers): Add rpc/netdb.h.
91449 (headers-not-in-tirpc): Remove rpc/netdb.h
91450 * resolv/netdb.h: Revert last change.
91451
91452 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
91453
91454 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
91455 circular dependency between libgcc.a and libc.a.
91456
91457 2011-05-05 Andreas Schwab <schwab@redhat.com>
91458
91459 * resolv/netdb.h: Don't include <rpc/netdb.h>.
91460 * nis/Makefile: Don't install rpcsvc/*.
91461 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
91462 instead of <rpc/types.h>.
91463 (MAXHOSTNAMELEN): Define.
91464
91465 2011-05-03 Andreas Schwab <schwab@redhat.com>
91466
91467 * elf/ldconfig.c (add_dir): Don't crash on empty path.
91468
91469 2011-04-28 Maciej Babinski <mbabinski@google.com>
91470
91471 [BZ #12714]
91472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
91473 gethostbyname4_r when IPv6 results are possible.
91474
91475 2011-05-02 Ulrich Drepper <drepper@gmail.com>
91476
91477 [BZ #12723]
91478 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
91479 _PC_PIPE_BUF handling.
91480
91481 2011-04-30 Bruno Haible <bruno@clisp.org>
91482
91483 [BZ #12717]
91484 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
91485 * resolv/netdb.h (getnameinfo): Change type of flags parameter
91486 to 'int'.
91487 * inet/getnameinfo.c (getnameinfo): Likewise.
91488
91489 2011-04-29 Ulrich Drepper <drepper@gmail.com>
91490
91491 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
91492 to groups setting in database lookup.
91493 * nss/nsswitch.conf: Add initgroups entry.
91494
91495 2011-04-22 Ulrich Drepper <drepper@gmail.com>
91496
91497 [BZ #12685]
91498 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
91499 mode string.
91500 Patch by Eric Blake <eblake@redhat.com>.
91501
91502 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
91503
91504 * sunrpc/Makefile (need-export-routines): Add svc_run.
91505 (routines): Remove svc_run.
91506 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
91507 * sunrpc/clnt_perr.c (clnt_perrno): Export.
91508 * sunrpc/svc_run.c (svc_run): Likewise.
91509 * sunrpc/svc_udp.c (svcudp_create): Likewise.
91510
91511 2011-04-21 Ulrich Drepper <drepper@gmail.com>
91512
91513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
91514 problem in reallocation in last patch.
91515
91516 2011-04-20 Ulrich Drepper <drepper@gmail.com>
91517
91518 * sunrpc/Makefile: Move inclusion of Rules.
91519
91520 2011-04-19 Ulrich Drepper <drepper@gmail.com>
91521
91522 * nss/nss_files/files-initgroups.c: New file.
91523 * nss/Makefile (libnss_files-routines): Add files-initgroups.
91524 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
91525 _nss_files_initgroups_dyn.
91526
91527 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
91528
91529 * elf/elf.h (R_ARM_IRELATIVE): Define.
91530
91531 2011-04-19 Ulrich Drepper <drepper@gmail.com>
91532
91533 * po/ru.po: Update from translation team.
91534
91535 2011-04-17 Ulrich Drepper <drepper@gmail.com>
91536
91537 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
91538 dependencies.
91539
91540 2011-02-06 Mike Frysinger <vapier@gentoo.org>
91541
91542 [BZ #12653]
91543 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91544 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91545 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91546 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91548
91549 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
91550
91551 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91552 differing bytes.
91553 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91554 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91556
91557 2011-04-17 Ulrich Drepper <drepper@gmail.com>
91558
91559 [BZ #12420]
91560 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91561 storing it.
91562 * stdlib/bug-getcontext.c: New file.
91563 * stdlib/Makefile: Add rules to build and run bug-getcontext.
91564
91565 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91566
91567 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91568 instructions into .machine "z9-109".
91569 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91570 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91571
91572 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91573
91574 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91575 between environment variables and auxiliary vector.
91576
91577 2011-04-16 Ulrich Drepper <drepper@gmail.com>
91578
91579 * Makefile: Add rules to build linkobj/libc.so.
91580 * include/libc-symbols.h: Define libc_hidden_nolink.
91581 * include/rpc/auth.h: Mark functions which are to be hidden.
91582 * include/rpc/auth_des.h: Likewise.
91583 * include/rpc/auth_unix.h: Likewise.
91584 * include/rpc/clnt.h: Likewise.
91585 * include/rpc/des_crypt.h: Likewise.
91586 * include/rpc/key_prot.h: Likewise.
91587 * include/rpc/pmap_clnt.h: Likewise.
91588 * include/rpc/pmap_prot.h: Likewise.
91589 * include/rpc/pmap_rmt.h: Likewise.
91590 * include/rpc/rpc_msg.h: Likewise.
91591 * include/rpc/svc.h: Likewise.
91592 * include/rpc/svc_auth.h: Likewise.
91593 * include/rpc/xdr.h: Likewise.
91594 * nis/Makefile: Link all DSOs against linkobj/libc.so.
91595 * nss/Makefile: Likewise.
91596 * sunrpc/Makefile: Don't install headers. Build library with normal
91597 entry points. Don't build rpcinfo. Link RPC tests appropriately.
91598 * sunrpc/auth_des.c: Hide exported symbols by default, export some
91599 for the compat linking library. Remove use of INTDEF/INTUSE.
91600 * sunrpc/auth_none.c: Likewise.
91601 * sunrpc/auth_unix.c: Likewise.
91602 * sunrpc/authdes_prot.c: Likewise.
91603 * sunrpc/authuxprot.c: Likewise.
91604 * sunrpc/clnt_gen.c: Likewise.
91605 * sunrpc/clnt_perr.c: Likewise.
91606 * sunrpc/clnt_raw.c: Likewise.
91607 * sunrpc/clnt_simp.c: Likewise.
91608 * sunrpc/clnt_tcp.c: Likewise.
91609 * sunrpc/clnt_udp.c: Likewise.
91610 * sunrpc/clnt_unix.c: Likewise.
91611 * sunrpc/des_crypt.c: Likewise.
91612 * sunrpc/des_soft.c: Likewise.
91613 * sunrpc/get_myaddr.c: Likewise.
91614 * sunrpc/key_call.c: Likewise.
91615 * sunrpc/key_prot.c: Likewise.
91616 * sunrpc/netname.c: Likewise.
91617 * sunrpc/pm_getmaps.c: Likewise.
91618 * sunrpc/pm_getport.c: Likewise.
91619 * sunrpc/pmap_clnt.c: Likewise.
91620 * sunrpc/pmap_prot.c: Likewise.
91621 * sunrpc/pmap_prot2.c: Likewise.
91622 * sunrpc/pmap_rmt.c: Likewise.
91623 * sunrpc/publickey.c: Likewise.
91624 * sunrpc/rpc_cmsg.c: Likewise.
91625 * sunrpc/rpc_common.c: Likewise.
91626 * sunrpc/rpc_dtable.c: Likewise.
91627 * sunrpc/rpc_prot.c: Likewise.
91628 * sunrpc/rpc_thread.c: Likewise.
91629 * sunrpc/rtime.c: Likewise.
91630 * sunrpc/svc.c: Likewise.
91631 * sunrpc/svc_auth.c: Likewise.
91632 * sunrpc/svc_authux.c: Likewise.
91633 * sunrpc/svc_raw.c: Likewise.
91634 * sunrpc/svc_run.c: Likewise.
91635 * sunrpc/svc_simple.c: Likewise.
91636 * sunrpc/svc_tcp.c: Likewise.
91637 * sunrpc/svc_udp.c: Likewise.
91638 * sunrpc/svc_unix.c: Likewise.
91639 * sunrpc/svcauth_des.c: Likewise.
91640 * sunrpc/xcrypt.c: Likewise.
91641 * sunrpc/xdr.c: Likewise.
91642 * sunrpc/xdr_array.c: Likewise.
91643 * sunrpc/xdr_float.c: Likewise.
91644 * sunrpc/xdr_intXX_t.c: Likewise.
91645 * sunrpc/xdr_mem.c: Likewise.
91646 * sunrpc/xdr_rec.c: Likewise.
91647 * sunrpc/xdr_ref.c: Likewise.
91648 * sunrpc/xdr_sizeof.c: Likewise.
91649 * sunrpc/xdr_stdio.c: Likewise.
91650
91651 2011-04-10 Ulrich Drepper <drepper@gmail.com>
91652
91653 [BZ #12650]
91654 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91655 * sysdeps/ia64/dl-tls.h: Likewise.
91656 * sysdeps/powerpc/dl-tls.h: Likewise.
91657 * sysdeps/s390/dl-tls.h: Likewise.
91658 * sysdeps/sh/dl-tls.h: Likewise.
91659 * sysdeps/sparc/dl-tls.h: Likewise.
91660 * sysdeps/x86_64/dl-tls.h: Likewise.
91661 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91662
91663 2011-03-14 Andreas Schwab <schwab@redhat.com>
91664
91665 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91666 rpath element also skip the following colon.
91667 (expand_dynamic_string_token): Add is_path parameter and pass
91668 down to DL_DST_REQUIRED and _dl_dst_substitute.
91669 (decompose_rpath): Call expand_dynamic_string_token with
91670 non-zero is_path. Ignore empty rpaths.
91671 (_dl_map_object_from_fd): Call expand_dynamic_string_token
91672 with zero is_path.
91673
91674 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
91675
91676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91677 Make cancelable.
91678
91679 2011-04-09 Ulrich Drepper <drepper@gmail.com>
91680
91681 [BZ #12655]
91682 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91683 Patch by Filipe David Manana <fdmanana@apache.org>.
91684
91685 2011-04-07 Andreas Schwab <schwab@redhat.com>
91686
91687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91688 Maintain aligned stack.
91689 (CHECK_RSP): Remove unused macro.
91690
91691 2011-04-03 Ulrich Drepper <drepper@gmail.com>
91692
91693 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91694 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91695
91696 2011-04-02 Ulrich Drepper <drepper@gmail.com>
91697
91698 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91699
91700 * include/features.h: Mention __USE_XOPEN2K8 in comment.
91701
91702 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
91703
91704 [BZ #12518]
91705 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91706 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91707 * sysdeps/x86_64/memmove.c: New file.
91708 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91709 (memcpy): Renamed to ...
91710 (__new_memcpy): This.
91711 (memcpy): Provide GLIBC_2_14 memcpy.
91712 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91713 (memcpy): Provide GLIBC_2_2_5 memcpy.
91714
91715 2011-04-01 Ulrich Drepper <drepper@gmail.com>
91716
91717 [BZ #12631]
91718 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91719
91720 2011-03-30 Andreas Schwab <schwab@redhat.com>
91721
91722 * misc/syncfs.c: New file.
91723 * misc/Makefile (routines): Add syncfs.
91724 * posix/unistd.h: Declare syncfs.
91725 * sysdeps/unix/syscalls.list: Add syncfs.
91726
91727 2011-04-01 Andreas Schwab <schwab@redhat.com>
91728
91729 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91730 open_by_handle_at.
91731 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91732 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91736 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91738
91739 2011-04-01 Ulrich Drepper <drepper@gmail.com>
91740
91741 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91742 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91745 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91747 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91748
91749 * io/Makefile: Compile fallocate.c, fallocate64.c, and
91750 sync_file_range.c with -fexceptions.
91751 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91752 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91753 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91754 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91755 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91756 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91758 sync_file_range as cancellation point
91759 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
91760 now a wrapper around __call_sync_file_range with cancellation handling.
91761 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91762 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
91763 function name to __call_sync_file_range.
91764 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91765 Add call_sync_file_range.
91766
91767 2011-04-01 Andreas Schwab <schwab@redhat.com>
91768
91769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91770 bits/timex.h.
91771
91772 2011-04-01 Ulrich Drepper <drepper@gmail.com>
91773
91774 * iconv/iconv.h: Fix typo in comment.
91775 * io/fcntl.h: Likewise.
91776 * libio/stdio.h: Likewise.
91777 * posix/spawn.h: Likewise.
91778 * posix/unistd.h: Likewise.
91779 * stdlib/stdlib.h: Likewise.
91780 * time/time.h: Likewise.
91781 * wcsmbs/wchar.h: Likewise.
91782
91783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91784 open_by_handle): Add.
91785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91786 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
91787 Augment a few comments.
91788 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91793 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91794 open_by_handle.
91795
91796 * io/fcntl.h (AT_EMPTY_PATH): Define.
91797
91798 2011-03-30 Ulrich Drepper <drepper@gmail.com>
91799
91800 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91801 * sysdeps/unix/sysv/linux/bits/time.h: New file.
91802 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91803 to...
91804 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
91805 * Versions.def: Add GLIBC_2.14.
91806 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91807 Export.
91808
91809 2011-03-22 Ulrich Drepper <drepper@gmail.com>
91810
91811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91812 round counter.
91813 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91814
91815 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
91816
91817 [BZ #12597]
91818 * string/test-strncmp.c (do_page_test): New function.
91819 (check2): Likewise.
91820 (test_main): Call check2.
91821 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91822
91823 2011-03-20 Ulrich Drepper <drepper@gmail.com>
91824
91825 [BZ #12587]
91826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91827 Handle cache information in CPU leaf 4.
91828 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91829
91830 2011-03-18 Ulrich Drepper <drepper@gmail.com>
91831
91832 [BZ #12583]
91833 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91834 character representation.
91835 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91836
91837 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
91838
91839 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91840 END(__isnan) to END(__isnanf) to match function entry point/label
91841 EALIGN(__isnanf,...).
91842
91843 2011-03-10 Jakub Jelinek <jakub@redhat.com>
91844
91845 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91846
91847 2011-03-10 Ulrich Drepper <drepper@gmail.com>
91848
91849 [BZ #12510]
91850 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91851 copy from the symbol referenced in the relocation to initialize the
91852 used variable.
91853 Patch by Piotr Bury <pbury@goahead.com>.
91854 * elf/Makefile: Add rules to build and tst-unique3.
91855 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91856 * elf/tst-unique3.cc: New file.
91857 * elf/tst-unique3.h: New file.
91858 * elf/tst-unique3lib.cc: New file.
91859 * elf/tst-unique3lib2.cc: New file.
91860
91861 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91862
91863 2011-03-10 Mike Frysinger <vapier@gentoo.org>
91864
91865 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91866 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
91867 to _start.
91868
91869 2011-03-06 Ulrich Drepper <drepper@gmail.com>
91870
91871 * elf/dl-load.c (_dl_map_object): If we are looking for the first
91872 to-be-loaded object along a path to loader is ld.so.
91873
91874 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
91875 Ulrich Drepper <drepper@gmail.com>
91876
91877 * sysdeps/x86_64/memset.S: After aligning destination, code
91878 branches to different locations depending on the value of
91879 misalignment, when multiarch is enabled. Fix this.
91880
91881 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
91882
91883 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91884 Set _x86_64_preferred_memory_instruction for AMD processsors.
91885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91886 Set bit_Prefer_SSE_for_memop for AMD processors.
91887
91888 2011-03-04 Ulrich Drepper <drepper@gmail.com>
91889
91890 * libio/fmemopen.c (fmemopen): Optimize a bit.
91891
91892 2011-03-03 Andreas Schwab <schwab@redhat.com>
91893
91894 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91895
91896 2011-03-03 Roland McGrath <roland@redhat.com>
91897
91898 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91899
91900 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
91901
91902 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91903 __bzero_ultra1 instead of __memset_ultra1.
91904
91905 2011-02-23 Andreas Schwab <schwab@redhat.com>
91906 Ulrich Drepper <drepper@gmail.com>
91907
91908 [BZ #12509]
91909 * include/link.h (struct link_map): Add l_orig_initfini.
91910 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91911 returning unsuccessfully.
91912 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91913 close of a file loaded at startup, restore the original l_initfini
91914 list.
91915 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91916 list, store the pointer.
91917 * elf/Makefile ($(objpfx)noload-mem): New rule.
91918 (noload-ENV): Define.
91919 (tests): Add $(objpfx)noload-mem.
91920 * elf/noload.c: Include <memcheck.h>.
91921 (main): Call mtrace. Close all opened handles.
91922
91923 2011-02-17 Andreas Schwab <schwab@redhat.com>
91924
91925 [BZ #12454]
91926 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91927 dependencies are missing.
91928
91929 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
91930
91931 Fix __if_freereq crash: Unlike the generic version which uses free,
91932 Hurd needs munmap.
91933 * sysdeps/mach/hurd/ifreq.h: New file.
91934
91935 2011-01-27 Petr Baudis <pasky@suse.cz>
91936 Ulrich Drepper <drepper@gmail.com>
91937
91938 [BZ 12445]#
91939 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91940 to extend_alloca().
91941 * stdio-common/bug23.c: New file.
91942 * stdio-common/Makefile (tests): Add bug23.
91943
91944 2010-09-28 Andreas Schwab <schwab@redhat.com>
91945 Ulrich Drepper <drepper@gmail.com>
91946
91947 [BZ #12489]
91948 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91949 before performing relro protection. At old place add assertion
91950 to make sure nothing changed.
91951
91952 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
91953 Glauber de Oliveira Costa <glommer@gmail.com>
91954
91955 * elf/elf.h: Add new ARM TLS relocs.
91956
91957 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
91958
91959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91960 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91961 cast from r3.
91962 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
91963 'tests' variable.
91964 * sysdeps/wordsize-64/tst-writev.c: New file.
91965
91966 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
91967
91968 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91969 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91970 insns in _dl_start to prevent a TOC reference before relocs are
91971 resolved.
91972
91973 2011-02-15 Ulrich Drepper <drepper@gmail.com>
91974
91975 [BZ #12469]
91976 * Makeconfig: Remove RANLIB definition.
91977 * Makerules: Don't use RANLIB.
91978 * aclocal.m4: Remove ranlib test.
91979 * configure.in: No need to check for ranlib.
91980 * elf/rtld-Rules: Don't use RANLIB.
91981
91982 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
91983
91984 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91985 protection macro.
91986 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91987 inclusion protection macro.
91988
91989 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91990 SIGRTMIN and SIGRTMAX and print information in that case only when
91991 SIGRTMIN is defined.
91992
91993 2011-02-11 Jakub Jelinek <jakub@redhat.com>
91994
91995 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91996 arginfo fn returning -1.
91997
91998 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91999 and thousands string is zero terminated.
92000
92001 2011-02-03 Andreas Schwab <schwab@redhat.com>
92002
92003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
92004 sysdeps/unix/sysv/linux/bits/socket.h.
92005
92006 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
92007
92008 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
92009 (__CPU_COUNT): Remove old macros.
92010 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
92011 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
92012 (__CPU_ALLOC, __CPU_FREE): Add macros.
92013 (__sched_cpualloc, __sched_cpufree): Add declarations.
92014
92015 2011-02-05 Ulrich Drepper <drepper@gmail.com>
92016
92017 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
92018 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
92019 * nscd/aicache.c (addhstaiX): Return timeout of added value.
92020 (readdhstai): Return value of addhstaiX call.
92021 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
92022 (addgrbyX): Return value returned by cache_addgr.
92023 (readdgrbyname): Return value returned by addgrbyX.
92024 (readdgrbygid): Likewise.
92025 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
92026 (addpwbyX): Return value returned by cache_addpw.
92027 (readdpwbyname): Return value returned by addhstbyX.
92028 (readdpwbyuid): Likewise.
92029 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
92030 (addservbyX): Return value returned by cache_addserv.
92031 (readdservbyname): Return value returned by addservbyX:
92032 (readdservbyport): Likewise.
92033 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
92034 (addhstbyX): Return value returned by cache_addhst.
92035 (readdhstbyname): Return value returned by addhstbyX.
92036 (readdhstbyaddr): Likewise.
92037 (readdhstbynamev6): Likewise.
92038 (readdhstbyaddrv6): Likewise.
92039 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
92040 (readdinitgroups): Return value returned by addinitgroupsX.
92041 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
92042 (prune_cache): Keep track of timeout value of re-added entries.
92043 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
92044 * nscd/nscd.h: Adjust prototypes of readd* functions.
92045
92046 2011-02-04 Roland McGrath <roland@redhat.com>
92047
92048 * nis/nis_server.c (nis_servstate): Use the right name for 0.
92049 (nis_stats): Likewise.
92050 * nis/nis_modify.c (nis_modify): Likewise.
92051 * nis/nis_remove.c (nis_remove): Likewise.
92052 * nis/nis_add.c (nis_add): Likewise.
92053
92054 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
92055
92056 * posix/fnmatch_loop.c: Add some consts.
92057
92058 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
92059
92060 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
92061
92062 [BZ #12460]
92063 * config.make.in (config-cflags-novzeroupper): Define.
92064 * configure.in: Substitute libc_cv_cc_novzeroupper.
92065 * elf/Makefile (AVX-CFLAGS): Define.
92066 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
92067 (CFLAGS-tst-auditmod4a.c): Likewise.
92068 (CFLAGS-tst-auditmod4b.c): Likewise.
92069 (CFLAGS-tst-auditmod6b.c): Likewise.
92070 (CFLAGS-tst-auditmod6c.c): Likewise.
92071 (CFLAGS-tst-auditmod7b.c): Likewise.
92072 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
92073
92074 2011-02-02 Ulrich Drepper <drepper@gmail.com>
92075
92076 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
92077 function to the callback.
92078 Patch partly by Jiri Olsa <jolsa@redhat.com>.
92079
92080 2011-02-02 Andreas Schwab <schwab@redhat.com>
92081
92082 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
92083 of errno.
92084
92085 2011-01-19 Ulrich Drepper <drepper@gmail.com>
92086
92087 [BZ #11724]
92088 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
92089 of constructors.
92090 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
92091 of destructors.
92092 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
92093
92094 [BZ #11724]
92095 * elf/Makefile: Add rules to build and run new test.
92096 * elf/tst-initorder.c: New file.
92097 * elf/tst-initorder.exp: New file.
92098 * elf/tst-initordera1.c: New file.
92099 * elf/tst-initordera2.c: New file.
92100 * elf/tst-initordera3.c: New file.
92101 * elf/tst-initordera4.c: New file.
92102 * elf/tst-initorderb1.c: New file.
92103 * elf/tst-initorderb2.c: New file.
92104 * elf/tst-order-a1.c: New file.
92105 * elf/tst-order-a2.c: New file.
92106 * elf/tst-order-a3.c: New file.
92107 * elf/tst-order-a4.c: New file.
92108 * elf/tst-order-b1.c: New file.
92109 * elf/tst-order-b2.c: New file.
92110 * elf/tst-order-main.c: New file.
92111 New test case by George Gensure <werkt0@gmail.com>.
92112
92113 2010-10-01 Andreas Schwab <schwab@redhat.com>
92114
92115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92116 decoding ACE if AI_CANONIDN.
92117
92118 2011-01-18 Ulrich Drepper <drepper@gmail.com>
92119
92120 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
92121
92122 2011-01-17 Ulrich Drepper <drepper@gmail.com>
92123
92124 * version.h (RELEASE): Bump for 2.13 release.
92125 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
92126
92127 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
92128
92129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
92130 MADV_NOHUGEPAGE.
92131 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
92132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
92133 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
92134 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
92135 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92137
92138 * posix/getconf.c: Update copyright year.
92139 * catgets/gencat.c: Likewise.
92140 * csu/version.c: Likewise.
92141 * debug/catchsegv.sh: Likewise.
92142 * debug/xtrace.sh: Likewise.
92143 * elf/ldconfig.c: Likewise.
92144 * elf/ldd.bash.in: Likewise.
92145 * elf/sprof.c (print_version): Likewise.
92146 * iconv/iconv_prog.c: Likewise.
92147 * iconv/iconvconfig.c: Likewise.
92148 * locale/programs/locale.c: Likewise.
92149 * locale/programs/localedef.c: Likewise.
92150 * malloc/memusage.sh: Likewise.
92151 * malloc/mtrace.pl: Likewise.
92152 * nscd/nscd.c (print_version): Likewise.
92153 * nss/getent.c: Likewise.
92154
92155 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
92156 PF_CAIF, and PF_ALG.
92157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92158
92159 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
92160
92161 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
92162 (modules-names): Use them.
92163 (ifunc-test-modules, ifunc-pie-tests): Define.
92164 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
92165 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
92166 (test-extras): Likewise.
92167 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
92168 $(compile-command.c).
92169 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
92170 (all-built-dso): Define.
92171 (check-textrel.out, check-execstack.out): Depend on it.
92172
92173 * configure.in: Don't override --enable-multi-arch.
92174
92175 2011-01-15 Ulrich Drepper <drepper@gmail.com>
92176
92177 [BZ #6812]
92178 * nscd/hstcache.c (tryagain): Define.
92179 (cache_addhst): Return tryagain not notfound for temporary errors.
92180 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
92181 failed.
92182
92183 2011-01-14 Ulrich Drepper <drepper@gmail.com>
92184
92185 [BZ #10563]
92186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
92187 to make the syscall.
92188 * sysdeps/unix/sysv/linux/setgroups.c: New file.
92189
92190 [BZ #12378]
92191 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
92192 and fall back to matching as normal character if the string ends before
92193 the matching ']' is found. This is what POSIX requires.
92194 * posix/testfnm.c: Adjust test result.
92195 * posix/globtest.sh: Adjust test result. Add new test.
92196 * posix/tst-fnmatch.input: Likewise.
92197 * posix/tst-fnmatch2.c: Add new test.
92198
92199 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
92200
92201 * elf/Makefile (check-execstack): Revert last change. Depend on
92202 check-execstack.h.
92203 (check-execstack.h): New target.
92204 (generated): Add check-execstack.h.
92205 * elf/check-execstack.c: Include "check-execstack.h".
92206 (main): Revert last change.
92207 (handle_file): Return zero if GNU_STACK is absent and
92208 DEFAULT_STACK_PERMS doesn't include PF_X.
92209
92210 2011-01-13 Ulrich Drepper <drepper@gmail.com>
92211
92212 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92213 in child fails because the descriptor is already closed.
92214 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92215 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92216 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92217
92218 [BZ #12397]
92219 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92220 syscall.
92221
92222 [BZ #10484]
92223 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92224 temporary buffer used to handle multi lookups locally.
92225 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92226
92227 2011-01-12 Ulrich Drepper <drepper@gmail.com>
92228
92229 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92230 loader is ld.so.
92231
92232 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
92233
92234 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92235 alignment for SSE2.
92236
92237 2011-01-12 Ulrich Drepper <drepper@gmail.com>
92238
92239 [BZ #12394]
92240 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92241 characters. When rounding increased number of integer digits recompute
92242 number of groups.
92243 * stdio-common/tst-grouping.c: New file.
92244 * stdio-common/Makefile: Add rules to build and run tst-grouping.
92245
92246 2011-01-09 Ulrich Drepper <drepper@gmail.com>
92247
92248 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92249 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
92250
92251 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92252 void.
92253 * bits/select.h: Likewise.
92254
92255 2011-01-08 Ulrich Drepper <drepper@gmail.com>
92256
92257 * po/ja.po: Update from translation team.
92258
92259 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
92260
92261 [BZ #11155]
92262 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92263 implementation just like for lxstat, fxstatat, et al.
92264
92265 2010-12-27 Jim Meyering <meyering@redhat.com>
92266
92267 [BZ #12348]
92268 * posix/regexec.c (build_trtable): Return failure indication upon
92269 calloc failure. Otherwise, re_search_internal could infloop on OOM.
92270
92271 2010-12-25 Ulrich Drepper <drepper@gmail.com>
92272
92273 [BZ #12201]
92274 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92275 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92276 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92277 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92278
92279 [BZ #12207]
92280 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92281
92282 [BZ #12204]
92283 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92284 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92285
92286 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
92287
92288 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92289 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92290 script has SORT_BY_INIT_PRIORITY.
92291 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92292 NO_CTORS_DTORS_SECTIONS is defined.
92293 * elf/soinit.c: Likewise.
92294 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92295 NO_CTORS_DTORS_SECTIONS is defined.
92296 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92297 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92298 * sysdeps/sh/init-first.c: Likewise.
92299 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92300
92301 2010-12-24 Ulrich Drepper <drepper@gmail.com>
92302
92303 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92304 always use the slow path.
92305
92306 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
92307
92308 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92309 similar rule which adds the sysdep directories to the header search in
92310 order to pick up the correct platform stackinfo.h.
92311 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92312 perform test if it is, otherwise return successfully without testing.
92313 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92314 DEFAULT_STACK_PERMS define in stackinfo.h.
92315 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92316 defined in stackinfo.h.
92317 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92318 DEFAULT_STACK_PERMS defined in stackinfo.h.
92319 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92320 * sysdeps/ia64/stackinfo.h: Likewise.
92321 * sysdeps/s390/stackinfo.h: Likewise.
92322 * sysdeps/sh/stackinfo.h: Likewise.
92323 * sysdeps/sparc/stackinfo.h: Likewise.
92324 * sysdeps/x86_64/stackinfo.h: Likewise.
92325 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92326 PF_X for powerpc64. Retain PF_X for powerpc32.
92327
92328 2010-12-19 Ulrich Drepper <drepper@gmail.com>
92329
92330 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92331 accurately.
92332 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92333 GETDENTS_64BIT_ALIGNED.
92334
92335 2010-12-14 Ulrich Drepper <dreper@gmail.com>
92336
92337 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92338
92339 2010-12-10 Andreas Schwab <schwab@redhat.com>
92340
92341 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92342 _GNU_SOURCE.
92343
92344 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92345 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92346 Remove __restrict.
92347 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92348 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92349
92350 2010-12-09 Ulrich Drepper <drepper@gmail.com>
92351
92352 [BZ #11655]
92353 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92354 are initialized.
92355
92356 2010-12-09 Jakub Jelinek <jakub@redhat.com>
92357
92358 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92359
92360 2010-12-03 Ulrich Drepper <drepper@gmail.com>
92361
92362 * po/it.po: Update from translation team.
92363
92364 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
92365
92366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92367 unused codes.
92368
92369 2010-11-30 Ulrich Drepper <drepper@gmail.com>
92370
92371 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92372
92373 2010-11-24 Andreas Schwab <schwab@redhat.com>
92374
92375 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92376 specially.
92377 (gaih_getanswer_slice): Likewise.
92378
92379 2010-10-20 Jakub Jelinek <jakub@redhat.com>
92380
92381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92382
92383 2010-05-31 Petr Baudis <pasky@suse.cz>
92384
92385 [BZ #11149]
92386 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92387 silently even in the chroot mode.
92388
92389 2010-11-22 Ulrich Drepper <drepper@gmail.com>
92390
92391 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
92392 last patch a bit. Pretty printing
92393
92394 2010-05-31 Petr Baudis <pasky@suse.cz>
92395
92396 [BZ #10085]
92397 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
92398 initialization of skip_initgroups_dyn.
92399
92400 2010-11-19 Ulrich Drepper <drepper@gmail.com>
92401
92402 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
92403 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92404
92405 2010-11-16 Ulrich Drepper <drepper@gmail.com>
92406
92407 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92408
92409 2010-11-11 Andreas Schwab <schwab@redhat.com>
92410
92411 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
92412 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
92413 (tst-fnmatch-ENV): Set MALLOC_TRACE.
92414 ($(objpfx)tst-fnmatch-mem): New rule.
92415 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
92416 * posix/tst-fnmatch.c (main): Call mtrace.
92417
92418 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
92419
92420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92421 Support Intel processor model 6 and model 0x2c.
92422
92423 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
92424
92425 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
92426 signed comparison.
92427
92428 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
92429
92430 [BZ #12205]
92431 * string/test-strncasecmp.c (check_result): New function.
92432 (do_one_test): Use it.
92433 (check1): New function.
92434 (test_main): Use it.
92435 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
92436 Support strcasecmp and strncasecmp.
92437
92438 2010-11-08 Ulrich Drepper <drepper@gmail.com>
92439
92440 [BZ #12194]
92441 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
92442 * sysdeps/x86_64/bits/byteswap.h: Likewise.
92443
92444 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
92445
92446 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
92447 IFUNC support.
92448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92449 memset-x86-64.
92450 * sysdeps/x86_64/multiarch/bzero.S: New file.
92451 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
92452 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
92453 * sysdeps/x86_64/multiarch/memset.S: New file.
92454 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
92455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92456 Set bit_Prefer_SSE_for_memop for Intel processors.
92457 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
92458 Define.
92459 (index_Prefer_SSE_for_memop): Define.
92460 (HAS_PREFER_SSE_FOR_MEMOP): Define.
92461
92462 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
92463
92464 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
92465 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
92466
92467 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
92468
92469 [BZ #12191]
92470 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92471 (__x86_64_raw_data_cache_size_half): Likewise.
92472 (__x86_64_raw_shared_cache_size): Likewise.
92473 (__x86_64_raw_shared_cache_size_half): Likewise.
92474
92475 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92476 (__x86_64_raw_data_cache_size_half): Likewise.
92477 (__x86_64_raw_shared_cache_size): Likewise.
92478 (__x86_64_raw_shared_cache_size_half): Likewise.
92479 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
92480 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
92481 and __x86_64_raw_shared_cache_size_half. Round
92482 __x86_64_data_cache_size_half, __x86_64_data_cache_size
92483 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
92484 to multiple of 256 bytes.
92485
92486 2010-11-03 Ulrich Drepper <drepper@gmail.com>
92487
92488 [BZ #12167]
92489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
92490 of inacessible symlinks. Verify result of symlink before returning it.
92491 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
92492 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
92493
92494 2010-10-28 Erich Ritz <erichritz@gmail.com>
92495
92496 * math/math.h (isinf): Fix typo in comment.
92497
92498 2010-11-01 Ulrich Drepper <drepper@gmail.com>
92499
92500 * po/da.po: Update from translation team.
92501
92502 2010-10-26 Ulrich Drepper <drepper@gmail.com>
92503
92504 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
92505 is added to the list.
92506
92507 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92508 Ulrich Drepper <drepper@gmail.com>
92509
92510 * elf/dl-object.c (_dl_new_object): Don't append the new object to
92511 the global list here. Move code to...
92512 (_dl_add_to_namespace_list): ...here. New function.
92513 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
92514 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
92515 * elf/dl-load.c (lose): Don't remove the element from the list.
92516 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
92517 (_dl_map_object): Likewise.
92518
92519 2010-10-25 Ulrich Drepper <drepper@gmail.com>
92520
92521 [BZ #12159]
92522 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
92523 into all bytes of SSE register.
92524 Patch by Richard Li <richardpku@gmail.com>.
92525
92526 2010-10-24 Ulrich Drepper <drepper@gmail.com>
92527
92528 [BZ #12140]
92529 * malloc/malloc.c (_int_free): Fill correct number of bytes when
92530 perturbing.
92531
92532 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
92533
92534 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
92535 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
92536 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
92537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
92538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92539 submachine.
92540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92541
92542 2010-10-22 Andreas Schwab <schwab@redhat.com>
92543
92544 * include/dlfcn.h (__RTLD_SECURE): Define.
92545 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
92546 mode & __RTLD_SECURE instead.
92547 (open_path): Rename preloaded parameter to secure.
92548 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92549 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92550 * elf/dl-deps.c (openaux): Likewise.
92551 * elf/rtld.c (struct map_args): Remove is_preloaded.
92552 (map_doit): Don't use it.
92553 (dl_main): Likewise.
92554 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92555 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92556
92557 2010-09-09 Andreas Schwab <schwab@redhat.com>
92558
92559 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92560 (sysd-rules-targets): Remove duplicates.
92561 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92562 rtld-%.$o dependency.
92563
92564 2010-10-18 Andreas Schwab <schwab@redhat.com>
92565
92566 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92567 _dl_map_object do it.
92568
92569 2010-10-19 Ulrich Drepper <drepper@gmail.com>
92570
92571 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92572 fast fma builtins, define the macros in the C99 standard.
92573 (FP_FAST_FMAF): Likewise.
92574 (FP_FAST_FMAL): Likewise.
92575 * sysdeps/x86_64/bits/mathdef.h: Likewise.
92576
92577 * bits/mathdef.h: Update copyright year.
92578 * sysdeps/powerpc/bits/mathdef.h: Likewise.
92579
92580 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
92581
92582 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92583 builtins, define the macros in the C99 standard.
92584 (FP_FAST_FMAF): Likewise.
92585 (FP_FAST_FMAL): Likewise.
92586 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92587 multiply/add.
92588 (FP_FAST_FMAF): Likewise.
92589
92590 2010-10-15 Jakub Jelinek <jakub@redhat.com>
92591
92592 [BZ #3268]
92593 * math/libm-test.inc (fma_test): Some new testcases.
92594 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92595 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92596 y and infinite z. Do multiplication by C already in long double.
92597 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92599 y and infinite z. Do bitwise or of inexact bit into u.d.
92600 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92601 * sysdeps/i386/fpu/s_fmaf.S: Removed.
92602 * sysdeps/i386/fpu/s_fma.S: Removed.
92603 * sysdeps/i386/fpu/s_fmal.S: Removed.
92604
92605 2010-10-16 Jakub Jelinek <jakub@redhat.com>
92606
92607 [BZ #3268]
92608 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92610 computation is not scheduled after fetestexcept. Fix value
92611 of minimum denormal long double.
92612
92613 2010-10-14 Jakub Jelinek <jakub@redhat.com>
92614
92615 [BZ #3268]
92616 * math/libm-test.inc (fma_test): Add some more tests.
92617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92618 correctly.
92619
92620 2010-10-15 Andreas Schwab <schwab@redhat.com>
92621
92622 * scripts/data/localplt-s390-linux-gnu.data: New file.
92623 * scripts/data/localplt-s390x-linux-gnu.data: New file.
92624
92625 2010-10-13 Jakub Jelinek <jakub@redhat.com>
92626
92627 [BZ #3268]
92628 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92629 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92630 instead of dbl-64.
92631 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92632 inlines.
92633 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92635 if one of x and y is very large and the other is subnormal.
92636 * sysdeps/s390/fpu/s_fmaf.c: New file.
92637 * sysdeps/s390/fpu/s_fma.c: New file.
92638 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92639 * sysdeps/powerpc/fpu/s_fma.S: New file.
92640 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92641 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92642 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92643
92644 2010-10-12 Jakub Jelinek <jakub@redhat.com>
92645
92646 [BZ #3268]
92647 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92648 fma tests.
92649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92650 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92651 * sysdeps/i386/i686/multiarch/s_fma.c: Include
92652 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92653 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92654 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92655 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92656
92657 2010-10-12 Ulrich Drepper <drepper@redhat.com>
92658
92659 [BZ #12078]
92660 * posix/regcomp.c (parse_branch): One more memory leak plugged.
92661 * posix/bug-regex31.input: Add test case.
92662
92663 2010-10-11 Ulrich Drepper <drepper@gmail.com>
92664
92665 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92666 * posix/bug-regex31.input: New file.
92667
92668 [BZ #12078]
92669 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92670 (parse_sub_exp): Fix last change, use postorder.
92671
92672 * posix/bug-regex31.c: New file.
92673 * posix/Makefile: Add rules to build and run bug-regex31.
92674
92675 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92676
92677 [BZ #12078]
92678 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92679
92680 [BZ #12108]
92681 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92682 to have entries in sys_siglist.
92683
92684 [BZ #12093]
92685 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92686 be NULL.
92687
92688 2010-10-07 Jakub Jelinek <jakub@redhat.com>
92689
92690 [BZ #3268]
92691 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92692 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92693 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92694 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92695 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92696 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92697 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92698 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92699 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92700 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92701 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92702 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92703 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92704 * math/ftestexcept.c (fetestexcept): Likewise.
92705 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92706 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92707 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92708 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92709 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92710 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92711 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92712
92713 2010-10-11 Ulrich Drepper <drepper@gmail.com>
92714
92715 [BZ #12107]
92716 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92717 newline.
92718
92719 2010-10-06 Ulrich Drepper <drepper@gmail.com>
92720
92721 * string/bug-strstr1.c: New file.
92722 * string/Makefile: Add rules to build and run bug-strstr1.
92723
92724 2010-10-05 Eric Blake <eblake@redhat.com>
92725
92726 [BZ #12092]
92727 * string/str-two-way.h (two_way_long_needle): Always clear memory
92728 when skipping input due to the shift table.
92729
92730 2010-10-03 Ulrich Drepper <drepper@gmail.com>
92731
92732 [BZ #12005]
92733 * malloc/mcheck.c: Handle large requests.
92734
92735 [BZ #12077]
92736 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92737 for strncmp and strncasecmp.
92738 * string/stratcliff.c: Add tests for strcmp and strncmp.
92739 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92740
92741 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
92742
92743 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92744 __set_fpscr.
92745
92746 2010-09-30 Andreas Jaeger <aj@suse.de>
92747
92748 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92749 (CGROUP_SUPER_MAGIC): Define.
92750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92751 Handle btrfs and cgroup file systems.
92752 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92753 Likewise.
92754
92755 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
92756
92757 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92758 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92759
92760 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92761
92762 [BZ #12067]
92763 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92764 trying to locate the ELF header.
92765
92766 2010-09-27 Andreas Schwab <schwab@redhat.com>
92767
92768 [BZ #11611]
92769 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92770 Mask out sign-bit copies when constructing f_fsid.
92771
92772 2010-09-24 Petr Baudis <pasky@suse.cz>
92773
92774 * debug/stack_chk_fail_local.c: Add missing licence exception.
92775 * debug/warning-nop.c: Likewise.
92776
92777 2010-09-15 Joseph Myers <joseph@codesourcery.com>
92778
92779 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92780 implementing getdents64 using getdents syscall, set d_type if
92781 __ASSUME_GETDENTS32_D_TYPE.
92782
92783 2010-09-16 Andreas Schwab <schwab@redhat.com>
92784
92785 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92786 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92787
92788 2010-09-21 Ulrich Drepper <drepper@redhat.com>
92789
92790 [BZ #12037]
92791 * posix/unistd.h: Undo change of feature selection for ftruncate from
92792 2010-01-11.
92793
92794 2010-09-20 Ulrich Drepper <drepper@redhat.com>
92795
92796 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92797 detection.
92798
92799 2010-09-20 Andreas Schwab <schwab@redhat.com>
92800
92801 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92802 fanotify_mark.
92803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92804
92805 2010-09-14 Andreas Schwab <schwab@redhat.com>
92806
92807 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92808 variables after CHECK_SP call.
92809 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92810
92811 2010-09-13 Andreas Schwab <schwab@redhat.com>
92812 Ulrich Drepper <drepper@redhat.com>
92813
92814 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92815 re-relocationg ld.so.
92816 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92817 _dl_init_paths call.
92818 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
92819 here anymore.
92820
92821 2010-09-14 Ulrich Drepper <drepper@redhat.com>
92822
92823 * resolv/res_init.c (__res_vinit): Count the default server we added.
92824
92825 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
92826 Ulrich Drepper <drepper@redhat.com>
92827
92828 [BZ #11968]
92829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92830 (____longjmp_chk): Use %ebx for saving value across system call.
92831 Add unwind info.
92832
92833 2010-09-06 Andreas Schwab <schwab@redhat.com>
92834
92835 * manual/Makefile: Don't mix pattern rules with normal rules.
92836
92837 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
92838
92839 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92840 operation.
92841 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92842 * libio/iofopncook.c (_IO_cookie_init): Likewise.
92843 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92844 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92846 Likewise.
92847
92848 2010-09-04 Ulrich Drepper <drepper@redhat.com>
92849
92850 [BZ #11979]
92851 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92852 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92853
92854 2010-09-02 Ulrich Drepper <drepper@redhat.com>
92855
92856 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92857 * sysdeps/x86_64/addmul_1.S: Likewise.
92858 * sysdeps/x86_64/lshift.S: Likewise.
92859 * sysdeps/x86_64/mul_1.S: Likewise.
92860 * sysdeps/x86_64/rshift.S: Likewise.
92861 * sysdeps/x86_64/sub_n.S: Likewise.
92862 * sysdeps/x86_64/submul_1.S: Likewise.
92863
92864 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
92865
92866 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92867 Define __sched_param instead of SCHED_* and sched_param when
92868 <bits/sched.h> is included with __need_schedparam defined.
92869 * bits/sched.h [__need_schedparam]
92870 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92871 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92872 (__defined_schedparam): Define to 1.
92873 (__sched_param): New structure, identical to sched_param.
92874 (__need_schedparam): Undefine.
92875
92876 2010-08-31 Mike Frysinger <vapier@gentoo.org>
92877
92878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92879 (epoll_create1): Declare.
92880
92881 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92882
92883 2010-08-31 Andreas Schwab <schwab@redhat.com>
92884
92885 [BZ #7066]
92886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92887 shifting retval into place.
92888
92889 2010-09-01 Ulrich Drepper <drepper@redhat.com>
92890
92891 * nis/rpcsvc/nis.h: Update copyright notice.
92892 * nis/rpcsvc/nis.x: Likewise.
92893 * nis/rpcsvc/nis_callback.h: Likewise.
92894 * nis/rpcsvc/nis_callback.x: Likewise.
92895 * nis/rpcsvc/nis_object.x: Likewise.
92896 * nis/rpcsvc/nis_tags.h: Likewise.
92897 * nis/rpcsvc/yp.h: Likewise.
92898 * nis/rpcsvc/yp.x: Likewise.
92899 * nis/rpcsvc/ypupd.h: Likewise.
92900 * nis/yp_xdr.c: Likewise.
92901 * nis/ypupdate_xdr.c: Likewise.
92902
92903 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
92904 mainly the body of pmap_getport. Add parameters to specify timeouts.
92905 (pmap_getport): Use __libc_rpc_getport.
92906 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92907 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92908 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92909
92910 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
92911
92912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92913 fanotify_mark.
92914
92915 2010-08-27 Roland McGrath <roland@redhat.com>
92916
92917 * sysdeps/i386/i686/multiarch/Makefile
92918 (CFLAGS-varshift.c): New variable.
92919
92920 2010-08-27 Ulrich Drepper <drepper@redhat.com>
92921
92922 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92923 * sysdeps/i386/i686/multiarch/varshift.c: New file.
92924
92925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92926
92927 * sysdeps/x86_64/strlen.S: Minimal code improvement.
92928
92929 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
92930
92931 * sysdeps/x86_64/strlen.S: Unroll the loop.
92932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92933 strlen-sse2 strlen-sse2-bsf.
92934 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92935 __strlen_no_bsf if bit_Slow_BSF is set.
92936 (__strlen_sse42): Removed.
92937 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92938 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92939
92940 2010-08-25 Roland McGrath <roland@redhat.com>
92941
92942 * sysdeps/x86_64/multiarch/varshift.S: File removed.
92943 * sysdeps/x86_64/multiarch/varshift.c: New file.
92944 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92945 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92946 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92947 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92948
92949 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
92950
92951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92952 strlen-sse2 strlen-sse2-bsf.
92953 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92954 __strlen_sse2_bsf if bit_Slow_BSF is unset.
92955 (__strlen_sse2): Removed.
92956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92959 bit_Slow_BSF for Atom.
92960 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92961 (index_Slow_BSF): Define.
92962 (HAS_SLOW_BSF): Define.
92963
92964 2010-08-25 Ulrich Drepper <drepper@redhat.com>
92965
92966 [BZ #10851]
92967 * resolv/res_init.c (__res_vinit): When no server address at all
92968 is given default to loopback.
92969
92970 2010-08-24 Roland McGrath <roland@redhat.com>
92971
92972 * configure.in: Remove config-name.h generation.
92973 * configure: Regenerated.
92974 * config-name.in: File removed.
92975 * scripts/config-uname.sh: New file.
92976 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92977 ($(objdir)config-name.h): New target.
92978
92979 * sunrpc/rpc_parse.h: Avoid nested comment.
92980
92981 2010-08-24 Richard Henderson <rth@redhat.com>
92982 Ulrich Drepper <drepper@redhat.com>
92983 H.J. Lu <hongjiu.lu@intel.com>
92984
92985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92987 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92988 Replace _mm_srli_si128 with __m128i_shift_right. Replace
92989 _mm_alignr_epi8 with _mm_loadu_si128.
92990 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92991 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92992 (__m128i_shift_right): Removed.
92993 * sysdeps/i386/i686/multiarch/varshift.h: New file.
92994 * sysdeps/i386/i686/multiarch/varshift.S: New file.
92995 * sysdeps/x86_64/multiarch/varshift.h: New file.
92996 * sysdeps/x86_64/multiarch/varshift.S: New file.
92997
92998 2010-08-21 Mike Frysinger <vapier@gentoo.org>
92999
93000 * configure.in: Move assembler checks to before sysdep dir checking.
93001
93002 2010-08-20 Petr Baudis <pasky@suse.cz>
93003
93004 * LICENSES: Sync the sunrpc license.
93005
93006 2010-08-19 Ulrich Drepper <drepper@redhat.com>
93007
93008 * sunrpc/auth_des.c: Update copyright notice once again.
93009 * sunrpc/auth_none.c: Likewise.
93010 * sunrpc/auth_unix.c: Likewise.
93011 * sunrpc/authdes_prot.c: Likewise.
93012 * sunrpc/authuxprot.c: Likewise.
93013 * sunrpc/bindrsvprt.c: Likewise.
93014 * sunrpc/clnt_gen.c: Likewise.
93015 * sunrpc/clnt_perr.c: Likewise.
93016 * sunrpc/clnt_raw.c: Likewise.
93017 * sunrpc/clnt_simp.c: Likewise.
93018 * sunrpc/clnt_tcp.c: Likewise.
93019 * sunrpc/clnt_udp.c: Likewise.
93020 * sunrpc/clnt_unix.c: Likewise.
93021 * sunrpc/des_crypt.c: Likewise.
93022 * sunrpc/des_soft.c: Likewise.
93023 * sunrpc/get_myaddr.c: Likewise.
93024 * sunrpc/getrpcport.c: Likewise.
93025 * sunrpc/key_call.c: Likewise.
93026 * sunrpc/key_prot.c: Likewise.
93027 * sunrpc/openchild.c: Likewise.
93028 * sunrpc/pm_getmaps.c: Likewise.
93029 * sunrpc/pm_getport.c: Likewise.
93030 * sunrpc/pmap_clnt.c: Likewise.
93031 * sunrpc/pmap_prot.c: Likewise.
93032 * sunrpc/pmap_prot2.c: Likewise.
93033 * sunrpc/pmap_rmt.c: Likewise.
93034 * sunrpc/rpc/auth.h: Likewise.
93035 * sunrpc/rpc/auth_unix.h: Likewise.
93036 * sunrpc/rpc/clnt.h: Likewise.
93037 * sunrpc/rpc/des_crypt.h: Likewise.
93038 * sunrpc/rpc/key_prot.h: Likewise.
93039 * sunrpc/rpc/netdb.h: Likewise.
93040 * sunrpc/rpc/pmap_clnt.h: Likewise.
93041 * sunrpc/rpc/pmap_prot.h: Likewise.
93042 * sunrpc/rpc/pmap_rmt.h: Likewise.
93043 * sunrpc/rpc/rpc.h: Likewise.
93044 * sunrpc/rpc/rpc_des.h: Likewise.
93045 * sunrpc/rpc/rpc_msg.h: Likewise.
93046 * sunrpc/rpc/svc.h: Likewise.
93047 * sunrpc/rpc/svc_auth.h: Likewise.
93048 * sunrpc/rpc/types.h: Likewise.
93049 * sunrpc/rpc/xdr.h: Likewise.
93050 * sunrpc/rpc_clntout.c: Likewise.
93051 * sunrpc/rpc_cmsg.c: Likewise.
93052 * sunrpc/rpc_common.c: Likewise.
93053 * sunrpc/rpc_cout.c: Likewise.
93054 * sunrpc/rpc_dtable.c: Likewise.
93055 * sunrpc/rpc_hout.c: Likewise.
93056 * sunrpc/rpc_main.c: Likewise.
93057 * sunrpc/rpc_parse.c: Likewise.
93058 * sunrpc/rpc_parse.h: Likewise.
93059 * sunrpc/rpc_prot.c: Likewise.
93060 * sunrpc/rpc_sample.c: Likewise.
93061 * sunrpc/rpc_scan.c: Likewise.
93062 * sunrpc/rpc_scan.h: Likewise.
93063 * sunrpc/rpc_svcout.c: Likewise.
93064 * sunrpc/rpc_tblout.c: Likewise.
93065 * sunrpc/rpc_util.c: Likewise.
93066 * sunrpc/rpc_util.h: Likewise.
93067 * sunrpc/rpcinfo.c: Likewise.
93068 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
93069 * sunrpc/rpcsvc/key_prot.x: Likewise.
93070 * sunrpc/rpcsvc/klm_prot.x: Likewise.
93071 * sunrpc/rpcsvc/mount.x: Likewise.
93072 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
93073 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
93074 * sunrpc/rpcsvc/rex.x: Likewise.
93075 * sunrpc/rpcsvc/rstat.x: Likewise.
93076 * sunrpc/rpcsvc/rusers.x: Likewise.
93077 * sunrpc/rpcsvc/sm_inter.x: Likewise.
93078 * sunrpc/rpcsvc/spray.x: Likewise.
93079 * sunrpc/rpcsvc/yppasswd.x: Likewise.
93080 * sunrpc/rtime.c: Likewise.
93081 * sunrpc/svc.c: Likewise.
93082 * sunrpc/svc_auth.c: Likewise.
93083 * sunrpc/svc_authux.c: Likewise.
93084 * sunrpc/svc_raw.c: Likewise.
93085 * sunrpc/svc_run.c: Likewise.
93086 * sunrpc/svc_simple.c: Likewise.
93087 * sunrpc/svc_tcp.c: Likewise.
93088 * sunrpc/svc_udp.c: Likewise.
93089 * sunrpc/svc_unix.c: Likewise.
93090 * sunrpc/svcauth_des.c: Likewise.
93091 * sunrpc/xcrypt.c: Likewise.
93092 * sunrpc/xdr.c: Likewise.
93093 * sunrpc/xdr_array.c: Likewise.
93094 * sunrpc/xdr_float.c: Likewise.
93095 * sunrpc/xdr_mem.c: Likewise.
93096 * sunrpc/xdr_rec.c: Likewise.
93097 * sunrpc/xdr_ref.c: Likewise.
93098 * sunrpc/xdr_sizeof.c: Likewise.
93099 * sunrpc/xdr_stdio.c: Likewise.
93100
93101 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
93102 handling.
93103
93104 2010-08-19 Andreas Schwab <schwab@redhat.com>
93105
93106 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
93107
93108 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
93109
93110 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
93111 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
93112 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
93113 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
93114 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
93115 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
93116 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
93117 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
93118 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
93119 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
93120 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
93121 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
93122 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
93123 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
93124
93125 2010-07-26 Anton Blanchard <anton@samba.org>
93126
93127 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
93128 * malloc/arena.c (heap_trim): Likewise.
93129
93130 2010-08-16 Ulrich Drepper <drepper@redhat.com>
93131
93132 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
93133 here. Not...
93134 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
93135 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
93136
93137 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
93138
93139 * sysdeps/i386/elf/Makefile: New file.
93140
93141 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
93142
93143 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
93144 from fanotify_init.
93145 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
93146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93147
93148 2010-08-15 Ulrich Drepper <drepper@redhat.com>
93149
93150 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
93151 of strncasecmp_l.
93152 * sysdeps/multiarch/strcmp.S: Likewise.
93153
93154 2010-08-14 Ulrich Drepper <drepper@redhat.com>
93155
93156 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93157 strncase_l-nonascii.
93158 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93159 Add strncase_l-ssse3.
93160 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
93161 * sysdeps/x86_64/strcmp.S: Likewise.
93162 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
93163 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
93164 * sysdeps/x86_64/strncase.S: New file.
93165 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
93166 * sysdeps/x86_64/strncase_l.S: New file.
93167 * string/Makefile (strop-tests): Add strncasecmp.
93168 * string/test-strncasecmp.c: New file.
93169
93170 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
93171 warning.
93172
93173 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
93174 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
93175
93176 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
93177
93178 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
93179
93180 2010-08-12 Ulrich Drepper <drepper@redhat.com>
93181
93182 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
93183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
93184 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
93185
93186 2010-05-01 Alan Modra <amodra@gmail.com>
93187
93188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
93189 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
93190 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
93191 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
93192 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
93193 tidying. Don't tail-call __sigjmp_save for static lib.
93194 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
93195 save location.
93196 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
93197 (CALL_MCOUNT): Add eh info, and nop after bl.
93198 (TAIL_CALL_SYSCALL_ERROR): New macro.
93199 (PSEUDO_RET): Use it.
93200 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
93201 Correct save location of integer regs and cr.
93202 (_dl_profile_resolve): Correct cr save location. Delete nops
93203 after bl when SHARED. Reduce cfi size a little by better
93204 placement of cfi directives.
93205 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
93206 make a stack frame. Instead use parm save area as a temp.
93207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
93208 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
93209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
93210 Don't make a stack frame for parent, use parm save area.
93211 Increase child stack frame to 112 bytes. Don't save unused reg,
93212 and adjust reg usage. Set up cfi on error recovery and
93213 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93215 (__makecontext): Add dummy nop after jump to exit.
93216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93217 Use correct parm save area and cr save, reduce stack frame.
93218 Correct cfi for possible PSEUDO_RET frame setup.
93219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93220 Branch to local label emitted by PSEUDO_RET rather than
93221 __syscall_error.
93222
93223 2010-08-12 Andreas Schwab <schwab@redhat.com>
93224
93225 [BZ #11904]
93226 * locale/programs/locale.c (print_assignment): New function.
93227 (show_locale_vars): Use it.
93228
93229 2010-08-11 Ulrich Drepper <drepper@redhat.com>
93230
93231 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93232 field.
93233 (struct statfs64): Likewise.
93234 (_STATFS_F_FLAGS): Define.
93235 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93236 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93237 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93238 (ST_VALID): Define locally.
93239 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93240 __statvfs_getflags, use the provided value.
93241 * sysdeps/unix/sysv/linux/kernel-features.h: Define
93242 __ASSUME_STATFS_F_FLAGS.
93243
93244 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93245
93246 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93247 Add sys/fanotify.h.
93248 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93249 fanotify_mask for GLIBC_2.13.
93250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93251 fanotify_init and fanotify_mark.
93252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93253 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93254
93255 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93256 Add prlimit.
93257 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93258 prlimit64 for GLIBC_2.13.
93259 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93260 prlimit64.
93261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93262 syscall.
93263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93264 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93265 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93266 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
93268 add prlimit alias.
93269 * sysdeps/unix/sysv/linux/prlimit.c: New file.
93270
93271 [BZ #11903]
93272 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93273 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93274
93275 * nss/Makefile: Add rules to build and run tst-nss-test1.
93276 * shlib-versions: Add entry for libnss_test1.
93277 * nss/nss_test1.c: New file.
93278 * nss/tst-nss-test1.c: New file.
93279
93280 * nss/nsswitch.c (__nss_database_custom): Define new variable.
93281 (__nss_configure_lookup): Set appropriate entry in
93282 __nss_configure_lookup to true.
93283 * nss/nsswitch.h: Define enum with indeces of databases in
93284 databases and __nss_database_custom arrays. Declare
93285 __nss_database_custom.
93286 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93287 to avoid using nscd when custom rules are installed.
93288 * nss/getXXbyYY_r.c: Likewise.
93289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93290
93291 * nss/nss_files/files-parse.c: Whitespace fixes.
93292
93293 2010-08-09 Ulrich Drepper <drepper@redhat.com>
93294
93295 [BZ #11883]
93296 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93297 * posix/fnmatch_loop.c: Likewise.
93298
93299 2010-07-17 Andi Kleen <ak@linux.intel.com>
93300
93301 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93302 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93303 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93304 * Versions.def [GLIBC_2.13]: Add.
93305
93306 2010-08-06 Ulrich Drepper <drepper@redhat.com>
93307
93308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93309 Also fail if tpwd after pwuid call is NULL.
93310
93311 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
93312
93313 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93314 when converting to ms.
93315
93316 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
93317
93318 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93319 EOPNOTSUPP errors with ENOTTY.
93320 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93321 EOPNOTSUPP errors with ENOTTY.
93322
93323 2010-07-31 Ulrich Drepper <drepper@redhat.com>
93324
93325 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93326 Add strcasecmp_l-ssse3.
93327 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93328 strcasecmp.
93329 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93330 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93331 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93332
93333 2010-07-30 Ulrich Drepper <drepper@redhat.com>
93334
93335 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93336
93337 * string/Makefile (strop-tests): Add strcasecmp.
93338 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93339 strcasecmp_l-nonascii.
93340 (gen-as-const-headers): Add locale-defines.sym.
93341 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93342 * sysdeps/x86_64/strcasecmp.S: New file.
93343 * sysdeps/x86_64/strcasecmp_l.S: New file.
93344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93345 * sysdeps/x86_64/locale-defines.sym: New file.
93346 * string/test-strcasecmp.c: New file.
93347
93348 * string/test-strcasestr.c: Test both ends of the range of characters.
93349 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93350
93351 2010-07-29 Roland McGrath <roland@redhat.com>
93352
93353 [BZ #11856]
93354 * manual/locale.texi (Yes-or-No Questions): Fix example code.
93355
93356 2010-07-27 Ulrich Drepper <drepper@redhat.com>
93357
93358 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93359 for ld.so.
93360
93361 2010-07-27 Andreas Schwab <schwab@redhat.com>
93362
93363 * manual/memory.texi (Malloc Tunable Parameters): Document
93364 M_PERTURB.
93365
93366 2010-07-26 Roland McGrath <roland@redhat.com>
93367
93368 [BZ #11840]
93369 * configure.in (-fgnu89-inline check): Set and substitute
93370 gnu89_inline, not libc_cv_gnu89_inline.
93371 * configure: Regenerated.
93372 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93373
93374 2010-07-26 Ulrich Drepper <drepper@redhat.com>
93375
93376 * string/test-strnlen.c: New file.
93377 * string/Makefile (strop-tests): Add strnlen.
93378 * string/tester.c (test_strnlen): Add a few more test cases.
93379 * string/tst-strlen.c: Better error reporting.
93380
93381 * sysdeps/x86_64/strnlen.S: New file.
93382
93383 2010-07-24 Ulrich Drepper <drepper@redhat.com>
93384
93385 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93386 lower-latency instructions.
93387
93388 2010-07-23 Ulrich Drepper <drepper@redhat.com>
93389
93390 * string/test-strcasestr.c: New file.
93391 * string/test-strstr.c: New file.
93392 * string/Makefile (strop-tests): Add strstr and strcasestr.
93393 * string/str-two-way.h: Don't undefine MAX.
93394 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
93395
93396 2010-07-21 Andreas Schwab <schwab@redhat.com>
93397
93398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93399 strcasestr-nonascii.
93400 (CFLAGS-strcasestr-nonascii.c): Define.
93401 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
93402 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
93403 Remove unused attribute.
93404
93405 2010-07-20 Roland McGrath <roland@redhat.com>
93406
93407 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
93408 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
93409 ld.so.cache was broken. With it, there is no way to disable dsocaps
93410 like LD_HWCAP_MASK can disable hwcaps.
93411
93412 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
93413
93414 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
93415
93416 2010-07-16 Ulrich Drepper <drepper@redhat.com>
93417
93418 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
93419 call in strcasestr.
93420 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
93421 __strcasestr_sse42_nonascii.
93422 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
93423 strcasestr-nonascii.c.
93424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
93425
93426 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
93427
93428 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
93429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
93430 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
93431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
93432
93433 2010-07-09 Ulrich Drepper <drepper@redhat.com>
93434
93435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
93436 fcntl.
93437
93438 2010-07-06 Andreas Schwab <schwab@redhat.com>
93439
93440 [BZ #11577]
93441 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
93442 dl_signal_cerror.
93443
93444 2010-07-06 Ulrich Drepper <drepper@redhat.com>
93445
93446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
93447 _PC_PIPE_BUF using F_GETPIPE_SZ.
93448
93449 2010-07-05 Roland McGrath <roland@redhat.com>
93450
93451 * manual/arith.texi (Rounding Functions): Fix rint description
93452 implicit in round description.
93453
93454 2010-07-02 Ulrich Drepper <drepper@redhat.com>
93455
93456 * elf/Makefile: Fix linking for a few tests to make recent linker
93457 happy.
93458
93459 2010-06-30 Andreas Schwab <schwab@redhat.com>
93460
93461 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
93462 $(common-objpfx)libc_nonshared.a.
93463
93464 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
93465
93466 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
93467 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
93468 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93469 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93470 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
93471 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
93472 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93473 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
93475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
93476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
93477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
93479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
93481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
93482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
93483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
93484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
93486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
93488 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
93489 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
93490 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
93491 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
93492 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
93493 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
93494 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
93495 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
93496 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
93497 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
93498 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
93499 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
93500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
93501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
93502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
93503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
93504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
93505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
93506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
93507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
93508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
93509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
93510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
93511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
93512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
93513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
93514
93515 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
93516
93517 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
93518 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
93519 * string/memmove.c (memmove): Renamed to ...
93520 (MEMMOVE): ...this. Default to memmove.
93521 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
93522 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
93523 (END_CHK): Define.
93524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93525 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
93526 mempcpy-ssse3-back memmove-ssse3-back.
93527 * sysdeps/x86_64/multiarch/bcopy.S: New file .
93528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
93529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
93530 * sysdeps/x86_64/multiarch/memcpy.S: New file.
93531 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
93532 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
93533 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
93534 * sysdeps/x86_64/multiarch/memmove.c: New file.
93535 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
93536 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
93537 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
93538 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93539 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93541 Define.
93542 (index_Fast_Copy_Backward): Define.
93543 (HAS_ARCH_FEATURE): Define.
93544 (HAS_FAST_REP_STRING): Define.
93545 (HAS_FAST_COPY_BACKWARD): Define.
93546
93547 2010-06-21 Andreas Schwab <schwab@redhat.com>
93548
93549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93550 Restore proper fallback handling.
93551
93552 2010-06-19 Ulrich Drepper <drepper@redhat.com>
93553
93554 [BZ #11701]
93555 * posix/group_member.c (__group_member): Correct checking loop.
93556
93557 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93558 OOM in getpwuid_r correctly. Return error number when the caller
93559 should return, otherwise -1.
93560 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93561 call returning > 0 value.
93562 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93563
93564 2010-06-07 Andreas Schwab <schwab@redhat.com>
93565
93566 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93567 libc_nonshared.a from targets in modules-names.
93568
93569 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
93570
93571 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93572 requires it.
93573
93574 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
93575
93576 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93577 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93580
93581 2010-06-02 Andreas Schwab <schwab@redhat.com>
93582
93583 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93584
93585 2010-06-14 Ulrich Drepper <drepper@redhat.com>
93586
93587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93588 and F_GETPIPE_SZ.
93589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93594 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93595
93596 2010-06-14 Roland McGrath <roland@redhat.com>
93597
93598 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93599
93600 2010-06-07 Jakub Jelinek <jakub@redhat.com>
93601
93602 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93603 __REDIRECT followed by __THROW.
93604 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93605 * posix/getopt.h (getopt): Likewise.
93606
93607 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
93608
93609 * hurd/lookup-at.c (__file_name_lookup_at): Accept
93610 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
93611 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93612 in AT_FLAGS.
93613 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93614 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93615
93616 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
93617
93618 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93619
93620 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
93621
93622 [BZ #11640]
93623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93624 Properly check family and model.
93625
93626 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
93627
93628 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93629
93630 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
93631
93632 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93633
93634 2010-05-21 Ulrich Drepper <drepper@redhat.com>
93635
93636 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93637 symbol reference.
93638
93639 2010-05-19 Andreas Schwab <schwab@redhat.com>
93640
93641 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93642 symbol reference.
93643
93644 2010-05-21 Andreas Schwab <schwab@redhat.com>
93645
93646 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93647 and internal_recvmmsg.
93648 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93649 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93650 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93651 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93652
93653 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93654 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93655 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93656
93657 2010-05-20 Andreas Schwab <schwab@redhat.com>
93658
93659 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93660
93661 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
93662
93663 POWER7 optimizations.
93664 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93665 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93666
93667 2010-05-19 Ulrich Drepper <drepper@redhat.com>
93668
93669 * version.h: Update for 2.13 development version.
93670
93671 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
93672
93673 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93674 exceptions. Return 0.
93675
93676 2010-05-07 Roland McGrath <roland@redhat.com>
93677
93678 * elf/ldconfig.c (main): Add a const.
93679
93680 2010-05-06 Ulrich Drepper <drepper@redhat.com>
93681
93682 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93683 (args_options): Add no-idn option.
93684 (ahosts_keys_int): Add idn_flags to ai_flags.
93685 (parse_option): Handle 'i' option to clear idn_flags.
93686
93687 * malloc/malloc.c (_int_free): Possible race in the most recently
93688 added check. Only act on the data if no current modification
93689 happened.
93690
93691 See ChangeLog.17 for earlier changes.